mi-jekyll-theme 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +46 -0
  4. data/_includes/functions/gallery.html +69 -0
  5. data/_includes/functions/proposals.html +27 -0
  6. data/_includes/functions/resolve-dates.html +27 -0
  7. data/_includes/functions/resolve-names.html +9 -0
  8. data/_includes/functions/resolve-types.html +5 -0
  9. data/_includes/functions/resolve-urls.html +5 -0
  10. data/_includes/functions/resolve-voraussetzungen.html +18 -0
  11. data/_includes/functions/zeitplan.html +26 -0
  12. data/_includes/image.html +8 -0
  13. data/_includes/news-overview.html +32 -0
  14. data/_includes/news.html +10 -0
  15. data/_includes/proposal.html +30 -0
  16. data/_includes/reading-time.html +8 -0
  17. data/_includes/termine-auf-veranstaltungsseite.html +33 -0
  18. data/_includes/timetable-day-float.html +111 -0
  19. data/_includes/timetable-day.html +140 -0
  20. data/_includes/veranstaltungsinfo-klein.html +55 -0
  21. data/_includes/workshop-overview.html +36 -0
  22. data/_includes/zwischenstand.html +16 -0
  23. data/_layouts/bigtext.html +8 -0
  24. data/_layouts/codesnippets.html +43 -0
  25. data/_layouts/default.html +89 -0
  26. data/_layouts/einspalter.html +7 -0
  27. data/_layouts/faq.html +40 -0
  28. data/_layouts/hauptspalteMarginalie.html +8 -0
  29. data/_layouts/home.html +25 -0
  30. data/_layouts/lehrveranstaltung.html +61 -0
  31. data/_layouts/links.html +70 -0
  32. data/_layouts/markdownAjax.html +15 -0
  33. data/_layouts/modul-overview.html +9 -0
  34. data/_layouts/news.html +40 -0
  35. data/_layouts/page-einspalter.html +23 -0
  36. data/_layouts/page.html +24 -0
  37. data/_layouts/post.html +17 -0
  38. data/_layouts/projekt.html +81 -0
  39. data/_layouts/workshop.html +43 -0
  40. data/_layouts/zweispalter.html +7 -0
  41. data/_sass/lib/README.md +1 -0
  42. data/_sass/lib/_highlights.scss +84 -0
  43. data/_sass/lib/_overrides.scss +16 -0
  44. data/_sass/lib/_reset.scss +53 -0
  45. data/_sass/lib/_svg-icons.scss +20 -0
  46. data/_sass/lib/_variables-mi-colors.scss +11 -0
  47. data/_sass/lib/_variables.scss +21 -0
  48. data/_sass/lib/bulma.sass +8 -0
  49. data/_sass/lib/sass/base/_all.sass +5 -0
  50. data/_sass/lib/sass/base/generic.sass +127 -0
  51. data/_sass/lib/sass/base/helpers.sass +203 -0
  52. data/_sass/lib/sass/base/minireset.sass +80 -0
  53. data/_sass/lib/sass/components/_all.sass +15 -0
  54. data/_sass/lib/sass/components/breadcrumb.sass +74 -0
  55. data/_sass/lib/sass/components/card.sass +67 -0
  56. data/_sass/lib/sass/components/dropdown.sass +68 -0
  57. data/_sass/lib/sass/components/level.sass +74 -0
  58. data/_sass/lib/sass/components/media.sass +44 -0
  59. data/_sass/lib/sass/components/menu.sass +50 -0
  60. data/_sass/lib/sass/components/message.sass +79 -0
  61. data/_sass/lib/sass/components/modal.sass +111 -0
  62. data/_sass/lib/sass/components/nav.sass +125 -0
  63. data/_sass/lib/sass/components/navbar.sass +301 -0
  64. data/_sass/lib/sass/components/pagination.sass +134 -0
  65. data/_sass/lib/sass/components/panel.sass +101 -0
  66. data/_sass/lib/sass/components/tabs.sass +141 -0
  67. data/_sass/lib/sass/elements/_all.sass +16 -0
  68. data/_sass/lib/sass/elements/box.sass +24 -0
  69. data/_sass/lib/sass/elements/button.sass +201 -0
  70. data/_sass/lib/sass/elements/container.sass +25 -0
  71. data/_sass/lib/sass/elements/content.sass +145 -0
  72. data/_sass/lib/sass/elements/form.sass +603 -0
  73. data/_sass/lib/sass/elements/icon.sass +21 -0
  74. data/_sass/lib/sass/elements/image.sass +36 -0
  75. data/_sass/lib/sass/elements/notification.sass +35 -0
  76. data/_sass/lib/sass/elements/other.sass +39 -0
  77. data/_sass/lib/sass/elements/progress.sass +35 -0
  78. data/_sass/lib/sass/elements/table.sass +98 -0
  79. data/_sass/lib/sass/elements/tag.sass +89 -0
  80. data/_sass/lib/sass/elements/title.sass +55 -0
  81. data/_sass/lib/sass/grid/_all.sass +4 -0
  82. data/_sass/lib/sass/grid/columns.sass +328 -0
  83. data/_sass/lib/sass/grid/tiles.sass +32 -0
  84. data/_sass/lib/sass/layout/_all.sass +5 -0
  85. data/_sass/lib/sass/layout/footer.sass +5 -0
  86. data/_sass/lib/sass/layout/hero.sass +155 -0
  87. data/_sass/lib/sass/layout/section.sass +13 -0
  88. data/_sass/lib/sass/utilities/_all.sass +8 -0
  89. data/_sass/lib/sass/utilities/animations.sass +5 -0
  90. data/_sass/lib/sass/utilities/controls.sass +41 -0
  91. data/_sass/lib/sass/utilities/derived-variables.sass +81 -0
  92. data/_sass/lib/sass/utilities/functions.sass +28 -0
  93. data/_sass/lib/sass/utilities/initial-variables.sass +64 -0
  94. data/_sass/lib/sass/utilities/mixins.sass +224 -0
  95. data/_sass/lib/sass/utilities/variables.sass +150 -0
  96. data/_sass/mi-jekyll.scss +821 -0
  97. data/assets/images/favicon.ico +0 -0
  98. data/assets/images/mi-box-100.png +0 -0
  99. data/assets/images/mi-box-150.png +0 -0
  100. data/assets/images/mi-box-470.png +0 -0
  101. data/assets/images/mi-box.svg +34 -0
  102. data/assets/images/th-logo.png +0 -0
  103. data/assets/js/mi-jekyll.js +359 -0
  104. data/assets/libs/octokit-rest.min.js +16 -0
  105. data/assets/styles/mi-jekyll.scss +11 -0
  106. data/assets/th-logo.png +0 -0
  107. metadata +191 -0
@@ -0,0 +1,25 @@
1
+ .container
2
+ margin: 0 auto
3
+ position: relative
4
+ +from($desktop)
5
+ max-width: $desktop - (2 * $gap)
6
+ width: $desktop - (2 * $gap)
7
+ &.is-fluid
8
+ margin-left: $gap
9
+ margin-right: $gap
10
+ max-width: none
11
+ width: auto
12
+ +until($widescreen)
13
+ &.is-widescreen
14
+ max-width: $widescreen - (2 * $gap)
15
+ width: auto
16
+ +until($fullhd)
17
+ &.is-fullhd
18
+ max-width: $fullhd - (2 * $gap)
19
+ width: auto
20
+ +from($widescreen)
21
+ max-width: $widescreen - (2 * $gap)
22
+ width: $widescreen - (2 * $gap)
23
+ +from($fullhd)
24
+ max-width: $fullhd - (2 * $gap)
25
+ width: $fullhd - (2 * $gap)
@@ -0,0 +1,145 @@
1
+ $content-heading-color: $text-strong !default
2
+ $content-heading-weight: $weight-normal !default
3
+ $content-heading-line-height: 1.125 !default
4
+
5
+ $content-blockquote-background-color: $background !default
6
+ $content-blockquote-border-left: 5px solid $border !default
7
+ $content-blockquote-padding: 1.25em 1.5em !default
8
+
9
+ $content-pre-padding: 1.25em 1.5em !default
10
+
11
+ $content-table-cell-border: 1px solid $border !default
12
+ $content-table-cell-border-width: 0 0 1px !default
13
+ $content-table-cell-padding: 0.5em 0.75em !default
14
+ $content-table-cell-heading-color: $text-strong !default
15
+ $content-table-row-hover-background-color: $background !default
16
+ $content-table-head-cell-border-width: 0 0 2px !default
17
+ $content-table-head-cell-color: $text-strong !default
18
+ $content-table-foot-cell-border-width: 2px 0 0 !default
19
+ $content-table-foot-cell-color: $text-strong !default
20
+
21
+ .content
22
+ +block
23
+ // Inline
24
+ li + li
25
+ margin-top: 0.25em
26
+ // Block
27
+ p,
28
+ dl,
29
+ ol,
30
+ ul,
31
+ blockquote,
32
+ pre,
33
+ table
34
+ &:not(:last-child)
35
+ margin-bottom: 1em
36
+ h1,
37
+ h2,
38
+ h3,
39
+ h4,
40
+ h5,
41
+ h6
42
+ color: $content-heading-color
43
+ font-weight: $content-heading-weight
44
+ line-height: $content-heading-line-height
45
+ h1
46
+ font-size: 2em
47
+ margin-bottom: 0.5em
48
+ &:not(:first-child)
49
+ margin-top: 1em
50
+ h2
51
+ font-size: 1.75em
52
+ margin-bottom: 0.5714em
53
+ &:not(:first-child)
54
+ margin-top: 1.1428em
55
+ h3
56
+ font-size: 1.5em
57
+ margin-bottom: 0.6666em
58
+ &:not(:first-child)
59
+ margin-top: 1.3333em
60
+ h4
61
+ font-size: 1.25em
62
+ margin-bottom: 0.8em
63
+ h5
64
+ font-size: 1.125em
65
+ margin-bottom: 0.8888em
66
+ h6
67
+ font-size: 1em
68
+ margin-bottom: 1em
69
+ blockquote
70
+ background-color: $content-blockquote-background-color
71
+ border-left: $content-blockquote-border-left
72
+ padding: $content-blockquote-padding
73
+ ol
74
+ list-style: decimal outside
75
+ margin-left: 2em
76
+ margin-top: 1em
77
+ ul
78
+ list-style: disc outside
79
+ margin-left: 2em
80
+ margin-top: 1em
81
+ ul
82
+ list-style-type: circle
83
+ margin-top: 0.5em
84
+ ul
85
+ list-style-type: square
86
+ dd
87
+ margin-left: 2em
88
+ figure
89
+ margin-left: 2em
90
+ margin-right: 2em
91
+ text-align: center
92
+ &:not(:first-child)
93
+ margin-top: 2em
94
+ &:not(:last-child)
95
+ margin-bottom: 2em
96
+ img
97
+ display: inline-block
98
+ figcaption
99
+ font-style: italic
100
+ pre
101
+ +overflow-touch
102
+ overflow-x: auto
103
+ padding: $content-pre-padding
104
+ white-space: pre
105
+ word-wrap: normal
106
+ sup,
107
+ sub
108
+ font-size: 75%
109
+ table
110
+ width: 100%
111
+ td,
112
+ th
113
+ border: $content-table-cell-border
114
+ border-width: $content-table-cell-border-width
115
+ padding: $content-table-cell-padding
116
+ vertical-align: top
117
+ th
118
+ color: $content-table-cell-heading-color
119
+ text-align: left
120
+ tr
121
+ &:hover
122
+ background-color: $content-table-row-hover-background-color
123
+ thead
124
+ td,
125
+ th
126
+ border-width: $content-table-head-cell-border-width
127
+ color: $content-table-head-cell-color
128
+ tfoot
129
+ td,
130
+ th
131
+ border-width: $content-table-foot-cell-border-width
132
+ color: $content-table-foot-cell-color
133
+ tbody
134
+ tr
135
+ &:last-child
136
+ td,
137
+ th
138
+ border-bottom-width: 0
139
+ // Sizes
140
+ &.is-small
141
+ font-size: $size-small
142
+ &.is-medium
143
+ font-size: $size-medium
144
+ &.is-large
145
+ font-size: $size-large
@@ -0,0 +1,603 @@
1
+ $input-color: $grey-darker !default
2
+ $input-background-color: $white !default
3
+ $input-border-color: $grey-lighter !default
4
+ $input-shadow: inset 0 1px 2px rgba($black, 0.1) !default
5
+
6
+ $input-hover-color: $grey-darker !default
7
+ $input-hover-border-color: $grey-light !default
8
+
9
+ $input-focus-color: $grey-darker !default
10
+ $input-focus-border-color: $link !default
11
+ $input-focus-box-shadow-size: 0 0 0 0.125em !default
12
+ $input-focus-box-shadow-color: rgba($link, 0.25) !default
13
+
14
+ $input-disabled-color: $text-light !default
15
+ $input-disabled-background-color: $background !default
16
+ $input-disabled-border-color: $background !default
17
+
18
+ $input-arrow: $link !default
19
+
20
+ $input-icon-color: $grey-lighter !default
21
+ $input-icon-active-color: $grey !default
22
+
23
+ $input-radius: $radius !default
24
+
25
+ $file-border-color: $border !default
26
+ $file-radius: $radius !default
27
+
28
+ $file-cta-background-color: $white-ter !default
29
+ $file-cta-color: $grey-dark !default
30
+ $file-cta-hover-color: $grey-darker !default
31
+ $file-cta-active-color: $grey-darker !default
32
+
33
+ $file-name-border-color: $border !default
34
+ $file-name-border-style: solid !default
35
+ $file-name-border-width: 1px 1px 1px 0 !default
36
+ $file-name-max-width: 16em !default
37
+
38
+ $label-color: $grey-darker !default
39
+ $label-weight: $weight-bold !default
40
+
41
+ $help-size: $size-small !default
42
+
43
+ =input
44
+ +control
45
+ background-color: $input-background-color
46
+ border-color: $input-border-color
47
+ color: $input-color
48
+ &:hover,
49
+ &.is-hovered
50
+ border-color: $input-hover-border-color
51
+ &:focus,
52
+ &.is-focused,
53
+ &:active,
54
+ &.is-active
55
+ border-color: $input-focus-border-color
56
+ box-shadow: $input-focus-box-shadow-size $input-focus-box-shadow-color
57
+ &[disabled]
58
+ background-color: $input-disabled-background-color
59
+ border-color: $input-disabled-border-color
60
+ box-shadow: none
61
+ color: $input-disabled-color
62
+ +placeholder
63
+ color: rgba($input-disabled-color, 0.3)
64
+
65
+ .input,
66
+ .textarea
67
+ +input
68
+ box-shadow: $input-shadow
69
+ max-width: 100%
70
+ width: 100%
71
+ &[type="search"]
72
+ border-radius: 290486px
73
+ &[readonly]
74
+ box-shadow: none
75
+ // Colors
76
+ @each $name, $pair in $colors
77
+ $color: nth($pair, 1)
78
+ &.is-#{$name}
79
+ border-color: $color
80
+ &:focus,
81
+ &.is-focused,
82
+ &:active,
83
+ &.is-active
84
+ box-shadow: $input-focus-box-shadow-size rgba($color, 0.25)
85
+ // Sizes
86
+ &.is-small
87
+ +control-small
88
+ &.is-medium
89
+ +control-medium
90
+ &.is-large
91
+ +control-large
92
+ // Modifiers
93
+ &.is-fullwidth
94
+ display: block
95
+ width: 100%
96
+ &.is-inline
97
+ display: inline
98
+ width: auto
99
+
100
+ .input
101
+ &.is-static
102
+ background-color: transparent
103
+ border-color: transparent
104
+ box-shadow: none
105
+ padding-left: 0
106
+ padding-right: 0
107
+
108
+ .textarea
109
+ display: block
110
+ max-width: 100%
111
+ min-width: 100%
112
+ padding: 0.625em
113
+ resize: vertical
114
+ &:not([rows])
115
+ max-height: 600px
116
+ min-height: 120px
117
+ &[rows]
118
+ height: unset
119
+ // Modifiers
120
+ &.has-fixed-size
121
+ resize: none
122
+
123
+ .checkbox,
124
+ .radio
125
+ cursor: pointer
126
+ display: inline-block
127
+ line-height: 1.25
128
+ position: relative
129
+ input
130
+ cursor: pointer
131
+ &:hover
132
+ color: $input-hover-color
133
+ &[disabled]
134
+ color: $input-disabled-color
135
+ cursor: not-allowed
136
+
137
+ .radio
138
+ & + .radio
139
+ margin-left: 0.5em
140
+
141
+ .select
142
+ display: inline-block
143
+ max-width: 100%
144
+ position: relative
145
+ vertical-align: top
146
+ &:not(.is-multiple)
147
+ height: 2.25em
148
+ &::after
149
+ +arrow($input-arrow)
150
+ margin-top: -0.375em
151
+ right: 1.125em
152
+ top: 50%
153
+ z-index: 4
154
+ select
155
+ +input
156
+ cursor: pointer
157
+ display: block
158
+ font-size: 1em
159
+ max-width: 100%
160
+ outline: none
161
+ &::-ms-expand
162
+ display: none
163
+ &[disabled]:hover
164
+ border-color: $input-disabled-border-color
165
+ &:not([multiple])
166
+ padding-right: 2.5em
167
+ &[multiple]
168
+ height: unset
169
+ padding: 0
170
+ option
171
+ padding: 0.5em 1em
172
+ // States
173
+ &:hover
174
+ &::after
175
+ border-color: $input-hover-color
176
+ // Colors
177
+ @each $name, $pair in $colors
178
+ $color: nth($pair, 1)
179
+ &.is-#{$name} select
180
+ border-color: $color
181
+ &:focus,
182
+ &.is-focused,
183
+ &:active,
184
+ &.is-active
185
+ box-shadow: $input-focus-box-shadow-size rgba($color, 0.25)
186
+ // Sizes
187
+ &.is-small
188
+ +control-small
189
+ &.is-medium
190
+ +control-medium
191
+ &.is-large
192
+ +control-large
193
+ // Modifiers
194
+ &.is-disabled
195
+ &::after
196
+ border-color: $input-disabled-color
197
+ &.is-fullwidth
198
+ width: 100%
199
+ select
200
+ width: 100%
201
+ &.is-loading
202
+ &::after
203
+ +loader
204
+ margin-top: 0
205
+ position: absolute
206
+ right: 0.625em
207
+ top: 0.625em
208
+ transform: none
209
+ &.is-small:after
210
+ font-size: $size-small
211
+ &.is-medium:after
212
+ font-size: $size-medium
213
+ &.is-large:after
214
+ font-size: $size-large
215
+
216
+ .file
217
+ +unselectable
218
+ align-items: stretch
219
+ display: flex
220
+ justify-content: flex-start
221
+ position: relative
222
+ // Colors
223
+ @each $name, $pair in $colors
224
+ $color: nth($pair, 1)
225
+ $color-invert: nth($pair, 2)
226
+ &.is-#{$name}
227
+ .file-cta
228
+ background-color: $color
229
+ border-color: transparent
230
+ color: $color-invert
231
+ &:hover,
232
+ &.is-hovered
233
+ .file-cta
234
+ background-color: darken($color, 2.5%)
235
+ border-color: transparent
236
+ color: $color-invert
237
+ &:focus,
238
+ &.is-focused
239
+ .file-cta
240
+ border-color: transparent
241
+ box-shadow: 0 0 0.5em rgba($color, 0.25)
242
+ color: $color-invert
243
+ &:active,
244
+ &.is-active
245
+ .file-cta
246
+ background-color: darken($color, 5%)
247
+ border-color: transparent
248
+ color: $color-invert
249
+ // Sizes
250
+ &.is-small
251
+ font-size: $size-small
252
+ &.is-medium
253
+ font-size: $size-medium
254
+ .file-icon
255
+ .fa
256
+ font-size: 21px
257
+ &.is-large
258
+ font-size: $size-large
259
+ .file-icon
260
+ .fa
261
+ font-size: 28px
262
+ // Modifiers
263
+ &.has-name
264
+ .file-cta
265
+ border-bottom-right-radius: 0
266
+ border-top-right-radius: 0
267
+ .file-name
268
+ border-bottom-left-radius: 0
269
+ border-top-left-radius: 0
270
+ &.is-centered
271
+ justify-content: center
272
+ &.is-right
273
+ justify-content: flex-end
274
+ &.is-boxed
275
+ .file-label
276
+ flex-direction: column
277
+ .file-cta
278
+ flex-direction: column
279
+ height: auto
280
+ padding: 1em 3em
281
+ .file-name
282
+ border-width: 0 1px 1px
283
+ .file-icon
284
+ height: 1.5em
285
+ width: 1.5em
286
+ .fa
287
+ font-size: 21px
288
+ &.is-small
289
+ .file-icon .fa
290
+ font-size: 14px
291
+ &.is-medium
292
+ .file-icon .fa
293
+ font-size: 28px
294
+ &.is-large
295
+ .file-icon .fa
296
+ font-size: 35px
297
+ &.has-name
298
+ .file-cta
299
+ border-radius: $file-radius $file-radius 0 0
300
+ .file-name
301
+ border-radius: 0 0 $file-radius $file-radius
302
+ border-width: 0 1px 1px
303
+ &.is-right
304
+ .file-cta
305
+ border-radius: 0 $file-radius $file-radius 0
306
+ .file-name
307
+ border-radius: $file-radius 0 0 $file-radius
308
+ border-width: 1px 0 1px 1px
309
+ order: -1
310
+ &.is-fullwidth
311
+ .file-label
312
+ width: 100%
313
+ .file-name
314
+ flex-grow: 1
315
+ max-width: none
316
+
317
+ .file-label
318
+ align-items: stretch
319
+ display: flex
320
+ cursor: pointer
321
+ justify-content: flex-start
322
+ overflow: hidden
323
+ position: relative
324
+ &:hover
325
+ .file-cta
326
+ background-color: darken($file-cta-background-color, 2.5%)
327
+ color: $file-cta-hover-color
328
+ .file-name
329
+ border-color: darken($file-name-border-color, 2.5%)
330
+ &:active
331
+ .file-cta
332
+ background-color: darken($file-cta-background-color, 5%)
333
+ color: $file-cta-active-color
334
+ .file-name
335
+ border-color: darken($file-name-border-color, 5%)
336
+
337
+ .file-input
338
+ height: 0.01em
339
+ left: 0
340
+ outline: none
341
+ position: absolute
342
+ top: 0
343
+ width: 0.01em
344
+
345
+ .file-cta,
346
+ .file-name
347
+ +control
348
+ border-color: $file-border-color
349
+ border-radius: $file-radius
350
+ font-size: 1em
351
+ padding-left: 1em
352
+ padding-right: 1em
353
+ white-space: nowrap
354
+
355
+ .file-cta
356
+ background-color: $file-cta-background-color
357
+ color: $file-cta-color
358
+
359
+ .file-name
360
+ border-color: $file-name-border-color
361
+ border-style: $file-name-border-style
362
+ border-width: $file-name-border-width
363
+ display: block
364
+ max-width: $file-name-max-width
365
+ overflow: hidden
366
+ text-align: left
367
+ text-overflow: ellipsis
368
+
369
+ .file-icon
370
+ align-items: center
371
+ display: flex
372
+ height: 1em
373
+ justify-content: center
374
+ margin-right: 0.5em
375
+ width: 1em
376
+ .fa
377
+ font-size: 14px
378
+
379
+ .label
380
+ color: $label-color
381
+ display: block
382
+ font-size: $size-normal
383
+ font-weight: $label-weight
384
+ &:not(:last-child)
385
+ margin-bottom: 0.5em
386
+ // Sizes
387
+ &.is-small
388
+ font-size: $size-small
389
+ &.is-medium
390
+ font-size: $size-medium
391
+ &.is-large
392
+ font-size: $size-large
393
+
394
+ .help
395
+ display: block
396
+ font-size: $help-size
397
+ margin-top: 0.25rem
398
+ @each $name, $pair in $colors
399
+ $color: nth($pair, 1)
400
+ &.is-#{$name}
401
+ color: $color
402
+
403
+ // Containers
404
+
405
+ .field
406
+ &:not(:last-child)
407
+ margin-bottom: 0.75rem
408
+ // Modifiers
409
+ &.has-addons
410
+ display: flex
411
+ justify-content: flex-start
412
+ .control
413
+ &:not(:last-child)
414
+ margin-right: -1px
415
+ &:first-child
416
+ .button,
417
+ .input,
418
+ .select select
419
+ border-bottom-left-radius: $input-radius
420
+ border-top-left-radius: $input-radius
421
+ &:last-child
422
+ .button,
423
+ .input,
424
+ .select select
425
+ border-bottom-right-radius: $input-radius
426
+ border-top-right-radius: $input-radius
427
+ .button,
428
+ .input,
429
+ .select select
430
+ border-radius: 0
431
+ &:hover,
432
+ &.is-hovered
433
+ z-index: 2
434
+ &:focus,
435
+ &.is-focused,
436
+ &:active,
437
+ &.is-active
438
+ z-index: 3
439
+ &:hover
440
+ z-index: 4
441
+ &.is-expanded
442
+ flex-grow: 1
443
+ &.has-addons-centered
444
+ justify-content: center
445
+ &.has-addons-right
446
+ justify-content: flex-end
447
+ &.has-addons-fullwidth
448
+ .control
449
+ flex-grow: 1
450
+ flex-shrink: 0
451
+ &.is-grouped
452
+ display: flex
453
+ justify-content: flex-start
454
+ & > .control
455
+ flex-shrink: 0
456
+ &:not(:last-child)
457
+ margin-bottom: 0
458
+ margin-right: 0.75rem
459
+ &.is-expanded
460
+ flex-grow: 1
461
+ flex-shrink: 1
462
+ &.is-grouped-centered
463
+ justify-content: center
464
+ &.is-grouped-right
465
+ justify-content: flex-end
466
+ &.is-grouped-multiline
467
+ flex-wrap: wrap
468
+ & > .control
469
+ &:last-child,
470
+ &:not(:last-child)
471
+ margin-bottom: 0.75rem
472
+ &:last-child
473
+ margin-bottom: -0.75rem
474
+ &:not(:last-child)
475
+ margin-bottom: 0
476
+
477
+ &.is-horizontal
478
+ +tablet
479
+ display: flex
480
+
481
+ .field-label
482
+ .label
483
+ font-size: inherit
484
+ +mobile
485
+ margin-bottom: 0.5rem
486
+ +tablet
487
+ flex-basis: 0
488
+ flex-grow: 1
489
+ flex-shrink: 0
490
+ margin-right: 1.5rem
491
+ text-align: right
492
+ &.is-small
493
+ font-size: $size-small
494
+ padding-top: 0.375em
495
+ &.is-normal
496
+ padding-top: 0.375em
497
+ &.is-medium
498
+ font-size: $size-medium
499
+ padding-top: 0.375em
500
+ &.is-large
501
+ font-size: $size-large
502
+ padding-top: 0.375em
503
+
504
+ .field-body
505
+ .field .field
506
+ margin-bottom: 0
507
+ +tablet
508
+ display: flex
509
+ flex-basis: 0
510
+ flex-grow: 5
511
+ flex-shrink: 1
512
+ .field
513
+ margin-bottom: 0
514
+ & > .field
515
+ flex-shrink: 1
516
+ &:not(.is-narrow)
517
+ flex-grow: 1
518
+ &:not(:last-child)
519
+ margin-right: 0.75rem
520
+
521
+ .control
522
+ font-size: $size-normal
523
+ position: relative
524
+ text-align: left
525
+ // Modifiers
526
+ // DEPRECATED
527
+ &.has-icon
528
+ .icon
529
+ color: $input-icon-color
530
+ height: 2.25em
531
+ pointer-events: none
532
+ position: absolute
533
+ top: 0
534
+ width: 2.25em
535
+ z-index: 4
536
+ .input
537
+ &:focus
538
+ & + .icon
539
+ color: $input-icon-active-color
540
+ &.is-small
541
+ & + .icon
542
+ font-size: $size-small
543
+ &.is-medium
544
+ & + .icon
545
+ font-size: $size-medium
546
+ &.is-large
547
+ & + .icon
548
+ font-size: $size-large
549
+ &:not(.has-icon-right)
550
+ .icon
551
+ left: 0
552
+ .input
553
+ padding-left: 2.25em
554
+ &.has-icon-right
555
+ .icon
556
+ right: 0
557
+ .input
558
+ padding-right: 2.25em
559
+ &.has-icons-left,
560
+ &.has-icons-right
561
+ .input,
562
+ .select
563
+ &:focus
564
+ & ~ .icon
565
+ color: $input-icon-active-color
566
+ &.is-small ~ .icon
567
+ font-size: $size-small
568
+ &.is-medium ~ .icon
569
+ font-size: $size-medium
570
+ &.is-large ~ .icon
571
+ font-size: $size-large
572
+ .icon
573
+ color: $input-icon-color
574
+ height: 2.25em
575
+ pointer-events: none
576
+ position: absolute
577
+ top: 0
578
+ width: 2.25em
579
+ z-index: 4
580
+ &.has-icons-left
581
+ .input,
582
+ .select select
583
+ padding-left: 2.25em
584
+ .icon.is-left
585
+ left: 0
586
+ &.has-icons-right
587
+ .input,
588
+ .select select
589
+ padding-right: 2.25em
590
+ .icon.is-right
591
+ right: 0
592
+ &.is-loading
593
+ &::after
594
+ +loader
595
+ position: absolute !important
596
+ right: 0.625em
597
+ top: 0.625em
598
+ &.is-small:after
599
+ font-size: $size-small
600
+ &.is-medium:after
601
+ font-size: $size-medium
602
+ &.is-large:after
603
+ font-size: $size-large