nfp_sites/app/menu/menu.scss

86 lines
1.5 KiB
SCSS
Raw Normal View History

2019-02-20 16:10:37 +00:00
@import '../_common';
#nav {
display: flex;
flex-direction: column;
.top {
background: url('./img/logo.png') 25px center no-repeat $primary-dark-bg;
color: $primary-dark-fg;
padding: 0 10px 0 120px;
height: 100px;
display: flex;
h2 {
flex-grow: 2;
align-self: center;
font-size: 30px;
}
aside {
display: flex;
flex-direction: column;
align-items: center;
padding: 10px 0;
p {
font-size: 0.8em;
2019-09-13 13:33:10 +00:00
color: $meta-light-fg;
2019-02-20 16:10:37 +00:00
padding-bottom: 5px;
}
a, a:visited {
font-weight: bold;
text-align: center;
color: $secondary-light-bg;
font-size: 0.8em;
line-height: 1.4em;
text-decoration: none;
}
}
}
nav {
display: flex;
background: $primary-light-bg;
color: $primary-light-fg;
2019-09-13 13:33:10 +00:00
.hassubmenu {
flex-grow: 2;
flex-basis: 0;
display: flex;
}
2019-02-20 16:10:37 +00:00
a, a:visited {
flex-grow: 2;
flex-basis: 0;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: $primary-light-fg;
padding: 10px;
font-size: 0.9em;
text-decoration: none;
&.active {
border-bottom: 3px solid $secondary-bg;
}
}
}
2019-09-13 13:33:10 +00:00
.loading-spinner {
position: relative;
flex-grow: 2;
flex-basis: 0;
}
.menuerror {
background: $primary-bg;
text-align: center;
padding: 10px;
color: #FFC7C7;
font-weight: bold;
}
2019-02-20 16:10:37 +00:00
}