futuro 0.7.4 → 0.7.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (198) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/artwork/animal/icon.svg +10 -0
  3. data/_includes/artwork/orwell/animal/flob.scss +5 -0
  4. data/_includes/artwork/orwell/animal/waldo.scss +45 -0
  5. data/_includes/html/assign/page.liquid +85 -0
  6. data/_includes/html/assign/site.liquid +88 -0
  7. data/_includes/html/layout/loop.liquid +32 -0
  8. data/_includes/html/layout/type.liquid +16 -0
  9. data/_includes/html/overlay/about.liquid +5 -2
  10. data/_includes/html/overlay/browse/book.liquid +14 -25
  11. data/_includes/html/overlay/browse/chapter.liquid +24 -19
  12. data/_includes/html/overlay/browse/page.liquid +50 -30
  13. data/_includes/html/overlay/browse.liquid +5 -5
  14. data/_includes/html/overlay/load.liquid +29 -9
  15. data/_includes/html/overlay/search.liquid +20 -12
  16. data/_includes/html/overlay/wrap.liquid +18 -0
  17. data/_includes/html/page/clippies.liquid +22 -0
  18. data/_includes/html/page/content/chart.liquid +8 -0
  19. data/_includes/html/page/content/header.liquid +42 -0
  20. data/_includes/html/page/content/loop/artwork/image.liquid +2 -0
  21. data/_includes/html/page/content/loop/artwork/video.liquid +4 -0
  22. data/_includes/html/page/content/loop/artwork.liquid +22 -0
  23. data/_includes/html/page/content/loop/chart/assign.liquid +30 -0
  24. data/_includes/html/page/content/loop/chart.liquid +38 -0
  25. data/_includes/html/page/content/loop/form/alert.liquid +14 -0
  26. data/_includes/html/page/content/loop/form/button.liquid +26 -0
  27. data/_includes/html/page/content/loop/form/callout.liquid +6 -0
  28. data/_includes/html/page/content/loop/form/checkbox.liquid +24 -0
  29. data/_includes/html/page/content/loop/form/date.liquid +197 -0
  30. data/_includes/html/page/content/loop/form/fee.liquid +9 -0
  31. data/_includes/html/page/content/loop/form/input.liquid +7 -0
  32. data/_includes/html/page/content/loop/form/item.liquid +38 -0
  33. data/_includes/html/page/content/loop/form/label.liquid +15 -0
  34. data/_includes/html/page/content/loop/form/legend.liquid +38 -0
  35. data/_includes/html/page/content/loop/form/message.liquid +6 -0
  36. data/_includes/html/page/content/loop/form/password.liquid +11 -0
  37. data/_includes/html/page/content/loop/form/radio.liquid +39 -0
  38. data/_includes/html/page/content/loop/form/select.liquid +22 -0
  39. data/_includes/html/page/content/loop/form/text.liquid +45 -0
  40. data/_includes/html/page/content/loop/form/textarea.liquid +18 -0
  41. data/_includes/html/page/content/loop/form/yousaved.liquid +10 -0
  42. data/_includes/html/page/content/loop/form.liquid +66 -0
  43. data/_includes/html/page/content/loop/header/back.liquid +6 -0
  44. data/_includes/html/page/content/loop/header/basket.liquid +8 -0
  45. data/_includes/html/page/content/loop/header/login.liquid +28 -0
  46. data/_includes/html/page/content/loop/header/logo.liquid +32 -0
  47. data/_includes/html/page/content/loop/header/search.liquid +16 -0
  48. data/_includes/html/page/content/loop/header/subheader.liquid +8 -0
  49. data/_includes/html/page/content/loop/header.liquid +18 -0
  50. data/_includes/html/page/content/loop/number.liquid +16 -0
  51. data/_includes/html/page/content/loop/pies.liquid +42 -0
  52. data/_includes/html/page/content/loop/roller/item.liquid +47 -0
  53. data/_includes/html/page/content/loop/roller.liquid +8 -0
  54. data/_includes/html/page/content/loop/screen/row.liquid +18 -0
  55. data/_includes/html/page/content/loop/screen/small.liquid +6 -0
  56. data/_includes/html/page/content/loop/screen/title.liquid +12 -0
  57. data/_includes/html/page/content/loop/screen.liquid +38 -0
  58. data/_includes/html/page/content/loop.liquid +10 -0
  59. data/_includes/html/page/content/more.liquid +10 -0
  60. data/_includes/html/page/content/roller.liquid +76 -0
  61. data/_includes/html/page/content.liquid +135 -0
  62. data/_includes/html/page/footnote.liquid +24 -0
  63. data/_includes/html/page/header.liquid +8 -34
  64. data/_includes/html/page/info.liquid +18 -23
  65. data/_includes/html/page/layout/home.liquid +7 -0
  66. data/_includes/html/page/layout/page.liquid +15 -24
  67. data/_includes/html/page/subtitle.liquid +1 -3
  68. data/_includes/html/page/title.liquid +18 -17
  69. data/_includes/html/page/topbar.liquid +16 -8
  70. data/_includes/html/page/{utils → util}/author.liquid +1 -1
  71. data/_includes/html/page/util/share.liquid +24 -0
  72. data/_includes/html/page/{utils → util}/update.liquid +1 -1
  73. data/_includes/html/page/util.liquid +28 -12
  74. data/_includes/html/search/loop.liquid +11 -0
  75. data/_includes/html/site/footer.liquid +10 -0
  76. data/_includes/html/site/header.liquid +10 -0
  77. data/_includes/html/site/scroller.liquid +68 -0
  78. data/_includes/svg/site/icon.liquid +17 -11
  79. data/_layouts/feed.html +37 -33
  80. data/_layouts/single.html +36 -31
  81. data/_sass/_bar.scss +1 -1
  82. data/_sass/_base.scss +10 -21
  83. data/_sass/_block.scss +7 -26
  84. data/_sass/_box.scss +1 -1
  85. data/_sass/_button.scss +2 -2
  86. data/_sass/_col.scss +2 -2
  87. data/_sass/_input.scss +14 -28
  88. data/_sass/_item.scss +20 -16
  89. data/_sass/_link.scss +42 -0
  90. data/_sass/_list.scss +21 -20
  91. data/_sass/_site.scss +3 -3
  92. data/_sass/_title.scss +74 -42
  93. data/_sass/area/book.scss +18 -0
  94. data/_sass/area/chapter.scss +15 -0
  95. data/_sass/area/content.scss +9 -0
  96. data/_sass/area/overlay.scss +50 -5
  97. data/_sass/area/page.scss +59 -20
  98. data/_sass/area/topbar.scss +5 -2
  99. data/_sass/block/chart.scss +44 -0
  100. data/_sass/block/custom.scss +9 -0
  101. data/_sass/block/form/alert.scss +17 -0
  102. data/_sass/block/form/checkbox.scss +42 -0
  103. data/_sass/block/form/header.scss +78 -0
  104. data/_sass/block/form/input.scss +51 -0
  105. data/_sass/block/form/item.scss +22 -0
  106. data/_sass/block/form/label.scss +15 -0
  107. data/_sass/block/form/legend.scss +70 -0
  108. data/_sass/block/form/login.scss +70 -0
  109. data/_sass/block/form/message.scss +9 -0
  110. data/_sass/block/form/password.scss +19 -0
  111. data/_sass/block/form/radio.scss +12 -0
  112. data/_sass/block/form/screen.scss +89 -0
  113. data/_sass/block/form/scroller.scss +8 -0
  114. data/_sass/block/form/search.scss +39 -0
  115. data/_sass/block/form/select.scss +49 -0
  116. data/_sass/block/form/subheader.scss +60 -0
  117. data/_sass/block/form/text.scss +20 -0
  118. data/_sass/block/form/title.scss +12 -0
  119. data/_sass/block/form.scss +17 -0
  120. data/_sass/block/navigation.scss +3 -3
  121. data/_sass/block/number.scss +9 -0
  122. data/_sass/block/pie.scss +14 -0
  123. data/_sass/block/results.scss +9 -5
  124. data/_sass/block/scroller.scss +12 -0
  125. data/_sass/block/stop.scss +0 -1
  126. data/_sass/block/util.scss +19 -17
  127. data/_sass/futuro.core.scss +74 -27
  128. data/_sass/helpers/extends/grid.scss +24 -0
  129. data/_sass/helpers/extends/layout.scss +27 -0
  130. data/_sass/helpers/extends.scss +22 -115
  131. data/_sass/helpers/mixins/layout.scss +11 -0
  132. data/_sass/helpers/mixins/mindsets.scss +0 -6
  133. data/_sass/helpers/mixins/patterns.scss +4 -4
  134. data/_sass/helpers/mixins/theme.scss +292 -210
  135. data/_sass/helpers/mixins.scss +1 -12
  136. data/_sass/helpers/themes.scss +10 -0
  137. data/_sass/helpers/variables.scss +55 -42
  138. data/_sass/title/overlay.scss +16 -17
  139. data/_sass/wrap/book.scss +1 -1
  140. data/_sass/wrap/browse.scss +26 -0
  141. data/_sass/wrap/chapter.scss +11 -1
  142. data/_sass/wrap/overlay.scss +54 -1
  143. data/_sass/wrap/page.scss +18 -1
  144. data/_sass/wrap/scroller.scss +1 -1
  145. data/assets/js/footer/custom/ActiveBook.js +10 -12
  146. data/assets/js/footer/custom/AnimateScroller.js +11 -0
  147. data/assets/js/footer/custom/Overlays.js +21 -21
  148. data/assets/js/footer/custom/RespondBrowse.js +80 -0
  149. data/assets/js/footer/custom/Settings.js +9 -5
  150. data/assets/js/footer/custom/SetupBrowse.js +115 -0
  151. data/assets/js/footer/custom/SetupHome.js +23 -6
  152. data/assets/js/footer/custom/SiteFunc.js +17 -11
  153. data/assets/js/footer/custom/StartBrowse.js +95 -59
  154. data/assets/js/footer/custom/SwitchFocus.js +6 -6
  155. data/assets/js/footer/custom/UtilShare.js +14 -8
  156. data/assets/js/footer/vendor/gsap-scramble.js +11 -0
  157. data/assets/js/futuro.footer.custom.js +1 -1
  158. data/assets/js/futuro.footer.vendor.js +12 -0
  159. data/assets/js/futuro.header.custom.js +1 -1
  160. data/assets/js/header/custom/Color.js +39 -27
  161. data/assets/js/header/custom/Config.js +16 -0
  162. data/assets/js/header/custom/Overlay.js +21 -34
  163. data/assets/js/header/custom/Site.js +5 -0
  164. metadata +100 -38
  165. data/_includes/html/assign.liquid +0 -7
  166. data/_includes/html/filter/loop.liquid +0 -31
  167. data/_includes/html/filter/type.liquid +0 -31
  168. data/_includes/html/loop/artwork/book/number.liquid +0 -7
  169. data/_includes/html/loop/artwork/book/pies.liquid +0 -41
  170. data/_includes/html/loop/artwork/book/textbox.liquid +0 -16
  171. data/_includes/html/loop/artwork/book/video.liquid +0 -4
  172. data/_includes/html/loop/artwork/book.liquid +0 -38
  173. data/_includes/html/loop/artwork/docs.liquid +0 -31
  174. data/_includes/html/loop/search.liquid +0 -16
  175. data/_includes/html/overlay.liquid +0 -23
  176. data/_includes/html/page/artwork.liquid +0 -27
  177. data/_includes/html/page/layout/chapter.liquid +0 -32
  178. data/_includes/html/page/layout/custom.liquid +0 -79
  179. data/_includes/html/page/layout/panel.liquid +0 -15
  180. data/_includes/html/page/layout/tree.liquid +0 -15
  181. data/_includes/html/page/utils/share.liquid +0 -18
  182. data/_includes/svg/site/btn/search.svg +0 -1
  183. data/_sass/_area.scss +0 -52
  184. data/_sass/_lnk.scss +0 -32
  185. data/_sass/area/overlay/about.scss +0 -10
  186. data/_sass/area/overlay/browse.scss +0 -6
  187. data/_sass/area/overlay/load.scss +0 -10
  188. data/_sass/area/overlay/mobile.scss +0 -9
  189. data/_sass/area/overlay/search.scss +0 -6
  190. data/_sass/block/browse.scss +0 -35
  191. data/_sass/helpers/variables/patterns.scss +0 -10
  192. data/_sass/wrap/overlay/legacy.scss +0 -18
  193. data/_sass/wrap/overlay/load.scss +0 -4
  194. data/_sass/wrap/overlay/mobile.scss +0 -8
  195. data/_sass/wrap/overlay/search.scss +0 -4
  196. data/assets/js/footer/custom/ExpandBlock.js +0 -21
  197. data/assets/js/footer/custom/ScrollFunc.js +0 -41
  198. data/assets/js/footer/custom/SplitCode.js +0 -14
