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
@@ -1,333 +1,415 @@
1
1
 
2
- @mixin ThemeBook($name,$col) {
3
2
 
4
- // Home Books
3
+ @mixin ThemeArtformHeader($name,$col) {
5
4
 
6
- .wrap.book.#{$name} {
5
+ .block.header.title-artform.tag-#{$name} {
7
6
  background-color: $col;
8
7
 
9
- svg {
10
- fill: white;
8
+ .list.login-list {
9
+ @include border($col,100%);
11
10
  }
12
- }
13
11
 
14
- // Topbar Links
12
+ .item.login-item {
13
+ @include bg(lighten($col,45%),100%);
14
+ @include color($col,100%);
15
15
 
16
- button.navigation.#{$name} {
17
- color: $col;
16
+ &:hover {
17
+ @include bg(lighten($col,40%),100%);
18
+ }
18
19
 
19
- &:hover {
20
- background-color: rgba($col,10%);
20
+ + .login-item {
21
+ border-top: 1px solid rgba($col,20%);
22
+ }
21
23
  }
22
24
  }
23
25
  }
24
26
 
25
- @mixin ThemeCover($name,$color,$left:false,$chapter:false) {
27
+ @mixin ThemeHeader($name,$col) {
26
28
 
27
- @if $chapter {
29
+ .block.header.title-#{$name} {
30
+ background-color: $col;
31
+ }
28
32
 
29
- // Chapter Covers
33
+ .list.login-list.title-#{$name} {
34
+ @include border($col,100%);
35
+ }
30
36
 
31
- .wrap.type-chapter.chapter-#{$name} {
32
- background-color: $color;
37
+ .item.login-item.title-#{$name} {
38
+ @include bg(lighten($col,45%),100%);
39
+ @include color($col,100%);
33
40
 
34
- @if $left {
35
- .title.chapter-title {
36
- left: #{$left}px;
37
- }
38
- }
41
+ &:hover {
42
+ @include bg(lighten($col,40%),100%);
39
43
  }
40
- } @else {
41
44
 
42
- // Chapter Covers
43
-
44
- .area.type-chapter.book-#{$name} {
45
- background-color: $color;
45
+ + .login-item {
46
+ border-top: 1px solid rgba($col,20%);
46
47
  }
47
48
  }
48
49
  }
49
50
 
50
- @mixin ThemePages($name,$col,$right:false) {
51
+ @mixin ThemeCheckbox($name,$col) {
52
+ .area.title-#{$name} {
51
53
 
52
- // Chapter Pages
54
+ .checkbox-input:checked + label {
55
+ @include border($col);
56
+ @include color($col,100%);
57
+ @include bg($col);
58
+ }
59
+ }
60
+ }
53
61
 
