Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Fachrat Informatik
adapt4finf
Commits
ba2bbdca
Commit
ba2bbdca
authored
Aug 29, 2016
by
Fjen Undso
Browse files
sidebar shadow and search styling
parent
05bf442f
Changes
1
Hide whitespace changes
Inline
Side-by-side
adapt.css
View file @
ba2bbdca
...
...
@@ -108,7 +108,7 @@ hr { /* make <hr> 1px wide and LUH-green */
#wikihead
{
position
:
absolute
;
right
:
10px
;
top
:
80
px
;
top
:
75
px
;
font-size
:
85%
;
}
#wikihead
form
{
display
:
none
;
}
...
...
@@ -176,8 +176,26 @@ h2.wikiaction { margin:0px }
/* For the (Site.)Search page */
.searchbox
{
margin-right
:
2px
;
max-width
:
100%
;
margin-right
:
2px
;
max-width
:
100%
;
border
:
0
;
height
:
17px
;
padding
:
4px
;
box-shadow
:
0px
0px
5px
rgba
(
0
,
0
,
0
,
0.25
);
transition
:
all
.2s
ease-out
;
}
.searchbox
:hover
,
.searchbox
:focus
{
box-shadow
:
0px
0px
7px
rgba
(
0
,
0
,
0
,
0.4
);
}
.searchbutton
{
border
:
0
;
height
:
25px
;
margin-left
:
-5px
;
box-shadow
:
0px
0px
5px
rgba
(
0
,
0
,
0
,
0.25
);
transition
:
all
.2s
ease-out
;
}
.searchbutton
:hover
,
.searchbutton
:focus
{
box-shadow
:
0px
0px
5px
rgba
(
0
,
0
,
0
,
0.4
);
}
#wikifoot
{
...
...
@@ -210,22 +228,23 @@ appears on the left side of the page.
left
:
0
;
bottom
:
0
;
z-index
:
1000
;
/* so the menu or its navicon stays above all content */
overflow-y
:
auto
;
overflow-y
:
hidden
;
-webkit-overflow-scrolling
:
touch
;
background
:
#eaeaea
;
}
/* Sidebar headings */
/* All anchors inside the menu should be styled like this. */
#menu
{
box-shadow
:
0
0px
5px
0
rgba
(
0
,
0
,
0
,
0.3
);
color
:
#000
;
padding-top
:
4em
;
}
#menu
:hover
{
overflow-y
:
auto
;
}
#menu
a
{
color
:
#222
;
border
:
none
;
padding
:
6px
0
4px
6px
;
border-left
:
7px
solid
transparent
;
font-size
:
85%
;
transition
:
all
.2s
ease-out
;
}
#menu
li
a
{
border-left-color
:
#CCDCEB
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment