125 lines
2.0 KiB
SCSS
125 lines
2.0 KiB
SCSS
header {
|
|
|
|
button, a.button {
|
|
display: inline-block;
|
|
padding: 0.4rem 0 0.3rem;
|
|
width: 3rem;
|
|
border: 1px solid $dark-grey-2;
|
|
border-radius: 0.2em;
|
|
background-color: #fff;
|
|
color: $dark-grey-2;
|
|
text-align: center;
|
|
font-size: 0.8rem;
|
|
text-transform: uppercase;
|
|
|
|
svg {
|
|
height: 1rem;
|
|
path {
|
|
fill: $dark-grey-2;
|
|
}
|
|
}
|
|
|
|
&:hover {
|
|
background-color: $dark-grey-2;
|
|
color: #fff;
|
|
|
|
svg {
|
|
path {
|
|
fill: #fff;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.delete {
|
|
border-color: $dark-red;
|
|
color: $dark-red;
|
|
|
|
svg {
|
|
path {
|
|
fill: $dark-red;
|
|
}
|
|
}
|
|
|
|
&:hover {
|
|
background-color: $dark-red;
|
|
color: #fff;
|
|
|
|
svg {
|
|
path {
|
|
fill: #fff;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&:disabled:not(.active),
|
|
&:disabled:not(.active):hover {
|
|
border-color: $dark-grey-3;
|
|
background-color: #fff;
|
|
color: $dark-grey-3;
|
|
|
|
svg {
|
|
path {
|
|
fill: $dark-grey-3;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.active {
|
|
border-color: lighten($dark-grey-2, 10%);
|
|
background-color: lighten($dark-grey-2, 10%);
|
|
color: lighten($dark-grey-2, 10%);
|
|
|
|
svg {
|
|
path {
|
|
fill: #fff;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
button + button,
|
|
button + .button,
|
|
.button + .button,
|
|
button + .button-group,
|
|
.button + .button-group,
|
|
.button-group + button,
|
|
.button-group + .button-group {
|
|
margin-left: 1rem;
|
|
}
|
|
|
|
.button-group {
|
|
position: relative;
|
|
display: inline-flex;
|
|
flex-direction: row;
|
|
|
|
button {
|
|
position: relative;
|
|
margin-right: 0;
|
|
flex: 0 1 auto;
|
|
|
|
&:not(:last-child) {
|
|
border-top-right-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
}
|
|
}
|
|
|
|
button + button {
|
|
margin-left: -1px;
|
|
border-top-left-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
main section.content {
|
|
button {
|
|
padding: 0.3rem 0.5rem;
|
|
}
|
|
|
|
button + button {
|
|
margin-left: 0.5rem;
|
|
}
|
|
}
|