Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp
Commits
9d8e816a
Unverified
Commit
9d8e816a
authored
6 years ago
by
Jaime Pérez Crespo
Browse files
Options
Downloads
Patches
Plain Diff
Lots of improvements to the CSS.
parent
49e34e76
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/css/default.scss
+12
-45
12 additions, 45 deletions
src/css/default.scss
templates/_header.twig
+1
-1
1 addition, 1 deletion
templates/_header.twig
with
13 additions
and
46 deletions
src/css/default.scss
+
12
−
45
View file @
9d8e816a
...
@@ -48,7 +48,7 @@ body {
...
@@ -48,7 +48,7 @@ body {
h1
{
h1
{
margin
:
0
.2em
0
;
margin
:
0
.2em
0
;
font-size
:
3
em
;
font-size
:
2
.5
em
;
font-weight
:
900
;
font-weight
:
900
;
}
}
...
@@ -223,7 +223,7 @@ All anchors inside the menu should be styled like this.
...
@@ -223,7 +223,7 @@ All anchors inside the menu should be styled like this.
#menu
a
{
#menu
a
{
color
:
#ffffff
;
color
:
#ffffff
;
border
:
none
;
border
:
none
;
padding
:
0
.6em
0
em
0
.6em
0
.6em
;
padding
:
0
.6em
0
0
.6em
0
.6em
;
}
}
/*
/*
...
@@ -248,7 +248,7 @@ Change color of the anchor links on hover/focus.
...
@@ -248,7 +248,7 @@ Change color of the anchor links on hover/focus.
*/
*/
#menu
.pure-menu
li
a
:hover
,
#menu
.pure-menu
li
a
:hover
,
#menu
.pure-menu
li
a
:focus
{
#menu
.pure-menu
li
a
:focus
{
background
:
$transitionBackground
;
background
:
black
;
}
}
/*
/*
...
@@ -256,7 +256,7 @@ This styles the selected menu item `<li>`.
...
@@ -256,7 +256,7 @@ This styles the selected menu item `<li>`.
*/
*/
#menu
.pure-menu-selected
,
#menu
.pure-menu-selected
,
#menu
.pure-menu-heading
{
#menu
.pure-menu-heading
{
background
:
#ffa86f
;
background
:
$primaryBackground
;
color
:
black
;
color
:
black
;
}
}
...
@@ -328,7 +328,7 @@ small screens.
...
@@ -328,7 +328,7 @@ small screens.
/* -- Responsive Styles (Media Queries) ------------------------------------- */
/* -- Responsive Styles (Media Queries) ------------------------------------- */
@media
screen
and
(
max-width
:
63
.9375
em
)
{
@media
screen
and
(
max-width
:
40
em
)
{
#layout
.active
{
#layout
.active
{
position
:
relative
;
position
:
relative
;
right
:
11em
;
right
:
11em
;
...
@@ -348,7 +348,6 @@ HEADER
...
@@ -348,7 +348,6 @@ HEADER
************************************************************ */
************************************************************ */
#header
{
#header
{
height
:
6rem
;
height
:
6rem
;
background-color
:
darkred
;
background
:
linear-gradient
(
141deg
,
$primaryBackground
0%
,
$transitionBackground
51%
,
$secondaryBackground
75%
)
background
:
linear-gradient
(
141deg
,
$primaryBackground
0%
,
$transitionBackground
51%
,
$secondaryBackground
75%
)
}
}
...
@@ -362,7 +361,7 @@ HEADER
...
@@ -362,7 +361,7 @@ HEADER
font-family
:
sans-serif
;
font-family
:
sans-serif
;
font-size
:
2
.5em
;
font-size
:
2
.5em
;
color
:
white
;
color
:
white
;
text-shadow
:
0
px
3px
2px
rgba
(
83
,
41
,
0
,
1
);
text-shadow
:
0
3px
2px
rgba
(
83
,
41
,
0
,
1
);
}
}
.simple
{
.simple
{
...
@@ -452,7 +451,6 @@ FOOTER
...
@@ -452,7 +451,6 @@ FOOTER
************************************************************ */
************************************************************ */
#layout
{
#layout
{
min-height
:
100%
;
min-height
:
100%
;
height
:
auto
!
important
;
height
:
100%
;
height
:
100%
;
margin
:
0
auto
-6rem
;
/*negative margin = footer height + padding-top + padding-bottom*/
margin
:
0
auto
-6rem
;
/*negative margin = footer height + padding-top + padding-bottom*/
}
}
...
@@ -462,7 +460,6 @@ FOOTER
...
@@ -462,7 +460,6 @@ FOOTER
}
}
#footer
{
#footer
{
background-color
:
darkred
;
background
:
linear-gradient
(
141deg
,
$primaryBackground
0%
,
$transitionBackground
51%
,
$secondaryBackground
75%
);
background
:
linear-gradient
(
141deg
,
$primaryBackground
0%
,
$transitionBackground
51%
,
$secondaryBackground
75%
);
height
:
4rem
;
height
:
4rem
;
padding
:
2rem
0
0
;
padding
:
2rem
0
0
;
...
@@ -611,22 +608,13 @@ table.attributes ul {
...
@@ -611,22 +608,13 @@ table.attributes ul {
MEDIA QUERIES
MEDIA QUERIES
************************************************************ */
************************************************************ */
@media
screen
and
(
max-width
:
4
80px
)
{
@media
screen
and
(
max-width
:
4
0em
)
{
.pure-form
.pure-input-sm-1-1
{
.pure-form
.pure-input-sm-1-1
{
width
:
100%
;
width
:
100%
;
}
}
}
}
@media
screen
and
(
max-width
:
39
.9375em
)
{
@media
screen
and
(
max-width
:
40em
)
{
.hide-for-small-only
{
display
:
none
!
important
;
}
.selectize-input
{
padding-right
:
0
.1rem
;
}
body
{
font-size
:
75%
;
}
.wrap
{
.wrap
{
width
:
90%
;
width
:
90%
;
}
}
...
@@ -654,34 +642,13 @@ MEDIA QUERIES
...
@@ -654,34 +642,13 @@ MEDIA QUERIES
}
}
}
}
@media
screen
and
(
min-width
:
40em
)
and
(
max-width
:
63
.9375em
)
{
@media
screen
and
(
min-width
:
40em
)
{
.hide-for-medium-only
{
display
:
none
!
important
;
}
body
{
font-size
:
85%
;
}
}
@media
screen
and
(
max-width
:
39
.9375em
)
{
.show-for-medium
{
display
:
none
!
important
;
}
}
@media
screen
and
(
max-width
:
39
.9375em
)
,
screen
and
(
min-width
:
64em
)
{
.show-for-medium-only
{
display
:
none
!
important
;
}
}
@media
screen
and
(
min-width
:
64em
)
{
.hide-for-large
{
.hide-for-large
{
display
:
none
!
important
;
display
:
none
!
important
;
}
}
}
}
@media
screen
and
(
max-width
:
63
.9375
em
)
{
@media
screen
and
(
max-width
:
40
em
)
{
.show-for-large
{
.show-for-large
{
display
:
none
!
important
;
display
:
none
!
important
;
}
}
...
@@ -713,7 +680,7 @@ code.simplesaml_version {
...
@@ -713,7 +680,7 @@ code.simplesaml_version {
.enablebox
tr
td
{
.enablebox
tr
td
{
padding
:
.5px
1em
1px
.5em
;
padding
:
.5px
1em
1px
.5em
;
margin
:
0
px
;
margin
:
0
;
}
}
.enablebox
{
.enablebox
{
...
@@ -729,7 +696,7 @@ code.simplesaml_version {
...
@@ -729,7 +696,7 @@ code.simplesaml_version {
}
}
fieldset
.fancyfieldset
{
fieldset
.fancyfieldset
{
margin
:
2em
1em
1em
0
px
;
margin
:
2em
1em
1em
0
;
border
:
1px
solid
#bbb
;
border
:
1px
solid
#bbb
;
}
}
...
...
This diff is collapsed.
Click to expand it.
templates/_header.twig
+
1
−
1
View file @
9d8e816a
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
</div>
</div>
{%
endif
%}
{%
endif
%}
{%
if
not
hideLanguageBar
-
%}
{%
if
not
hideLanguageBar
-
%}
<div
id=
"languagebar"
>
<div
id=
"languagebar"
class=
"hide-for-large"
>
<div
id=
"menu"
>
<div
id=
"menu"
>
<div
class=
"pure-menu"
>
<div
class=
"pure-menu"
>
<ul
class=
"pure-menu-list"
>
<ul
class=
"pure-menu-list"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment