bulma-clean-theme 0.7 → 0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +47 -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 +3 -3
- 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/_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/_sass/_layout.scss +4 -0
- data/_sass/_main.scss +2 -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 +86 -5
- data/node_modules/bulma-block-list/docs/demo.css +0 -7212
@@ -67,11 +67,11 @@ $content-table-foot-cell-color: $text-strong !default
|
|
67
67
|
margin-bottom: 1em
|
68
68
|
blockquote
|
69
69
|
background-color: $content-blockquote-background-color
|
70
|
-
border
|
70
|
+
+ltr-property("border", $content-blockquote-border-left, false)
|
71
71
|
padding: $content-blockquote-padding
|
72
72
|
ol
|
73
73
|
list-style-position: outside
|
74
|
-
margin
|
74
|
+
+ltr-property("margin", 2em, false)
|
75
75
|
margin-top: 1em
|
76
76
|
&:not([type])
|
77
77
|
list-style-type: decimal
|
@@ -85,7 +85,7 @@ $content-table-foot-cell-color: $text-strong !default
|
|
85
85
|
list-style-type: upper-roman
|
86
86
|
ul
|
87
87
|
list-style: disc outside
|
88
|
-
margin
|
88
|
+
+ltr-property("margin", 2em, false)
|
89
89
|
margin-top: 1em
|
90
90
|
ul
|
91
91
|
list-style-type: circle
|
@@ -93,7 +93,7 @@ $content-table-foot-cell-color: $text-strong !default
|
|
93
93
|
ul
|
94
94
|
list-style-type: square
|
95
95
|
dd
|
96
|
-
margin
|
96
|
+
+ltr-property("margin", 2em, false)
|
97
97
|
figure
|
98
98
|
margin-left: 2em
|
99
99
|
margin-right: 2em
|
@@ -126,7 +126,7 @@ $content-table-foot-cell-color: $text-strong !default
|
|
126
126
|
th
|
127
127
|
color: $content-table-cell-heading-color
|
128
128
|
&:not([align])
|
129
|
-
text-align:
|
129
|
+
text-align: inherit
|
130
130
|
thead
|
131
131
|
td,
|
132
132
|
th
|
@@ -2,13 +2,18 @@ $notification-background-color: $background !default
|
|
2
2
|
$notification-code-background-color: $scheme-main !default
|
3
3
|
$notification-radius: $radius !default
|
4
4
|
$notification-padding: 1.25rem 2.5rem 1.25rem 1.5rem !default
|
5
|
+
$notification-padding-ltr: 1.25rem 2.5rem 1.25rem 1.5rem !default
|
6
|
+
$notification-padding-rtl: 1.25rem 1.5rem 1.25rem 2.5rem !default
|
5
7
|
|
6
8
|
.notification
|
7
9
|
@extend %block
|
8
10
|
background-color: $notification-background-color
|
9
11
|
border-radius: $notification-radius
|
10
|
-
padding: $notification-padding
|
11
12
|
position: relative
|
13
|
+
+ltr
|
14
|
+
padding: $notification-padding-ltr
|
15
|
+
+rtl
|
16
|
+
padding: $notification-padding-rtl
|
12
17
|
a:not(.button):not(.dropdown-item)
|
13
18
|
color: currentColor
|
14
19
|
text-decoration: underline
|
@@ -20,8 +25,8 @@ $notification-padding: 1.25rem 2.5rem 1.25rem 1.5rem !default
|
|
20
25
|
pre code
|
21
26
|
background: transparent
|
22
27
|
& > .delete
|
28
|
+
+ltr-position(0.5rem)
|
23
29
|
position: absolute
|
24
|
-
right: 0.5rem
|
25
30
|
top: 0.5rem
|
26
31
|
.title,
|
27
32
|
.subtitle,
|
@@ -34,3 +39,10 @@ $notification-padding: 1.25rem 2.5rem 1.25rem 1.5rem !default
|
|
34
39
|
&.is-#{$name}
|
35
40
|
background-color: $color
|
36
41
|
color: $color-invert
|
42
|
+
// If light and dark colors are provided
|
43
|
+
@if length($pair) >= 4
|
44
|
+
$color-light: nth($pair, 3)
|
45
|
+
$color-dark: nth($pair, 4)
|
46
|
+
&.is-light
|
47
|
+
background-color: $color-light
|
48
|
+
color: $color-dark
|
@@ -51,10 +51,12 @@ $table-striped-row-even-hover-background-color: $scheme-main-ter !default
|
|
51
51
|
a,
|
52
52
|
strong
|
53
53
|
color: currentColor
|
54
|
+
&.is-vcentered
|
55
|
+
vertical-align: middle
|
54
56
|
th
|
55
57
|
color: $table-cell-heading-color
|
56
58
|
&:not([align])
|
57
|
-
text-align:
|
59
|
+
text-align: inherit
|
58
60
|
tr
|
59
61
|
&.is-selected
|
60
62
|
background-color: $table-row-active-background-color
|
@@ -11,7 +11,7 @@ $tag-delete-margin: 1px !default
|
|
11
11
|
.tag
|
12
12
|
margin-bottom: 0.5rem
|
13
13
|
&:not(:last-child)
|
14
|
-
margin
|
14
|
+
+ltr-property("margin", 0.5rem)
|
15
15
|
&:last-child
|
16
16
|
margin-bottom: -0.5rem
|
17
17
|
&:not(:last-child)
|
@@ -37,14 +37,22 @@ $tag-delete-margin: 1px !default
|
|
37
37
|
margin-right: 0
|
38
38
|
&.has-addons
|
39
39
|
.tag
|
40
|
-
margin
|
40
|
+
+ltr-property("margin", 0)
|
41
41
|
&:not(:first-child)
|
42
|
-
margin
|
43
|
-
|
44
|
-
|
42
|
+
+ltr-property("margin", 0, false)
|
43
|
+
+ltr
|
44
|
+
border-top-left-radius: 0
|
45
|
+
border-bottom-left-radius: 0
|
46
|
+
+rtl
|
47
|
+
border-top-right-radius: 0
|
48
|
+
border-bottom-right-radius: 0
|
45
49
|
&:not(:last-child)
|
46
|
-
|
47
|
-
|
50
|
+
+ltr
|
51
|
+
border-top-right-radius: 0
|
52
|
+
border-bottom-right-radius: 0
|
53
|
+
+rtl
|
54
|
+
border-top-left-radius: 0
|
55
|
+
border-bottom-left-radius: 0
|
48
56
|
|
49
57
|
.tag:not(body)
|
50
58
|
align-items: center
|
@@ -60,8 +68,8 @@ $tag-delete-margin: 1px !default
|
|
60
68
|
padding-right: 0.75em
|
61
69
|
white-space: nowrap
|
62
70
|
.delete
|
63
|
-
margin
|
64
|
-
margin
|
71
|
+
+ltr-property("margin", 0.25rem, false)
|
72
|
+
+ltr-property("margin", -0.375rem)
|
65
73
|
// Colors
|
66
74
|
@each $name, $pair in $colors
|
67
75
|
$color: nth($pair, 1)
|
@@ -85,17 +93,17 @@ $tag-delete-margin: 1px !default
|
|
85
93
|
font-size: $size-medium
|
86
94
|
.icon
|
87
95
|
&:first-child:not(:last-child)
|
88
|
-
margin
|
89
|
-
margin
|
96
|
+
+ltr-property("margin", -0.375em, false)
|
97
|
+
+ltr-property("margin", 0.1875em)
|
90
98
|
&:last-child:not(:first-child)
|
91
|
-
margin
|
92
|
-
margin
|
99
|
+
+ltr-property("margin", 0.1875em, false)
|
100
|
+
+ltr-property("margin", -0.375em)
|
93
101
|
&:first-child:last-child
|
94
|
-
margin
|
95
|
-
margin
|
102
|
+
+ltr-property("margin", -0.375em, false)
|
103
|
+
+ltr-property("margin", -0.375em)
|
96
104
|
// Modifiers
|
97
105
|
&.is-delete
|
98
|
-
margin
|
106
|
+
+ltr-property("margin", $tag-delete-margin, false)
|
99
107
|
padding: 0
|
100
108
|
position: relative
|
101
109
|
width: 2em
|
@@ -29,19 +29,19 @@ $file-name-max-width: 16em !default
|
|
29
29
|
&:hover,
|
30
30
|
&.is-hovered
|
31
31
|
.file-cta
|
32
|
-
background-color:
|
32
|
+
background-color: bulmaDarken($color, 2.5%)
|
33
33
|
border-color: transparent
|
34
34
|
color: $color-invert
|
35
35
|
&:focus,
|
36
36
|
&.is-focused
|
37
37
|
.file-cta
|
38
38
|
border-color: transparent
|
39
|
-
box-shadow: 0 0 0.5em
|
39
|
+
box-shadow: 0 0 0.5em bulmaRgba($color, 0.25)
|
40
40
|
color: $color-invert
|
41
41
|
&:active,
|
42
42
|
&.is-active
|
43
43
|
.file-cta
|
44
|
-
background-color:
|
44
|
+
background-color: bulmaDarken($color, 5%)
|
45
45
|
border-color: transparent
|
46
46
|
color: $color-invert
|
47
47
|
// Sizes
|
@@ -125,16 +125,16 @@ $file-name-max-width: 16em !default
|
|
125
125
|
position: relative
|
126
126
|
&:hover
|
127
127
|
.file-cta
|
128
|
-
background-color:
|
128
|
+
background-color: bulmaDarken($file-cta-background-color, 2.5%)
|
129
129
|
color: $file-cta-hover-color
|
130
130
|
.file-name
|
131
|
-
border-color:
|
131
|
+
border-color: bulmaDarken($file-name-border-color, 2.5%)
|
132
132
|
&:active
|
133
133
|
.file-cta
|
134
|
-
background-color:
|
134
|
+
background-color: bulmaDarken($file-cta-background-color, 5%)
|
135
135
|
color: $file-cta-active-color
|
136
136
|
.file-name
|
137
|
-
border-color:
|
137
|
+
border-color: bulmaDarken($file-name-border-color, 5%)
|
138
138
|
|
139
139
|
.file-input
|
140
140
|
height: 100%
|
@@ -166,7 +166,7 @@ $file-name-max-width: 16em !default
|
|
166
166
|
display: block
|
167
167
|
max-width: $file-name-max-width
|
168
168
|
overflow: hidden
|
169
|
-
text-align:
|
169
|
+
text-align: inherit
|
170
170
|
text-overflow: ellipsis
|
171
171
|
|
172
172
|
.file-icon
|
@@ -174,7 +174,7 @@ $file-name-max-width: 16em !default
|
|
174
174
|
display: flex
|
175
175
|
height: 1em
|
176
176
|
justify-content: center
|
177
|
-
margin
|
177
|
+
+ltr-property("margin", 0.5em)
|
178
178
|
width: 1em
|
179
179
|
.fa
|
180
180
|
font-size: 14px
|
@@ -9,12 +9,12 @@
|
|
9
9
|
&::after
|
10
10
|
@extend %arrow
|
11
11
|
border-color: $input-arrow
|
12
|
-
|
12
|
+
+ltr-position(1.125em)
|
13
13
|
z-index: 4
|
14
14
|
&.is-rounded
|
15
15
|
select
|
16
16
|
border-radius: $radius-rounded
|
17
|
-
padding
|
17
|
+
+ltr-property("padding", 1em, false)
|
18
18
|
select
|
19
19
|
@extend %input
|
20
20
|
cursor: pointer
|
@@ -28,7 +28,7 @@
|
|
28
28
|
fieldset[disabled] &:hover
|
29
29
|
border-color: $input-disabled-border-color
|
30
30
|
&:not([multiple])
|
31
|
-
padding
|
31
|
+
+ltr-property("padding", 2.5em)
|
32
32
|
&[multiple]
|
33
33
|
height: auto
|
34
34
|
padding: 0
|
@@ -48,12 +48,12 @@
|
|
48
48
|
border-color: $color
|
49
49
|
&:hover,
|
50
50
|
&.is-hovered
|
51
|
-
border-color:
|
51
|
+
border-color: bulmaDarken($color, 5%)
|
52
52
|
&:focus,
|
53
53
|
&.is-focused,
|
54
54
|
&:active,
|
55
55
|
&.is-active
|
56
|
-
box-shadow: $input-focus-box-shadow-size
|
56
|
+
box-shadow: $input-focus-box-shadow-size bulmaRgba($color, 0.25)
|
57
57
|
// Sizes
|
58
58
|
&.is-small
|
59
59
|
+control-small
|
@@ -74,7 +74,7 @@
|
|
74
74
|
@extend %loader
|
75
75
|
margin-top: 0
|
76
76
|
position: absolute
|
77
|
-
|
77
|
+
+ltr-position(0.625em)
|
78
78
|
top: 0.625em
|
79
79
|
transform: none
|
80
80
|
&.is-small:after
|
@@ -3,7 +3,7 @@ $input-background-color: $scheme-main !default
|
|
3
3
|
$input-border-color: $border !default
|
4
4
|
$input-height: $control-height !default
|
5
5
|
$input-shadow: inset 0 0.0625em 0.125em rgba($scheme-invert, 0.05) !default
|
6
|
-
$input-placeholder-color:
|
6
|
+
$input-placeholder-color: bulmaRgba($input-color, 0.3) !default
|
7
7
|
|
8
8
|
$input-hover-color: $text-strong !default
|
9
9
|
$input-hover-border-color: $border-hover !default
|
@@ -11,12 +11,12 @@ $input-hover-border-color: $border-hover !default
|
|
11
11
|
$input-focus-color: $text-strong !default
|
12
12
|
$input-focus-border-color: $link !default
|
13
13
|
$input-focus-box-shadow-size: 0 0 0 0.125em !default
|
14
|
-
$input-focus-box-shadow-color:
|
14
|
+
$input-focus-box-shadow-color: bulmaRgba($link, 0.25) !default
|
15
15
|
|
16
16
|
$input-disabled-color: $text-light !default
|
17
17
|
$input-disabled-background-color: $background !default
|
18
18
|
$input-disabled-border-color: $background !default
|
19
|
-
$input-disabled-placeholder-color:
|
19
|
+
$input-disabled-placeholder-color: bulmaRgba($input-disabled-color, 0.3) !default
|
20
20
|
|
21
21
|
$input-arrow: $link !default
|
22
22
|
|
@@ -38,7 +38,7 @@ $help-size: $size-small !default
|
|
38
38
|
justify-content: flex-start
|
39
39
|
.control
|
40
40
|
&:not(:last-child)
|
41
|
-
margin
|
41
|
+
+ltr-property("margin", -1px)
|
42
42
|
&:not(:first-child):not(:last-child)
|
43
43
|
.button,
|
44
44
|
.input,
|
@@ -48,14 +48,22 @@ $help-size: $size-small !default
|
|
48
48
|
.button,
|
49
49
|
.input,
|
50
50
|
.select select
|
51
|
-
|
52
|
-
|
51
|
+
+ltr
|
52
|
+
border-bottom-right-radius: 0
|
53
|
+
border-top-right-radius: 0
|
54
|
+
+rtl
|
55
|
+
border-bottom-left-radius: 0
|
56
|
+
border-top-left-radius: 0
|
53
57
|
&:last-child:not(:only-child)
|
54
58
|
.button,
|
55
59
|
.input,
|
56
60
|
.select select
|
57
|
-
|
58
|
-
|
61
|
+
+ltr
|
62
|
+
border-bottom-left-radius: 0
|
63
|
+
border-top-left-radius: 0
|
64
|
+
+rtl
|
65
|
+
border-bottom-right-radius: 0
|
66
|
+
border-top-right-radius: 0
|
59
67
|
.button,
|
60
68
|
.input,
|
61
69
|
.select select
|
@@ -88,7 +96,7 @@ $help-size: $size-small !default
|
|
88
96
|
flex-shrink: 0
|
89
97
|
&:not(:last-child)
|
90
98
|
margin-bottom: 0
|
91
|
-
margin
|
99
|
+
+ltr-property("margin", 0.75rem)
|
92
100
|
&.is-expanded
|
93
101
|
flex-grow: 1
|
94
102
|
flex-shrink: 1
|
@@ -119,7 +127,7 @@ $help-size: $size-small !default
|
|
119
127
|
flex-basis: 0
|
120
128
|
flex-grow: 1
|
121
129
|
flex-shrink: 0
|
122
|
-
margin
|
130
|
+
+ltr-property("margin", 1.5rem)
|
123
131
|
text-align: right
|
124
132
|
&.is-small
|
125
133
|
font-size: $size-small
|
@@ -148,14 +156,14 @@ $help-size: $size-small !default
|
|
148
156
|
&:not(.is-narrow)
|
149
157
|
flex-grow: 1
|
150
158
|
&:not(:last-child)
|
151
|
-
margin
|
159
|
+
+ltr-property("margin", 0.75rem)
|
152
160
|
|
153
161
|
.control
|
154
162
|
box-sizing: border-box
|
155
163
|
clear: both
|
156
164
|
font-size: $size-normal
|
157
165
|
position: relative
|
158
|
-
text-align:
|
166
|
+
text-align: inherit
|
159
167
|
// Modifiers
|
160
168
|
&.has-icons-left,
|
161
169
|
&.has-icons-right
|
@@ -194,7 +202,7 @@ $help-size: $size-small !default
|
|
194
202
|
&::after
|
195
203
|
@extend %loader
|
196
204
|
position: absolute !important
|
197
|
-
|
205
|
+
+ltr-position(0.625em)
|
198
206
|
top: 0.625em
|
199
207
|
z-index: 4
|
200
208
|
&.is-small:after
|
@@ -0,0 +1,37 @@
|
|
1
|
+
@each $name, $pair in $colors
|
2
|
+
$color: nth($pair, 1)
|
3
|
+
.has-text-#{$name}
|
4
|
+
color: $color !important
|
5
|
+
a.has-text-#{$name}
|
6
|
+
&:hover,
|
7
|
+
&:focus
|
8
|
+
color: bulmaDarken($color, 10%) !important
|
9
|
+
.has-background-#{$name}
|
10
|
+
background-color: $color !important
|
11
|
+
@if length($pair) >= 4
|
12
|
+
$color-light: nth($pair, 3)
|
13
|
+
$color-dark: nth($pair, 4)
|
14
|
+
// Light
|
15
|
+
.has-text-#{$name}-light
|
16
|
+
color: $color-light !important
|
17
|
+
a.has-text-#{$name}-light
|
18
|
+
&:hover,
|
19
|
+
&:focus
|
20
|
+
color: bulmaDarken($color-light, 10%) !important
|
21
|
+
.has-background-#{$name}-light
|
22
|
+
background-color: $color-light !important
|
23
|
+
// Dark
|
24
|
+
.has-text-#{$name}-dark
|
25
|
+
color: $color-dark !important
|
26
|
+
a.has-text-#{$name}-dark
|
27
|
+
&:hover,
|
28
|
+
&:focus
|
29
|
+
color: bulmaLighten($color-dark, 10%) !important
|
30
|
+
.has-background-#{$name}-dark
|
31
|
+
background-color: $color-dark !important
|
32
|
+
|
33
|
+
@each $name, $shade in $shades
|
34
|
+
.has-text-#{$name}
|
35
|
+
color: $shade !important
|
36
|
+
.has-background-#{$name}
|
37
|
+
background-color: $shade !important
|