-
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.
Merge pull request #14 from danielabar/feature/13-add-intro
Feature/13 add intro
- Loading branch information
Showing
28 changed files
with
391 additions
and
78 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// https://www.sitepoint.com/better-solution-managing-z-index-sass/ | ||
|
||
@function z($layer) { | ||
@if not map-has-key($z-layers, $layer) { | ||
@warn "No layer found for `#{$layer}` in $z-layers map. Property omitted."; | ||
} | ||
|
||
@return map-get($z-layers, $layer); | ||
} |
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,15 @@ | ||
.icon { | ||
display: inline-block; | ||
width: 1em; | ||
height: 1em; | ||
vertical-align: middle; | ||
stroke-width: 0; | ||
stroke: currentColor; | ||
fill: currentColor; | ||
} | ||
|
||
// adjustments needed to make iconmoon svg icons align with text in buttons | ||
.icon-button { | ||
margin-right: 1px; | ||
margin-bottom: 4px; | ||
} |
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,98 @@ | ||
// https://css-tricks.com/considerations-styling-modal/ | ||
|
||
.modal-overlay { | ||
position: fixed; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
background-color: rgba($settings-background, .9); | ||
z-index: z("modalOverlay"); | ||
} | ||
|
||
.modal { | ||
position: fixed; | ||
top: 50%; | ||
left: 50%; | ||
transform: translate(-50%, -50%); | ||
|
||
width: 800px; | ||
max-width: 100%; | ||
height: 500px; | ||
max-height: 100%; | ||
|
||
background-color: $modal-body-background; | ||
color: $modal-color; | ||
border: 1px solid $modal-header-background; | ||
border-radius: 4px; | ||
|
||
box-shadow: 0 5px 15px rgba(0,0,0,.5); | ||
|
||
z-index: z("modal"); | ||
} | ||
|
||
.modal-header { | ||
padding: 30px 0; | ||
background-color: $modal-header-background; | ||
} | ||
|
||
.modal-title { | ||
margin-left: 15px; | ||
color: $modal-title; | ||
font-size: 3rem; | ||
} | ||
|
||
.modal-body { | ||
/* cover the modal */ | ||
position: absolute; | ||
top: 40; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
|
||
/* spacing as needed */ | ||
padding: 20px 50px 20px 20px; | ||
|
||
/* let it scroll */ | ||
overflow: auto; | ||
|
||
font-size: 2rem; | ||
} | ||
|
||
.modal-section { | ||
margin-bottom: 15px; | ||
} | ||
|
||
.text-wrap { | ||
float: left; | ||
margin-right: 15px; | ||
} | ||
|
||
.modal-actions { | ||
margin-top: 40px; | ||
text-align: center; | ||
} | ||
|
||
.modal-start-button { | ||
@include settings-button(); | ||
} | ||
|
||
.accent-button { | ||
background-color: $modal-accent; | ||
&:hover { | ||
background-color: darken($modal-accent, 10%); | ||
} | ||
} | ||
|
||
.modal-close { | ||
position: absolute; | ||
cursor: pointer; | ||
top: 10px; | ||
right: 10px; | ||
@include settings-button(1.1em, 5px 8px, 50%); | ||
z-index: z("modalClose"); | ||
} | ||
|
||
.closed { | ||
display: none; | ||
} |
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
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
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.