jekyll-any-theme 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +52 -0
- data/_includes/api/example.html +23 -0
- data/_includes/api/get.html +11 -0
- data/_includes/api/save.html +1 -0
- data/_includes/components/alert.html +7 -0
- data/_includes/components/blockquote.html +23 -0
- data/_includes/components/bootstrap.html +245 -0
- data/_includes/components/card.html +85 -0
- data/_includes/components/lead.html +1 -0
- data/_includes/components/login.html +28 -0
- data/_includes/components/navbar_link.html +3 -0
- data/_includes/components/navbar_text.html +3 -0
- data/_includes/components/page_info.html +48 -0
- data/_includes/components/toc.html +18 -0
- data/_includes/filters/link_to_file.html +26 -0
- data/_includes/filters/unslug.html +17 -0
- data/_includes/page/end.html +2 -0
- data/_includes/page/footer.html +26 -0
- data/_includes/page/head.html +28 -0
- data/_includes/page/header.html +7 -0
- data/_includes/page/init.html +17 -0
- data/_includes/page/main.html +44 -0
- data/_includes/page/navbar.html +69 -0
- data/_includes/page/sidebar.html +6 -0
- data/_includes/page/top.html +27 -0
- data/_includes/tempus/calendar.html +26 -0
- data/_includes/tempus/events.html +72 -0
- data/_includes/tempus/next.html +73 -0
- data/_includes/widgets/libros.html +183 -0
- data/_includes/widgets/themes.html +11 -0
- data/_includes/widgets/toc.html +18 -0
- data/_layouts/default.html +8 -0
- data/_layouts/page.html +5 -0
- data/_layouts/post.html +5 -0
- data/_sass/_any_theme.sass +54 -0
- data/_sass/any_theme/_corrections.sass +71 -0
- data/_sass/any_theme/_headings.sass +13 -0
- data/_sass/any_theme/_mixins.sass +11 -0
- data/_sass/any_theme/_syntax_blood.scss +310 -0
- data/_sass/any_theme/_syntax_dark.scss +63 -0
- data/_sass/any_theme/_syntax_default.scss +310 -0
- data/_sass/any_theme/_toc.sass +4 -0
- data/_sass/any_theme/_widgets.sass +48 -0
- data/_sass/bootstrap/_alert.scss +51 -0
- data/_sass/bootstrap/_badge.scss +47 -0
- data/_sass/bootstrap/_breadcrumb.scss +38 -0
- data/_sass/bootstrap/_button-group.scss +166 -0
- data/_sass/bootstrap/_buttons.scss +143 -0
- data/_sass/bootstrap/_card.scss +270 -0
- data/_sass/bootstrap/_carousel.scss +191 -0
- data/_sass/bootstrap/_close.scss +34 -0
- data/_sass/bootstrap/_code.scss +56 -0
- data/_sass/bootstrap/_custom-forms.scss +297 -0
- data/_sass/bootstrap/_dropdown.scss +131 -0
- data/_sass/bootstrap/_forms.scss +333 -0
- data/_sass/bootstrap/_functions.scss +86 -0
- data/_sass/bootstrap/_grid.scss +52 -0
- data/_sass/bootstrap/_images.scss +42 -0
- data/_sass/bootstrap/_input-group.scss +159 -0
- data/_sass/bootstrap/_jumbotron.scss +16 -0
- data/_sass/bootstrap/_list-group.scss +115 -0
- data/_sass/bootstrap/_media.scss +8 -0
- data/_sass/bootstrap/_mixins.scss +42 -0
- data/_sass/bootstrap/_modal.scss +168 -0
- data/_sass/bootstrap/_nav.scss +118 -0
- data/_sass/bootstrap/_navbar.scss +311 -0
- data/_sass/bootstrap/_pagination.scss +77 -0
- data/_sass/bootstrap/_popover.scss +183 -0
- data/_sass/bootstrap/_print.scss +124 -0
- data/_sass/bootstrap/_progress.scss +33 -0
- data/_sass/bootstrap/_reboot.scss +482 -0
- data/_sass/bootstrap/_root.scss +19 -0
- data/_sass/bootstrap/_tables.scss +180 -0
- data/_sass/bootstrap/_tooltip.scss +115 -0
- data/_sass/bootstrap/_transitions.scss +36 -0
- data/_sass/bootstrap/_type.scss +125 -0
- data/_sass/bootstrap/_utilities.scss +14 -0
- data/_sass/bootstrap/_variables.scss +894 -0
- data/_sass/bootstrap/bootstrap-grid.scss +32 -0
- data/_sass/bootstrap/bootstrap-reboot.scss +12 -0
- data/_sass/bootstrap/bootstrap.scss +42 -0
- data/_sass/bootstrap/mixins/_alert.scss +13 -0
- data/_sass/bootstrap/mixins/_background-variant.scss +21 -0
- data/_sass/bootstrap/mixins/_badge.scss +12 -0
- data/_sass/bootstrap/mixins/_border-radius.scss +35 -0
- data/_sass/bootstrap/mixins/_box-shadow.scss +5 -0
- data/_sass/bootstrap/mixins/_breakpoints.scss +123 -0
- data/_sass/bootstrap/mixins/_buttons.scss +109 -0
- data/_sass/bootstrap/mixins/_caret.scss +65 -0
- data/_sass/bootstrap/mixins/_clearfix.scss +7 -0
- data/_sass/bootstrap/mixins/_float.scss +11 -0
- data/_sass/bootstrap/mixins/_forms.scss +137 -0
- data/_sass/bootstrap/mixins/_gradients.scss +45 -0
- data/_sass/bootstrap/mixins/_grid-framework.scss +67 -0
- data/_sass/bootstrap/mixins/_grid.scss +52 -0
- data/_sass/bootstrap/mixins/_hover.scss +39 -0
- data/_sass/bootstrap/mixins/_image.scss +36 -0
- data/_sass/bootstrap/mixins/_list-group.scss +21 -0
- data/_sass/bootstrap/mixins/_lists.scss +7 -0
- data/_sass/bootstrap/mixins/_nav-divider.scss +10 -0
- data/_sass/bootstrap/mixins/_navbar-align.scss +10 -0
- data/_sass/bootstrap/mixins/_pagination.scss +22 -0
- data/_sass/bootstrap/mixins/_reset-text.scss +17 -0
- data/_sass/bootstrap/mixins/_resize.scss +6 -0
- data/_sass/bootstrap/mixins/_screen-reader.scss +35 -0
- data/_sass/bootstrap/mixins/_size.scss +6 -0
- data/_sass/bootstrap/mixins/_table-row.scss +30 -0
- data/_sass/bootstrap/mixins/_text-emphasis.scss +14 -0
- data/_sass/bootstrap/mixins/_text-hide.scss +9 -0
- data/_sass/bootstrap/mixins/_text-truncate.scss +8 -0
- data/_sass/bootstrap/mixins/_transition.scss +9 -0
- data/_sass/bootstrap/mixins/_visibility.scss +7 -0
- data/_sass/bootstrap/utilities/_align.scss +8 -0
- data/_sass/bootstrap/utilities/_background.scss +19 -0
- data/_sass/bootstrap/utilities/_borders.scss +59 -0
- data/_sass/bootstrap/utilities/_clearfix.scss +3 -0
- data/_sass/bootstrap/utilities/_display.scss +38 -0
- data/_sass/bootstrap/utilities/_embed.scss +52 -0
- data/_sass/bootstrap/utilities/_flex.scss +46 -0
- data/_sass/bootstrap/utilities/_float.scss +9 -0
- data/_sass/bootstrap/utilities/_position.scss +36 -0
- data/_sass/bootstrap/utilities/_screenreaders.scss +11 -0
- data/_sass/bootstrap/utilities/_sizing.scss +12 -0
- data/_sass/bootstrap/utilities/_spacing.scss +51 -0
- data/_sass/bootstrap/utilities/_text.scss +52 -0
- data/_sass/bootstrap/utilities/_visibility.scss +11 -0
- data/assets/css/basic_light_sans.sass +71 -0
- data/assets/css_no/basic_dark_sans.sass +114 -0
- data/assets/css_no/basic_dark_serif.sass +114 -0
- data/assets/css_no/basic_light_serif.sass +69 -0
- data/assets/css_no/bootstrap.sass +44 -0
- data/assets/css_no/dark_additions.sass +74 -0
- data/assets/css_no/dnd.sass +188 -0
- data/assets/css_no/gurps.sass +70 -0
- data/assets/css_no/minidark.sass +177 -0
- data/assets/css_no/minimal.sass +139 -0
- data/assets/css_no/roboto_dark.sass +324 -0
- data/assets/css_no/roboto_light.sass +275 -0
- data/assets/fonts/scala/fonts.scss +59 -0
- data/assets/fonts/scala/scala-bold-webfont.eot +0 -0
- data/assets/fonts/scala/scala-bold-webfont.svg +873 -0
- data/assets/fonts/scala/scala-bold-webfont.ttf +0 -0
- data/assets/fonts/scala/scala-bold-webfont.woff +0 -0
- data/assets/fonts/scala/scala-italic-webfont.eot +0 -0
- data/assets/fonts/scala/scala-italic-webfont.svg +235 -0
- data/assets/fonts/scala/scala-italic-webfont.ttf +0 -0
- data/assets/fonts/scala/scala-italic-webfont.woff +0 -0
- data/assets/fonts/scala/scala-webfont.eot +0 -0
- data/assets/fonts/scala/scala-webfont.svg +234 -0
- data/assets/fonts/scala/scala-webfont.ttf +0 -0
- data/assets/fonts/scala/scala-webfont.woff +0 -0
- data/assets/fonts/scala/scalasans-bold-webfont.eot +0 -0
- data/assets/fonts/scala/scalasans-bold-webfont.svg +244 -0
- data/assets/fonts/scala/scalasans-bold-webfont.ttf +0 -0
- data/assets/fonts/scala/scalasans-bold-webfont.woff +0 -0
- data/assets/fonts/scala/scalasans-webfont.eot +0 -0
- data/assets/fonts/scala/scalasans-webfont.svg +238 -0
- data/assets/fonts/scala/scalasans-webfont.ttf +0 -0
- data/assets/fonts/scala/scalasans-webfont.woff +0 -0
- data/assets/images/dnd-bg.jpg +0 -0
- data/assets/js/any-theme.coffee +33 -0
- data/assets/js/any_theme/libros.coffee +113 -0
- data/assets/js/any_theme/login.coffee +90 -0
- data/assets/js/any_theme/storage.coffee +49 -0
- data/assets/js/any_theme/themes.coffee +10 -0
- data/assets/pages/about.md +17 -0
- data/assets/pages/customize/css.md +22 -0
- data/assets/pages/customize/themes.md +17 -0
- data/assets/pages/docs/libros.md +17 -0
- data/assets/pages/docs/tempus.md +66 -0
- data/assets/pages/index.md +21 -0
- metadata +258 -0
@@ -0,0 +1,324 @@
|
|
1
|
+
---
|
2
|
+
---
|
3
|
+
// Bootstrap initialize
|
4
|
+
@import "bootstrap/functions"
|
5
|
+
@import "bootstrap/variables"
|
6
|
+
|
7
|
+
// PALETTE
|
8
|
+
|
9
|
+
// Background frame color.
|
10
|
+
// Used in: html and footer nav
|
11
|
+
$bg-frame: darken($gray-900,2%)
|
12
|
+
// use extending his class
|
13
|
+
.bg-frame
|
14
|
+
background-color: $bg-frame
|
15
|
+
|
16
|
+
// DARK
|
17
|
+
$body-bg: $bg-frame
|
18
|
+
$body-color: $gray-200
|
19
|
+
$text-muted: $gray-400
|
20
|
+
// Cards
|
21
|
+
$card-bg: $body-bg
|
22
|
+
$card-border-color: rgba($white, .125)
|
23
|
+
$card-border-color: rgba($white, .125)
|
24
|
+
$card-cap-bg: rgba($white, .03)
|
25
|
+
// Header
|
26
|
+
$jumbotron-bg: theme-color("dark")
|
27
|
+
// Dropdown
|
28
|
+
$dropdown-bg: $gray-800
|
29
|
+
$dropdown-border-color: rgba($white, .15)
|
30
|
+
|
31
|
+
$dropdown-link-color: $gray-200
|
32
|
+
$dropdown-link-hover-color: $gray-100
|
33
|
+
$dropdown-link-hover-bg: $gray-900
|
34
|
+
// MODALS
|
35
|
+
$modal-content-bg: $bg-frame
|
36
|
+
$modal-content-border-color: rgba($white, .2)
|
37
|
+
$modal-header-border-color: $gray-800
|
38
|
+
$modal-footer-border-color: $modal-header-border-color
|
39
|
+
// TABLES
|
40
|
+
$table-border-color: $gray-700
|
41
|
+
// LINKS
|
42
|
+
$link-hover-color: lighten($link-color, 15%)
|
43
|
+
// BORDERS
|
44
|
+
$border-color: $gray-800
|
45
|
+
// CODE
|
46
|
+
$code-color: $gray-400
|
47
|
+
|
48
|
+
// Font size
|
49
|
+
$font-size-base: 1.1rem
|
50
|
+
|
51
|
+
// Base font family
|
52
|
+
@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500")
|
53
|
+
$font-family-sans-serif: "Roboto", Arial, sans-serif
|
54
|
+
$font-family-base: $font-family-sans-serif
|
55
|
+
|
56
|
+
// Headings font family
|
57
|
+
@import url("https://fonts.googleapis.com/css?family=Roboto+Slab:300,400,700")
|
58
|
+
$font-family-headings: "Roboto Slab", serif
|
59
|
+
$font-family-headings-header: $font-family-headings
|
60
|
+
|
61
|
+
//
|
62
|
+
// Bootstrap_end
|
63
|
+
//
|
64
|
+
@import "bootstrap/mixins"
|
65
|
+
// @import "bootstrap/root"
|
66
|
+
@import "bootstrap/reboot"
|
67
|
+
@import "bootstrap/type"
|
68
|
+
@import "bootstrap/images"
|
69
|
+
@import "bootstrap/code"
|
70
|
+
@import "bootstrap/grid"
|
71
|
+
@import "bootstrap/tables"
|
72
|
+
@import "bootstrap/forms"
|
73
|
+
@import "bootstrap/buttons"
|
74
|
+
@import "bootstrap/transitions"
|
75
|
+
@import "bootstrap/dropdown"
|
76
|
+
@import "bootstrap/button-group"
|
77
|
+
@import "bootstrap/input-group"
|
78
|
+
@import "bootstrap/custom-forms"
|
79
|
+
@import "bootstrap/nav"
|
80
|
+
@import "bootstrap/navbar"
|
81
|
+
@import "bootstrap/card"
|
82
|
+
@import "bootstrap/breadcrumb"
|
83
|
+
@import "bootstrap/pagination"
|
84
|
+
@import "bootstrap/badge"
|
85
|
+
@import "bootstrap/jumbotron"
|
86
|
+
@import "bootstrap/alert"
|
87
|
+
@import "bootstrap/progress"
|
88
|
+
@import "bootstrap/media"
|
89
|
+
@import "bootstrap/list-group"
|
90
|
+
@import "bootstrap/close"
|
91
|
+
@import "bootstrap/modal"
|
92
|
+
@import "bootstrap/tooltip"
|
93
|
+
@import "bootstrap/popover"
|
94
|
+
@import "bootstrap/carousel"
|
95
|
+
@import "bootstrap/utilities"
|
96
|
+
@import "bootstrap/print"
|
97
|
+
|
98
|
+
// MIXINS
|
99
|
+
|
100
|
+
// Headings mixin
|
101
|
+
Example:
|
102
|
+
@include headings(1,6,':first-child','main > ')
|
103
|
+
...
|
104
|
+
Render:
|
105
|
+
main > h1:first-child, main > .h2:first-child, ...
|
106
|
+
...
|
107
|
+
@mixin headings($from: 1, $to: 6, $condition: '', $prescope: '')
|
108
|
+
@for $i from $from through $to
|
109
|
+
#{$prescope}h#{$i}#{$condition}, #{$prescope}.h#{$i}#{$condition}
|
110
|
+
@content
|
111
|
+
|
112
|
+
//
|
113
|
+
// CLASSES
|
114
|
+
//
|
115
|
+
|
116
|
+
// font weights: .fw-1, ... .fw-9
|
117
|
+
@for $weight from 1 through 9
|
118
|
+
.fw-#{$weight}
|
119
|
+
font-weight: $weight * 100
|
120
|
+
|
121
|
+
// Bottom border only Class
|
122
|
+
.bb
|
123
|
+
@extend .border, .border-top-0, .border-right-0, .border-left-0
|
124
|
+
|
125
|
+
// Big spacers
|
126
|
+
$big_spacer: ( 6: ($spacer * 2), 7: ($spacer * 2.5), 8: ($spacer * 4), 9: ($spacer * 0.7) )
|
127
|
+
@each $prop, $abbrev in (margin: m, padding: p)
|
128
|
+
@each $size, $length in $big_spacer
|
129
|
+
.#{$abbrev}-#{$size}
|
130
|
+
#{$prop}: $length
|
131
|
+
.#{$abbrev}t-#{$size}, .#{$abbrev}y-#{$size}
|
132
|
+
#{$prop}-top: $length
|
133
|
+
.#{$abbrev}r-#{$size}, .#{$abbrev}x-#{$size}
|
134
|
+
#{$prop}-right: $length
|
135
|
+
.#{$abbrev}b-#{$size}, .#{$abbrev}y-#{$size}
|
136
|
+
#{$prop}-bottom: $length
|
137
|
+
.#{$abbrev}l-#{$size}, .#{$abbrev}x-#{$size}
|
138
|
+
#{$prop}-left: $length
|
139
|
+
|
140
|
+
// HTML
|
141
|
+
html
|
142
|
+
@extend .bg-frame
|
143
|
+
|
144
|
+
// HEADER
|
145
|
+
header
|
146
|
+
@extend .mb-0, .jumbotron, .rounded-0, .py-4
|
147
|
+
|
148
|
+
// Font-Weight for light foreground
|
149
|
+
main p,
|
150
|
+
.modal-body,
|
151
|
+
.table,
|
152
|
+
code
|
153
|
+
@extend .fw-3
|
154
|
+
|
155
|
+
// MAIN
|
156
|
+
main
|
157
|
+
@extend .mt-5, .mb-8
|
158
|
+
p
|
159
|
+
@extend .fw-3
|
160
|
+
letter-spacing: .1px
|
161
|
+
&.container-fluid
|
162
|
+
@extend .px-5
|
163
|
+
|
164
|
+
// TABLES
|
165
|
+
table
|
166
|
+
@extend .table
|
167
|
+
&:last-of-type
|
168
|
+
@extend .mb-0
|
169
|
+
|
170
|
+
// HEADINGS
|
171
|
+
@include headings()
|
172
|
+
font-family: $font-family-headings
|
173
|
+
letter-spacing: -1px
|
174
|
+
// HEADER headings
|
175
|
+
header
|
176
|
+
@include headings()
|
177
|
+
@extend .text-muted, .mb-0, .fw-3
|
178
|
+
font-family: $font-family-headings-header
|
179
|
+
span
|
180
|
+
@extend .fw-8
|
181
|
+
color: $white
|
182
|
+
// MAIN Headings
|
183
|
+
main
|
184
|
+
@include headings()
|
185
|
+
@extend .mt-6, .mb-3
|
186
|
+
.row:first-child .col
|
187
|
+
@include headings(1, 6, ':first-child')
|
188
|
+
@extend .mt-0
|
189
|
+
|
190
|
+
// NAVBARS
|
191
|
+
// Top main nav
|
192
|
+
body > nav,
|
193
|
+
header > nav
|
194
|
+
@extend .navbar-dark, .fw-3
|
195
|
+
background-color: $gray-900
|
196
|
+
// Footer nav
|
197
|
+
footer nav
|
198
|
+
@extend .navbar-dark, .bg-dark, .fw-3
|
199
|
+
|
200
|
+
// Hamburger for mobile
|
201
|
+
.navbar-toggler
|
202
|
+
color: $gray-900
|
203
|
+
// Space simple text like links
|
204
|
+
.navbar-expand-lg
|
205
|
+
.navbar-nav
|
206
|
+
.nav-link,
|
207
|
+
.navbar-text
|
208
|
+
@extend .px-9
|
209
|
+
|
210
|
+
// FORMS
|
211
|
+
form
|
212
|
+
// Checkbox label with mouse pointer
|
213
|
+
.custom-checkbox,
|
214
|
+
.custom-radio
|
215
|
+
label.custom-control-label
|
216
|
+
cursor: pointer
|
217
|
+
|
218
|
+
// COLLAPSE
|
219
|
+
// Hide link color on collapse links
|
220
|
+
a[data-toggle="collapse"]
|
221
|
+
@extend .text-muted
|
222
|
+
|
223
|
+
// CODE
|
224
|
+
// Fix margings, paddings and background-color
|
225
|
+
code
|
226
|
+
padding: 2px 4px
|
227
|
+
background-color: rgba($black,.1)
|
228
|
+
|
229
|
+
pre.highlight
|
230
|
+
@extend .p-2
|
231
|
+
font-size: 75%
|
232
|
+
letter-spacing: -0.1px
|
233
|
+
border: $border-width solid $border-color
|
234
|
+
border-radius: $border-radius
|
235
|
+
code
|
236
|
+
padding: unset
|
237
|
+
background-color: transparent
|
238
|
+
|
239
|
+
// MODAL
|
240
|
+
.close
|
241
|
+
color: $white
|
242
|
+
|
243
|
+
// CARDS
|
244
|
+
// Remove top margins for `last-of-type` objects
|
245
|
+
.card
|
246
|
+
p:last-of-type,
|
247
|
+
ul:last-of-type,
|
248
|
+
pre:last-of-type
|
249
|
+
@extend .mb-0
|
250
|
+
.card-title:first-of-type
|
251
|
+
@extend .mt-0
|
252
|
+
ul
|
253
|
+
@extend .list-group, .list-group-flush
|
254
|
+
li
|
255
|
+
@extend .list-group-item
|
256
|
+
|
257
|
+
// BLOCKQUOTES
|
258
|
+
.blockquote
|
259
|
+
@extend .px-9, .py-1
|
260
|
+
border-left: 2px solid $border-color
|
261
|
+
p
|
262
|
+
@extend .mb-1
|
263
|
+
footer
|
264
|
+
@extend .text-muted, .small
|
265
|
+
|
266
|
+
// DROPDOWNS: move caret nearer
|
267
|
+
.dropdown-toggle::after
|
268
|
+
margin-left: $caret-width * .3
|
269
|
+
vertical-align: $caret-width * .3
|
270
|
+
|
271
|
+
// ALERTS
|
272
|
+
// Fix dark link colors inside alerts
|
273
|
+
$alert_color_levels: 5 2 -11 -5
|
274
|
+
// Loop
|
275
|
+
@each $color, $value in $theme-colors
|
276
|
+
.alert-#{$color}
|
277
|
+
$bg: theme-color-level($color, nth($alert_color_levels, 1))
|
278
|
+
$bd: theme-color-level($color, nth($alert_color_levels, 2))
|
279
|
+
$co: theme-color-level($color, nth($alert_color_levels, 3))
|
280
|
+
background: $bg linear-gradient(180deg, mix($body-bg, $bg, 15%), $bg) repeat-x
|
281
|
+
border-color: $bd
|
282
|
+
color: $co
|
283
|
+
a
|
284
|
+
color: theme-color-level($color, nth($alert_color_levels, 4))
|
285
|
+
.btn-#{$color}
|
286
|
+
@include button-variant(theme-color-level($color, nth($alert_color_levels, 1)),theme-color-level($color, nth($alert_color_levels, 1)))
|
287
|
+
color: $gray-100
|
288
|
+
|
289
|
+
// extend alert links class
|
290
|
+
.alert a
|
291
|
+
@extend .alert-link
|
292
|
+
|
293
|
+
// TEMPUS
|
294
|
+
.tempus-past,
|
295
|
+
.tempus-empty
|
296
|
+
@extend .text-muted
|
297
|
+
.tempus-difference
|
298
|
+
@extend .text-muted, .small
|
299
|
+
|
300
|
+
// PAGE_INFO
|
301
|
+
#pageinfoModal
|
302
|
+
table
|
303
|
+
@extend .table-sm
|
304
|
+
tr:first-child td
|
305
|
+
border-top: 0
|
306
|
+
tr
|
307
|
+
td:first-child
|
308
|
+
@extend .text-right
|
309
|
+
td:last-child
|
310
|
+
@extend .text-muted
|
311
|
+
|
312
|
+
// DATE picker
|
313
|
+
.datepicker-container
|
314
|
+
font-size: $font-size-sm
|
315
|
+
|
316
|
+
// ADD-BOOK
|
317
|
+
#input-form
|
318
|
+
h3
|
319
|
+
@extend .py-3
|
320
|
+
small
|
321
|
+
@extend .form-text, .text-muted, .ml-1
|
322
|
+
|
323
|
+
// CODE SYNTAX
|
324
|
+
@import "any_theme/syntax_dark"
|
@@ -0,0 +1,275 @@
|
|
1
|
+
---
|
2
|
+
---
|
3
|
+
// Bootstrap initialize
|
4
|
+
@import "bootstrap/functions"
|
5
|
+
@import "bootstrap/variables"
|
6
|
+
|
7
|
+
// PALETTE
|
8
|
+
|
9
|
+
// Background frame color.
|
10
|
+
// Used in: html and footer nav
|
11
|
+
$bg-frame: $gray-200
|
12
|
+
// use extending his class
|
13
|
+
.bg-frame
|
14
|
+
background-color: $bg-frame
|
15
|
+
|
16
|
+
// Dropdown
|
17
|
+
$dropdown-bg: $gray-800
|
18
|
+
$dropdown-border-color: rgba($white, .15)
|
19
|
+
|
20
|
+
$dropdown-link-color: $gray-200
|
21
|
+
$dropdown-link-hover-color: $gray-100
|
22
|
+
$dropdown-link-hover-bg: $gray-900
|
23
|
+
// FONTS
|
24
|
+
|
25
|
+
// Font size
|
26
|
+
$font-size-base: 1.1rem
|
27
|
+
|
28
|
+
// Base font family
|
29
|
+
@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500")
|
30
|
+
$font-family-sans-serif: "Roboto", Arial, sans-serif
|
31
|
+
$font-family-base: $font-family-sans-serif
|
32
|
+
|
33
|
+
// Headings font family
|
34
|
+
@import url("https://fonts.googleapis.com/css?family=Roboto+Slab:300,400,700")
|
35
|
+
$font-family-headings: "Roboto Slab", serif
|
36
|
+
$font-family-headings-header: $font-family-headings
|
37
|
+
|
38
|
+
//
|
39
|
+
// Bootstrap_end
|
40
|
+
//
|
41
|
+
@import "bootstrap/mixins"
|
42
|
+
// @import "bootstrap/root"
|
43
|
+
@import "bootstrap/reboot"
|
44
|
+
@import "bootstrap/type"
|
45
|
+
@import "bootstrap/images"
|
46
|
+
@import "bootstrap/code"
|
47
|
+
@import "bootstrap/grid"
|
48
|
+
@import "bootstrap/tables"
|
49
|
+
@import "bootstrap/forms"
|
50
|
+
@import "bootstrap/buttons"
|
51
|
+
@import "bootstrap/transitions"
|
52
|
+
@import "bootstrap/dropdown"
|
53
|
+
@import "bootstrap/button-group"
|
54
|
+
@import "bootstrap/input-group"
|
55
|
+
@import "bootstrap/custom-forms"
|
56
|
+
@import "bootstrap/nav"
|
57
|
+
@import "bootstrap/navbar"
|
58
|
+
@import "bootstrap/card"
|
59
|
+
@import "bootstrap/breadcrumb"
|
60
|
+
@import "bootstrap/pagination"
|
61
|
+
@import "bootstrap/badge"
|
62
|
+
@import "bootstrap/jumbotron"
|
63
|
+
@import "bootstrap/alert"
|
64
|
+
@import "bootstrap/progress"
|
65
|
+
@import "bootstrap/media"
|
66
|
+
@import "bootstrap/list-group"
|
67
|
+
@import "bootstrap/close"
|
68
|
+
@import "bootstrap/modal"
|
69
|
+
@import "bootstrap/tooltip"
|
70
|
+
@import "bootstrap/popover"
|
71
|
+
@import "bootstrap/carousel"
|
72
|
+
@import "bootstrap/utilities"
|
73
|
+
@import "bootstrap/print"
|
74
|
+
|
75
|
+
// MIXINS
|
76
|
+
|
77
|
+
// Headings mixin
|
78
|
+
Example:
|
79
|
+
@include headings(1,6,':first-child','main > ')
|
80
|
+
...
|
81
|
+
Render:
|
82
|
+
main > h1:first-child, main > .h2:first-child, ...
|
83
|
+
...
|
84
|
+
@mixin headings($from: 1, $to: 6, $condition: '', $prescope: '')
|
85
|
+
@for $i from $from through $to
|
86
|
+
#{$prescope}h#{$i}#{$condition}, #{$prescope}.h#{$i}#{$condition}
|
87
|
+
@content
|
88
|
+
|
89
|
+
//
|
90
|
+
// CLASSES
|
91
|
+
//
|
92
|
+
|
93
|
+
// font weights: .fw-1, ... .fw-9
|
94
|
+
@for $weight from 1 through 9
|
95
|
+
.fw-#{$weight}
|
96
|
+
font-weight: $weight * 100
|
97
|
+
|
98
|
+
// Bottom border only Class
|
99
|
+
.bb
|
100
|
+
@extend .border, .border-top-0, .border-right-0, .border-left-0
|
101
|
+
|
102
|
+
// Big spacers
|
103
|
+
$big_spacer: ( 6: ($spacer * 2), 7: ($spacer * 2.5), 8: ($spacer * 4), 9: ($spacer * 0.7) )
|
104
|
+
@each $prop, $abbrev in (margin: m, padding: p)
|
105
|
+
@each $size, $length in $big_spacer
|
106
|
+
.#{$abbrev}-#{$size}
|
107
|
+
#{$prop}: $length
|
108
|
+
.#{$abbrev}t-#{$size}, .#{$abbrev}y-#{$size}
|
109
|
+
#{$prop}-top: $length
|
110
|
+
.#{$abbrev}r-#{$size}, .#{$abbrev}x-#{$size}
|
111
|
+
#{$prop}-right: $length
|
112
|
+
.#{$abbrev}b-#{$size}, .#{$abbrev}y-#{$size}
|
113
|
+
#{$prop}-bottom: $length
|
114
|
+
.#{$abbrev}l-#{$size}, .#{$abbrev}x-#{$size}
|
115
|
+
#{$prop}-left: $length
|
116
|
+
|
117
|
+
// HTML
|
118
|
+
html
|
119
|
+
@extend .bg-frame
|
120
|
+
|
121
|
+
// HEADER
|
122
|
+
header
|
123
|
+
@extend .mb-0, .jumbotron, .rounded-0, .py-4
|
124
|
+
|
125
|
+
// MAIN
|
126
|
+
main
|
127
|
+
@extend .mt-5, .mb-8
|
128
|
+
&.container-fluid
|
129
|
+
@extend .px-5
|
130
|
+
|
131
|
+
// TABLES
|
132
|
+
table
|
133
|
+
@extend .table
|
134
|
+
&:last-of-type
|
135
|
+
@extend .mb-0
|
136
|
+
|
137
|
+
// HEADINGS
|
138
|
+
@include headings()
|
139
|
+
font-family: $font-family-headings
|
140
|
+
letter-spacing: -1px
|
141
|
+
// HEADER headings
|
142
|
+
header
|
143
|
+
@include headings()
|
144
|
+
@extend .text-muted, .mb-0, .fw-3
|
145
|
+
font-family: $font-family-headings-header
|
146
|
+
span
|
147
|
+
@extend .fw-8
|
148
|
+
color: $black
|
149
|
+
// MAIN Headings
|
150
|
+
main
|
151
|
+
@include headings()
|
152
|
+
@extend .mt-6, .mb-3
|
153
|
+
.row:first-child .col
|
154
|
+
@include headings(1, 6, ':first-child')
|
155
|
+
@extend .mt-0
|
156
|
+
|
157
|
+
// NAVBARS
|
158
|
+
// Top main nav
|
159
|
+
body > nav,
|
160
|
+
header > nav
|
161
|
+
@extend .navbar-dark, .bg-dark, .fw-3
|
162
|
+
a.dropdown-item
|
163
|
+
@extend .fw-3
|
164
|
+
// Footer nav
|
165
|
+
footer nav
|
166
|
+
@extend .navbar-light, .bg-frame
|
167
|
+
// Hamburger for mobile
|
168
|
+
.navbar-toggler
|
169
|
+
color: $gray-900
|
170
|
+
// Space simple text like links
|
171
|
+
.navbar-expand-lg
|
172
|
+
.navbar-nav
|
173
|
+
.nav-link,
|
174
|
+
.navbar-text
|
175
|
+
@extend .px-9
|
176
|
+
|
177
|
+
// FORMS
|
178
|
+
form
|
179
|
+
// Checkbox label with mouse pointer
|
180
|
+
.custom-checkbox,
|
181
|
+
.custom-radio
|
182
|
+
label.custom-control-label
|
183
|
+
cursor: pointer
|
184
|
+
|
185
|
+
// COLLAPSE
|
186
|
+
// Hide link color on collapse links
|
187
|
+
a[data-toggle="collapse"]
|
188
|
+
@extend .text-muted
|
189
|
+
|
190
|
+
// CODE
|
191
|
+
// Fix margings, paddings and background-color
|
192
|
+
code
|
193
|
+
padding: 2px 4px
|
194
|
+
background-color: $gray-100
|
195
|
+
|
196
|
+
pre.highlight
|
197
|
+
@extend .p-2
|
198
|
+
font-size: 75%
|
199
|
+
letter-spacing: -0.1px
|
200
|
+
border: $border-width solid $border-color
|
201
|
+
border-radius: $border-radius
|
202
|
+
code
|
203
|
+
padding: unset
|
204
|
+
background-color: transparent
|
205
|
+
|
206
|
+
// CARDS
|
207
|
+
// Remove top margins for `last-of-type` objects
|
208
|
+
.card
|
209
|
+
p:last-of-type,
|
210
|
+
ul:last-of-type,
|
211
|
+
pre:last-of-type
|
212
|
+
@extend .mb-0
|
213
|
+
.card-title:first-of-type
|
214
|
+
@extend .mt-0
|
215
|
+
|
216
|
+
// BLOCKQUOTES
|
217
|
+
.blockquote
|
218
|
+
@extend .px-9, .py-1
|
219
|
+
border-left: 2px solid $border-color
|
220
|
+
p
|
221
|
+
@extend .mb-1
|
222
|
+
footer
|
223
|
+
@extend .text-muted, .small
|
224
|
+
|
225
|
+
// DROPDOWNS: move caret nearer
|
226
|
+
.dropdown-toggle::after
|
227
|
+
margin-left: $caret-width * .3
|
228
|
+
vertical-align: $caret-width * .3
|
229
|
+
|
230
|
+
// ALERTS
|
231
|
+
// Fix dark link colors inside alerts
|
232
|
+
$alert_color_levels: -10 -9 5 6
|
233
|
+
// Loop
|
234
|
+
@each $color, $value in $theme-colors
|
235
|
+
.alert-#{$color}
|
236
|
+
@include alert-variant(theme-color-level($color, nth($alert_color_levels, 1)), theme-color-level($color, nth($alert_color_levels, 2)), theme-color-level($color, nth($alert_color_levels, 3)))
|
237
|
+
a
|
238
|
+
color: theme-color-level($color, nth($alert_color_levels, 4))
|
239
|
+
|
240
|
+
// extend alert links class
|
241
|
+
.alert a
|
242
|
+
@extend .alert-link
|
243
|
+
|
244
|
+
// TEMPUS
|
245
|
+
.tempus-past,
|
246
|
+
.tempus-empty
|
247
|
+
@extend .text-muted
|
248
|
+
.tempus-difference
|
249
|
+
@extend .text-muted, .small
|
250
|
+
|
251
|
+
// PAGE_INFO
|
252
|
+
#pageinfoModal
|
253
|
+
table
|
254
|
+
@extend .table-sm
|
255
|
+
tr:first-child td
|
256
|
+
border-top: 0
|
257
|
+
tr
|
258
|
+
td:first-child
|
259
|
+
@extend .text-right
|
260
|
+
td:last-child
|
261
|
+
@extend .text-muted
|
262
|
+
|
263
|
+
// DATE picker
|
264
|
+
.datepicker-container
|
265
|
+
font-size: $font-size-sm
|
266
|
+
|
267
|
+
// ADD-BOOK
|
268
|
+
#input-form
|
269
|
+
h3
|
270
|
+
@extend .py-3
|
271
|
+
small
|
272
|
+
@extend .form-text, .text-muted, .ml-1
|
273
|
+
|
274
|
+
// CODE SYNTAX
|
275
|
+
@import "any_theme/syntax_default"
|
@@ -0,0 +1,59 @@
|
|
1
|
+
---
|
2
|
+
---
|
3
|
+
// http://www.fontspring.com/blog/further-hardening-of-the-bulletproof-syntax
|
4
|
+
@font-face {
|
5
|
+
font-family: 'Scala Sans SC';
|
6
|
+
src: url('scalasans-webfont.eot');
|
7
|
+
src: url('scalasans-webfont.eot?#iefix') format('embedded-opentype'),
|
8
|
+
url('scalasans-webfont.woff') format('woff'),
|
9
|
+
url('scalasans-webfont.ttf') format('truetype'),
|
10
|
+
url('scalasans-webfont.svg#ScalaSansSCRegular') format('svg');
|
11
|
+
font-style: normal;
|
12
|
+
font-weight: normal;
|
13
|
+
// Not currently supported by browsers it would seem.
|
14
|
+
// font-variant: small-caps;
|
15
|
+
}
|
16
|
+
|
17
|
+
@font-face {
|
18
|
+
font-family: 'Scala Sans SC';
|
19
|
+
src: url('scalasans-bold-webfont.eot');
|
20
|
+
src: url('scalasans-bold-webfont.eot?#iefix') format('embedded-opentype'),
|
21
|
+
url('scalasans-bold-webfont.woff') format('woff'),
|
22
|
+
url('scalasans-bold-webfont.ttf') format('truetype'),
|
23
|
+
url('scalasans-bold-webfont.svg#ScalaSansSCRegular') format('svg');
|
24
|
+
font-style: normal;
|
25
|
+
font-weight: bold;
|
26
|
+
}
|
27
|
+
|
28
|
+
@font-face {
|
29
|
+
font-family: 'Scala';
|
30
|
+
src: url('scala-webfont.eot');
|
31
|
+
src: url('scala-webfont.eot?#iefix') format('embedded-opentype'),
|
32
|
+
url('scala-webfont.woff') format('woff'),
|
33
|
+
url('scala-webfont.ttf') format('truetype'),
|
34
|
+
url('scala-webfont.svg#Scala') format('svg');
|
35
|
+
font-style: normal;
|
36
|
+
font-weight: normal;
|
37
|
+
}
|
38
|
+
|
39
|
+
@font-face {
|
40
|
+
font-family: 'Scala';
|
41
|
+
src: url('scala-italic-webfont.eot');
|
42
|
+
src: url('scala-italic-webfont.eot?#iefix') format('embedded-opentype'),
|
43
|
+
url('scala-italic-webfont.woff') format('woff'),
|
44
|
+
url('scala-italic-webfont.ttf') format('truetype'),
|
45
|
+
url('scala-italic-webfont.svg#ScalaItalic') format('svg');
|
46
|
+
font-style: italic;
|
47
|
+
font-weight: normal;
|
48
|
+
}
|
49
|
+
|
50
|
+
@font-face {
|
51
|
+
font-family: 'Scala';
|
52
|
+
src: url('scala-bold-webfont.eot');
|
53
|
+
src: url('scala-bold-webfont.eot?#iefix') format('embedded-opentype'),
|
54
|
+
url('scala-bold-webfont.woff') format('woff'),
|
55
|
+
url('scala-bold-webfont.ttf') format('truetype'),
|
56
|
+
url('scala-bold-webfont.svg#ScalaItalic') format('svg');
|
57
|
+
font-style: normal;
|
58
|
+
font-weight: bold;
|
59
|
+
}
|
Binary file
|