futuro 0.2.8 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/artwork/animal/flob.html +2 -0
- data/_includes/artwork/animal/flob.scss +5 -0
- data/_includes/artwork/animal/waldo.html +2 -0
- data/_includes/artwork/animal/waldo.scss +45 -0
- data/_includes/artwork/orwell/animal/flob.html +2 -0
- data/_includes/artwork/orwell/animal/flob.scss +5 -0
- data/_includes/artwork/orwell/animal/waldo.html +2 -0
- data/_includes/artwork/orwell/animal/waldo.scss +45 -0
- data/_includes/html/filter/loop.liquid +31 -0
- data/_includes/html/filter/type.liquid +31 -0
- data/_includes/html/head.liquid +3 -3
- data/_includes/html/loop/artwork/book.liquid +28 -0
- data/_includes/html/loop/artwork/docs.liquid +38 -0
- data/_includes/html/loop/search.liquid +16 -0
- data/_includes/html/overlay/about.liquid +5 -0
- data/_includes/html/overlay/browse.liquid +138 -0
- data/_includes/html/overlay/search.liquid +4 -4
- data/_includes/html/page/artwork.liquid +25 -0
- data/_includes/html/page/header.liquid +16 -0
- data/_includes/html/page/info.liquid +29 -0
- data/_includes/html/page/layout/chapter.liquid +32 -0
- data/_includes/html/page/layout/custom.liquid +19 -0
- data/_includes/html/page/layout/home.liquid +27 -0
- data/_includes/html/page/layout/page.liquid +45 -0
- data/_includes/html/page/layout/panel.liquid +14 -0
- data/_includes/html/page/layout/tree.liquid +14 -0
- data/_includes/html/page/subtitle.liquid +6 -0
- data/_includes/html/page/title.liquid +41 -0
- data/_includes/html/page/topbar.liquid +38 -0
- data/_includes/html/page/util.liquid +20 -0
- data/_includes/html/page/utils/author.liquid +5 -0
- data/_includes/html/page/utils/share.liquid +18 -0
- data/_includes/html/page/utils/update.liquid +5 -0
- data/_includes/html/scripts.liquid +2 -0
- data/_includes/svg/orwell/animal/icon.svg +8 -0
- data/_includes/svg/site/book/orwell.svg +1 -0
- data/_includes/svg/site/book/woolf.svg +1 -0
- data/_includes/svg/site/btn/about.svg +1 -0
- data/_includes/svg/site/btn/add.svg +11 -0
- data/_includes/svg/site/btn/author.svg +9 -0
- data/_includes/svg/site/btn/browse.svg +1 -0
- data/_includes/svg/site/btn/cart.svg +1 -0
- data/_includes/svg/site/btn/expand.svg +1 -0
- data/_includes/svg/site/btn/search.svg +1 -0
- data/_includes/svg/site/btn/share/chapter.svg +1 -0
- data/_includes/svg/site/btn/share/page.svg +1 -0
- data/_includes/svg/site/btn/update.svg +15 -0
- data/_layouts/feed.html +63 -0
- data/_layouts/mini.html +10 -0
- data/_layouts/single.html +55 -0
- data/_sass/_area.scss +35 -13
- data/_sass/_artwork.scss +59 -0
- data/_sass/_base.scss +38 -11
- data/_sass/_block.scss +162 -0
- data/_sass/_col.scss +31 -0
- data/_sass/_copy.scss +10 -0
- data/_sass/_exit.scss +1 -2
- data/_sass/_helpers.scss +15 -9
- data/_sass/_lnk.scss +39 -0
- data/_sass/_nav.scss +36 -0
- data/_sass/_normalize.scss +349 -0
- data/_sass/_overlay.scss +1 -2
- data/_sass/_slick.scss +125 -0
- data/_sass/_split.scss +15 -0
- data/_sass/_title.scss +27 -16
- data/_sass/_wrap.scss +17 -22
- data/_sass/futuro.scss +55 -0
- data/assets/img/fallback.jpg +0 -0
- data/assets/img/search.svg +1 -0
- data/assets/js/custom/_CheckWidth.js +21 -0
- data/assets/js/custom/_OpenOverlay.js +87 -0
- data/assets/js/custom/_ScrollFunc.js +42 -0
- data/assets/js/custom/_SetupHome.js +23 -0
- data/assets/js/custom/_SiteFunc.js +13 -0
- data/assets/js/custom/_SmoothScroll.js +42 -0
- data/assets/js/custom/_SplitCode.js +33 -0
- data/assets/js/custom/_StartBrowse.js +82 -0
- data/assets/js/custom/_UtilShare.js +33 -0
- data/assets/js/custom/_let.js +20 -0
- data/assets/js/footer.min.js +1 -1
- data/assets/js/vendor/footer/gsap-draw.js +13 -0
- data/assets/js/vendor/footer/gsap-morph.js +13 -0
- data/assets/js/vendor/footer/gsap-text.js +12 -0
- data/assets/js/vendor/footer/jquery.min.js +5 -0
- data/assets/js/vendor/footer/scrollmagic-gsap.js +310 -0
- data/assets/js/vendor/footer/scrollmagic.js +3 -0
- data/assets/js/vendor/footer/slick.js +18 -0
- data/assets/js/vendor/footer/tweenmax.min.js +17 -0
- data/assets/js/vendor/header/enquire.custom.js +15 -0
- data/assets/js/vendor/header/enquire.min.js +7 -0
- data/assets/js/vendor/header/modernizr.min.js +3 -0
- data/assets/js/vendor/header/simple-jekyll-search.js +6 -0
- metadata +83 -3
- data/_layouts/demo.html +0 -38
data/_sass/_block.scss
ADDED
@@ -0,0 +1,162 @@
|
|
1
|
+
|
2
|
+
%util {
|
3
|
+
&-grid {
|
4
|
+
justify-content: flex-start;
|
5
|
+
grid-auto-flow: column;
|
6
|
+
grid-column-gap: 10px;
|
7
|
+
align-items: center;
|
8
|
+
display: grid;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
@mixin ThemeResults($col) {
|
13
|
+
color: $col;
|
14
|
+
|
15
|
+
.block._results-dot {
|
16
|
+
background-color: $col;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
.block {
|
21
|
+
|
22
|
+
&._expand {
|
23
|
+
|
24
|
+
&-title {
|
25
|
+
grid-template-columns: auto 100px;
|
26
|
+
border-bottom: 1px solid $gun;
|
27
|
+
display: grid;
|
28
|
+
}
|
29
|
+
|
30
|
+
&-block {
|
31
|
+
@extend h6;
|
32
|
+
border-right: 1px solid $gun;
|
33
|
+
border-left: 1px solid $gun;
|
34
|
+
border-top: 1px solid $gun;
|
35
|
+
background-color: $smoke;
|
36
|
+
letter-spacing: normal;
|
37
|
+
padding: 9px 9px 6px;
|
38
|
+
text-align: center;
|
39
|
+
user-select: none;
|
40
|
+
cursor: pointer;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
&._browse {
|
45
|
+
grid-template-columns: 280px 280px;
|
46
|
+
min-height: 264px;
|
47
|
+
display: grid;
|
48
|
+
|
49
|
+
&.setup-library {
|
50
|
+
grid-template-columns: 160px 200px 200px;
|
51
|
+
}
|
52
|
+
|
53
|
+
&:not(.setup-library) {
|
54
|
+
.col._browse.--book {
|
55
|
+
display: none;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
a {
|
60
|
+
text-decoration: none;
|
61
|
+
}
|
62
|
+
|
63
|
+
&-label {
|
64
|
+
padding: 8px 10px 6px 10px;
|
65
|
+
|
66
|
+
&.--head {
|
67
|
+
border-bottom: 2px solid $gun;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
&-lnk {
|
72
|
+
a {
|
73
|
+
padding: 8px 10px 6px 10px;
|
74
|
+
display: block;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
&._page {
|
80
|
+
|
81
|
+
&-info {
|
82
|
+
@include zeros(absolute,0,0,auto,auto);
|
83
|
+
place-items: center;
|
84
|
+
display: grid;
|
85
|
+
height: 560px;
|
86
|
+
width: 140px;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
&._util {
|
91
|
+
grid-row-gap: 6px;
|
92
|
+
display: grid;
|
93
|
+
|
94
|
+
&.--chapter {
|
95
|
+
position: absolute;
|
96
|
+
bottom: 56px;
|
97
|
+
right: 56px;
|
98
|
+
}
|
99
|
+
|
100
|
+
&-share {
|
101
|
+
@extend %util-grid;
|
102
|
+
cursor: pointer;
|
103
|
+
|
104
|
+
&.--chapter {
|
105
|
+
justify-content: flex-end;
|
106
|
+
direction: rtl;
|
107
|
+
|
108
|
+
h5 {
|
109
|
+
direction: ltr;
|
110
|
+
}
|
111
|
+
}
|
112
|
+
}
|
113
|
+
|
114
|
+
&-url {
|
115
|
+
display: none;
|
116
|
+
}
|
117
|
+
|
118
|
+
&-update {
|
119
|
+
@extend %util-grid;
|
120
|
+
}
|
121
|
+
|
122
|
+
&-author {
|
123
|
+
@extend %util-grid;
|
124
|
+
}
|
125
|
+
}
|
126
|
+
|
127
|
+
&._results {
|
128
|
+
list-style: none;
|
129
|
+
|
130
|
+
&-entry {
|
131
|
+
cursor: pointer;
|
132
|
+
grid-gap: 5px;
|
133
|
+
padding: 10px;
|
134
|
+
display: grid;
|
135
|
+
|
136
|
+
&:hover {
|
137
|
+
background-color: rgba(black,0.05);
|
138
|
+
}
|
139
|
+
|
140
|
+
&.book-orwell {
|
141
|
+
@include ThemeResults($orwell);
|
142
|
+
}
|
143
|
+
}
|
144
|
+
|
145
|
+
&-info {
|
146
|
+
justify-content: flex-start;
|
147
|
+
grid-auto-flow: column;
|
148
|
+
line-height: 1;
|
149
|
+
grid-gap: 7px;
|
150
|
+
display: grid;
|
151
|
+
}
|
152
|
+
|
153
|
+
&-dot {
|
154
|
+
background-color: $gun;
|
155
|
+
border-radius: 50%;
|
156
|
+
position: relative;
|
157
|
+
height: 15px;
|
158
|
+
width: 15px;
|
159
|
+
top: 1px;
|
160
|
+
}
|
161
|
+
}
|
162
|
+
}
|
data/_sass/_col.scss
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
|
2
|
+
.col {
|
3
|
+
|
4
|
+
&._browse {
|
5
|
+
|
6
|
+
&.--book {
|
7
|
+
|
8
|
+
a {
|
9
|
+
@extend %bold;
|
10
|
+
text-transform: capitalize;
|
11
|
+
}
|
12
|
+
|
13
|
+
> .block._browse {
|
14
|
+
|
15
|
+
&-label, &-lnk {
|
16
|
+
border-right: 2px solid $gun;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
&.--page {
|
22
|
+
|
23
|
+
> .block._browse {
|
24
|
+
|
25
|
+
&-label, &-chunk {
|
26
|
+
border-left: 2px solid $gun;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}
|
data/_sass/_copy.scss
ADDED
data/_sass/_exit.scss
CHANGED
data/_sass/_helpers.scss
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
$
|
2
|
+
$orwell : #000000;
|
3
3
|
$system : #6e46a0;
|
4
4
|
$brand : #ff8200;
|
5
5
|
$supply : #f00a0a;
|
@@ -22,18 +22,19 @@ $gun : darken(white,60%);
|
|
22
22
|
$carbon : lighten(black,10%);
|
23
23
|
$coal : lighten(black,5%);
|
24
24
|
|
25
|
-
$
|
26
|
-
$
|
27
|
-
$
|
25
|
+
$min640 : 'only screen and (min-width: 640px)';
|
26
|
+
$min768 : 'only screen and (min-width: 768px)';
|
27
|
+
$min1024 : 'only screen and (min-width: 1024px)';
|
28
28
|
|
29
|
-
@mixin
|
30
|
-
|
29
|
+
@mixin zeros($pos:fixed,$t:0,$r:0,$b:0,$l:0) {
|
30
|
+
position: $pos;
|
31
|
+
top: $t;
|
31
32
|
right: $r;
|
33
|
+
bottom: $b;
|
32
34
|
left: $l;
|
33
|
-
top: $t;
|
34
35
|
}
|
35
36
|
|
36
|
-
@mixin center
|
37
|
+
@mixin center {
|
37
38
|
&:before {
|
38
39
|
display: inline-block;
|
39
40
|
vertical-align: middle;
|
@@ -43,7 +44,7 @@ $min1024w : 'only screen and (min-width: 1024px)';
|
|
43
44
|
}
|
44
45
|
}
|
45
46
|
|
46
|
-
@mixin ib
|
47
|
+
@mixin ib {
|
47
48
|
vertical-align: middle;
|
48
49
|
display: inline-block;
|
49
50
|
max-width: 90%;
|
@@ -61,6 +62,11 @@ $min1024w : 'only screen and (min-width: 1024px)';
|
|
61
62
|
}
|
62
63
|
}
|
63
64
|
|
65
|
+
@mixin grid($rep) {
|
66
|
+
grid-template-columns: repeat($rep,1fr);
|
67
|
+
display: grid;
|
68
|
+
}
|
69
|
+
|
64
70
|
@keyframes load_bg {
|
65
71
|
33% {
|
66
72
|
background-color: blue;
|
data/_sass/_lnk.scss
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
|
2
|
+
.lnk {
|
3
|
+
|
4
|
+
&._nav {
|
5
|
+
text-transform: capitalize;
|
6
|
+
border-bottom: 3px solid;
|
7
|
+
text-decoration: none;
|
8
|
+
}
|
9
|
+
|
10
|
+
&._scroller {
|
11
|
+
fill: #666666;
|
12
|
+
opacity: 0.5;
|
13
|
+
|
14
|
+
&.active {
|
15
|
+
opacity: 1;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
&._browse {
|
20
|
+
|
21
|
+
&-book {
|
22
|
+
&.active {
|
23
|
+
background-color: rgba(black,0.07);
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
&-chapter {
|
28
|
+
&.active {
|
29
|
+
background-color: rgba(black,0.07);
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
&-page {
|
34
|
+
&.active {
|
35
|
+
background-color: rgba(black,0.07);
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
data/_sass/_nav.scss
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
|
2
|
+
.nav {
|
3
|
+
cursor: pointer;
|
4
|
+
|
5
|
+
svg {
|
6
|
+
fill: $gray;
|
7
|
+
}
|
8
|
+
|
9
|
+
&._left {
|
10
|
+
justify-content: flex-start;
|
11
|
+
grid-auto-flow: column;
|
12
|
+
align-content: center;
|
13
|
+
grid-gap: 18px;
|
14
|
+
display: grid;
|
15
|
+
}
|
16
|
+
|
17
|
+
&._main {
|
18
|
+
grid-auto-flow: column;
|
19
|
+
align-content: center;
|
20
|
+
text-align: center;
|
21
|
+
font-size: 21px;
|
22
|
+
display: grid;
|
23
|
+
|
24
|
+
> div {
|
25
|
+
width: 120px;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
&._right {
|
30
|
+
justify-content: flex-end;
|
31
|
+
grid-auto-flow: column;
|
32
|
+
align-content: center;
|
33
|
+
grid-gap: 18px;
|
34
|
+
display: grid;
|
35
|
+
}
|
36
|
+
}
|
@@ -0,0 +1,349 @@
|
|
1
|
+
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
2
|
+
|
3
|
+
/* Document
|
4
|
+
========================================================================== */
|
5
|
+
|
6
|
+
/**
|
7
|
+
* 1. Correct the line height in all browsers.
|
8
|
+
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
9
|
+
*/
|
10
|
+
|
11
|
+
html {
|
12
|
+
line-height: 1.15; /* 1 */
|
13
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
14
|
+
}
|
15
|
+
|
16
|
+
/* Sections
|
17
|
+
========================================================================== */
|
18
|
+
|
19
|
+
/**
|
20
|
+
* Remove the margin in all browsers.
|
21
|
+
*/
|
22
|
+
|
23
|
+
body {
|
24
|
+
margin: 0;
|
25
|
+
}
|
26
|
+
|
27
|
+
/**
|
28
|
+
* Render the `main` element consistently in IE.
|
29
|
+
*/
|
30
|
+
|
31
|
+
main {
|
32
|
+
display: block;
|
33
|
+
}
|
34
|
+
|
35
|
+
/**
|
36
|
+
* Correct the font size and margin on `h1` elements within `section` and
|
37
|
+
* `article` contexts in Chrome, Firefox, and Safari.
|
38
|
+
*/
|
39
|
+
|
40
|
+
h1 {
|
41
|
+
font-size: 2em;
|
42
|
+
margin: 0.67em 0;
|
43
|
+
}
|
44
|
+
|
45
|
+
/* Grouping content
|
46
|
+
========================================================================== */
|
47
|
+
|
48
|
+
/**
|
49
|
+
* 1. Add the correct box sizing in Firefox.
|
50
|
+
* 2. Show the overflow in Edge and IE.
|
51
|
+
*/
|
52
|
+
|
53
|
+
hr {
|
54
|
+
box-sizing: content-box; /* 1 */
|
55
|
+
height: 0; /* 1 */
|
56
|
+
overflow: visible; /* 2 */
|
57
|
+
}
|
58
|
+
|
59
|
+
/**
|
60
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
61
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
62
|
+
*/
|
63
|
+
|
64
|
+
pre {
|
65
|
+
font-family: monospace, monospace; /* 1 */
|
66
|
+
font-size: 1em; /* 2 */
|
67
|
+
}
|
68
|
+
|
69
|
+
/* Text-level semantics
|
70
|
+
========================================================================== */
|
71
|
+
|
72
|
+
/**
|
73
|
+
* Remove the gray background on active links in IE 10.
|
74
|
+
*/
|
75
|
+
|
76
|
+
a {
|
77
|
+
background-color: transparent;
|
78
|
+
}
|
79
|
+
|
80
|
+
/**
|
81
|
+
* 1. Remove the bottom border in Chrome 57-
|
82
|
+
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
83
|
+
*/
|
84
|
+
|
85
|
+
abbr[title] {
|
86
|
+
border-bottom: none; /* 1 */
|
87
|
+
text-decoration: underline; /* 2 */
|
88
|
+
text-decoration: underline dotted; /* 2 */
|
89
|
+
}
|
90
|
+
|
91
|
+
/**
|
92
|
+
* Add the correct font weight in Chrome, Edge, and Safari.
|
93
|
+
*/
|
94
|
+
|
95
|
+
b,
|
96
|
+
strong {
|
97
|
+
font-weight: bolder;
|
98
|
+
}
|
99
|
+
|
100
|
+
/**
|
101
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
102
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
103
|
+
*/
|
104
|
+
|
105
|
+
code,
|
106
|
+
kbd,
|
107
|
+
samp {
|
108
|
+
font-family: monospace, monospace; /* 1 */
|
109
|
+
font-size: 1em; /* 2 */
|
110
|
+
}
|
111
|
+
|
112
|
+
/**
|
113
|
+
* Add the correct font size in all browsers.
|
114
|
+
*/
|
115
|
+
|
116
|
+
small {
|
117
|
+
font-size: 80%;
|
118
|
+
}
|
119
|
+
|
120
|
+
/**
|
121
|
+
* Prevent `sub` and `sup` elements from affecting the line height in
|
122
|
+
* all browsers.
|
123
|
+
*/
|
124
|
+
|
125
|
+
sub,
|
126
|
+
sup {
|
127
|
+
font-size: 75%;
|
128
|
+
line-height: 0;
|
129
|
+
position: relative;
|
130
|
+
vertical-align: baseline;
|
131
|
+
}
|
132
|
+
|
133
|
+
sub {
|
134
|
+
bottom: -0.25em;
|
135
|
+
}
|
136
|
+
|
137
|
+
sup {
|
138
|
+
top: -0.5em;
|
139
|
+
}
|
140
|
+
|
141
|
+
/* Embedded content
|
142
|
+
========================================================================== */
|
143
|
+
|
144
|
+
/**
|
145
|
+
* Remove the border on images inside links in IE 10.
|
146
|
+
*/
|
147
|
+
|
148
|
+
img {
|
149
|
+
border-style: none;
|
150
|
+
}
|
151
|
+
|
152
|
+
/* Forms
|
153
|
+
========================================================================== */
|
154
|
+
|
155
|
+
/**
|
156
|
+
* 1. Change the font styles in all browsers.
|
157
|
+
* 2. Remove the margin in Firefox and Safari.
|
158
|
+
*/
|
159
|
+
|
160
|
+
button,
|
161
|
+
input,
|
162
|
+
optgroup,
|
163
|
+
select,
|
164
|
+
textarea {
|
165
|
+
font-family: inherit; /* 1 */
|
166
|
+
font-size: 100%; /* 1 */
|
167
|
+
line-height: 1.15; /* 1 */
|
168
|
+
margin: 0; /* 2 */
|
169
|
+
}
|
170
|
+
|
171
|
+
/**
|
172
|
+
* Show the overflow in IE.
|
173
|
+
* 1. Show the overflow in Edge.
|
174
|
+
*/
|
175
|
+
|
176
|
+
button,
|
177
|
+
input { /* 1 */
|
178
|
+
overflow: visible;
|
179
|
+
}
|
180
|
+
|
181
|
+
/**
|
182
|
+
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
183
|
+
* 1. Remove the inheritance of text transform in Firefox.
|
184
|
+
*/
|
185
|
+
|
186
|
+
button,
|
187
|
+
select { /* 1 */
|
188
|
+
text-transform: none;
|
189
|
+
}
|
190
|
+
|
191
|
+
/**
|
192
|
+
* Correct the inability to style clickable types in iOS and Safari.
|
193
|
+
*/
|
194
|
+
|
195
|
+
button,
|
196
|
+
[type="button"],
|
197
|
+
[type="reset"],
|
198
|
+
[type="submit"] {
|
199
|
+
-webkit-appearance: button;
|
200
|
+
}
|
201
|
+
|
202
|
+
/**
|
203
|
+
* Remove the inner border and padding in Firefox.
|
204
|
+
*/
|
205
|
+
|
206
|
+
button::-moz-focus-inner,
|
207
|
+
[type="button"]::-moz-focus-inner,
|
208
|
+
[type="reset"]::-moz-focus-inner,
|
209
|
+
[type="submit"]::-moz-focus-inner {
|
210
|
+
border-style: none;
|
211
|
+
padding: 0;
|
212
|
+
}
|
213
|
+
|
214
|
+
/**
|
215
|
+
* Restore the focus styles unset by the previous rule.
|
216
|
+
*/
|
217
|
+
|
218
|
+
button:-moz-focusring,
|
219
|
+
[type="button"]:-moz-focusring,
|
220
|
+
[type="reset"]:-moz-focusring,
|
221
|
+
[type="submit"]:-moz-focusring {
|
222
|
+
outline: 1px dotted ButtonText;
|
223
|
+
}
|
224
|
+
|
225
|
+
/**
|
226
|
+
* Correct the padding in Firefox.
|
227
|
+
*/
|
228
|
+
|
229
|
+
fieldset {
|
230
|
+
padding: 0.35em 0.75em 0.625em;
|
231
|
+
}
|
232
|
+
|
233
|
+
/**
|
234
|
+
* 1. Correct the text wrapping in Edge and IE.
|
235
|
+
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
236
|
+
* 3. Remove the padding so developers are not caught out when they zero out
|
237
|
+
* `fieldset` elements in all browsers.
|
238
|
+
*/
|
239
|
+
|
240
|
+
legend {
|
241
|
+
box-sizing: border-box; /* 1 */
|
242
|
+
color: inherit; /* 2 */
|
243
|
+
display: table; /* 1 */
|
244
|
+
max-width: 100%; /* 1 */
|
245
|
+
padding: 0; /* 3 */
|
246
|
+
white-space: normal; /* 1 */
|
247
|
+
}
|
248
|
+
|
249
|
+
/**
|
250
|
+
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
251
|
+
*/
|
252
|
+
|
253
|
+
progress {
|
254
|
+
vertical-align: baseline;
|
255
|
+
}
|
256
|
+
|
257
|
+
/**
|
258
|
+
* Remove the default vertical scrollbar in IE 10+.
|
259
|
+
*/
|
260
|
+
|
261
|
+
textarea {
|
262
|
+
overflow: auto;
|
263
|
+
}
|
264
|
+
|
265
|
+
/**
|
266
|
+
* 1. Add the correct box sizing in IE 10.
|
267
|
+
* 2. Remove the padding in IE 10.
|
268
|
+
*/
|
269
|
+
|
270
|
+
[type="checkbox"],
|
271
|
+
[type="radio"] {
|
272
|
+
box-sizing: border-box; /* 1 */
|
273
|
+
padding: 0; /* 2 */
|
274
|
+
}
|
275
|
+
|
276
|
+
/**
|
277
|
+
* Correct the cursor style of increment and decrement buttons in Chrome.
|
278
|
+
*/
|
279
|
+
|
280
|
+
[type="number"]::-webkit-inner-spin-button,
|
281
|
+
[type="number"]::-webkit-outer-spin-button {
|
282
|
+
height: auto;
|
283
|
+
}
|
284
|
+
|
285
|
+
/**
|
286
|
+
* 1. Correct the odd appearance in Chrome and Safari.
|
287
|
+
* 2. Correct the outline style in Safari.
|
288
|
+
*/
|
289
|
+
|
290
|
+
[type="search"] {
|
291
|
+
-webkit-appearance: textfield; /* 1 */
|
292
|
+
outline-offset: -2px; /* 2 */
|
293
|
+
}
|
294
|
+
|
295
|
+
/**
|
296
|
+
* Remove the inner padding in Chrome and Safari on macOS.
|
297
|
+
*/
|
298
|
+
|
299
|
+
[type="search"]::-webkit-search-decoration {
|
300
|
+
-webkit-appearance: none;
|
301
|
+
}
|
302
|
+
|
303
|
+
/**
|
304
|
+
* 1. Correct the inability to style clickable types in iOS and Safari.
|
305
|
+
* 2. Change font properties to `inherit` in Safari.
|
306
|
+
*/
|
307
|
+
|
308
|
+
::-webkit-file-upload-button {
|
309
|
+
-webkit-appearance: button; /* 1 */
|
310
|
+
font: inherit; /* 2 */
|
311
|
+
}
|
312
|
+
|
313
|
+
/* Interactive
|
314
|
+
========================================================================== */
|
315
|
+
|
316
|
+
/*
|
317
|
+
* Add the correct display in Edge, IE 10+, and Firefox.
|
318
|
+
*/
|
319
|
+
|
320
|
+
details {
|
321
|
+
display: block;
|
322
|
+
}
|
323
|
+
|
324
|
+
/*
|
325
|
+
* Add the correct display in all browsers.
|
326
|
+
*/
|
327
|
+
|
328
|
+
summary {
|
329
|
+
display: list-item;
|
330
|
+
}
|
331
|
+
|
332
|
+
/* Misc
|
333
|
+
========================================================================== */
|
334
|
+
|
335
|
+
/**
|
336
|
+
* Add the correct display in IE 10+.
|
337
|
+
*/
|
338
|
+
|
339
|
+
template {
|
340
|
+
display: none;
|
341
|
+
}
|
342
|
+
|
343
|
+
/**
|
344
|
+
* Add the correct display in IE 10.
|
345
|
+
*/
|
346
|
+
|
347
|
+
[hidden] {
|
348
|
+
display: none;
|
349
|
+
}
|
data/_sass/_overlay.scss
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
|
2
2
|
.overlay {
|
3
|
+
@include zeros;
|
3
4
|
background-color: rgba($smoke,0.95);
|
4
5
|
justify-content: center;
|
5
6
|
padding-bottom: 100px;
|
6
7
|
padding-top: 100px;
|
7
8
|
overflow: scroll;
|
8
|
-
position: fixed;
|
9
9
|
display: none;
|
10
|
-
@include zero;
|
11
10
|
height: 100%;
|
12
11
|
width: 100%;
|
13
12
|
color: $gun;
|