2021-12-28 03:32:11 +00:00
|
|
|
$_theme: () !default
|
|
|
|
|
|
|
|
@use "sass:map"
|
|
|
|
@use "buttons" as *
|
|
|
|
@use "_dimensions" as dimensions
|
2020-10-02 12:32:56 +00:00
|
|
|
|
|
|
|
.main-nav
|
2021-12-28 03:32:11 +00:00
|
|
|
background-color: map.get($_theme, "bg-nav")
|
2020-10-02 12:32:56 +00:00
|
|
|
display: flex
|
|
|
|
padding: 8px
|
2021-12-28 03:32:11 +00:00
|
|
|
border-bottom: 1px solid map.get($_theme, "edge-grey")
|
2020-10-02 12:32:56 +00:00
|
|
|
|
2020-12-31 12:45:11 +00:00
|
|
|
+dimensions.thin
|
2020-10-02 12:32:56 +00:00
|
|
|
display: block
|
|
|
|
|
|
|
|
.links
|
|
|
|
display: flex
|
|
|
|
|
2020-12-31 12:45:11 +00:00
|
|
|
+dimensions.thin
|
2020-10-02 12:32:56 +00:00
|
|
|
margin-bottom: 4px
|
|
|
|
padding: 1px
|
|
|
|
|
|
|
|
.link
|
|
|
|
@include button-base
|
|
|
|
text-decoration: none
|
|
|
|
margin: 1px 8px 1px 0px
|
|
|
|
font-size: 20px
|
|
|
|
display: flex
|
|
|
|
align-items: center
|
|
|
|
|
|
|
|
&.home
|
|
|
|
font-weight: bold
|
|
|
|
|
|
|
|
&, &:visited
|
2021-12-28 03:32:11 +00:00
|
|
|
color: map.get($_theme, "fg-bright")
|
2020-10-02 12:32:56 +00:00
|
|
|
|
|
|
|
&:focus, &:hover
|
2021-12-28 03:32:11 +00:00
|
|
|
background-color: map.get($_theme, "bg-4")
|
|
|
|
|
|
|
|
&.icon-link
|
|
|
|
color: map.get($_theme, "fg-dim")
|
|
|
|
|
|
|
|
&:hover, &:focus
|
|
|
|
color: map.get($_theme, "fg-bright")
|
2020-10-02 12:32:56 +00:00
|
|
|
|
|
|
|
.search-form
|
|
|
|
display: flex
|
|
|
|
flex: 1
|
|
|
|
align-items: center
|
|
|
|
|
|
|
|
.search
|
|
|
|
@include button-bg
|
|
|
|
padding: 10px
|
|
|
|
flex: 1
|
2021-12-28 03:32:11 +00:00
|
|
|
border: 1px solid map.get($_theme, "bg-nav")
|
2020-10-02 12:32:56 +00:00
|
|
|
|
|
|
|
&:hover, &:focus
|
2021-12-28 03:32:11 +00:00
|
|
|
border-color: map.get($_theme, "edge-grey")
|