bulma-clean-theme 0.7.1 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +44 -2
- data/_includes/callouts.html +5 -1
- data/_includes/footer.html +1 -1
- data/_includes/gallery.html +27 -0
- data/_includes/head.html +5 -2
- data/_includes/header.html +3 -3
- data/_includes/hero.html +2 -2
- data/_includes/menubar.html +2 -2
- data/_includes/pagination.html +2 -2
- data/_includes/share-buttons.html +19 -0
- data/_includes/showcase.html +1 -1
- data/_includes/tabs.html +1 -1
- data/_includes/youtube.html +8 -0
- data/_layouts/default.html +1 -0
- data/_layouts/post.html +4 -0
- data/_layouts/product-category.html +1 -1
- data/_posts/2020-05-08-creating-a-docs-site-with-bulma-clean-theme.markdown +96 -0
- data/node_modules/bulma-block-list/README.md +12 -0
- data/node_modules/bulma-block-list/docs/Gemfile +3 -0
- data/node_modules/bulma-block-list/docs/_config.yml +15 -0
- data/node_modules/bulma-block-list/docs/_data/menu.yaml +20 -0
- data/node_modules/bulma-block-list/docs/_sass/_block-list.scss +92 -0
- data/node_modules/bulma-block-list/docs/_sass/_main.scss +20 -0
- data/node_modules/bulma-block-list/docs/assets/css/app.scss +7 -0
- data/node_modules/bulma-block-list/docs/favicon.ico +0 -0
- data/node_modules/bulma-block-list/docs/index.html +250 -232
- data/node_modules/bulma-block-list/node_modules/bulma/CHANGELOG.md +1390 -0
- data/node_modules/bulma-block-list/node_modules/bulma/LICENSE +21 -0
- data/node_modules/bulma-block-list/node_modules/bulma/README.md +130 -0
- data/node_modules/bulma-block-list/node_modules/bulma/bulma.sass +9 -0
- data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.css +10855 -0
- data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.css.map +1 -0
- data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.min.css +1 -0
- data/node_modules/bulma-block-list/node_modules/bulma/package.json +77 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/base/_all.sass +5 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/base/generic.sass +142 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/base/helpers.sass +281 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/base/minireset.sass +79 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/_all.sass +15 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/breadcrumb.sass +75 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/card.sass +79 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/dropdown.sass +81 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass +77 -0
- data/node_modules/{bulma → bulma-block-list/node_modules/bulma}/sass/components/list.sass +0 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/media.sass +50 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/menu.sass +57 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/message.sass +99 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/modal.sass +113 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/navbar.sass +441 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/pagination.sass +150 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/panel.sass +119 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/tabs.sass +151 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/_all.sass +15 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/box.sass +24 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/button.sass +323 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/container.sass +24 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/content.sass +155 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/form.sass +1 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/icon.sass +21 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/image.sass +71 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass +43 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/other.sass +39 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass +67 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/table.sass +127 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/tag.sass +128 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/title.sass +70 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/_all.sass +8 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/checkbox-radio.sass +21 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/file.sass +180 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/input-textarea.sass +64 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/select.sass +85 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/shared.sass +55 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/tools.sass +205 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/_all.sass +4 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/columns.sass +504 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/tiles.sass +34 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/_all.sass +5 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/footer.sass +9 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/hero.sass +145 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/section.sass +13 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/_all.sass +8 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/animations.sass +5 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/controls.sass +50 -0
- data/node_modules/{bulma → bulma-block-list/node_modules/bulma}/sass/utilities/derived-variables.sass +0 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/functions.sass +110 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/initial-variables.sass +77 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/mixins.sass +261 -0
- data/node_modules/bulma-block-list/package.json +10 -10
- data/node_modules/bulma-block-list/src/block-list.scss +55 -42
- data/node_modules/bulma-block-list/src/demo.scss +1 -1
- data/node_modules/bulma/CHANGELOG.md +89 -1
- data/node_modules/bulma/LICENSE +1 -1
- data/node_modules/bulma/README.md +12 -8
- data/node_modules/bulma/bulma.sass +2 -1
- data/node_modules/bulma/css/bulma-rtl.css +11331 -0
- data/node_modules/bulma/css/bulma-rtl.css.map +1 -0
- data/node_modules/bulma/css/bulma-rtl.min.css +1 -0
- data/node_modules/bulma/css/bulma.css +6815 -6316
- data/node_modules/bulma/css/bulma.css.map +1 -1
- data/node_modules/bulma/css/bulma.min.css +1 -1
- data/node_modules/bulma/package.json +24 -23
- data/node_modules/bulma/sass/base/_all.sass +0 -1
- data/node_modules/bulma/sass/base/generic.sass +1 -1
- data/node_modules/bulma/sass/base/helpers.sass +1 -281
- data/node_modules/bulma/sass/base/minireset.sass +1 -1
- data/node_modules/bulma/sass/components/_all.sass +0 -1
- data/node_modules/bulma/sass/components/breadcrumb.sass +3 -3
- data/node_modules/bulma/sass/components/card.sass +1 -1
- data/node_modules/bulma/sass/components/dropdown.sass +3 -3
- data/node_modules/bulma/sass/components/level.sass +2 -2
- data/node_modules/bulma/sass/components/media.sass +11 -9
- data/node_modules/bulma/sass/components/menu.sass +2 -2
- data/node_modules/bulma/sass/components/message.sass +1 -1
- data/node_modules/bulma/sass/components/modal.sass +3 -3
- data/node_modules/bulma/sass/components/navbar.sass +18 -20
- data/node_modules/bulma/sass/components/panel.sass +4 -3
- data/node_modules/bulma/sass/components/tabs.sass +35 -12
- data/node_modules/bulma/sass/elements/button.sass +17 -16
- data/node_modules/bulma/sass/elements/content.sass +5 -5
- data/node_modules/bulma/sass/elements/notification.sass +14 -2
- data/node_modules/bulma/sass/elements/table.sass +3 -1
- data/node_modules/bulma/sass/elements/tag.sass +24 -16
- data/node_modules/bulma/sass/form/checkbox-radio.sass +1 -1
- data/node_modules/bulma/sass/form/file.sass +9 -9
- data/node_modules/bulma/sass/form/input-textarea.sass +1 -1
- data/node_modules/bulma/sass/form/select.sass +6 -6
- data/node_modules/bulma/sass/form/shared.sass +3 -3
- data/node_modules/bulma/sass/form/tools.sass +18 -10
- data/node_modules/bulma/sass/helpers/_all.sass +10 -0
- data/node_modules/bulma/sass/helpers/color.sass +37 -0
- data/node_modules/bulma/sass/helpers/float.sass +8 -0
- data/node_modules/bulma/sass/helpers/other.sass +8 -0
- data/node_modules/bulma/sass/helpers/overflow.sass +2 -0
- data/node_modules/bulma/sass/helpers/position.sass +5 -0
- data/node_modules/bulma/sass/helpers/spacing.sass +28 -0
- data/node_modules/bulma/sass/helpers/typography.sass +98 -0
- data/node_modules/bulma/sass/helpers/visibility.sass +122 -0
- data/node_modules/bulma/sass/layout/hero.sass +22 -20
- data/node_modules/bulma/sass/utilities/_all.sass +1 -1
- data/node_modules/bulma/sass/utilities/derived-variables.scss +132 -0
- data/node_modules/bulma/sass/utilities/functions.sass +17 -0
- data/node_modules/bulma/sass/utilities/initial-variables.sass +1 -0
- data/node_modules/bulma/sass/utilities/mixins.sass +28 -4
- data/package-lock.json +13 -6
- data/package.json +2 -2
- metadata +88 -7
- data/node_modules/bulma-block-list/docs/demo.css +0 -7212
@@ -20,7 +20,7 @@ $level-item-spacing: ($block-spacing / 2) !default
|
|
20
20
|
.level-item
|
21
21
|
&:not(:last-child)
|
22
22
|
margin-bottom: 0
|
23
|
-
margin
|
23
|
+
+ltr-property("margin", $level-item-spacing)
|
24
24
|
&:not(.is-narrow)
|
25
25
|
flex-grow: 1
|
26
26
|
// Responsiveness
|
@@ -57,7 +57,7 @@ $level-item-spacing: ($block-spacing / 2) !default
|
|
57
57
|
// Responsiveness
|
58
58
|
+tablet
|
59
59
|
&:not(:last-child)
|
60
|
-
margin
|
60
|
+
+ltr-property("margin", $level-item-spacing)
|
61
61
|
|
62
62
|
.level-left
|
63
63
|
align-items: center
|
@@ -1,9 +1,11 @@
|
|
1
|
-
$media-border-color:
|
1
|
+
$media-border-color: bulmaRgba($border, 0.5) !default
|
2
|
+
$media-spacing: 1rem
|
3
|
+
$media-spacing-large: 1.5rem
|
2
4
|
|
3
5
|
.media
|
4
6
|
align-items: flex-start
|
5
7
|
display: flex
|
6
|
-
text-align:
|
8
|
+
text-align: inherit
|
7
9
|
.content:not(:last-child)
|
8
10
|
margin-bottom: 0.75rem
|
9
11
|
.media
|
@@ -19,13 +21,13 @@ $media-border-color: rgba($border, 0.5) !default
|
|
19
21
|
margin-top: 0.5rem
|
20
22
|
& + .media
|
21
23
|
border-top: 1px solid $media-border-color
|
22
|
-
margin-top:
|
23
|
-
padding-top:
|
24
|
+
margin-top: $media-spacing
|
25
|
+
padding-top: $media-spacing
|
24
26
|
// Sizes
|
25
27
|
&.is-large
|
26
28
|
& + .media
|
27
|
-
margin-top:
|
28
|
-
padding-top:
|
29
|
+
margin-top: $media-spacing-large
|
30
|
+
padding-top: $media-spacing-large
|
29
31
|
|
30
32
|
.media-left,
|
31
33
|
.media-right
|
@@ -34,16 +36,16 @@ $media-border-color: rgba($border, 0.5) !default
|
|
34
36
|
flex-shrink: 0
|
35
37
|
|
36
38
|
.media-left
|
37
|
-
margin-
|
39
|
+
+ltr-property("margin", $media-spacing)
|
38
40
|
|
39
41
|
.media-right
|
40
|
-
margin-
|
42
|
+
+ltr-property("margin", $media-spacing, false)
|
41
43
|
|
42
44
|
.media-content
|
43
45
|
flex-basis: auto
|
44
46
|
flex-grow: 1
|
45
47
|
flex-shrink: 1
|
46
|
-
text-align:
|
48
|
+
text-align: inherit
|
47
49
|
|
48
50
|
+mobile
|
49
51
|
.media-content
|
@@ -42,9 +42,9 @@ $menu-label-spacing: 1em !default
|
|
42
42
|
color: $menu-item-active-color
|
43
43
|
li
|
44
44
|
ul
|
45
|
-
border
|
45
|
+
+ltr-property("border", $menu-list-border-left, false)
|
46
46
|
margin: $menu-nested-list-margin
|
47
|
-
padding
|
47
|
+
+ltr-property("padding", $menu-nested-list-padding-left, false)
|
48
48
|
|
49
49
|
.menu-label
|
50
50
|
color: $menu-label-color
|
@@ -1,6 +1,6 @@
|
|
1
1
|
$modal-z: 40 !default
|
2
2
|
|
3
|
-
$modal-background-background-color:
|
3
|
+
$modal-background-background-color: bulmaRgba($scheme-invert, 0.86) !default
|
4
4
|
|
5
5
|
$modal-content-width: 640px !default
|
6
6
|
$modal-content-margin-mobile: 20px !default
|
@@ -63,7 +63,7 @@ $modal-card-body-padding: 20px !default
|
|
63
63
|
background: none
|
64
64
|
height: $modal-close-dimensions
|
65
65
|
position: fixed
|
66
|
-
|
66
|
+
+ltr-position($modal-close-right)
|
67
67
|
top: $modal-close-top
|
68
68
|
width: $modal-close-dimensions
|
69
69
|
|
@@ -102,7 +102,7 @@ $modal-card-body-padding: 20px !default
|
|
102
102
|
border-top: $modal-card-foot-border-top
|
103
103
|
.button
|
104
104
|
&:not(:last-child)
|
105
|
-
margin
|
105
|
+
+ltr-property("margin", 0.5em)
|
106
106
|
|
107
107
|
.modal-card-body
|
108
108
|
+overflow-touch
|
@@ -32,7 +32,7 @@ $navbar-dropdown-radius: $radius-large !default
|
|
32
32
|
$navbar-dropdown-z: 20 !default
|
33
33
|
|
34
34
|
$navbar-dropdown-boxed-radius: $radius-large !default
|
35
|
-
$navbar-dropdown-boxed-shadow: 0 8px 8px
|
35
|
+
$navbar-dropdown-boxed-shadow: 0 8px 8px bulmaRgba($scheme-invert, 0.1), 0 0 0 1px bulmaRgba($scheme-invert, 0.1) !default
|
36
36
|
|
37
37
|
$navbar-dropdown-item-hover-color: $scheme-invert !default
|
38
38
|
$navbar-dropdown-item-hover-background-color: $background !default
|
@@ -72,7 +72,7 @@ $navbar-breakpoint: $desktop !default
|
|
72
72
|
&:focus,
|
73
73
|
&:hover,
|
74
74
|
&.is-active
|
75
|
-
background-color:
|
75
|
+
background-color: bulmaDarken($color, 5%)
|
76
76
|
color: $color-invert
|
77
77
|
.navbar-link
|
78
78
|
&::after
|
@@ -90,7 +90,7 @@ $navbar-breakpoint: $desktop !default
|
|
90
90
|
&:focus,
|
91
91
|
&:hover,
|
92
92
|
&.is-active
|
93
|
-
background-color:
|
93
|
+
background-color: bulmaDarken($color, 5%)
|
94
94
|
color: $color-invert
|
95
95
|
.navbar-link
|
96
96
|
&::after
|
@@ -98,7 +98,7 @@ $navbar-breakpoint: $desktop !default
|
|
98
98
|
.navbar-item.has-dropdown:focus .navbar-link,
|
99
99
|
.navbar-item.has-dropdown:hover .navbar-link,
|
100
100
|
.navbar-item.has-dropdown.is-active .navbar-link
|
101
|
-
background-color:
|
101
|
+
background-color: bulmaDarken($color, 5%)
|
102
102
|
color: $color-invert
|
103
103
|
.navbar-dropdown
|
104
104
|
a.navbar-item
|
@@ -151,7 +151,7 @@ body
|
|
151
151
|
.navbar-burger
|
152
152
|
color: $navbar-burger-color
|
153
153
|
+hamburger($navbar-height)
|
154
|
-
margin
|
154
|
+
+ltr-property("margin", auto, false)
|
155
155
|
|
156
156
|
.navbar-menu
|
157
157
|
display: none
|
@@ -179,7 +179,6 @@ a.navbar-item,
|
|
179
179
|
color: $navbar-item-hover-color
|
180
180
|
|
181
181
|
.navbar-item
|
182
|
-
display: block
|
183
182
|
flex-grow: 0
|
184
183
|
flex-shrink: 0
|
185
184
|
img
|
@@ -210,12 +209,12 @@ a.navbar-item,
|
|
210
209
|
flex-shrink: 1
|
211
210
|
|
212
211
|
.navbar-link:not(.is-arrowless)
|
213
|
-
padding
|
212
|
+
+ltr-property("padding", 2.5em)
|
214
213
|
&::after
|
215
214
|
@extend %arrow
|
216
215
|
border-color: $navbar-dropdown-arrow
|
217
216
|
margin-top: -0.375em
|
218
|
-
|
217
|
+
+ltr-position(1.125em)
|
219
218
|
|
220
219
|
.navbar-dropdown
|
221
220
|
font-size: 0.875rem
|
@@ -245,7 +244,7 @@ a.navbar-item,
|
|
245
244
|
display: none
|
246
245
|
.navbar-menu
|
247
246
|
background-color: $navbar-background-color
|
248
|
-
box-shadow: 0 8px 16px
|
247
|
+
box-shadow: 0 8px 16px bulmaRgba($scheme-invert, 0.1)
|
249
248
|
padding: 0.5rem 0
|
250
249
|
&.is-active
|
251
250
|
display: block
|
@@ -257,7 +256,7 @@ a.navbar-item,
|
|
257
256
|
&.is-fixed-bottom-touch
|
258
257
|
bottom: 0
|
259
258
|
&.has-shadow
|
260
|
-
box-shadow: 0 -2px 3px
|
259
|
+
box-shadow: 0 -2px 3px bulmaRgba($scheme-invert, 0.1)
|
261
260
|
&.is-fixed-top-touch
|
262
261
|
top: 0
|
263
262
|
&.is-fixed-top,
|
@@ -320,7 +319,6 @@ a.navbar-item,
|
|
320
319
|
align-items: center
|
321
320
|
display: flex
|
322
321
|
.navbar-item
|
323
|
-
display: flex
|
324
322
|
&.has-dropdown
|
325
323
|
align-items: stretch
|
326
324
|
&.has-dropdown-up
|
@@ -331,7 +329,7 @@ a.navbar-item,
|
|
331
329
|
border-radius: $navbar-dropdown-radius $navbar-dropdown-radius 0 0
|
332
330
|
border-top: none
|
333
331
|
bottom: 100%
|
334
|
-
box-shadow: 0 -8px 8px
|
332
|
+
box-shadow: 0 -8px 8px bulmaRgba($scheme-invert, 0.1)
|
335
333
|
top: auto
|
336
334
|
&.is-active,
|
337
335
|
&.is-hoverable:focus,
|
@@ -349,19 +347,19 @@ a.navbar-item,
|
|
349
347
|
flex-shrink: 0
|
350
348
|
.navbar-start
|
351
349
|
justify-content: flex-start
|
352
|
-
margin
|
350
|
+
+ltr-property("margin", auto)
|
353
351
|
.navbar-end
|
354
352
|
justify-content: flex-end
|
355
|
-
margin
|
353
|
+
+ltr-property("margin", auto, false)
|
356
354
|
.navbar-dropdown
|
357
355
|
background-color: $navbar-dropdown-background-color
|
358
356
|
border-bottom-left-radius: $navbar-dropdown-radius
|
359
357
|
border-bottom-right-radius: $navbar-dropdown-radius
|
360
358
|
border-top: $navbar-dropdown-border-top
|
361
|
-
box-shadow: 0 8px 8px
|
359
|
+
box-shadow: 0 8px 8px bulmaRgba($scheme-invert, 0.1)
|
362
360
|
display: none
|
363
361
|
font-size: 0.875rem
|
364
|
-
|
362
|
+
+ltr-position(0, false)
|
365
363
|
min-width: 100%
|
366
364
|
position: absolute
|
367
365
|
top: 100%
|
@@ -370,7 +368,7 @@ a.navbar-item,
|
|
370
368
|
padding: 0.375rem 1rem
|
371
369
|
white-space: nowrap
|
372
370
|
a.navbar-item
|
373
|
-
padding
|
371
|
+
+ltr-property("padding", 3rem)
|
374
372
|
&:focus,
|
375
373
|
&:hover
|
376
374
|
background-color: $navbar-dropdown-item-hover-background-color
|
@@ -398,9 +396,9 @@ a.navbar-item,
|
|
398
396
|
.navbar > .container,
|
399
397
|
.container > .navbar
|
400
398
|
.navbar-brand
|
401
|
-
margin
|
399
|
+
+ltr-property("margin", -.75rem, false)
|
402
400
|
.navbar-menu
|
403
|
-
margin
|
401
|
+
+ltr-property("margin", -.75rem)
|
404
402
|
// Fixed navbar
|
405
403
|
.navbar
|
406
404
|
&.is-fixed-bottom-desktop,
|
@@ -409,7 +407,7 @@ a.navbar-item,
|
|
409
407
|
&.is-fixed-bottom-desktop
|
410
408
|
bottom: 0
|
411
409
|
&.has-shadow
|
412
|
-
box-shadow: 0 -2px 3px
|
410
|
+
box-shadow: 0 -2px 3px bulmaRgba($scheme-invert, 0.1)
|
413
411
|
&.is-fixed-top-desktop
|
414
412
|
top: 0
|
415
413
|
html,
|
@@ -26,6 +26,7 @@ $panel-block-active-color: $link-active !default
|
|
26
26
|
$panel-block-active-icon-color: $link !default
|
27
27
|
|
28
28
|
$panel-icon-color: $text-light !default
|
29
|
+
$panel-colors: $colors !default
|
29
30
|
|
30
31
|
.panel
|
31
32
|
border-radius: $panel-radius
|
@@ -34,7 +35,7 @@ $panel-icon-color: $text-light !default
|
|
34
35
|
&:not(:last-child)
|
35
36
|
margin-bottom: $panel-margin
|
36
37
|
// Colors
|
37
|
-
@each $name, $components in $
|
38
|
+
@each $name, $components in $panel-colors
|
38
39
|
$color: nth($components, 1)
|
39
40
|
$color-invert: nth($components, 2)
|
40
41
|
&.is-#{$name}
|
@@ -87,7 +88,7 @@ $panel-icon-color: $text-light !default
|
|
87
88
|
justify-content: flex-start
|
88
89
|
padding: 0.5em 0.75em
|
89
90
|
input[type="checkbox"]
|
90
|
-
margin
|
91
|
+
+ltr-property("margin", 0.75em)
|
91
92
|
& > .control
|
92
93
|
flex-grow: 1
|
93
94
|
flex-shrink: 1
|
@@ -112,7 +113,7 @@ label.panel-block
|
|
112
113
|
.panel-icon
|
113
114
|
+fa(14px, 1em)
|
114
115
|
color: $panel-icon-color
|
115
|
-
margin
|
116
|
+
+ltr-property("margin", 0.75em)
|
116
117
|
.fa
|
117
118
|
font-size: inherit
|
118
119
|
line-height: inherit
|
@@ -78,9 +78,9 @@ $tabs-toggle-link-active-color: $link-invert !default
|
|
78
78
|
padding-left: 0.75em
|
79
79
|
.icon
|
80
80
|
&:first-child
|
81
|
-
margin
|
81
|
+
+ltr-property("margin", 0.5em)
|
82
82
|
&:last-child
|
83
|
-
margin
|
83
|
+
+ltr-property("margin", 0.5em, false)
|
84
84
|
// Alignment
|
85
85
|
&.is-centered
|
86
86
|
ul
|
@@ -92,7 +92,10 @@ $tabs-toggle-link-active-color: $link-invert !default
|
|
92
92
|
&.is-boxed
|
93
93
|
a
|
94
94
|
border: 1px solid transparent
|
95
|
-
|
95
|
+
+ltr
|
96
|
+
border-radius: $tabs-boxed-link-radius $tabs-boxed-link-radius 0 0
|
97
|
+
+rtl
|
98
|
+
border-radius: 0 0 $tabs-boxed-link-radius $tabs-boxed-link-radius
|
96
99
|
&:hover
|
97
100
|
background-color: $tabs-boxed-link-hover-background-color
|
98
101
|
border-bottom-color: $tabs-boxed-link-hover-border-bottom-color
|
@@ -119,11 +122,21 @@ $tabs-toggle-link-active-color: $link-invert !default
|
|
119
122
|
z-index: 2
|
120
123
|
li
|
121
124
|
& + li
|
122
|
-
margin
|
125
|
+
+ltr-property("margin", -#{$tabs-toggle-link-border-width}, false)
|
123
126
|
&:first-child a
|
124
|
-
|
127
|
+
+ltr
|
128
|
+
border-top-left-radius: $tabs-toggle-link-radius
|
129
|
+
border-bottom-left-radius: $tabs-toggle-link-radius
|
130
|
+
+rtl
|
131
|
+
border-top-right-radius: $tabs-toggle-link-radius
|
132
|
+
border-bottom-right-radius: $tabs-toggle-link-radius
|
125
133
|
&:last-child a
|
126
|
-
|
134
|
+
+ltr
|
135
|
+
border-top-right-radius: $tabs-toggle-link-radius
|
136
|
+
border-bottom-right-radius: $tabs-toggle-link-radius
|
137
|
+
+rtl
|
138
|
+
border-top-left-radius: $tabs-toggle-link-radius
|
139
|
+
border-bottom-left-radius: $tabs-toggle-link-radius
|
127
140
|
&.is-active
|
128
141
|
a
|
129
142
|
background-color: $tabs-toggle-link-active-background-color
|
@@ -135,13 +148,23 @@ $tabs-toggle-link-active-color: $link-invert !default
|
|
135
148
|
&.is-toggle-rounded
|
136
149
|
li
|
137
150
|
&:first-child a
|
138
|
-
|
139
|
-
|
140
|
-
|
151
|
+
+ltr
|
152
|
+
border-bottom-left-radius: $radius-rounded
|
153
|
+
border-top-left-radius: $radius-rounded
|
154
|
+
padding-left: 1.25em
|
155
|
+
+rtl
|
156
|
+
border-bottom-right-radius: $radius-rounded
|
157
|
+
border-top-right-radius: $radius-rounded
|
158
|
+
padding-right: 1.25em
|
141
159
|
&:last-child a
|
142
|
-
|
143
|
-
|
144
|
-
|
160
|
+
+ltr
|
161
|
+
border-bottom-right-radius: $radius-rounded
|
162
|
+
border-top-right-radius: $radius-rounded
|
163
|
+
padding-right: 1.25em
|
164
|
+
+rtl
|
165
|
+
border-bottom-left-radius: $radius-rounded
|
166
|
+
border-top-left-radius: $radius-rounded
|
167
|
+
padding-left: 1.25em
|
145
168
|
// Sizes
|
146
169
|
&.is-small
|
147
170
|
font-size: $size-small
|
@@ -14,12 +14,13 @@ $button-hover-border-color: $link-hover-border !default
|
|
14
14
|
$button-focus-color: $link-focus !default
|
15
15
|
$button-focus-border-color: $link-focus-border !default
|
16
16
|
$button-focus-box-shadow-size: 0 0 0 0.125em !default
|
17
|
-
$button-focus-box-shadow-color:
|
17
|
+
$button-focus-box-shadow-color: bulmaRgba($link, 0.25) !default
|
18
18
|
|
19
19
|
$button-active-color: $link-active !default
|
20
20
|
$button-active-border-color: $link-active-border !default
|
21
21
|
|
22
22
|
$button-text-color: $text !default
|
23
|
+
$button-text-decoration: underline !default
|
23
24
|
$button-text-hover-background-color: $background !default
|
24
25
|
$button-text-hover-color: $text-strong !default
|
25
26
|
|
@@ -70,11 +71,11 @@ $button-static-border-color: $border !default
|
|
70
71
|
height: 1.5em
|
71
72
|
width: 1.5em
|
72
73
|
&:first-child:not(:last-child)
|
73
|
-
margin
|
74
|
-
margin
|
74
|
+
+ltr-property("margin", calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width}), false)
|
75
|
+
+ltr-property("margin", $button-padding-horizontal / 4)
|
75
76
|
&:last-child:not(:first-child)
|
76
|
-
margin
|
77
|
-
margin
|
77
|
+
+ltr-property("margin", $button-padding-horizontal / 4, false)
|
78
|
+
+ltr-property("margin", calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width}))
|
78
79
|
&:first-child:last-child
|
79
80
|
margin-left: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width})
|
80
81
|
margin-right: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width})
|
@@ -98,7 +99,7 @@ $button-static-border-color: $border !default
|
|
98
99
|
background-color: transparent
|
99
100
|
border-color: transparent
|
100
101
|
color: $button-text-color
|
101
|
-
text-decoration:
|
102
|
+
text-decoration: $button-text-decoration
|
102
103
|
&:hover,
|
103
104
|
&.is-hovered,
|
104
105
|
&:focus,
|
@@ -107,7 +108,7 @@ $button-static-border-color: $border !default
|
|
107
108
|
color: $button-text-hover-color
|
108
109
|
&:active,
|
109
110
|
&.is-active
|
110
|
-
background-color:
|
111
|
+
background-color: bulmaDarken($button-text-hover-background-color, 5%)
|
111
112
|
color: $button-text-hover-color
|
112
113
|
&[disabled],
|
113
114
|
fieldset[disabled] &
|
@@ -123,7 +124,7 @@ $button-static-border-color: $border !default
|
|
123
124
|
color: $color-invert
|
124
125
|
&:hover,
|
125
126
|
&.is-hovered
|
126
|
-
background-color:
|
127
|
+
background-color: bulmaDarken($color, 2.5%)
|
127
128
|
border-color: transparent
|
128
129
|
color: $color-invert
|
129
130
|
&:focus,
|
@@ -131,10 +132,10 @@ $button-static-border-color: $border !default
|
|
131
132
|
border-color: transparent
|
132
133
|
color: $color-invert
|
133
134
|
&:not(:active)
|
134
|
-
box-shadow: $button-focus-box-shadow-size
|
135
|
+
box-shadow: $button-focus-box-shadow-size bulmaRgba($color, 0.25)
|
135
136
|
&:active,
|
136
137
|
&.is-active
|
137
|
-
background-color:
|
138
|
+
background-color: bulmaDarken($color, 5%)
|
138
139
|
border-color: transparent
|
139
140
|
color: $color-invert
|
140
141
|
&[disabled],
|
@@ -147,7 +148,7 @@ $button-static-border-color: $border !default
|
|
147
148
|
color: $color
|
148
149
|
&:hover,
|
149
150
|
&.is-hovered
|
150
|
-
background-color:
|
151
|
+
background-color: bulmaDarken($color-invert, 5%)
|
151
152
|
&[disabled],
|
152
153
|
fieldset[disabled] &
|
153
154
|
background-color: $color-invert
|
@@ -215,12 +216,12 @@ $button-static-border-color: $border !default
|
|
215
216
|
color: $color-dark
|
216
217
|
&:hover,
|
217
218
|
&.is-hovered
|
218
|
-
background-color:
|
219
|
+
background-color: bulmaDarken($color-light, 2.5%)
|
219
220
|
border-color: transparent
|
220
221
|
color: $color-dark
|
221
222
|
&:active,
|
222
223
|
&.is-active
|
223
|
-
background-color:
|
224
|
+
background-color: bulmaDarken($color-light, 5%)
|
224
225
|
border-color: transparent
|
225
226
|
color: $color-dark
|
226
227
|
// Sizes
|
@@ -268,7 +269,7 @@ $button-static-border-color: $border !default
|
|
268
269
|
.button
|
269
270
|
margin-bottom: 0.5rem
|
270
271
|
&:not(:last-child):not(.is-fullwidth)
|
271
|
-
margin
|
272
|
+
+ltr-property("margin", 0.5rem)
|
272
273
|
&:last-child
|
273
274
|
margin-bottom: -0.5rem
|
274
275
|
&:not(:last-child)
|
@@ -291,9 +292,9 @@ $button-static-border-color: $border !default
|
|
291
292
|
&:not(:last-child)
|
292
293
|
border-bottom-right-radius: 0
|
293
294
|
border-top-right-radius: 0
|
294
|
-
margin
|
295
|
+
+ltr-property("margin", -1px)
|
295
296
|
&:last-child
|
296
|
-
margin
|
297
|
+
+ltr-property("margin", 0)
|
297
298
|
&:hover,
|
298
299
|
&.is-hovered
|
299
300
|
z-index: 2
|