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
@@ -1,333 +1,415 @@
|
|
1
1
|
|
2
|
-
@mixin ThemeBook($name,$col) {
|
3
2
|
|
4
|
-
|
3
|
+
@mixin ThemeArtformHeader($name,$col) {
|
5
4
|
|
6
|
-
.
|
5
|
+
.block.header.title-artform.tag-#{$name} {
|
7
6
|
background-color: $col;
|
8
7
|
|
9
|
-
|
10
|
-
|
8
|
+
.list.login-list {
|
9
|
+
@include border($col,100%);
|
11
10
|
}
|
12
|
-
}
|
13
11
|
|
14
|
-
|
12
|
+
.item.login-item {
|
13
|
+
@include bg(lighten($col,45%),100%);
|
14
|
+
@include color($col,100%);
|
15
15
|
|
16
|
-
|
17
|
-
|
16
|
+
&:hover {
|
17
|
+
@include bg(lighten($col,40%),100%);
|
18
|
+
}
|
18
19
|
|
19
|
-
|
20
|
-
|
20
|
+
+ .login-item {
|
21
|
+
border-top: 1px solid rgba($col,20%);
|
22
|
+
}
|
21
23
|
}
|
22
24
|
}
|
23
25
|
}
|
24
26
|
|
25
|
-
@mixin
|
27
|
+
@mixin ThemeHeader($name,$col) {
|
26
28
|
|
27
|
-
|
29
|
+
.block.header.title-#{$name} {
|
30
|
+
background-color: $col;
|
31
|
+
}
|
28
32
|
|
29
|
-
|
33
|
+
.list.login-list.title-#{$name} {
|
34
|
+
@include border($col,100%);
|
35
|
+
}
|
30
36
|
|
31
|
-
|
32
|
-
|
37
|
+
.item.login-item.title-#{$name} {
|
38
|
+
@include bg(lighten($col,45%),100%);
|
39
|
+
@include color($col,100%);
|
33
40
|
|
34
|
-
|
35
|
-
|
36
|
-
left: #{$left}px;
|
37
|
-
}
|
38
|
-
}
|
41
|
+
&:hover {
|
42
|
+
@include bg(lighten($col,40%),100%);
|
39
43
|
}
|
40
|
-
} @else {
|
41
44
|
|
42
|
-
|
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
|
51
|
+
@mixin ThemeCheckbox($name,$col) {
|
52
|
+
.area.title-#{$name} {
|
51
53
|
|
52
|
-
|
54
|
+
.checkbox-input:checked + label {
|
55
|
+
@include border($col);
|
56
|
+
@include color($col,100%);
|
57
|
+
@include bg($col);
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
53
61
|
|
54
|
-
|
62
|
+
@mixin ThemeRadio($name,$col) {
|
63
|
+
.area.title-#{$name} {
|
55
64
|
|
56
|
-
.
|
65
|
+
label.radio, label.jcf-radio-label {
|
57
66
|
color: $col;
|
58
67
|
}
|
59
68
|
|
60
|
-
.
|
61
|
-
|
62
|
-
@
|
63
|
-
|
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
|
-
|
80
|
+
@mixin ThemeTextArea($name,$col) {
|
81
|
+
.area.title-#{$name} {
|
82
|
+
|
83
|
+
label.textarea {
|
68
84
|
color: $col;
|
69
85
|
}
|
70
86
|
|
71
|
-
.
|
72
|
-
|
87
|
+
.textarea-wrap {
|
88
|
+
@include borderCol($col);
|
73
89
|
}
|
74
90
|
|
75
|
-
|
76
|
-
|
91
|
+
textarea {
|
92
|
+
@include borderCol($col);
|
93
|
+
@include color($col,100%);
|
94
|
+
@include bg($col);
|
77
95
|
}
|
96
|
+
}
|
97
|
+
}
|
78
98
|
|
79
|
-
|
80
|
-
|
99
|
+
@mixin ThemeSelect($name,$col) {
|
100
|
+
.area.title-#{$name} {
|
101
|
+
|
102
|
+
label.select {
|
81
103
|
color: $col;
|
104
|
+
}
|
82
105
|
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
106
|
+
select {
|
107
|
+
@include bg($col);
|
108
|
+
@include border($col);
|
109
|
+
@include color($col,100%);
|
87
110
|
}
|
111
|
+
}
|
112
|
+
}
|
88
113
|
|
89
|
-
|
90
|
-
|
91
|
-
|
114
|
+
@mixin ThemeList($name,$col) {
|
115
|
+
.area.title-#{$name} {
|
116
|
+
|
117
|
+
label.select {
|
92
118
|
color: $col;
|
93
119
|
}
|
94
120
|
|
95
|
-
|
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
|
-
.
|
100
|
-
|
131
|
+
.jcf-list .jcf-option.jcf-selected {
|
132
|
+
background: rgba($col,10%);
|
101
133
|
}
|
134
|
+
}
|
135
|
+
}
|
102
136
|
|
103
|
-
|
104
|
-
|
137
|
+
@mixin ThemeText($name,$col) {
|
138
|
+
.area.title-#{$name} {
|
139
|
+
|
140
|
+
label {
|
141
|
+
@include color($col,100%);
|
105
142
|
}
|
106
143
|
|
107
|
-
|
108
|
-
|
144
|
+
input[type="text"] {
|
145
|
+
@include color($col,100%);
|
146
|
+
@include bg($col);
|
147
|
+
}
|
109
148
|
|
110
|
-
|
111
|
-
|
112
|
-
}
|
149
|
+
.textinput-border {
|
150
|
+
@include borderCol($col);
|
113
151
|
}
|
114
152
|
}
|
115
153
|
}
|
116
154
|
|
117
|
-
@mixin
|
118
|
-
|
119
|
-
|
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
|
-
|
122
|
-
|
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
|
129
|
-
|
130
|
-
|
131
|
-
|
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
|
-
|
134
|
-
|
135
|
-
|
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
|
141
|
-
|
142
|
-
|
143
|
-
|
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
|
225
|
+
@mixin ThemeCover($name,$color,$left:false,$chapter:false) {
|
149
226
|
|
150
227
|
@if $chapter {
|
151
228
|
|
152
|
-
//
|
153
|
-
|
154
|
-
.block.results-entry.chapter-#{$name} {
|
155
|
-
color: $col;
|
229
|
+
// Chapter Covers
|
156
230
|
|
157
|
-
|
158
|
-
|
159
|
-
}
|
231
|
+
.wrap.type-chapter.chapter-#{$name} {
|
232
|
+
background-color: $color;
|
160
233
|
|
161
|
-
|
162
|
-
|
234
|
+
@if $left {
|
235
|
+
.title.type-chapter {
|
236
|
+
left: #{$left}px;
|
237
|
+
}
|
163
238
|
}
|
164
239
|
}
|
165
|
-
|
166
240
|
} @else {
|
167
241
|
|
168
|
-
//
|
242
|
+
// Chapter Covers
|
169
243
|
|
170
|
-
.
|
171
|
-
color: $
|
244
|
+
.area.type-chapter.book-#{$name} {
|
245
|
+
background-color: $color;
|
246
|
+
}
|
247
|
+
}
|
248
|
+
}
|
172
249
|
|
173
|
-
|
174
|
-
background-color: rgba($color,10%);
|
175
|
-
}
|
250
|
+
@mixin PageInfo($col,$right) {
|
176
251
|
|
177
|
-
|
178
|
-
|
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
|
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 $
|
187
|
-
|
188
|
-
|
189
|
-
|
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
|
-
|
192
|
-
|
193
|
-
|
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
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
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
|
-
|
219
|
-
|
220
|
-
|
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
|
-
|
231
|
-
|
232
|
-
|
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
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
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
|
-
|
258
|
-
|
259
|
-
|
340
|
+
|
341
|
+
.list.pies {
|
342
|
+
color: $col;
|
260
343
|
}
|
261
344
|
}
|
345
|
+
|
262
346
|
} @else {
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
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
|
-
|
275
|
-
|
276
|
-
&.#{$prefix}next-generation {
|
277
|
-
#{$val} : $next !important;
|
360
|
+
.lnk.stats {
|
361
|
+
color: $col;
|
278
362
|
}
|
279
|
-
|
280
|
-
|
281
|
-
|
363
|
+
|
364
|
+
.list.pies {
|
365
|
+
color: $col;
|
282
366
|
}
|
283
367
|
}
|
284
|
-
}
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
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 $
|
297
|
-
|
298
|
-
|
299
|
-
|
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
|
-
|
302
|
-
|
303
|
-
|
393
|
+
|
394
|
+
.block.results-dot {
|
395
|
+
background-color: $col;
|
304
396
|
}
|
305
397
|
}
|
398
|
+
|
306
399
|
} @else {
|
307
|
-
|
308
|
-
|
309
|
-
|
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
|
-
|
312
|
-
|
313
|
-
|
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
|
-
}
|
data/_sass/helpers/mixins.scss
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
@mixin zeros($pos:fixed
|
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
|
-
}
|
data/_sass/helpers/themes.scss
CHANGED
@@ -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);
|