2021-12-28 03:32:11 +00:00
|
|
|
$_theme: () !default
|
|
|
|
|
2020-10-02 12:32:56 +00:00
|
|
|
@use "sass:selector"
|
2021-12-28 03:32:11 +00:00
|
|
|
@use "sass:map"
|
2020-10-02 12:32:56 +00:00
|
|
|
|
|
|
|
@mixin button-base
|
|
|
|
-webkit-appearance: none
|
|
|
|
-moz-appearance: none
|
2021-12-28 03:32:11 +00:00
|
|
|
color: map.get($_theme, "fg-bright")
|
2020-10-02 12:32:56 +00:00
|
|
|
border: none
|
|
|
|
border-radius: 4px
|
|
|
|
padding: 8px
|
|
|
|
margin: 0
|
|
|
|
text-decoration: none
|
|
|
|
line-height: 1.25
|
|
|
|
|
|
|
|
@at-root #{selector.unify(&, "select")}
|
|
|
|
padding: 8px 27px 8px 8px
|
2021-12-28 03:32:11 +00:00
|
|
|
background: map.get($_theme, "image-dropdown") right 53% no-repeat map.get($_theme, "bg-4")
|
2020-10-02 12:32:56 +00:00
|
|
|
|
|
|
|
@at-root #{selector.unify(&, "a")}
|
|
|
|
padding: 7px 8px
|
|
|
|
|
|
|
|
@at-root #{selector.unify(&, "button")}
|
|
|
|
cursor: pointer
|
|
|
|
|
|
|
|
.button-icon
|
|
|
|
position: relative
|
|
|
|
top: 3px
|
|
|
|
margin-right: 8px
|
|
|
|
margin-left: 2px
|
|
|
|
|
|
|
|
@mixin button-bg
|
|
|
|
@include button-base
|
|
|
|
|
2021-12-28 03:32:11 +00:00
|
|
|
background-color: map.get($_theme, "bg-4")
|
2020-10-02 12:32:56 +00:00
|
|
|
|
|
|
|
@mixin border-button
|
|
|
|
@include button-bg
|
|
|
|
|
2021-12-28 03:32:11 +00:00
|
|
|
border: 1px solid map.get($_theme, "edge-grey")
|
2020-10-02 12:32:56 +00:00
|
|
|
|
|
|
|
@mixin button-size
|
|
|
|
margin: 4px
|
|
|
|
font-size: 16px
|
|
|
|
|
|
|
|
@mixin button-hover
|
|
|
|
&:hover
|
2021-12-28 03:32:11 +00:00
|
|
|
background-color: map.get($_theme, "bg-3")
|
2020-10-02 12:32:56 +00:00
|
|
|
|
|
|
|
&:active
|
2021-12-28 03:32:11 +00:00
|
|
|
background-color: map.get($_theme, "bg-2")
|
2020-10-02 12:32:56 +00:00
|
|
|
|
|
|
|
.base-border-look
|
|
|
|
@include border-button
|
|
|
|
|
|
|
|
.border-look
|
|
|
|
@include border-button
|
|
|
|
@include button-size
|
2021-05-11 12:29:44 +00:00
|
|
|
@at-root #{selector.unify(&, "a, button")}
|
|
|
|
@include button-hover
|
|
|
|
|
|
|
|
.menu-look
|
|
|
|
@include button-size
|
|
|
|
-webkit-appearance: none
|
|
|
|
-moz-appearance: none
|
2021-12-28 03:32:11 +00:00
|
|
|
color: map.get($_theme, "fg-bright")
|
2021-05-11 12:29:44 +00:00
|
|
|
text-decoration: none
|
|
|
|
line-height: 1.25
|
|
|
|
margin: 0
|
|
|
|
padding: 8px 20px
|
2021-12-28 03:32:11 +00:00
|
|
|
background: map.get($_theme, "bg-3")
|
|
|
|
border: solid map.get($_theme, "edge-grey")
|
2021-05-11 12:29:44 +00:00
|
|
|
border-width: 1px 0px 0px
|
|
|
|
text-align: left
|
|
|
|
|
|
|
|
&:last-child
|
|
|
|
border-width: 1px 0px 1px
|
|
|
|
|
|
|
|
&:hover
|
2021-12-28 03:32:11 +00:00
|
|
|
background: map.get($_theme, "bg-4")
|
2021-05-11 12:29:44 +00:00
|
|
|
|
|
|
|
&:active
|
2021-12-28 03:32:11 +00:00
|
|
|
background: map.get($_theme, "bg-1")
|