-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2247075
commit 9c20a10
Showing
9 changed files
with
216 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
.burger-button { | ||
@include reset-button; | ||
@include square(48px); | ||
|
||
position: relative; | ||
border-radius: var(--border-radius-small); | ||
|
||
@include hover { | ||
background-color: var(--color-accent); | ||
} | ||
|
||
&::after { | ||
@include abs-center; | ||
|
||
content: ''; | ||
width: 50%; | ||
height: 2px; | ||
background-color: var(--color-dark); | ||
border-radius: 2px; | ||
|
||
box-shadow: 0 -8px, 0 8px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
.cross-button { | ||
@include reset-button; | ||
@include square(48px); | ||
|
||
position: relative; | ||
border-radius: var(--border-radius-small); | ||
|
||
@include hover { | ||
background-color: var(--color-accent); | ||
} | ||
|
||
&::before, | ||
&::after { | ||
position: absolute; | ||
content: ''; | ||
top: 48%; | ||
left: 7px; | ||
width: 70%; | ||
height: 2px; | ||
background-color: var(--color-dark); | ||
border-radius: 5px; | ||
} | ||
|
||
&::before { | ||
rotate: 45deg; | ||
} | ||
|
||
&::after { | ||
rotate: -45deg; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
.mobile-overlay { | ||
width: 100%; | ||
height: 100%; | ||
margin: 0; | ||
border: none; | ||
padding: 14px 20px; | ||
|
||
&:modal { | ||
min-width: 100%; | ||
min-height: 100%; | ||
} | ||
|
||
&__close-button-wrapper { | ||
display: flex; | ||
justify-content: end; | ||
} | ||
|
||
|
||
&__list { | ||
@include flex-center; | ||
|
||
flex-direction: column; | ||
row-gap: 30px; | ||
|
||
min-height: 80vh; | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
@import 'normalize','fonts','mixins','media','variables','utils','globals'; | ||
|
||
@import 'blocks/button','blocks/header'; | ||
@import | ||
'blocks/button', | ||
'blocks/burger-button', | ||
'blocks/header', | ||
'blocks/cross-button', | ||
'blocks/mobile-overlay'; |