data/_sass/_title.scss CHANGED
@@ -1,44 +1,76 @@
1
1
 
2
- .title {
3
-
4
- &.mobile {
5
- text-align: center;
6
- font-size: 4.8rem;
7
- line-height: 1;
8
- }
9
-
10
- &.chapter-title:not(.style-docs) {
11
- @include rotatetitle;
12
- bottom: 56px;
13
- left: 128px;
14
- }
15
-
16
- &.page-title {
17
-
18
- &:not(.style-docs) {
19
- @include rotatetitle;
20
- bottom: 56px;
21
- left: 128px;
22
- }
23
-
24
- &.style-docs {
25
- border-bottom: 1px solid $gun;
26
- padding-bottom: 10px;
27
- align-self: center;
28
- }
29
- }
30
-
31
- &.page-chapter {
32
- @include rotatetitle(top right);
33
- right: 78px;
34
- top: 56px;
35
- }
36
-
37
- &.page-weight {
38
- @include rotatetitle;
39
- transform-origin: bottom left;
40
- left: calc(100% - 58px);
41
- text-align: right;
42
- bottom: 56px;
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
+ }
@@ -0,0 +1,15 @@
1
+
2
+ .area.type-chapter {
3
+ @extend %ContentFlow;
4
+
5
+ ul {
6
+ grid-auto-rows: min-content;
7
+ list-style: none;
8
+ grid-gap: 8px;
9
+ display: grid;
10
+
11
+ li {
12
+ @extend h5;
13
+ }
14
+ }
15
+ }
@@ -0,0 +1,9 @@
1
+
2
+ .area.type-content.artwork-page.style-docs {
3
+ grid-gap: 10px;
4
+ display: grid;
5
+ }
6
+
7
+ .area.type-content.artwork-page {
8
+ max-width: 50%;
9
+ }
@@ -1,18 +1,63 @@
1
1
 
2
- .area.overlay {
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
- .area.type-page {
3
- @extend %area-page;
4
- background-color: white;
2
+ $AreaHeight : 448px;
3
+ $SubHeight : 56px;
4
+ $RowHeight : 258px;
5
+ $PieHeight : 306px;
5
6
 
6
- .after {
7
- display: none;
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
- .area.type-page.tag-cheatsheet h1 {
12
- margin-bottom: 40px;
13
- }
16
+ > ul:not([class]),
17
+ > ol:not([class]) {
18
+ padding-left: 40px;
19
+ }
14
20
 
15
- .area.type-page.style-docs {
16
- grid-row-gap: 20px;
17
- }
21
+ > ul.numbers,
22
+ > ol.numbers {
23
+ padding-left: 50px;
24
+ list-style: decimal;
25
+ }
18
26
 
19
- .area.type-page.tag-panel {
20
- grid-template-columns: 224px auto;
21
- grid-column-gap: 20px;
27
+ > ul.letters,
28
+ > ol.letters {
29
+ padding-left: 40px;
30
+ list-style: lower-alpha;
31
+ }
22
32
 
23
- .page-artwork {
24
- padding: 20px 0 0;
33
+ .list.pies {
34
+ width: 100%;
35
+ margin: 0;
25
36
  }
26
37
  }
27
38
 
28
- .area.type-page.tag-tree {
39
+ .area.type-page:not(.style-docs) {
40
+ @extend %PageContent;
41
+ @extend %ContentFlow;
42
+ height: $AreaHeight;
29
43
 
30
- .page-artwork {
31
- padding: 0 20px;
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
+ // }
@@ -1,8 +1,7 @@
1
1
 
2
2
  .area.topbar {
3
3
  @include zeros;
4
- border-bottom: 1px solid darken($smoke,10%);
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,9 @@
1
+
2
+ .block.custom-split.split-2 {
3
+ @include Grid(2);
4
+ grid-gap: 40px;
5
+ }
6
+
7
+ .row.span-2 {
8
+ grid-column: 1 / 3;
9
+ }
@@ -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,15 @@
1
+
2
+ label {
3
+
4
+ &.jcf-checkbox-label {
5
+ cursor: pointer;
6
+ }
7
+
8
+ small {
9
+ @extend %smallstyle;
10
+ }
11
+ }
12
+
13
+ label.form-label {
14
+ @extend %bold;
15
+ }
@@ -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
+ }