bulma-clean-theme 0.8.1 → 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 +37 -0
- data/_includes/callouts.html +1 -1
- data/_includes/footer.html +1 -1
- data/_includes/gallery.html +27 -0
- data/_includes/head.html +1 -1
- data/_includes/header.html +3 -3
- data/_includes/hero.html +1 -1
- data/_includes/menubar.html +2 -2
- data/_includes/showcase.html +1 -1
- data/_includes/tabs.html +1 -1
- data/_layouts/default.html +1 -0
- data/_layouts/product-category.html +1 -1
- 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 +249 -261
- 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 +24 -1
- data/node_modules/bulma/CHANGELOG.md +69 -0
- data/node_modules/bulma/README.md +1 -1
- 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 +6935 -6459
- 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 +22 -20
- 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 +10 -8
- 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 +2 -2
- data/node_modules/bulma/sass/components/navbar.sass +9 -9
- data/node_modules/bulma/sass/components/panel.sass +2 -2
- data/node_modules/bulma/sass/components/tabs.sass +35 -12
- data/node_modules/bulma/sass/elements/button.sass +7 -7
- data/node_modules/bulma/sass/elements/content.sass +5 -5
- data/node_modules/bulma/sass/elements/notification.sass +7 -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 +2 -2
- data/node_modules/bulma/sass/form/select.sass +4 -4
- 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 +1 -1
- 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 +5 -0
- data/node_modules/bulma/sass/utilities/initial-variables.sass +1 -0
- data/node_modules/bulma/sass/utilities/mixins.sass +24 -0
- data/package-lock.json +13 -6
- data/package.json +2 -2
- metadata +84 -5
- data/node_modules/bulma-block-list/docs/demo.css +0 -7241
@@ -0,0 +1,70 @@
|
|
1
|
+
$title-color: $text-strong !default
|
2
|
+
$title-family: false !default
|
3
|
+
$title-size: $size-3 !default
|
4
|
+
$title-weight: $weight-semibold !default
|
5
|
+
$title-line-height: 1.125 !default
|
6
|
+
$title-strong-color: inherit !default
|
7
|
+
$title-strong-weight: inherit !default
|
8
|
+
$title-sub-size: 0.75em !default
|
9
|
+
$title-sup-size: 0.75em !default
|
10
|
+
|
11
|
+
$subtitle-color: $text !default
|
12
|
+
$subtitle-family: false !default
|
13
|
+
$subtitle-size: $size-5 !default
|
14
|
+
$subtitle-weight: $weight-normal !default
|
15
|
+
$subtitle-line-height: 1.25 !default
|
16
|
+
$subtitle-strong-color: $text-strong !default
|
17
|
+
$subtitle-strong-weight: $weight-semibold !default
|
18
|
+
$subtitle-negative-margin: -1.25rem !default
|
19
|
+
|
20
|
+
.title,
|
21
|
+
.subtitle
|
22
|
+
@extend %block
|
23
|
+
word-break: break-word
|
24
|
+
em,
|
25
|
+
span
|
26
|
+
font-weight: inherit
|
27
|
+
sub
|
28
|
+
font-size: $title-sub-size
|
29
|
+
sup
|
30
|
+
font-size: $title-sup-size
|
31
|
+
.tag
|
32
|
+
vertical-align: middle
|
33
|
+
|
34
|
+
.title
|
35
|
+
color: $title-color
|
36
|
+
@if $title-family
|
37
|
+
font-family: $title-family
|
38
|
+
font-size: $title-size
|
39
|
+
font-weight: $title-weight
|
40
|
+
line-height: $title-line-height
|
41
|
+
strong
|
42
|
+
color: $title-strong-color
|
43
|
+
font-weight: $title-strong-weight
|
44
|
+
& + .highlight
|
45
|
+
margin-top: -0.75rem
|
46
|
+
&:not(.is-spaced) + .subtitle
|
47
|
+
margin-top: $subtitle-negative-margin
|
48
|
+
// Sizes
|
49
|
+
@each $size in $sizes
|
50
|
+
$i: index($sizes, $size)
|
51
|
+
&.is-#{$i}
|
52
|
+
font-size: $size
|
53
|
+
|
54
|
+
.subtitle
|
55
|
+
color: $subtitle-color
|
56
|
+
@if $subtitle-family
|
57
|
+
font-family: $subtitle-family
|
58
|
+
font-size: $subtitle-size
|
59
|
+
font-weight: $subtitle-weight
|
60
|
+
line-height: $subtitle-line-height
|
61
|
+
strong
|
62
|
+
color: $subtitle-strong-color
|
63
|
+
font-weight: $subtitle-strong-weight
|
64
|
+
&:not(.is-spaced) + .title
|
65
|
+
margin-top: $subtitle-negative-margin
|
66
|
+
// Sizes
|
67
|
+
@each $size in $sizes
|
68
|
+
$i: index($sizes, $size)
|
69
|
+
&.is-#{$i}
|
70
|
+
font-size: $size
|
@@ -0,0 +1,21 @@
|
|
1
|
+
%checkbox-radio
|
2
|
+
cursor: pointer
|
3
|
+
display: inline-block
|
4
|
+
line-height: 1.25
|
5
|
+
position: relative
|
6
|
+
input
|
7
|
+
cursor: pointer
|
8
|
+
&:hover
|
9
|
+
color: $input-hover-color
|
10
|
+
&[disabled],
|
11
|
+
fieldset[disabled] &
|
12
|
+
color: $input-disabled-color
|
13
|
+
cursor: not-allowed
|
14
|
+
|
15
|
+
.checkbox
|
16
|
+
@extend %checkbox-radio
|
17
|
+
|
18
|
+
.radio
|
19
|
+
@extend %checkbox-radio
|
20
|
+
& + .radio
|
21
|
+
margin-left: 0.5em
|
@@ -0,0 +1,180 @@
|
|
1
|
+
$file-border-color: $border !default
|
2
|
+
$file-radius: $radius !default
|
3
|
+
|
4
|
+
$file-cta-background-color: $scheme-main-ter !default
|
5
|
+
$file-cta-color: $text !default
|
6
|
+
$file-cta-hover-color: $text-strong !default
|
7
|
+
$file-cta-active-color: $text-strong !default
|
8
|
+
|
9
|
+
$file-name-border-color: $border !default
|
10
|
+
$file-name-border-style: solid !default
|
11
|
+
$file-name-border-width: 1px 1px 1px 0 !default
|
12
|
+
$file-name-max-width: 16em !default
|
13
|
+
|
14
|
+
.file
|
15
|
+
@extend %unselectable
|
16
|
+
align-items: stretch
|
17
|
+
display: flex
|
18
|
+
justify-content: flex-start
|
19
|
+
position: relative
|
20
|
+
// Colors
|
21
|
+
@each $name, $pair in $colors
|
22
|
+
$color: nth($pair, 1)
|
23
|
+
$color-invert: nth($pair, 2)
|
24
|
+
&.is-#{$name}
|
25
|
+
.file-cta
|
26
|
+
background-color: $color
|
27
|
+
border-color: transparent
|
28
|
+
color: $color-invert
|
29
|
+
&:hover,
|
30
|
+
&.is-hovered
|
31
|
+
.file-cta
|
32
|
+
background-color: bulmaDarken($color, 2.5%)
|
33
|
+
border-color: transparent
|
34
|
+
color: $color-invert
|
35
|
+
&:focus,
|
36
|
+
&.is-focused
|
37
|
+
.file-cta
|
38
|
+
border-color: transparent
|
39
|
+
box-shadow: 0 0 0.5em bulmaRgba($color, 0.25)
|
40
|
+
color: $color-invert
|
41
|
+
&:active,
|
42
|
+
&.is-active
|
43
|
+
.file-cta
|
44
|
+
background-color: bulmaDarken($color, 5%)
|
45
|
+
border-color: transparent
|
46
|
+
color: $color-invert
|
47
|
+
// Sizes
|
48
|
+
&.is-small
|
49
|
+
font-size: $size-small
|
50
|
+
&.is-medium
|
51
|
+
font-size: $size-medium
|
52
|
+
.file-icon
|
53
|
+
.fa
|
54
|
+
font-size: 21px
|
55
|
+
&.is-large
|
56
|
+
font-size: $size-large
|
57
|
+
.file-icon
|
58
|
+
.fa
|
59
|
+
font-size: 28px
|
60
|
+
// Modifiers
|
61
|
+
&.has-name
|
62
|
+
.file-cta
|
63
|
+
border-bottom-right-radius: 0
|
64
|
+
border-top-right-radius: 0
|
65
|
+
.file-name
|
66
|
+
border-bottom-left-radius: 0
|
67
|
+
border-top-left-radius: 0
|
68
|
+
&.is-empty
|
69
|
+
.file-cta
|
70
|
+
border-radius: $file-radius
|
71
|
+
.file-name
|
72
|
+
display: none
|
73
|
+
&.is-boxed
|
74
|
+
.file-label
|
75
|
+
flex-direction: column
|
76
|
+
.file-cta
|
77
|
+
flex-direction: column
|
78
|
+
height: auto
|
79
|
+
padding: 1em 3em
|
80
|
+
.file-name
|
81
|
+
border-width: 0 1px 1px
|
82
|
+
.file-icon
|
83
|
+
height: 1.5em
|
84
|
+
width: 1.5em
|
85
|
+
.fa
|
86
|
+
font-size: 21px
|
87
|
+
&.is-small
|
88
|
+
.file-icon .fa
|
89
|
+
font-size: 14px
|
90
|
+
&.is-medium
|
91
|
+
.file-icon .fa
|
92
|
+
font-size: 28px
|
93
|
+
&.is-large
|
94
|
+
.file-icon .fa
|
95
|
+
font-size: 35px
|
96
|
+
&.has-name
|
97
|
+
.file-cta
|
98
|
+
border-radius: $file-radius $file-radius 0 0
|
99
|
+
.file-name
|
100
|
+
border-radius: 0 0 $file-radius $file-radius
|
101
|
+
border-width: 0 1px 1px
|
102
|
+
&.is-centered
|
103
|
+
justify-content: center
|
104
|
+
&.is-fullwidth
|
105
|
+
.file-label
|
106
|
+
width: 100%
|
107
|
+
.file-name
|
108
|
+
flex-grow: 1
|
109
|
+
max-width: none
|
110
|
+
&.is-right
|
111
|
+
justify-content: flex-end
|
112
|
+
.file-cta
|
113
|
+
border-radius: 0 $file-radius $file-radius 0
|
114
|
+
.file-name
|
115
|
+
border-radius: $file-radius 0 0 $file-radius
|
116
|
+
border-width: 1px 0 1px 1px
|
117
|
+
order: -1
|
118
|
+
|
119
|
+
.file-label
|
120
|
+
align-items: stretch
|
121
|
+
display: flex
|
122
|
+
cursor: pointer
|
123
|
+
justify-content: flex-start
|
124
|
+
overflow: hidden
|
125
|
+
position: relative
|
126
|
+
&:hover
|
127
|
+
.file-cta
|
128
|
+
background-color: bulmaDarken($file-cta-background-color, 2.5%)
|
129
|
+
color: $file-cta-hover-color
|
130
|
+
.file-name
|
131
|
+
border-color: bulmaDarken($file-name-border-color, 2.5%)
|
132
|
+
&:active
|
133
|
+
.file-cta
|
134
|
+
background-color: bulmaDarken($file-cta-background-color, 5%)
|
135
|
+
color: $file-cta-active-color
|
136
|
+
.file-name
|
137
|
+
border-color: bulmaDarken($file-name-border-color, 5%)
|
138
|
+
|
139
|
+
.file-input
|
140
|
+
height: 100%
|
141
|
+
left: 0
|
142
|
+
opacity: 0
|
143
|
+
outline: none
|
144
|
+
position: absolute
|
145
|
+
top: 0
|
146
|
+
width: 100%
|
147
|
+
|
148
|
+
.file-cta,
|
149
|
+
.file-name
|
150
|
+
@extend %control
|
151
|
+
border-color: $file-border-color
|
152
|
+
border-radius: $file-radius
|
153
|
+
font-size: 1em
|
154
|
+
padding-left: 1em
|
155
|
+
padding-right: 1em
|
156
|
+
white-space: nowrap
|
157
|
+
|
158
|
+
.file-cta
|
159
|
+
background-color: $file-cta-background-color
|
160
|
+
color: $file-cta-color
|
161
|
+
|
162
|
+
.file-name
|
163
|
+
border-color: $file-name-border-color
|
164
|
+
border-style: $file-name-border-style
|
165
|
+
border-width: $file-name-border-width
|
166
|
+
display: block
|
167
|
+
max-width: $file-name-max-width
|
168
|
+
overflow: hidden
|
169
|
+
text-align: left
|
170
|
+
text-overflow: ellipsis
|
171
|
+
|
172
|
+
.file-icon
|
173
|
+
align-items: center
|
174
|
+
display: flex
|
175
|
+
height: 1em
|
176
|
+
justify-content: center
|
177
|
+
margin-right: 0.5em
|
178
|
+
width: 1em
|
179
|
+
.fa
|
180
|
+
font-size: 14px
|
@@ -0,0 +1,64 @@
|
|
1
|
+
$textarea-padding: $control-padding-horizontal !default
|
2
|
+
$textarea-max-height: 40em !default
|
3
|
+
$textarea-min-height: 8em !default
|
4
|
+
|
5
|
+
%input-textarea
|
6
|
+
@extend %input
|
7
|
+
box-shadow: $input-shadow
|
8
|
+
max-width: 100%
|
9
|
+
width: 100%
|
10
|
+
&[readonly]
|
11
|
+
box-shadow: none
|
12
|
+
// Colors
|
13
|
+
@each $name, $pair in $colors
|
14
|
+
$color: nth($pair, 1)
|
15
|
+
&.is-#{$name}
|
16
|
+
border-color: $color
|
17
|
+
&:focus,
|
18
|
+
&.is-focused,
|
19
|
+
&:active,
|
20
|
+
&.is-active
|
21
|
+
box-shadow: $input-focus-box-shadow-size bulmaRgba($color, 0.25)
|
22
|
+
// Sizes
|
23
|
+
&.is-small
|
24
|
+
+control-small
|
25
|
+
&.is-medium
|
26
|
+
+control-medium
|
27
|
+
&.is-large
|
28
|
+
+control-large
|
29
|
+
// Modifiers
|
30
|
+
&.is-fullwidth
|
31
|
+
display: block
|
32
|
+
width: 100%
|
33
|
+
&.is-inline
|
34
|
+
display: inline
|
35
|
+
width: auto
|
36
|
+
|
37
|
+
.input
|
38
|
+
@extend %input-textarea
|
39
|
+
&.is-rounded
|
40
|
+
border-radius: $radius-rounded
|
41
|
+
padding-left: calc(#{$control-padding-horizontal} + 0.375em)
|
42
|
+
padding-right: calc(#{$control-padding-horizontal} + 0.375em)
|
43
|
+
&.is-static
|
44
|
+
background-color: transparent
|
45
|
+
border-color: transparent
|
46
|
+
box-shadow: none
|
47
|
+
padding-left: 0
|
48
|
+
padding-right: 0
|
49
|
+
|
50
|
+
.textarea
|
51
|
+
@extend %input-textarea
|
52
|
+
display: block
|
53
|
+
max-width: 100%
|
54
|
+
min-width: 100%
|
55
|
+
padding: $textarea-padding
|
56
|
+
resize: vertical
|
57
|
+
&:not([rows])
|
58
|
+
max-height: $textarea-max-height
|
59
|
+
min-height: $textarea-min-height
|
60
|
+
&[rows]
|
61
|
+
height: initial
|
62
|
+
// Modifiers
|
63
|
+
&.has-fixed-size
|
64
|
+
resize: none
|
@@ -0,0 +1,85 @@
|
|
1
|
+
.select
|
2
|
+
display: inline-block
|
3
|
+
max-width: 100%
|
4
|
+
position: relative
|
5
|
+
vertical-align: top
|
6
|
+
&:not(.is-multiple)
|
7
|
+
height: $input-height
|
8
|
+
&:not(.is-multiple):not(.is-loading)
|
9
|
+
&::after
|
10
|
+
@extend %arrow
|
11
|
+
border-color: $input-arrow
|
12
|
+
right: 1.125em
|
13
|
+
z-index: 4
|
14
|
+
&.is-rounded
|
15
|
+
select
|
16
|
+
border-radius: $radius-rounded
|
17
|
+
padding-left: 1em
|
18
|
+
select
|
19
|
+
@extend %input
|
20
|
+
cursor: pointer
|
21
|
+
display: block
|
22
|
+
font-size: 1em
|
23
|
+
max-width: 100%
|
24
|
+
outline: none
|
25
|
+
&::-ms-expand
|
26
|
+
display: none
|
27
|
+
&[disabled]:hover,
|
28
|
+
fieldset[disabled] &:hover
|
29
|
+
border-color: $input-disabled-border-color
|
30
|
+
&:not([multiple])
|
31
|
+
padding-right: 2.5em
|
32
|
+
&[multiple]
|
33
|
+
height: auto
|
34
|
+
padding: 0
|
35
|
+
option
|
36
|
+
padding: 0.5em 1em
|
37
|
+
// States
|
38
|
+
&:not(.is-multiple):not(.is-loading):hover
|
39
|
+
&::after
|
40
|
+
border-color: $input-hover-color
|
41
|
+
// Colors
|
42
|
+
@each $name, $pair in $colors
|
43
|
+
$color: nth($pair, 1)
|
44
|
+
&.is-#{$name}
|
45
|
+
&:not(:hover)::after
|
46
|
+
border-color: $color
|
47
|
+
select
|
48
|
+
border-color: $color
|
49
|
+
&:hover,
|
50
|
+
&.is-hovered
|
51
|
+
border-color: bulmaDarken($color, 5%)
|
52
|
+
&:focus,
|
53
|
+
&.is-focused,
|
54
|
+
&:active,
|
55
|
+
&.is-active
|
56
|
+
box-shadow: $input-focus-box-shadow-size bulmaRgba($color, 0.25)
|
57
|
+
// Sizes
|
58
|
+
&.is-small
|
59
|
+
+control-small
|
60
|
+
&.is-medium
|
61
|
+
+control-medium
|
62
|
+
&.is-large
|
63
|
+
+control-large
|
64
|
+
// Modifiers
|
65
|
+
&.is-disabled
|
66
|
+
&::after
|
67
|
+
border-color: $input-disabled-color
|
68
|
+
&.is-fullwidth
|
69
|
+
width: 100%
|
70
|
+
select
|
71
|
+
width: 100%
|
72
|
+
&.is-loading
|
73
|
+
&::after
|
74
|
+
@extend %loader
|
75
|
+
margin-top: 0
|
76
|
+
position: absolute
|
77
|
+
right: 0.625em
|
78
|
+
top: 0.625em
|
79
|
+
transform: none
|
80
|
+
&.is-small:after
|
81
|
+
font-size: $size-small
|
82
|
+
&.is-medium:after
|
83
|
+
font-size: $size-medium
|
84
|
+
&.is-large:after
|
85
|
+
font-size: $size-large
|
@@ -0,0 +1,55 @@
|
|
1
|
+
$input-color: $text-strong !default
|
2
|
+
$input-background-color: $scheme-main !default
|
3
|
+
$input-border-color: $border !default
|
4
|
+
$input-height: $control-height !default
|
5
|
+
$input-shadow: inset 0 0.0625em 0.125em rgba($scheme-invert, 0.05) !default
|
6
|
+
$input-placeholder-color: bulmaRgba($input-color, 0.3) !default
|
7
|
+
|
8
|
+
$input-hover-color: $text-strong !default
|
9
|
+
$input-hover-border-color: $border-hover !default
|
10
|
+
|
11
|
+
$input-focus-color: $text-strong !default
|
12
|
+
$input-focus-border-color: $link !default
|
13
|
+
$input-focus-box-shadow-size: 0 0 0 0.125em !default
|
14
|
+
$input-focus-box-shadow-color: bulmaRgba($link, 0.25) !default
|
15
|
+
|
16
|
+
$input-disabled-color: $text-light !default
|
17
|
+
$input-disabled-background-color: $background !default
|
18
|
+
$input-disabled-border-color: $background !default
|
19
|
+
$input-disabled-placeholder-color: bulmaRgba($input-disabled-color, 0.3) !default
|
20
|
+
|
21
|
+
$input-arrow: $link !default
|
22
|
+
|
23
|
+
$input-icon-color: $border !default
|
24
|
+
$input-icon-active-color: $text !default
|
25
|
+
|
26
|
+
$input-radius: $radius !default
|
27
|
+
|
28
|
+
=input
|
29
|
+
@extend %control
|
30
|
+
background-color: $input-background-color
|
31
|
+
border-color: $input-border-color
|
32
|
+
border-radius: $input-radius
|
33
|
+
color: $input-color
|
34
|
+
+placeholder
|
35
|
+
color: $input-placeholder-color
|
36
|
+
&:hover,
|
37
|
+
&.is-hovered
|
38
|
+
border-color: $input-hover-border-color
|
39
|
+
&:focus,
|
40
|
+
&.is-focused,
|
41
|
+
&:active,
|
42
|
+
&.is-active
|
43
|
+
border-color: $input-focus-border-color
|
44
|
+
box-shadow: $input-focus-box-shadow-size $input-focus-box-shadow-color
|
45
|
+
&[disabled],
|
46
|
+
fieldset[disabled] &
|
47
|
+
background-color: $input-disabled-background-color
|
48
|
+
border-color: $input-disabled-border-color
|
49
|
+
box-shadow: none
|
50
|
+
color: $input-disabled-color
|
51
|
+
+placeholder
|
52
|
+
color: $input-disabled-placeholder-color
|
53
|
+
|
54
|
+
%input
|
55
|
+
+input
|