futuro 0.7.4 → 0.7.5
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/icon.svg +10 -0
- data/_includes/artwork/orwell/animal/flob.scss +5 -0
- data/_includes/artwork/orwell/animal/waldo.scss +45 -0
- data/_includes/html/assign/page.liquid +85 -0
- data/_includes/html/assign/site.liquid +88 -0
- data/_includes/html/layout/loop.liquid +32 -0
- data/_includes/html/layout/type.liquid +16 -0
- data/_includes/html/overlay/about.liquid +5 -2
- data/_includes/html/overlay/browse/book.liquid +14 -25
- data/_includes/html/overlay/browse/chapter.liquid +24 -19
- data/_includes/html/overlay/browse/page.liquid +50 -30
- data/_includes/html/overlay/browse.liquid +5 -5
- data/_includes/html/overlay/load.liquid +29 -9
- data/_includes/html/overlay/search.liquid +20 -12
- data/_includes/html/overlay/wrap.liquid +18 -0
- data/_includes/html/page/clippies.liquid +22 -0
- data/_includes/html/page/content/chart.liquid +8 -0
- data/_includes/html/page/content/header.liquid +42 -0
- data/_includes/html/page/content/loop/artwork/image.liquid +2 -0
- data/_includes/html/page/content/loop/artwork/video.liquid +4 -0
- data/_includes/html/page/content/loop/artwork.liquid +22 -0
- data/_includes/html/page/content/loop/chart/assign.liquid +30 -0
- data/_includes/html/page/content/loop/chart.liquid +38 -0
- data/_includes/html/page/content/loop/form/alert.liquid +14 -0
- data/_includes/html/page/content/loop/form/button.liquid +26 -0
- data/_includes/html/page/content/loop/form/callout.liquid +6 -0
- data/_includes/html/page/content/loop/form/checkbox.liquid +24 -0
- data/_includes/html/page/content/loop/form/date.liquid +197 -0
- data/_includes/html/page/content/loop/form/fee.liquid +9 -0
- data/_includes/html/page/content/loop/form/input.liquid +7 -0
- data/_includes/html/page/content/loop/form/item.liquid +38 -0
- data/_includes/html/page/content/loop/form/label.liquid +15 -0
- data/_includes/html/page/content/loop/form/legend.liquid +38 -0
- data/_includes/html/page/content/loop/form/message.liquid +6 -0
- data/_includes/html/page/content/loop/form/password.liquid +11 -0
- data/_includes/html/page/content/loop/form/radio.liquid +39 -0
- data/_includes/html/page/content/loop/form/select.liquid +22 -0
- data/_includes/html/page/content/loop/form/text.liquid +45 -0
- data/_includes/html/page/content/loop/form/textarea.liquid +18 -0
- data/_includes/html/page/content/loop/form/yousaved.liquid +10 -0
- data/_includes/html/page/content/loop/form.liquid +66 -0
- data/_includes/html/page/content/loop/header/back.liquid +6 -0
- data/_includes/html/page/content/loop/header/basket.liquid +8 -0
- data/_includes/html/page/content/loop/header/login.liquid +28 -0
- data/_includes/html/page/content/loop/header/logo.liquid +32 -0
- data/_includes/html/page/content/loop/header/search.liquid +16 -0
- data/_includes/html/page/content/loop/header/subheader.liquid +8 -0
- data/_includes/html/page/content/loop/header.liquid +18 -0
- data/_includes/html/page/content/loop/number.liquid +16 -0
- data/_includes/html/page/content/loop/pies.liquid +42 -0
- data/_includes/html/page/content/loop/roller/item.liquid +47 -0
- data/_includes/html/page/content/loop/roller.liquid +8 -0
- data/_includes/html/page/content/loop/screen/row.liquid +18 -0
- data/_includes/html/page/content/loop/screen/small.liquid +6 -0
- data/_includes/html/page/content/loop/screen/title.liquid +12 -0
- data/_includes/html/page/content/loop/screen.liquid +38 -0
- data/_includes/html/page/content/loop.liquid +10 -0
- data/_includes/html/page/content/more.liquid +10 -0
- data/_includes/html/page/content/roller.liquid +76 -0
- data/_includes/html/page/content.liquid +135 -0
- data/_includes/html/page/footnote.liquid +24 -0
- data/_includes/html/page/header.liquid +8 -34
- data/_includes/html/page/info.liquid +18 -23
- data/_includes/html/page/layout/home.liquid +7 -0
- data/_includes/html/page/layout/page.liquid +15 -24
- data/_includes/html/page/subtitle.liquid +1 -3
- data/_includes/html/page/title.liquid +18 -17
- data/_includes/html/page/topbar.liquid +16 -8
- data/_includes/html/page/{utils → util}/author.liquid +1 -1
- data/_includes/html/page/util/share.liquid +24 -0
- data/_includes/html/page/{utils → util}/update.liquid +1 -1
- data/_includes/html/page/util.liquid +28 -12
- data/_includes/html/search/loop.liquid +11 -0
- data/_includes/html/site/footer.liquid +10 -0
- data/_includes/html/site/header.liquid +10 -0
- data/_includes/html/site/scroller.liquid +68 -0
- data/_includes/svg/site/icon.liquid +17 -11
- data/_layouts/feed.html +37 -33
- data/_layouts/single.html +36 -31
- data/_sass/_bar.scss +1 -1
- data/_sass/_base.scss +10 -21
- data/_sass/_block.scss +7 -26
- data/_sass/_box.scss +1 -1
- data/_sass/_button.scss +2 -2
- data/_sass/_col.scss +2 -2
- data/_sass/_input.scss +14 -28
- data/_sass/_item.scss +20 -16
- data/_sass/_link.scss +42 -0
- data/_sass/_list.scss +21 -20
- data/_sass/_site.scss +3 -3
- data/_sass/_title.scss +74 -42
- data/_sass/area/book.scss +18 -0
- data/_sass/area/chapter.scss +15 -0
- data/_sass/area/content.scss +9 -0
- data/_sass/area/overlay.scss +50 -5
- data/_sass/area/page.scss +59 -20
- data/_sass/area/topbar.scss +5 -2
- data/_sass/block/chart.scss +44 -0
- data/_sass/block/custom.scss +9 -0
- data/_sass/block/form/alert.scss +17 -0
- data/_sass/block/form/checkbox.scss +42 -0
- data/_sass/block/form/header.scss +78 -0
- data/_sass/block/form/input.scss +51 -0
- data/_sass/block/form/item.scss +22 -0
- data/_sass/block/form/label.scss +15 -0
- data/_sass/block/form/legend.scss +70 -0
- data/_sass/block/form/login.scss +70 -0
- data/_sass/block/form/message.scss +9 -0
- data/_sass/block/form/password.scss +19 -0
- data/_sass/block/form/radio.scss +12 -0
- data/_sass/block/form/screen.scss +89 -0
- data/_sass/block/form/scroller.scss +8 -0
- data/_sass/block/form/search.scss +39 -0
- data/_sass/block/form/select.scss +49 -0
- data/_sass/block/form/subheader.scss +60 -0
- data/_sass/block/form/text.scss +20 -0
- data/_sass/block/form/title.scss +12 -0
- data/_sass/block/form.scss +17 -0
- data/_sass/block/navigation.scss +3 -3
- data/_sass/block/number.scss +9 -0
- data/_sass/block/pie.scss +14 -0
- data/_sass/block/results.scss +9 -5
- data/_sass/block/scroller.scss +12 -0
- data/_sass/block/stop.scss +0 -1
- data/_sass/block/util.scss +19 -17
- data/_sass/futuro.core.scss +74 -27
- data/_sass/helpers/extends/grid.scss +24 -0
- data/_sass/helpers/extends/layout.scss +27 -0
- data/_sass/helpers/extends.scss +22 -115
- data/_sass/helpers/mixins/layout.scss +11 -0
- data/_sass/helpers/mixins/mindsets.scss +0 -6
- data/_sass/helpers/mixins/patterns.scss +4 -4
- data/_sass/helpers/mixins/theme.scss +292 -210
- data/_sass/helpers/mixins.scss +1 -12
- data/_sass/helpers/themes.scss +10 -0
- data/_sass/helpers/variables.scss +55 -42
- data/_sass/title/overlay.scss +16 -17
- data/_sass/wrap/book.scss +1 -1
- data/_sass/wrap/browse.scss +26 -0
- data/_sass/wrap/chapter.scss +11 -1
- data/_sass/wrap/overlay.scss +54 -1
- data/_sass/wrap/page.scss +18 -1
- data/_sass/wrap/scroller.scss +1 -1
- data/assets/js/footer/custom/ActiveBook.js +10 -12
- data/assets/js/footer/custom/AnimateScroller.js +11 -0
- data/assets/js/footer/custom/Overlays.js +21 -21
- data/assets/js/footer/custom/RespondBrowse.js +80 -0
- data/assets/js/footer/custom/Settings.js +9 -5
- data/assets/js/footer/custom/SetupBrowse.js +115 -0
- data/assets/js/footer/custom/SetupHome.js +23 -6
- data/assets/js/footer/custom/SiteFunc.js +17 -11
- data/assets/js/footer/custom/StartBrowse.js +95 -59
- data/assets/js/footer/custom/SwitchFocus.js +6 -6
- data/assets/js/footer/custom/UtilShare.js +14 -8
- data/assets/js/footer/vendor/gsap-scramble.js +11 -0
- data/assets/js/futuro.footer.custom.js +1 -1
- data/assets/js/futuro.footer.vendor.js +12 -0
- data/assets/js/futuro.header.custom.js +1 -1
- data/assets/js/header/custom/Color.js +39 -27
- data/assets/js/header/custom/Config.js +16 -0
- data/assets/js/header/custom/Overlay.js +21 -34
- data/assets/js/header/custom/Site.js +5 -0
- metadata +100 -38
- data/_includes/html/assign.liquid +0 -7
- data/_includes/html/filter/loop.liquid +0 -31
- data/_includes/html/filter/type.liquid +0 -31
- data/_includes/html/loop/artwork/book/number.liquid +0 -7
- data/_includes/html/loop/artwork/book/pies.liquid +0 -41
- data/_includes/html/loop/artwork/book/textbox.liquid +0 -16
- data/_includes/html/loop/artwork/book/video.liquid +0 -4
- data/_includes/html/loop/artwork/book.liquid +0 -38
- data/_includes/html/loop/artwork/docs.liquid +0 -31
- data/_includes/html/loop/search.liquid +0 -16
- data/_includes/html/overlay.liquid +0 -23
- data/_includes/html/page/artwork.liquid +0 -27
- data/_includes/html/page/layout/chapter.liquid +0 -32
- data/_includes/html/page/layout/custom.liquid +0 -79
- data/_includes/html/page/layout/panel.liquid +0 -15
- data/_includes/html/page/layout/tree.liquid +0 -15
- data/_includes/html/page/utils/share.liquid +0 -18
- data/_includes/svg/site/btn/search.svg +0 -1
- data/_sass/_area.scss +0 -52
- data/_sass/_lnk.scss +0 -32
- data/_sass/area/overlay/about.scss +0 -10
- data/_sass/area/overlay/browse.scss +0 -6
- data/_sass/area/overlay/load.scss +0 -10
- data/_sass/area/overlay/mobile.scss +0 -9
- data/_sass/area/overlay/search.scss +0 -6
- data/_sass/block/browse.scss +0 -35
- data/_sass/helpers/variables/patterns.scss +0 -10
- data/_sass/wrap/overlay/legacy.scss +0 -18
- data/_sass/wrap/overlay/load.scss +0 -4
- data/_sass/wrap/overlay/mobile.scss +0 -8
- data/_sass/wrap/overlay/search.scss +0 -4
- data/assets/js/footer/custom/ExpandBlock.js +0 -21
- data/assets/js/footer/custom/ScrollFunc.js +0 -41
- data/assets/js/footer/custom/SplitCode.js +0 -14
data/_sass/_title.scss
CHANGED
@@ -1,44 +1,76 @@
|
|
1
1
|
|
2
|
-
.title {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
2
|
+
.title.type-page:not(.style-docs) {
|
3
|
+
@include RotateTitle;
|
4
|
+
bottom: 56px;
|
5
|
+
left: 128px;
|
6
|
+
}
|
7
|
+
|
8
|
+
.title.type-page.style-docs {
|
9
|
+
border-bottom: 1px solid map-get($color,gun);
|
10
|
+
padding-bottom: 10px;
|
11
|
+
align-self: center;
|
12
|
+
}
|
13
|
+
|
14
|
+
.title.type-chapter:not(.style-docs) {
|
15
|
+
@include RotateTitle;
|
16
|
+
bottom: 56px;
|
17
|
+
left: 128px;
|
18
|
+
}
|
19
|
+
|
20
|
+
.title.mobile {
|
21
|
+
text-align: center;
|
22
|
+
font-size: 4.8rem;
|
23
|
+
line-height: 1;
|
24
|
+
}
|
25
|
+
|
26
|
+
.title.page-chapter {
|
27
|
+
@include RotateTitle(top right);
|
28
|
+
right: 78px;
|
29
|
+
top: 56px;
|
30
|
+
}
|
31
|
+
|
32
|
+
.title.page-weight {
|
33
|
+
@include RotateTitle;
|
34
|
+
left: calc(100% - 58px);
|
35
|
+
text-align: right;
|
36
|
+
bottom: 56px;
|
37
|
+
}
|
38
|
+
|
39
|
+
.subtitle.type-page {
|
40
|
+
@extend %ContentPrep;
|
41
|
+
}
|
42
|
+
|
43
|
+
.subtitle.type-page.wide {
|
44
|
+
width: 100%;
|
45
|
+
}
|
46
|
+
|
47
|
+
.title.number-value {
|
48
|
+
letter-spacing: -0.05em;
|
49
|
+
font-size: 24rem;
|
50
|
+
line-height: 1;
|
51
|
+
}
|
52
|
+
|
53
|
+
.title.number-title {
|
54
|
+
margin: -10px auto 0 auto;
|
55
|
+
font-size: 2.4rem;
|
56
|
+
max-width: 260px;
|
57
|
+
}
|
58
|
+
|
59
|
+
%TitleBrowse {
|
60
|
+
padding: 8px 10px 6px 10px;
|
61
|
+
border-bottom: 2px solid map-get($color,gun);
|
62
|
+
}
|
63
|
+
|
64
|
+
.title.browse-book {
|
65
|
+
@extend %TitleBrowse;
|
66
|
+
@extend %bold;
|
67
|
+
}
|
68
|
+
|
69
|
+
.title.browse-chapter {
|
70
|
+
@extend %TitleBrowse;
|
71
|
+
@extend %bold;
|
72
|
+
}
|
73
|
+
|
74
|
+
.title.browse-page {
|
75
|
+
@extend %TitleBrowse;
|
44
76
|
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
|
2
|
+
/// @group Barbican
|
3
|
+
/// @author Paul Heading
|
4
|
+
/// @example scss - Sizing `.foo`
|
5
|
+
/// .foo {
|
6
|
+
/// @include size(100%, 3em);
|
7
|
+
/// }
|
8
|
+
|
9
|
+
.area.book {
|
10
|
+
@include ib;
|
11
|
+
padding-right: 5px;
|
12
|
+
padding-left: 5px;
|
13
|
+
|
14
|
+
@media#{map-get($query,min768)} {
|
15
|
+
padding-right: 10px;
|
16
|
+
padding-left: 10px;
|
17
|
+
}
|
18
|
+
}
|
data/_sass/area/overlay.scss
CHANGED
@@ -1,18 +1,63 @@
|
|
1
1
|
|
2
|
-
|
2
|
+
@mixin AreaOverlay() {
|
3
3
|
@include zeros;
|
4
|
-
background-color: rgba($smoke,0.95);
|
4
|
+
background-color: rgba(map-get($color,smoke),0.95);
|
5
|
+
color: map-get($color,gun);
|
5
6
|
justify-content: center;
|
6
|
-
padding-bottom: 100px;
|
7
|
-
padding-top: 100px;
|
8
7
|
overflow: scroll;
|
9
8
|
display: none;
|
10
9
|
height: 100%;
|
11
10
|
width: 100%;
|
12
|
-
color: $gun;
|
13
11
|
z-index: 4;
|
14
12
|
|
15
13
|
&.legacy {
|
16
14
|
@include center;
|
17
15
|
}
|
18
16
|
}
|
17
|
+
|
18
|
+
%AreaOverlayLoad {
|
19
|
+
@include AreaOverlay;
|
20
|
+
background-color: map-get($color,smoke);
|
21
|
+
text-align: center;
|
22
|
+
z-index: 5;
|
23
|
+
|
24
|
+
&:not(.legacy) {
|
25
|
+
@extend %GridLoad;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
.area.overlay-load {
|
30
|
+
@extend %AreaOverlayLoad;
|
31
|
+
}
|
32
|
+
|
33
|
+
.area.overlay-mobile {
|
34
|
+
@extend %AreaOverlayLoad;
|
35
|
+
}
|
36
|
+
|
37
|
+
.area.overlay-about {
|
38
|
+
@include AreaOverlay;
|
39
|
+
|
40
|
+
h4 + p, p + p {
|
41
|
+
margin-top: 20px;
|
42
|
+
}
|
43
|
+
|
44
|
+
&:not(.legacy) {
|
45
|
+
@extend %GridOverlay;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
.area.overlay-browse {
|
50
|
+
@include AreaOverlay;
|
51
|
+
|
52
|
+
&:not(.legacy) {
|
53
|
+
@extend %GridOverlay;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
.area.overlay-search {
|
58
|
+
@include AreaOverlay;
|
59
|
+
|
60
|
+
&:not(.legacy) {
|
61
|
+
@extend %GridSearch;
|
62
|
+
}
|
63
|
+
}
|
data/_sass/area/page.scss
CHANGED
@@ -1,33 +1,72 @@
|
|
1
1
|
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
$AreaHeight : 448px;
|
3
|
+
$SubHeight : 56px;
|
4
|
+
$RowHeight : 258px;
|
5
|
+
$PieHeight : 306px;
|
5
6
|
|
6
|
-
|
7
|
-
|
7
|
+
$AreaRow : $AreaHeight - $RowHeight;
|
8
|
+
$AreaSub : $AreaHeight - $SubHeight;
|
9
|
+
|
10
|
+
%PageContent {
|
11
|
+
|
12
|
+
> h1, > h2, > h3, > h4, > h5, > h6, > p, > ul, > ol, > .roller, .block.animate {
|
13
|
+
@extend %ContentPrep;
|
8
14
|
}
|
9
|
-
}
|
10
15
|
|
11
|
-
|
12
|
-
|
13
|
-
|
16
|
+
> ul:not([class]),
|
17
|
+
> ol:not([class]) {
|
18
|
+
padding-left: 40px;
|
19
|
+
}
|
14
20
|
|
15
|
-
.
|
16
|
-
|
17
|
-
|
21
|
+
> ul.numbers,
|
22
|
+
> ol.numbers {
|
23
|
+
padding-left: 50px;
|
24
|
+
list-style: decimal;
|
25
|
+
}
|
18
26
|
|
19
|
-
.
|
20
|
-
|
21
|
-
|
27
|
+
> ul.letters,
|
28
|
+
> ol.letters {
|
29
|
+
padding-left: 40px;
|
30
|
+
list-style: lower-alpha;
|
31
|
+
}
|
22
32
|
|
23
|
-
.
|
24
|
-
|
33
|
+
.list.pies {
|
34
|
+
width: 100%;
|
35
|
+
margin: 0;
|
25
36
|
}
|
26
37
|
}
|
27
38
|
|
28
|
-
.area.type-page.
|
39
|
+
.area.type-page:not(.style-docs) {
|
40
|
+
@extend %PageContent;
|
41
|
+
@extend %ContentFlow;
|
42
|
+
height: $AreaHeight;
|
29
43
|
|
30
|
-
|
31
|
-
|
44
|
+
&.has-subtitle {
|
45
|
+
height: $AreaSub;
|
46
|
+
}
|
47
|
+
|
48
|
+
&.has-row {
|
49
|
+
height: $AreaRow;
|
50
|
+
}
|
51
|
+
|
52
|
+
&.is-pie {
|
53
|
+
height: $PieHeight;
|
32
54
|
}
|
33
55
|
}
|
56
|
+
|
57
|
+
.area.type-page.style-docs {
|
58
|
+
padding-top: 20px;
|
59
|
+
}
|
60
|
+
|
61
|
+
// .area.type-page.tag-cheatsheet h1 {
|
62
|
+
// margin-bottom: 40px;
|
63
|
+
// }
|
64
|
+
//
|
65
|
+
// .area.type-page.style-docs {
|
66
|
+
// grid-row-gap: 20px;
|
67
|
+
// }
|
68
|
+
//
|
69
|
+
// .area.type-page.row-page {
|
70
|
+
// grid-auto-rows: min-content;
|
71
|
+
// grid-gap: 0;
|
72
|
+
// }
|
data/_sass/area/topbar.scss
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
|
2
2
|
.area.topbar {
|
3
3
|
@include zeros;
|
4
|
-
border-bottom:
|
5
|
-
grid-template-columns: 1fr auto 1fr;
|
4
|
+
border-bottom: $NavBorder;
|
6
5
|
background-color: white;
|
7
6
|
grid-auto-flow: column;
|
8
7
|
padding-right: 14px;
|
@@ -11,4 +10,8 @@
|
|
11
10
|
bottom: auto;
|
12
11
|
height: 60px;
|
13
12
|
z-index: 4;
|
13
|
+
|
14
|
+
@media#{map-get($query,min768)} {
|
15
|
+
grid-template-columns: 1fr auto 1fr;
|
16
|
+
}
|
14
17
|
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
|
2
|
+
.block.chart-container {
|
3
|
+
@extend %bold;
|
4
|
+
grid-auto-flow: column;
|
5
|
+
padding-right: 30px;
|
6
|
+
padding-left: 30px;
|
7
|
+
font-size: 2rem;
|
8
|
+
display: grid;
|
9
|
+
height: 448px;
|
10
|
+
width: 50%;
|
11
|
+
}
|
12
|
+
|
13
|
+
.block.chart-bar-wrap {
|
14
|
+
position: relative;
|
15
|
+
}
|
16
|
+
|
17
|
+
.block.chart-bar-bg {
|
18
|
+
@include zeros(absolute);
|
19
|
+
background: black;
|
20
|
+
}
|
21
|
+
|
22
|
+
.block.chart-bar {
|
23
|
+
@include zeros(absolute);
|
24
|
+
top: auto;
|
25
|
+
}
|
26
|
+
|
27
|
+
.block.chart-pcent-title {
|
28
|
+
@include zeros(absolute);
|
29
|
+
text-align: center;
|
30
|
+
bottom: auto;
|
31
|
+
top: -30px;
|
32
|
+
}
|
33
|
+
|
34
|
+
.block.chart-title-wrap {
|
35
|
+
@include zeros(absolute);
|
36
|
+
top: auto;
|
37
|
+
}
|
38
|
+
|
39
|
+
.block.chart-title {
|
40
|
+
@include RotateTitle;
|
41
|
+
left: calc(50% + 14px);
|
42
|
+
bottom: 10px;
|
43
|
+
color: white;
|
44
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
|
2
|
+
.block.form-alert {
|
3
|
+
@include padding($t:3.5,$b:2.5);
|
4
|
+
@include color($tint:80%);
|
5
|
+
@include border(map-get($color,slate));
|
6
|
+
@include bg(map-get($color,slate));
|
7
|
+
@include borderRad;
|
8
|
+
display: block;
|
9
|
+
|
10
|
+
> .block.item-object {
|
11
|
+
padding: 0;
|
12
|
+
}
|
13
|
+
|
14
|
+
@media#{map-get($query,min768)} {
|
15
|
+
grid-column: 2 / 3;
|
16
|
+
}
|
17
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
|
2
|
+
%checkbox {
|
3
|
+
@include zeros(absolute);
|
4
|
+
left: ($radius * 4);
|
5
|
+
cursor: pointer;
|
6
|
+
height: $input;
|
7
|
+
width: $input;
|
8
|
+
margin: auto;
|
9
|
+
right: auto;
|
10
|
+
|
11
|
+
&:checked + label {
|
12
|
+
@include color(map-get($color,slate),100%);
|
13
|
+
@include border(map-get($color,slate));
|
14
|
+
@include bg(map-get($color,slate));
|
15
|
+
}
|
16
|
+
}
|
17
|
+
|
18
|
+
input[type="checkbox"] {
|
19
|
+
@extend %checkbox;
|
20
|
+
}
|
21
|
+
|
22
|
+
.checkbox-wrap {
|
23
|
+
position: relative;
|
24
|
+
display: grid;
|
25
|
+
|
26
|
+
@media#{map-get($query,min768)} {
|
27
|
+
grid-column: 2 / 3;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
.checkbox-label {
|
32
|
+
@include padding($t:3.5,$b:2.5,$l:10);
|
33
|
+
@include color($tint:80%);
|
34
|
+
@include borderRad;
|
35
|
+
@include border;
|
36
|
+
cursor: pointer;
|
37
|
+
|
38
|
+
&:hover {
|
39
|
+
@include borderCol($tint:50%);
|
40
|
+
@include bg;
|
41
|
+
}
|
42
|
+
}
|
@@ -0,0 +1,78 @@
|
|
1
|
+
|
2
|
+
.block.header {
|
3
|
+
background-color: map-get($color,slate);
|
4
|
+
letter-spacing: 0;
|
5
|
+
font-size: 1.6rem;
|
6
|
+
color: white;
|
7
|
+
display: grid;
|
8
|
+
}
|
9
|
+
|
10
|
+
.block.header-container {
|
11
|
+
@media#{map-get($query,min640)} {
|
12
|
+
padding-right: 5%;
|
13
|
+
padding-left: 5%;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
@media#{map-get($query,min640)} {
|
18
|
+
.block.header-wrap {
|
19
|
+
grid-auto-flow: column;
|
20
|
+
grid-column-gap: 20px;
|
21
|
+
padding-bottom: 30px;
|
22
|
+
align-items: center;
|
23
|
+
padding-top: 30px;
|
24
|
+
display: grid;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
.block.header-logo {
|
29
|
+
justify-content: flex-start;
|
30
|
+
white-space: nowrap;
|
31
|
+
display: grid;
|
32
|
+
|
33
|
+
svg {
|
34
|
+
width: 100%;
|
35
|
+
}
|
36
|
+
|
37
|
+
@media#{map-get($query,max639)} {
|
38
|
+
border-bottom: 1px solid white;
|
39
|
+
justify-content: center;
|
40
|
+
justify-items: center;
|
41
|
+
text-align: center;
|
42
|
+
padding: 20px;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
.block.header-logo:not(.title-shop) {
|
47
|
+
grid-row-gap: 10px;
|
48
|
+
|
49
|
+
svg {
|
50
|
+
width: 160px;
|
51
|
+
fill: white;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
.block.header-logo.title-shop {
|
56
|
+
grid-row-gap: 5px;
|
57
|
+
|
58
|
+
svg {
|
59
|
+
max-width: 230px;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
.block.header-menu {
|
64
|
+
justify-content: flex-end;
|
65
|
+
grid-auto-flow: column;
|
66
|
+
grid-column-gap: 20px;
|
67
|
+
display: grid;
|
68
|
+
|
69
|
+
@media#{map-get($query,max639)} {
|
70
|
+
justify-content: center;
|
71
|
+
padding-bottom: 20px;
|
72
|
+
padding-top: 20px;
|
73
|
+
}
|
74
|
+
|
75
|
+
@media#{map-get($query,min768)} {
|
76
|
+
grid-column-gap: 20px;
|
77
|
+
}
|
78
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
|
2
|
+
%textinput {
|
3
|
+
@include color($tint:80%);
|
4
|
+
@include padding;
|
5
|
+
@include bg;
|
6
|
+
-webkit-appearance: none;
|
7
|
+
border-radius: 0;
|
8
|
+
display: block;
|
9
|
+
width: 100%;
|
10
|
+
border: 0;
|
11
|
+
|
12
|
+
&:focus {
|
13
|
+
outline: none;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
.textinput-wrap {
|
18
|
+
display: grid;
|
19
|
+
|
20
|
+
&.stub {
|
21
|
+
grid-template-columns: 100px auto;
|
22
|
+
grid-column-gap: 10px;
|
23
|
+
align-items: center;
|
24
|
+
|
25
|
+
small {
|
26
|
+
@extend %smallstyle;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
.textinput-border {
|
32
|
+
@include borderRad;
|
33
|
+
@include border;
|
34
|
+
display: block;
|
35
|
+
|
36
|
+
&.stub {
|
37
|
+
max-width: 100px;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
input[type="text"] {
|
42
|
+
@extend %textinput;
|
43
|
+
}
|
44
|
+
|
45
|
+
input[type="email"] {
|
46
|
+
@extend %textinput;
|
47
|
+
}
|
48
|
+
|
49
|
+
input[type="checkbox"] {
|
50
|
+
cursor: pointer;
|
51
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
|
2
|
+
.block.item-row + .block.item-row {
|
3
|
+
margin-top: 0;
|
4
|
+
|
5
|
+
.block.item-object {
|
6
|
+
border-top: 1px solid rgba(map-get($color,slate),20%);
|
7
|
+
}
|
8
|
+
}
|
9
|
+
|
10
|
+
.block.item-object {
|
11
|
+
padding: ($radius * 2) ($radius * 3);
|
12
|
+
grid-template-columns: auto 100px;
|
13
|
+
display: grid;
|
14
|
+
|
15
|
+
@media#{map-get($query,min768)} {
|
16
|
+
grid-column: 2 / 3;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
.block.item-object-price {
|
21
|
+
text-align: right;
|
22
|
+
}
|
@@ -0,0 +1,70 @@
|
|
1
|
+
|
2
|
+
.block.fieldset-row {
|
3
|
+
@media#{map-get($query,min768)} {
|
4
|
+
@include splitrow( auto 250px );
|
5
|
+
}
|
6
|
+
}
|
7
|
+
|
8
|
+
.block.legend-row {
|
9
|
+
padding: ($radius * 2);
|
10
|
+
display: block;
|
11
|
+
|
12
|
+
&.button-row {
|
13
|
+
padding: 0;
|
14
|
+
}
|
15
|
+
|
16
|
+
&.fee-row {
|
17
|
+
@media#{map-get($query,max767)} {
|
18
|
+
text-align: center;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
+ .block.legend-row:not(.button-row) {
|
23
|
+
border-top: 1px solid rgba(map-get($color,slate),20%);
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
.block.legend-key {
|
28
|
+
display: block;
|
29
|
+
}
|
30
|
+
|
31
|
+
.block.legend-content {
|
32
|
+
@include bg;
|
33
|
+
border-radius: ($radius / 3);
|
34
|
+
place-items: center;
|
35
|
+
padding: 20px;
|
36
|
+
display: grid;
|
37
|
+
|
38
|
+
+ .block.legend-key {
|
39
|
+
@media#{map-get($query,max767)} {
|
40
|
+
margin-top: 20px;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
.block.legend-item {
|
46
|
+
grid-template-columns: ($radius * 3) auto auto;
|
47
|
+
grid-column-gap: 10px;
|
48
|
+
align-items: center;
|
49
|
+
display: grid;
|
50
|
+
}
|
51
|
+
|
52
|
+
.block.legend-item-dot {
|
53
|
+
background-color: map-get($color,gray);
|
54
|
+
height: ($radius * 3);
|
55
|
+
width: ($radius * 3);
|
56
|
+
border-radius: 50%;
|
57
|
+
}
|
58
|
+
|
59
|
+
.block.legend-item-title {
|
60
|
+
line-height: 1.1;
|
61
|
+
}
|
62
|
+
|
63
|
+
.block.legend-fee {
|
64
|
+
grid-template-columns: 12px auto;
|
65
|
+
display: inline-grid;
|
66
|
+
}
|
67
|
+
|
68
|
+
.block.legend-item-price {
|
69
|
+
text-align: right;
|
70
|
+
}
|