54
- .wrap.type-page.chapter-#{$name} {
62
+ @mixin ThemeRadio($name,$col) {
63
+ .area.title-#{$name} {
55
64
 
56
- .title.page-weight {
65
+ label.radio, label.jcf-radio-label {
57
66
  color: $col;
58
67
  }
59
68
 
60
- .title.page-chapter {
61
- color: $col;
62
- @if $right {
63
- right: #{$right}px;
69
+ .jcf-radio {
70
+ @include borderCol($col);
71
+ @include bg($col);
72
+
73
+ span {
74
+ background: $col;
64
75
  }
65
76
  }
77
+ }
78
+ }
66
79
 
67
- .title.animate {
80
+ @mixin ThemeTextArea($name,$col) {
81
+ .area.title-#{$name} {
82
+
83
+ label.textarea {
68
84
  color: $col;
69
85
  }
70
86
 
71
- .block.page-icon {
72
- fill: $col;
87
+ .textarea-wrap {
88
+ @include borderCol($col);
73
89
  }
74
90
 
75
- .lnk.stats {
76
- color: $col;
91
+ textarea {
92
+ @include borderCol($col);
93
+ @include color($col,100%);
94
+ @include bg($col);
77
95
  }
96
+ }
97
+ }
78
98
 
79
- .item.text-roller {
80
- background-color: rgba($col,10%);
99
+ @mixin ThemeSelect($name,$col) {
100
+ .area.title-#{$name} {
101
+
102
+ label.select {
81
103
  color: $col;
104
+ }
82
105
 
83
- &.active {
84
- background-color: $col;
85
- color: white;
86
- }
106
+ select {
107
+ @include bg($col);
108
+ @include border($col);
109
+ @include color($col,100%);
87
110
  }
111
+ }
112
+ }
88
113
 
89
- .item.text-output {
90
- background-color: rgba($col,10%);
91
- border-color: rgba($col,20%);
114
+ @mixin ThemeList($name,$col) {
115
+ .area.title-#{$name} {
116
+
117
+ label.select {
92
118
  color: $col;
93
119
  }
94
120
 
95
- .list.pies {
121
+ select {
122
+ @include bg($col);
123
+ }
124
+
125
+ .jcf-list-box {
126
+ @include borderCol($col);
127
+ @include bg($col);
96
128
  color: $col;
97
129
  }
98
130
 
99
- .block.pie.svg-wrap {
100
- fill: $col;
131
+ .jcf-list .jcf-option.jcf-selected {
132
+ background: rgba($col,10%);
101
133
  }
134
+ }
135
+ }
102
136
 
103
- svg#background {
104
- fill: $col;
137
+ @mixin ThemeText($name,$col) {
138
+ .area.title-#{$name} {
139
+
140
+ label {
141
+ @include color($col,100%);
105
142
  }
106
143
 
107
- svg#tickets {
108
- fill: $col;
144
+ input[type="text"] {
145
+ @include color($col,100%);
146
+ @include bg($col);
147
+ }
109
148
 
110
- .bar {
111
- stroke: $col !important;
112
- }
149
+ .textinput-border {
150
+ @include borderCol($col);
113
151
  }
114
152
  }
115
153
  }
116
154
 
117
- @mixin ThemePies($name,$col) {
118
- &.#{$name} {
119
- color: $col;
155
+ @mixin ThemePassword($name,$col) {
156
+ .area.title-#{$name} {
157
+ .block.password-strength {
158
+ background: $col;
159
+ }
160
+ .block.password-bg {
161
+ background: rgba($col,10%);
162
+ }
163
+ }
164
+ }
120
165
 
121
- .chunk.#{$name} {
122
- opacity: 1;
166
+ @mixin ThemeMessage($name,$col) {
167
+ .area.title-#{$name} {
168
+ .block.message {
169
+ color: $col;
123
170
  }
124
171
  }
125
172
  }
126
173
 
174
+ @mixin ThemeCallout($name,$col) {
175
+ .area.title-#{$name} {
176
+ .block.title {
177
+ @include bg($col);
178
+ color: $col;
179
+ }
180
+ }
181
+ }
127
182
 
128
- @mixin ThemeRoller($name,$col) {
129
- &.#{$name} {
130
- background-color: rgba($col,10%);
131
- color: $col;
183
+ @mixin ThemeAlert($name,$col) {
184
+ .area.title-#{$name} {
185
+ .block.form-alert {
186
+ @include borderCol($col);
187
+ @include bg($col);
188
+ color: $col;
189
+ }
190
+ }
191
+ }
132
192
 
133
- &.active {
134
- background-color: $col;
135
- color: white;
193
+ @mixin ThemeButton($name,$col) {
194
+ .area.title-#{$name} {
195
+ .button-wrap {
196
+ border-color: $col;
197
+ background: $col;
136
198
  }
137
199
  }
138
200
  }
139
201
 
140
- @mixin ThemeOutput($name,$col) {
141
- &.#{$name} {
142
- background-color: rgba($col,10%);
143
- border-color: rgba($col,20%);
202
+ @mixin ThemeBook($name,$col) {
203
+
204
+ // Home Books
205
+
206
+ .wrap.book.#{$name} {
207
+ background-color: $col;
208
+
209
+ svg {
210
+ fill: white;
211
+ }
212
+ }
213
+
214
+ // Topbar Links
215
+
216
+ .link.navigation.#{$name} {
144
217
  color: $col;
218
+
219
+ &:hover {
220
+ background-color: rgba($col,10%);
221
+ }
145
222
  }
146
223
  }
147
224
 
148
- @mixin ThemeSearch($name,$col,$chapter:false) {
225
+ @mixin ThemeCover($name,$color,$left:false,$chapter:false) {
149
226
 
150
227
  @if $chapter {
151
228
 
152
- // Search Results
153
-
154
- .block.results-entry.chapter-#{$name} {
155
- color: $col;
229
+ // Chapter Covers
156
230
 
157
- &:hover {
158
- background-color: rgba($col,10%);
159
- }
231
+ .wrap.type-chapter.chapter-#{$name} {
232
+ background-color: $color;
160
233
 
161
- .block.results-dot {
162
- background-color: $col;
234
+ @if $left {
235
+ .title.type-chapter {
236
+ left: #{$left}px;
237
+ }
163
238
  }
164
239
  }
165
-
166
240
  } @else {
167
241
 
168
- // Search Results
242
+ // Chapter Covers
169
243
 
170
- .block.results-entry.book-#{$name} {
171
- color: $col;
244
+ .area.type-chapter.book-#{$name} {
245
+ background-color: $color;
246
+ }
247
+ }
248
+ }
172
249
 
173
- &:hover {
174
- background-color: rgba($color,10%);
175
- }
250
+ @mixin PageInfo($col,$right) {
176
251
 
177
- .block.results-dot {
178
- background-color: $color;
179
- }
252
+ .title.page-weight {
253
+ color: $col;
254
+ }
255
+
256
+ .title.page-chapter {
257
+ color: $col;
258
+ @if $right {
259
+ right: #{$right}px;
180
260
  }
181
261
  }
182
262
  }
183
263
 
184
- @mixin ThemeValue($val,$prefix:false,$important:false) {
264
+ @mixin ThemeRollerInput($name,$col) {
265
+ background-color: rgba($col,10%);
266
+ color: $col;
267
+ }
268
+
269
+ @mixin ThemeRollerOutput($name,$col) {
270
+ background-color: rgba($col,10%);
271
+ border-color: rgba($col,20%);
272
+ color: $col;
273
+ }
274
+
275
+ @mixin ThemeRoller($name,$col,$chapter:false) {
185
276
 
186
- @if $prefix {
187
- @if $important {
188
- &.#{$prefix}culture-addicts {
189
- #{$val} : $addicts !important;
277
+ @if $chapter {
278
+
279
+ .list.roller.chapter-#{$name} {
280
+
281
+ .item.roller.input {
282
+ @include ThemeRollerInput($name,$col);
283
+
284
+ &.active {
285
+ background-color: $col;
286
+ color: white;
287
+ }
190
288
  }
191
- } @else {
192
- &.#{$prefix}culture-addicts {
193
- #{$val} : $addicts;
289
+
290
+ .item.roller.output {
291
+ @include ThemeRollerOutput($name,$col);
194
292
  }
195
293
  }
294
+
196
295
  } @else {
197
- @if $important {
198
- &.culture-addicts {
199
- #{$val} : $addicts !important;
200
- }
201
- } @else {
202
- &.culture-addicts {
203
- #{$val} : $addicts;
204
- }
205
- }
206
- }
207
296
 
208
- @if $prefix {
209
- @if $important {
210
- &.#{$prefix}family-centric {
211
- #{$val} : $family !important;
212
- }
213
- } @else {
214
- &.#{$prefix}family-centric {
215
- #{$val} : $family;
297
+ .item.roller.input.title-#{$name} {
298
+ @include ThemeRollerInput($name,$col);
299
+
300
+ &.active {
301
+ background-color: $col;
302
+ color: white;
216
303
  }
217
304
  }
218
- } @else {
219
- @if $important {
220
- &.family-centric {
221
- #{$val} : $family !important;
222
- }
223
- } @else {
224
- &.family-centric {
225
- #{$val} : $family;
226
- }
305
+
306
+ .item.roller.output.title-#{$name} {
307
+ @include ThemeRollerOutput($name,$col);
227
308
  }
228
309
  }
310
+ }
229
311
 
230
- @if $prefix {
231
- @if $important {
232
- &.#{$prefix}receptive {
233
- #{$val} : $receptive !important;
234
- }
235
- } @else {
236
- &.#{$prefix}receptive {
237
- #{$val} : $receptive;
238
- }
239
- }
240
- } @else {
241
- @if $important {
242
- &.receptive {
243
- #{$val} : $receptive !important;
244
- }
245
- } @else {
246
- &.receptive {
247
- #{$val} : $receptive;
248
- }
249
- }
312
+ @mixin ThemeChart($col) {
313
+ .block.chart-pcent-title {
314
+ color: $col;
250
315
  }
251
316
 
252
- @if $prefix {
253
- @if $important {
254
- &.#{$prefix}value-seekers {
255
- #{$val} : $value !important;
317
+ .block.chart-bar-bg {
318
+ background-color: $col;
319
+ }
320
+ }
321
+
322
+ @mixin ThemePages($name,$col,$right:false,$chapter:false) {
323
+
324
+ @if $chapter {
325
+
326
+ .wrap.type-page.chapter-#{$name} {
327
+ fill: $col;
328
+
329
+ @include PageInfo($col,$right);
330
+
331
+ @include ThemeChart($col);
332
+
333
+ .block.number-container {
334
+ color: $col;
335
+ }
336
+
337
+ .lnk.stats {
338
+ color: $col;
256
339
  }
257
- } @else {
258
- &.#{$prefix}value-seekers {
259
- #{$val} : $value;
340
+
341
+ .list.pies {
342
+ color: $col;
260
343
  }
261
344
  }
345
+
262
346
  } @else {
263
- @if $important {
264
- &.value-seekers {
265
- #{$val} : $value !important;
266
- }
267
- } @else {
268
- &.value-seekers {
269
- #{$val} : $value;
347
+
348
+ .wrap.type-page.book-#{$name} {
349
+ stroke: $col;
350
+ fill: $col;
351
+
352
+ @include PageInfo($col,$right);
353
+
354
+ @include ThemeChart($col);
355
+
356
+ .block.number-container {
357
+ color: $col;
270
358
  }
271
- }
272
- }
273
359
 
274
- @if $prefix {
275
- @if $important {
276
- &.#{$prefix}next-generation {
277
- #{$val} : $next !important;
360
+ .lnk.stats {
361
+ color: $col;
278
362
  }
279
- } @else {
280
- &.#{$prefix}next-generation {
281
- #{$val} : $next;
363
+
364
+ .list.pies {
365
+ color: $col;
282
366
  }
283
367
  }
284
- } @else {
285
- @if $important {
286
- &.next-generation {
287
- #{$val} : $next !important;
288
- }
289
- } @else {
290
- &.next-generation {
291
- #{$val} : $next;
292
- }
368
+ }
369
+ }
370
+
371
+ @mixin ThemePies($name,$col) {
372
+ &.#{$name} {
373
+ color: $col;
374
+
375
+ .chunk.#{$name} {
376
+ opacity: 1;
293
377
  }
294
378
  }
379
+ }
380
+
381
+ @mixin ThemeSearch($name,$col,$chapter:false) {
295
382
 
296
- @if $prefix {
297
- @if $important {
298
- &.#{$prefix}maybe-someday {
299
- #{$val} : $maybe !important;
383
+ @if $chapter {
384
+
385
+ // Search Results
386
+
387
+ .block.results-entry.chapter-#{$name} {
388
+ color: $col;
389
+
390
+ &:hover {
391
+ background-color: rgba($col,10%);
300
392
  }
301
- } @else {
302
- &.#{$prefix}maybe-someday {
303
- #{$val} : $maybe;
393
+
394
+ .block.results-dot {
395
+ background-color: $col;
304
396
  }
305
397
  }
398
+
306
399
  } @else {
307
- @if $important {
308
- &.maybe-someday {
309
- #{$val} : $maybe !important;
400
+
401
+ // Search Results
402
+
403
+ .block.results-entry.book-#{$name} {
404
+ color: $col;
405
+
406
+ &:hover {
407
+ background-color: rgba($col,10%);
310
408
  }
311
- } @else {
312
- &.maybe-someday {
313
- #{$val} : $maybe;
409
+
410
+ .block.results-dot {
411
+ background-color: $col;
314
412
  }
315
413
  }
316
414
  }
317
415
  }
318
-
319
- @mixin theme_roller($type) {
320
- background-color: rgba($type,0.1);
321
- color: $type;
322
-
323
- &.active {
324
- background-color: $type;
325
- color: white;
326
- }
327
- }
328
-
329
- @mixin theme_output($type) {
330
- background-color: rgba($type,0.1);
331
- border-color: rgba($type,0.2);
332
- color: $type;
333
- }
@@ -1,5 +1,5 @@
1
1
 
2
- @mixin zeros($pos:fixed,$val:0) {
2
+ @mixin zeros($pos : fixed, $val : 0) {
3
3
  position: $pos;
4
4
  bottom: $val;
5
5
  right: $val;
@@ -32,14 +32,3 @@
32
32
  clear: both;
33
33
  }
34
34
  }
35
-
36
- @mixin grid($rep) {
37
- grid-template-columns: repeat($rep,1fr);
38
- display: grid;
39
- }
40
-
41
- @mixin rotatetitle($origin:bottom left,$deg:-90deg){
42
- transform-origin: $origin;
43
- transform: rotate($deg);
44
- position: absolute;
45
- }
@@ -1,3 +1,13 @@
1
1
 
2
+ // ThemeBook | $name | $col
3
+
2
4
  @include ThemeBook("orwell",blue);
3
5
  @include ThemeBook("woolf",green);
6
+
7
+ // ThemeCover | $name | $col | $left | $chapter
8
+
9
+ @include ThemeCover("animal",blue,false,true);
10
+
11
+ // ThemePages | $name | $col | $right | $chapter
12
+
13
+ @include ThemePages("animal",blue,false,true);