1
0
www.mikescher.com/www/data/css/styles_header.scss

122 lines
2.1 KiB
SCSS
Raw Permalink Normal View History

2017-12-29 00:40:57 +01:00
@import 'styles_config';
2017-12-29 01:14:15 +01:00
#headerdiv {
2017-12-31 17:53:59 +01:00
z-index: 999;
2019-11-08 15:15:58 +01:00
background-color: $COL_HEADER_BG;
2017-12-29 00:40:57 +01:00
display: flex;
border-bottom: 1px solid #111;
box-shadow: 0 0 8px #000000;
position: fixed;
width: 100%;
.logowrapper {
flex: initial;
margin: 0;
padding: 0;
height: 42px;
2018-01-27 18:13:38 +01:00
a { cursor: default; }
2017-12-29 00:40:57 +01:00
.logo {
2018-01-21 19:35:49 +01:00
min-width: 197.5px; // prevents flickering after DOM load
2017-12-29 00:40:57 +01:00
height: 30px;
2017-12-29 01:14:15 +01:00
margin: 4px 0 8px 6px;
2017-12-29 00:40:57 +01:00
flex: initial;
}
}
.tabrow {
display: flex;
flex: auto;
.tab {
display: flex;
justify-content: center;
align-items: center;
2019-11-08 15:15:58 +01:00
background-color: $COL_HEADER_BTN_BG;
color: $COL_HEADER_FG;
2017-12-29 00:40:57 +01:00
border-left: 1px solid #000;
border-right: 1px solid #000;
font-weight: bold;
text-decoration: none;
margin: 0 0 0 20px;
2017-12-29 00:40:57 +01:00
padding: 2px 5px;
min-width: 64px;
text-align: center;
flex: initial;
&:hover {
cursor: pointer;
2019-11-08 15:15:58 +01:00
background-color: $COL_HEADER_HOVER;
2017-12-29 00:40:57 +01:00
}
}
2019-11-08 15:15:58 +01:00
.tab_active { background-color: $COL_HEADER_HIGHLIGHT; }
.tab_admin { background-color: $COL_HEADER_ADMIN; }
2018-01-03 01:03:43 +01:00
2017-12-29 00:40:57 +01:00
.tab_split {
flex: auto;
}
.tab_github {
2019-11-08 15:15:58 +01:00
background-color: $COL_HEADER_GITHUB;
2017-12-29 00:40:57 +01:00
border-left: 1px solid #111;
2017-12-31 02:05:50 +01:00
border-right: none;
2017-12-29 00:40:57 +01:00
color: black;
&:hover {
2019-11-08 15:15:58 +01:00
background-color: $COL_HEADER_GITHUB_HOVER;
2017-12-29 00:40:57 +01:00
color: black;
}
}
2018-01-21 19:35:49 +01:00
.tab_logout {
2019-11-08 15:15:58 +01:00
background-color: $COL_HEADER_LOGOUT;
2018-01-21 19:35:49 +01:00
border-left: 1px solid #111;
border-right: none;
color: black;
2019-11-02 18:31:54 +01:00
min-width: 38px;
2018-01-21 19:35:49 +01:00
&:hover {
2019-11-08 15:15:58 +01:00
background-color: $COL_HEADER_LOGOUT_HOVER;
2018-01-21 19:35:49 +01:00
color: black;
}
}
2017-12-29 00:40:57 +01:00
}
}
2018-01-20 14:41:21 +01:00
@include rdmedia_range(0,1) {
2017-12-29 00:40:57 +01:00
2017-12-29 01:14:15 +01:00
#headerdiv {
2017-12-29 00:40:57 +01:00
position: static;
flex-direction: column;
2017-12-29 01:14:15 +01:00
.logowrapper {
display: flex;
align-items: center;
justify-content: center;
}
.tabrow {
flex-direction: column;
2017-12-29 00:40:57 +01:00
2017-12-29 01:14:15 +01:00
.tab {
border: 1px solid #000;
font-weight: bold;
2017-12-29 00:40:57 +01:00
2017-12-29 01:14:15 +01:00
margin: 5px 10px;
}
}
2017-12-29 00:40:57 +01:00
}
#content {
2017-12-29 01:14:15 +01:00
padding-top: 0;
2017-12-29 00:40:57 +01:00
}
}