spee.ch/client/scss/_nav-bar.scss

54 lines
986 B
SCSS
Raw Normal View History

2018-05-31 00:00:09 +02:00
.nav-bar {
2019-01-26 01:37:07 +01:00
box-sizing: border-box;
padding: $thin-padding $primary-padding;
background: $chrome-color;
2019-01-26 01:37:07 +01:00
flex: 0 1 auto;
width: 100%;
border-bottom: $subtle-border;
color: $primary-color;
2018-11-10 20:59:53 +01:00
2018-11-09 01:44:59 +01:00
@media (max-width: $break-point-mobile) {
margin-left: 15px;
margin-right: 15px;
}
input {
background: $chrome-color;
}
select {
background: $chrome-color;
color: $text-color;
}
2018-05-31 00:00:09 +02:00
}
.nav-bar-link {
2018-07-12 01:42:40 +02:00
padding: calc(1em - 2px);
2018-05-31 00:00:09 +02:00
display: inline-block;
2018-11-09 19:55:53 +01:00
font-size: $text-medium;
letter-spacing: 0.4px;
text-transform: uppercase;
2018-05-31 00:00:09 +02:00
}
.nav-bar-logo {
cursor: pointer;
}
2018-06-11 01:07:15 +02:00
2018-11-09 01:44:59 +01:00
@media (max-width: $break-point-tablet ) {
2018-06-11 01:07:15 +02:00
.nav-bar-link {
padding-top: calc(1em - 2px);
padding-right: 1em;
padding-bottom: calc(1em - 2px);
padding-left: 1em;
}
2018-11-10 20:59:53 +01:00
2018-06-11 01:07:15 +02:00
}
2018-11-09 01:44:59 +01:00
@media (max-width: $break-point-mobile ) {
2018-06-11 01:07:15 +02:00
.nav-bar-link {
padding-top: calc(0.5em - 2px);
padding-right: 0.5em;
padding-bottom: calc(0.5em - 2px);
padding-left: 0.5em;
}
}