bulma-rails 0.8.0 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/assets/stylesheets/bulma.sass +2 -1
- data/app/assets/stylesheets/sass/base/_all.sass +4 -3
- data/app/assets/stylesheets/sass/base/animations.sass +5 -0
- data/app/assets/stylesheets/sass/base/generic.sass +4 -1
- data/app/assets/stylesheets/sass/base/helpers.sass +1 -281
- data/app/assets/stylesheets/sass/base/minireset.sass +1 -1
- data/app/assets/stylesheets/sass/components/_all.sass +13 -13
- data/app/assets/stylesheets/sass/components/breadcrumb.sass +5 -3
- data/app/assets/stylesheets/sass/components/card.sass +24 -1
- data/app/assets/stylesheets/sass/components/dropdown.sass +5 -3
- data/app/assets/stylesheets/sass/components/level.sass +4 -2
- data/app/assets/stylesheets/sass/components/media.sass +25 -16
- data/app/assets/stylesheets/sass/components/menu.sass +4 -2
- data/app/assets/stylesheets/sass/components/message.sass +3 -1
- data/app/assets/stylesheets/sass/components/modal.sass +8 -4
- data/app/assets/stylesheets/sass/components/navbar.sass +23 -21
- data/app/assets/stylesheets/sass/components/pagination.sass +11 -3
- data/app/assets/stylesheets/sass/components/panel.sass +4 -2
- data/app/assets/stylesheets/sass/components/tabs.sass +37 -12
- data/app/assets/stylesheets/sass/elements/_all.sass +13 -12
- data/app/assets/stylesheets/sass/elements/box.sass +2 -0
- data/app/assets/stylesheets/sass/elements/button.sass +41 -18
- data/app/assets/stylesheets/sass/elements/container.sass +12 -7
- data/app/assets/stylesheets/sass/elements/content.sass +7 -5
- data/app/assets/stylesheets/sass/elements/icon.sass +19 -0
- data/app/assets/stylesheets/sass/elements/image.sass +2 -0
- data/app/assets/stylesheets/sass/elements/notification.sass +19 -3
- data/app/assets/stylesheets/sass/elements/other.sass +2 -0
- data/app/assets/stylesheets/sass/elements/progress.sass +7 -1
- data/app/assets/stylesheets/sass/elements/table.sass +8 -2
- data/app/assets/stylesheets/sass/elements/tag.sass +29 -17
- data/app/assets/stylesheets/sass/elements/title.sass +2 -0
- data/app/assets/stylesheets/sass/form/_all.sass +7 -6
- data/app/assets/stylesheets/sass/form/checkbox-radio.sass +3 -2
- data/app/assets/stylesheets/sass/form/file.sass +12 -10
- data/app/assets/stylesheets/sass/form/input-textarea.sass +4 -2
- data/app/assets/stylesheets/sass/form/select.sass +9 -7
- data/app/assets/stylesheets/sass/form/shared.sass +8 -3
- data/app/assets/stylesheets/sass/form/tools.sass +21 -11
- data/app/assets/stylesheets/sass/grid/_all.sass +3 -2
- data/app/assets/stylesheets/sass/grid/columns.sass +86 -77
- data/app/assets/stylesheets/sass/grid/tiles.sass +2 -0
- data/app/assets/stylesheets/sass/helpers/_all.sass +12 -0
- data/app/assets/stylesheets/sass/helpers/color.sass +39 -0
- data/app/assets/stylesheets/sass/helpers/flexbox.sass +35 -0
- data/app/assets/stylesheets/sass/helpers/float.sass +10 -0
- data/app/assets/stylesheets/sass/helpers/other.sass +14 -0
- data/app/assets/stylesheets/sass/helpers/overflow.sass +2 -0
- data/app/assets/stylesheets/sass/helpers/position.sass +7 -0
- data/app/assets/stylesheets/sass/helpers/spacing.sass +31 -0
- data/app/assets/stylesheets/sass/helpers/typography.sass +100 -0
- data/app/assets/stylesheets/sass/helpers/visibility.sass +122 -0
- data/app/assets/stylesheets/sass/layout/_all.sass +4 -3
- data/app/assets/stylesheets/sass/layout/footer.sass +2 -0
- data/app/assets/stylesheets/sass/layout/hero.sass +27 -21
- data/app/assets/stylesheets/sass/layout/section.sass +2 -0
- data/app/assets/stylesheets/sass/utilities/_all.sass +7 -6
- data/app/assets/stylesheets/sass/utilities/animations.sass +1 -5
- data/app/assets/stylesheets/sass/utilities/controls.sass +2 -3
- data/app/assets/stylesheets/sass/utilities/derived-variables.sass +5 -1
- data/app/assets/stylesheets/sass/utilities/extends.sass +22 -0
- data/app/assets/stylesheets/sass/utilities/functions.sass +17 -0
- data/app/assets/stylesheets/sass/utilities/initial-variables.sass +1 -0
- data/app/assets/stylesheets/sass/utilities/mixins.sass +30 -23
- data/bulma-rails.gemspec +1 -1
- metadata +18 -7
- data/app/assets/stylesheets/sass/components/list.sass +0 -39
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab8722d0592d514a63e177a4a3d060b320bd5902677793319dbd83f5a73f0cf3
|
4
|
+
data.tar.gz: a7b21a9651aeaea722a8247923741e75ecc3dff593f36dd4e3f80094459a23f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f4a888d63dca6673ca7776699510a0dab6900d5d047f022950bf29073fc934fd139d0601b450fc451706360e9ab8057e930f2112bccec1d411f6f51d8337d39
|
7
|
+
data.tar.gz: 01f77a36af7b192105dc3d3613f1aa979f4e0f416ca693f8d69280b930e1d9088ce3989a56a31bf8da70d744b4d02c04b7538e268007c40b561dc5d11cf546b9
|
data/README.md
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
@charset "utf-8"
|
2
|
-
/*! bulma.io v0.
|
2
|
+
/*! bulma.io v0.9.2 | MIT License | github.com/jgthms/bulma */
|
3
3
|
@import "sass/utilities/_all"
|
4
4
|
@import "sass/base/_all"
|
5
5
|
@import "sass/elements/_all"
|
6
6
|
@import "sass/form/_all"
|
7
7
|
@import "sass/components/_all"
|
8
8
|
@import "sass/grid/_all"
|
9
|
+
@import "sass/helpers/_all"
|
9
10
|
@import "sass/layout/_all"
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@import "../utilities/mixins"
|
2
|
+
|
1
3
|
$body-background-color: $scheme-main !default
|
2
4
|
$body-size: 16px !default
|
3
5
|
$body-min-width: 300px !default
|
@@ -52,6 +54,7 @@ section
|
|
52
54
|
body,
|
53
55
|
button,
|
54
56
|
input,
|
57
|
+
optgroup,
|
55
58
|
select,
|
56
59
|
textarea
|
57
60
|
font-family: $body-family
|
@@ -137,6 +140,6 @@ table
|
|
137
140
|
th
|
138
141
|
vertical-align: top
|
139
142
|
&:not([align])
|
140
|
-
text-align:
|
143
|
+
text-align: inherit
|
141
144
|
th
|
142
145
|
color: $text-strong
|
@@ -1,281 +1 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
.is-clearfix
|
4
|
-
+clearfix
|
5
|
-
|
6
|
-
.is-pulled-left
|
7
|
-
float: left !important
|
8
|
-
|
9
|
-
.is-pulled-right
|
10
|
-
float: right !important
|
11
|
-
|
12
|
-
// Overflow
|
13
|
-
|
14
|
-
.is-clipped
|
15
|
-
overflow: hidden !important
|
16
|
-
|
17
|
-
// Overlay
|
18
|
-
|
19
|
-
.is-overlay
|
20
|
-
@extend %overlay
|
21
|
-
|
22
|
-
// Typography
|
23
|
-
|
24
|
-
=typography-size($target:'')
|
25
|
-
@each $size in $sizes
|
26
|
-
$i: index($sizes, $size)
|
27
|
-
.is-size-#{$i}#{if($target == '', '', '-' + $target)}
|
28
|
-
font-size: $size !important
|
29
|
-
|
30
|
-
+typography-size()
|
31
|
-
|
32
|
-
+mobile
|
33
|
-
+typography-size('mobile')
|
34
|
-
|
35
|
-
+tablet
|
36
|
-
+typography-size('tablet')
|
37
|
-
|
38
|
-
+touch
|
39
|
-
+typography-size('touch')
|
40
|
-
|
41
|
-
+desktop
|
42
|
-
+typography-size('desktop')
|
43
|
-
|
44
|
-
+widescreen
|
45
|
-
+typography-size('widescreen')
|
46
|
-
|
47
|
-
+fullhd
|
48
|
-
+typography-size('fullhd')
|
49
|
-
|
50
|
-
$alignments: ('centered': 'center', 'justified': 'justify', 'left': 'left', 'right': 'right')
|
51
|
-
|
52
|
-
@each $alignment, $text-align in $alignments
|
53
|
-
.has-text-#{$alignment}
|
54
|
-
text-align: #{$text-align} !important
|
55
|
-
|
56
|
-
@each $alignment, $text-align in $alignments
|
57
|
-
+mobile
|
58
|
-
.has-text-#{$alignment}-mobile
|
59
|
-
text-align: #{$text-align} !important
|
60
|
-
+tablet
|
61
|
-
.has-text-#{$alignment}-tablet
|
62
|
-
text-align: #{$text-align} !important
|
63
|
-
+tablet-only
|
64
|
-
.has-text-#{$alignment}-tablet-only
|
65
|
-
text-align: #{$text-align} !important
|
66
|
-
+touch
|
67
|
-
.has-text-#{$alignment}-touch
|
68
|
-
text-align: #{$text-align} !important
|
69
|
-
+desktop
|
70
|
-
.has-text-#{$alignment}-desktop
|
71
|
-
text-align: #{$text-align} !important
|
72
|
-
+desktop-only
|
73
|
-
.has-text-#{$alignment}-desktop-only
|
74
|
-
text-align: #{$text-align} !important
|
75
|
-
+widescreen
|
76
|
-
.has-text-#{$alignment}-widescreen
|
77
|
-
text-align: #{$text-align} !important
|
78
|
-
+widescreen-only
|
79
|
-
.has-text-#{$alignment}-widescreen-only
|
80
|
-
text-align: #{$text-align} !important
|
81
|
-
+fullhd
|
82
|
-
.has-text-#{$alignment}-fullhd
|
83
|
-
text-align: #{$text-align} !important
|
84
|
-
|
85
|
-
.is-capitalized
|
86
|
-
text-transform: capitalize !important
|
87
|
-
|
88
|
-
.is-lowercase
|
89
|
-
text-transform: lowercase !important
|
90
|
-
|
91
|
-
.is-uppercase
|
92
|
-
text-transform: uppercase !important
|
93
|
-
|
94
|
-
.is-italic
|
95
|
-
font-style: italic !important
|
96
|
-
|
97
|
-
@each $name, $pair in $colors
|
98
|
-
$color: nth($pair, 1)
|
99
|
-
.has-text-#{$name}
|
100
|
-
color: $color !important
|
101
|
-
a.has-text-#{$name}
|
102
|
-
&:hover,
|
103
|
-
&:focus
|
104
|
-
color: darken($color, 10%) !important
|
105
|
-
.has-background-#{$name}
|
106
|
-
background-color: $color !important
|
107
|
-
|
108
|
-
@each $name, $shade in $shades
|
109
|
-
.has-text-#{$name}
|
110
|
-
color: $shade !important
|
111
|
-
.has-background-#{$name}
|
112
|
-
background-color: $shade !important
|
113
|
-
|
114
|
-
.has-text-weight-light
|
115
|
-
font-weight: $weight-light !important
|
116
|
-
.has-text-weight-normal
|
117
|
-
font-weight: $weight-normal !important
|
118
|
-
.has-text-weight-medium
|
119
|
-
font-weight: $weight-medium !important
|
120
|
-
.has-text-weight-semibold
|
121
|
-
font-weight: $weight-semibold !important
|
122
|
-
.has-text-weight-bold
|
123
|
-
font-weight: $weight-bold !important
|
124
|
-
|
125
|
-
.is-family-primary
|
126
|
-
font-family: $family-primary !important
|
127
|
-
|
128
|
-
.is-family-secondary
|
129
|
-
font-family: $family-secondary !important
|
130
|
-
|
131
|
-
.is-family-sans-serif
|
132
|
-
font-family: $family-sans-serif !important
|
133
|
-
|
134
|
-
.is-family-monospace
|
135
|
-
font-family: $family-monospace !important
|
136
|
-
|
137
|
-
.is-family-code
|
138
|
-
font-family: $family-code !important
|
139
|
-
|
140
|
-
// Visibility
|
141
|
-
|
142
|
-
$displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex'
|
143
|
-
|
144
|
-
@each $display in $displays
|
145
|
-
.is-#{$display}
|
146
|
-
display: #{$display} !important
|
147
|
-
+mobile
|
148
|
-
.is-#{$display}-mobile
|
149
|
-
display: #{$display} !important
|
150
|
-
+tablet
|
151
|
-
.is-#{$display}-tablet
|
152
|
-
display: #{$display} !important
|
153
|
-
+tablet-only
|
154
|
-
.is-#{$display}-tablet-only
|
155
|
-
display: #{$display} !important
|
156
|
-
+touch
|
157
|
-
.is-#{$display}-touch
|
158
|
-
display: #{$display} !important
|
159
|
-
+desktop
|
160
|
-
.is-#{$display}-desktop
|
161
|
-
display: #{$display} !important
|
162
|
-
+desktop-only
|
163
|
-
.is-#{$display}-desktop-only
|
164
|
-
display: #{$display} !important
|
165
|
-
+widescreen
|
166
|
-
.is-#{$display}-widescreen
|
167
|
-
display: #{$display} !important
|
168
|
-
+widescreen-only
|
169
|
-
.is-#{$display}-widescreen-only
|
170
|
-
display: #{$display} !important
|
171
|
-
+fullhd
|
172
|
-
.is-#{$display}-fullhd
|
173
|
-
display: #{$display} !important
|
174
|
-
|
175
|
-
.is-hidden
|
176
|
-
display: none !important
|
177
|
-
|
178
|
-
.is-sr-only
|
179
|
-
border: none !important
|
180
|
-
clip: rect(0, 0, 0, 0) !important
|
181
|
-
height: 0.01em !important
|
182
|
-
overflow: hidden !important
|
183
|
-
padding: 0 !important
|
184
|
-
position: absolute !important
|
185
|
-
white-space: nowrap !important
|
186
|
-
width: 0.01em !important
|
187
|
-
|
188
|
-
+mobile
|
189
|
-
.is-hidden-mobile
|
190
|
-
display: none !important
|
191
|
-
|
192
|
-
+tablet
|
193
|
-
.is-hidden-tablet
|
194
|
-
display: none !important
|
195
|
-
|
196
|
-
+tablet-only
|
197
|
-
.is-hidden-tablet-only
|
198
|
-
display: none !important
|
199
|
-
|
200
|
-
+touch
|
201
|
-
.is-hidden-touch
|
202
|
-
display: none !important
|
203
|
-
|
204
|
-
+desktop
|
205
|
-
.is-hidden-desktop
|
206
|
-
display: none !important
|
207
|
-
|
208
|
-
+desktop-only
|
209
|
-
.is-hidden-desktop-only
|
210
|
-
display: none !important
|
211
|
-
|
212
|
-
+widescreen
|
213
|
-
.is-hidden-widescreen
|
214
|
-
display: none !important
|
215
|
-
|
216
|
-
+widescreen-only
|
217
|
-
.is-hidden-widescreen-only
|
218
|
-
display: none !important
|
219
|
-
|
220
|
-
+fullhd
|
221
|
-
.is-hidden-fullhd
|
222
|
-
display: none !important
|
223
|
-
|
224
|
-
.is-invisible
|
225
|
-
visibility: hidden !important
|
226
|
-
|
227
|
-
+mobile
|
228
|
-
.is-invisible-mobile
|
229
|
-
visibility: hidden !important
|
230
|
-
|
231
|
-
+tablet
|
232
|
-
.is-invisible-tablet
|
233
|
-
visibility: hidden !important
|
234
|
-
|
235
|
-
+tablet-only
|
236
|
-
.is-invisible-tablet-only
|
237
|
-
visibility: hidden !important
|
238
|
-
|
239
|
-
+touch
|
240
|
-
.is-invisible-touch
|
241
|
-
visibility: hidden !important
|
242
|
-
|
243
|
-
+desktop
|
244
|
-
.is-invisible-desktop
|
245
|
-
visibility: hidden !important
|
246
|
-
|
247
|
-
+desktop-only
|
248
|
-
.is-invisible-desktop-only
|
249
|
-
visibility: hidden !important
|
250
|
-
|
251
|
-
+widescreen
|
252
|
-
.is-invisible-widescreen
|
253
|
-
visibility: hidden !important
|
254
|
-
|
255
|
-
+widescreen-only
|
256
|
-
.is-invisible-widescreen-only
|
257
|
-
visibility: hidden !important
|
258
|
-
|
259
|
-
+fullhd
|
260
|
-
.is-invisible-fullhd
|
261
|
-
visibility: hidden !important
|
262
|
-
|
263
|
-
// Other
|
264
|
-
|
265
|
-
.is-marginless
|
266
|
-
margin: 0 !important
|
267
|
-
|
268
|
-
.is-paddingless
|
269
|
-
padding: 0 !important
|
270
|
-
|
271
|
-
.is-radiusless
|
272
|
-
border-radius: 0 !important
|
273
|
-
|
274
|
-
.is-shadowless
|
275
|
-
box-shadow: none !important
|
276
|
-
|
277
|
-
.is-unselectable
|
278
|
-
@extend %unselectable
|
279
|
-
|
280
|
-
.is-relative
|
281
|
-
position: relative !important
|
1
|
+
@warn "The helpers.sass file is DEPRECATED. It has moved into its own /helpers folder. Please import sass/helpers/_all instead."
|
@@ -1,15 +1,15 @@
|
|
1
|
+
/* Bulma Components */
|
1
2
|
@charset "utf-8"
|
2
3
|
|
3
|
-
@import "breadcrumb
|
4
|
-
@import "card
|
5
|
-
@import "dropdown
|
6
|
-
@import "level
|
7
|
-
@import "
|
8
|
-
@import "
|
9
|
-
@import "
|
10
|
-
@import "
|
11
|
-
@import "
|
12
|
-
@import "
|
13
|
-
@import "
|
14
|
-
@import "
|
15
|
-
@import "tabs.sass"
|
4
|
+
@import "breadcrumb"
|
5
|
+
@import "card"
|
6
|
+
@import "dropdown"
|
7
|
+
@import "level"
|
8
|
+
@import "media"
|
9
|
+
@import "menu"
|
10
|
+
@import "message"
|
11
|
+
@import "modal"
|
12
|
+
@import "navbar"
|
13
|
+
@import "pagination"
|
14
|
+
@import "panel"
|
15
|
+
@import "tabs"
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@import "../utilities/mixins"
|
2
|
+
|
1
3
|
$breadcrumb-item-color: $link !default
|
2
4
|
$breadcrumb-item-hover-color: $link-hover !default
|
3
5
|
$breadcrumb-item-active-color: $text-strong !default
|
@@ -24,7 +26,7 @@ $breadcrumb-item-separator-color: $border-hover !default
|
|
24
26
|
align-items: center
|
25
27
|
display: flex
|
26
28
|
&:first-child a
|
27
|
-
padding
|
29
|
+
+ltr-property("padding", 0, false)
|
28
30
|
&.is-active
|
29
31
|
a
|
30
32
|
color: $breadcrumb-item-active-color
|
@@ -41,9 +43,9 @@ $breadcrumb-item-separator-color: $border-hover !default
|
|
41
43
|
justify-content: flex-start
|
42
44
|
.icon
|
43
45
|
&:first-child
|
44
|
-
margin
|
46
|
+
+ltr-property("margin", 0.5em)
|
45
47
|
&:last-child
|
46
|
-
margin
|
48
|
+
+ltr-property("margin", 0.5em, false)
|
47
49
|
// Alignment
|
48
50
|
&.is-centered
|
49
51
|
ol,
|
@@ -1,6 +1,9 @@
|
|
1
|
+
@import "../utilities/mixins"
|
2
|
+
|
1
3
|
$card-color: $text !default
|
2
4
|
$card-background-color: $scheme-main !default
|
3
5
|
$card-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default
|
6
|
+
$card-radius: 0.25rem !default
|
4
7
|
|
5
8
|
$card-header-background-color: transparent !default
|
6
9
|
$card-header-color: $text-strong !default
|
@@ -19,12 +22,22 @@ $card-media-margin: $block-spacing !default
|
|
19
22
|
|
20
23
|
.card
|
21
24
|
background-color: $card-background-color
|
25
|
+
border-radius: $card-radius
|
22
26
|
box-shadow: $card-shadow
|
23
27
|
color: $card-color
|
24
28
|
max-width: 100%
|
25
29
|
position: relative
|
26
30
|
|
31
|
+
%card-item
|
32
|
+
&:first-child
|
33
|
+
border-top-left-radius: $card-radius
|
34
|
+
border-top-right-radius: $card-radius
|
35
|
+
&:last-child
|
36
|
+
border-bottom-left-radius: $card-radius
|
37
|
+
border-bottom-right-radius: $card-radius
|
38
|
+
|
27
39
|
.card-header
|
40
|
+
@extend %card-item
|
28
41
|
background-color: $card-header-background-color
|
29
42
|
align-items: stretch
|
30
43
|
box-shadow: $card-header-shadow
|
@@ -50,12 +63,22 @@ $card-media-margin: $block-spacing !default
|
|
50
63
|
.card-image
|
51
64
|
display: block
|
52
65
|
position: relative
|
66
|
+
&:first-child
|
67
|
+
img
|
68
|
+
border-top-left-radius: $card-radius
|
69
|
+
border-top-right-radius: $card-radius
|
70
|
+
&:last-child
|
71
|
+
img
|
72
|
+
border-bottom-left-radius: $card-radius
|
73
|
+
border-bottom-right-radius: $card-radius
|
53
74
|
|
54
75
|
.card-content
|
76
|
+
@extend %card-item
|
55
77
|
background-color: $card-content-background-color
|
56
78
|
padding: $card-content-padding
|
57
79
|
|
58
80
|
.card-footer
|
81
|
+
@extend %card-item
|
59
82
|
background-color: $card-footer-background-color
|
60
83
|
border-top: $card-footer-border-top
|
61
84
|
align-items: stretch
|
@@ -70,7 +93,7 @@ $card-media-margin: $block-spacing !default
|
|
70
93
|
justify-content: center
|
71
94
|
padding: $card-footer-padding
|
72
95
|
&:not(:last-child)
|
73
|
-
border
|
96
|
+
+ltr-property("border", $card-footer-border-top)
|
74
97
|
|
75
98
|
// Combinations
|
76
99
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@import "../utilities/mixins"
|
2
|
+
|
1
3
|
$dropdown-menu-min-width: 12rem !default
|
2
4
|
|
3
5
|
$dropdown-content-background-color: $scheme-main !default
|
@@ -38,7 +40,7 @@ $dropdown-divider-background-color: $border-light !default
|
|
38
40
|
|
39
41
|
.dropdown-menu
|
40
42
|
display: none
|
41
|
-
|
43
|
+
+ltr-position(0, false)
|
42
44
|
min-width: $dropdown-menu-min-width
|
43
45
|
padding-top: $dropdown-content-offset
|
44
46
|
position: absolute
|
@@ -62,8 +64,8 @@ $dropdown-divider-background-color: $border-light !default
|
|
62
64
|
|
63
65
|
a.dropdown-item,
|
64
66
|
button.dropdown-item
|
65
|
-
padding
|
66
|
-
text-align:
|
67
|
+
+ltr-property("padding", 3rem)
|
68
|
+
text-align: inherit
|
67
69
|
white-space: nowrap
|
68
70
|
width: 100%
|
69
71
|
&:hover
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@import "../utilities/mixins"
|
2
|
+
|
1
3
|
$level-item-spacing: ($block-spacing / 2) !default
|
2
4
|
|
3
5
|
.level
|
@@ -20,7 +22,7 @@ $level-item-spacing: ($block-spacing / 2) !default
|
|
20
22
|
.level-item
|
21
23
|
&:not(:last-child)
|
22
24
|
margin-bottom: 0
|
23
|
-
margin
|
25
|
+
+ltr-property("margin", $level-item-spacing)
|
24
26
|
&:not(.is-narrow)
|
25
27
|
flex-grow: 1
|
26
28
|
// Responsiveness
|
@@ -57,7 +59,7 @@ $level-item-spacing: ($block-spacing / 2) !default
|
|
57
59
|
// Responsiveness
|
58
60
|
+tablet
|
59
61
|
&:not(:last-child)
|
60
|
-
margin
|
62
|
+
+ltr-property("margin", $level-item-spacing)
|
61
63
|
|
62
64
|
.level-left
|
63
65
|
align-items: center
|
@@ -1,31 +1,40 @@
|
|
1
|
-
|
1
|
+
@import "../utilities/mixins"
|
2
|
+
|
3
|
+
$media-border-color: bulmaRgba($border, 0.5) !default
|
4
|
+
$media-border-size: 1px !default
|
5
|
+
$media-spacing: 1rem !default
|
6
|
+
$media-spacing-large: 1.5rem !default
|
7
|
+
$media-content-spacing: 0.75rem !default
|
8
|
+
$media-level-1-spacing: 0.75rem !default
|
9
|
+
$media-level-1-content-spacing: 0.5rem !default
|
10
|
+
$media-level-2-spacing: 0.5rem !default
|
2
11
|
|
3
12
|
.media
|
4
13
|
align-items: flex-start
|
5
14
|
display: flex
|
6
|
-
text-align:
|
15
|
+
text-align: inherit
|
7
16
|
.content:not(:last-child)
|
8
|
-
margin-bottom:
|
17
|
+
margin-bottom: $media-content-spacing
|
9
18
|
.media
|
10
|
-
border-top:
|
19
|
+
border-top: $media-border-size solid $media-border-color
|
11
20
|
display: flex
|
12
|
-
padding-top:
|
21
|
+
padding-top: $media-level-1-spacing
|
13
22
|
.content:not(:last-child),
|
14
23
|
.control:not(:last-child)
|
15
|
-
margin-bottom:
|
24
|
+
margin-bottom: $media-level-1-content-spacing
|
16
25
|
.media
|
17
|
-
padding-top:
|
26
|
+
padding-top: $media-level-2-spacing
|
18
27
|
& + .media
|
19
|
-
margin-top:
|
28
|
+
margin-top: $media-level-2-spacing
|
20
29
|
& + .media
|
21
|
-
border-top:
|
22
|
-
margin-top:
|
23
|
-
padding-top:
|
30
|
+
border-top: $media-border-size solid $media-border-color
|
31
|
+
margin-top: $media-spacing
|
32
|
+
padding-top: $media-spacing
|
24
33
|
// Sizes
|
25
34
|
&.is-large
|
26
35
|
& + .media
|
27
|
-
margin-top:
|
28
|
-
padding-top:
|
36
|
+
margin-top: $media-spacing-large
|
37
|
+
padding-top: $media-spacing-large
|
29
38
|
|
30
39
|
.media-left,
|
31
40
|
.media-right
|
@@ -34,16 +43,16 @@ $media-border-color: rgba($border, 0.5) !default
|
|
34
43
|
flex-shrink: 0
|
35
44
|
|
36
45
|
.media-left
|
37
|
-
margin-
|
46
|
+
+ltr-property("margin", $media-spacing)
|
38
47
|
|
39
48
|
.media-right
|
40
|
-
margin-
|
49
|
+
+ltr-property("margin", $media-spacing, false)
|
41
50
|
|
42
51
|
.media-content
|
43
52
|
flex-basis: auto
|
44
53
|
flex-grow: 1
|
45
54
|
flex-shrink: 1
|
46
|
-
text-align:
|
55
|
+
text-align: inherit
|
47
56
|
|
48
57
|
+mobile
|
49
58
|
.media-content
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@import "../utilities/mixins"
|
2
|
+
|
1
3
|
$menu-item-color: $text !default
|
2
4
|
$menu-item-radius: $radius-small !default
|
3
5
|
$menu-item-hover-color: $text-strong !default
|
@@ -42,9 +44,9 @@ $menu-label-spacing: 1em !default
|
|
42
44
|
color: $menu-item-active-color
|
43
45
|
li
|
44
46
|
ul
|
45
|
-
border
|
47
|
+
+ltr-property("border", $menu-list-border-left, false)
|
46
48
|
margin: $menu-nested-list-margin
|
47
|
-
padding
|
49
|
+
+ltr-property("padding", $menu-nested-list-padding-left, false)
|
48
50
|
|
49
51
|
.menu-label
|
50
52
|
color: $menu-label-color
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@import "../utilities/mixins"
|
2
|
+
|
1
3
|
$message-background-color: $background !default
|
2
4
|
$message-radius: $radius !default
|
3
5
|
|
@@ -79,7 +81,7 @@ $message-colors: $colors !default
|
|
79
81
|
.delete
|
80
82
|
flex-grow: 0
|
81
83
|
flex-shrink: 0
|
82
|
-
margin
|
84
|
+
+ltr-property("margin", 0.75em, false)
|
83
85
|
& + .message-body
|
84
86
|
border-width: $message-header-body-border-width
|
85
87
|
border-top-left-radius: 0
|
@@ -1,6 +1,8 @@
|
|
1
|
+
@import "../utilities/mixins"
|
2
|
+
|
1
3
|
$modal-z: 40 !default
|
2
4
|
|
3
|
-
$modal-background-background-color:
|
5
|
+
$modal-background-background-color: bulmaRgba($scheme-invert, 0.86) !default
|
4
6
|
|
5
7
|
$modal-content-width: 640px !default
|
6
8
|
$modal-content-margin-mobile: 20px !default
|
@@ -28,6 +30,8 @@ $modal-card-foot-border-top: 1px solid $border !default
|
|
28
30
|
$modal-card-body-background-color: $scheme-main !default
|
29
31
|
$modal-card-body-padding: 20px !default
|
30
32
|
|
33
|
+
$modal-breakpoint: $tablet !default
|
34
|
+
|
31
35
|
.modal
|
32
36
|
@extend %overlay
|
33
37
|
align-items: center
|
@@ -53,7 +57,7 @@ $modal-card-body-padding: 20px !default
|
|
53
57
|
position: relative
|
54
58
|
width: 100%
|
55
59
|
// Responsiveness
|
56
|
-
+
|
60
|
+
+from($modal-breakpoint)
|
57
61
|
margin: 0 auto
|
58
62
|
max-height: calc(100vh - #{$modal-content-spacing-tablet})
|
59
63
|
width: $modal-content-width
|
@@ -63,7 +67,7 @@ $modal-card-body-padding: 20px !default
|
|
63
67
|
background: none
|
64
68
|
height: $modal-close-dimensions
|
65
69
|
position: fixed
|
66
|
-
|
70
|
+
+ltr-position($modal-close-right)
|
67
71
|
top: $modal-close-top
|
68
72
|
width: $modal-close-dimensions
|
69
73
|
|
@@ -102,7 +106,7 @@ $modal-card-body-padding: 20px !default
|
|
102
106
|
border-top: $modal-card-foot-border-top
|
103
107
|
.button
|
104
108
|
&:not(:last-child)
|
105
|
-
margin
|
109
|
+
+ltr-property("margin", 0.5em)
|
106
110
|
|
107
111
|
.modal-card-body
|
108
112
|
+overflow-touch
|