Init with some changes to the Serif Theme
This commit is contained in:
commit
912d143813
243 changed files with 15251 additions and 0 deletions
27
_sass/components/_hamburger.scss
Normal file
27
_sass/components/_hamburger.scss
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
.hamburger {
|
||||
padding: 10px 0 10px 10px;
|
||||
outline: none;
|
||||
z-index: 30;
|
||||
cursor: pointer;
|
||||
@include media-breakpoint-up(md) {
|
||||
display: none;
|
||||
}
|
||||
&:focus {
|
||||
outline: none;
|
||||
}
|
||||
.hamburger-inner,
|
||||
.hamburger-inner::before,
|
||||
.hamburger-inner::after {
|
||||
background: $primary;
|
||||
}
|
||||
.hamburger-inner::after {
|
||||
width: 18px;
|
||||
right: 0;
|
||||
}
|
||||
&.is-active {
|
||||
.hamburger-inner::after {
|
||||
width: inherit;
|
||||
right: unset;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue