bulma-rails 0.9.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +49 -14
- data/app/assets/stylesheets/bulma.scss +4 -0
- data/app/assets/stylesheets/sass/_index.scss +10 -0
- data/app/assets/stylesheets/sass/base/_index.scss +6 -0
- data/app/assets/stylesheets/sass/base/animations.scss +15 -0
- data/app/assets/stylesheets/sass/base/generic.scss +239 -0
- data/app/assets/stylesheets/sass/base/minireset.scss +92 -0
- data/app/assets/stylesheets/sass/base/skeleton.scss +126 -0
- data/app/assets/stylesheets/sass/components/_index.scss +13 -0
- data/app/assets/stylesheets/sass/components/breadcrumb.scss +139 -0
- data/app/assets/stylesheets/sass/components/card.scss +162 -0
- data/app/assets/stylesheets/sass/components/dropdown.scss +188 -0
- data/app/assets/stylesheets/sass/components/menu.scss +165 -0
- data/app/assets/stylesheets/sass/components/message.scss +183 -0
- data/app/assets/stylesheets/sass/components/modal.scss +164 -0
- data/app/assets/stylesheets/sass/components/navbar.scss +788 -0
- data/app/assets/stylesheets/sass/components/pagination.scss +379 -0
- data/app/assets/stylesheets/sass/components/panel.scss +218 -0
- data/app/assets/stylesheets/sass/components/tabs.scss +273 -0
- data/app/assets/stylesheets/sass/elements/_index.scss +16 -0
- data/app/assets/stylesheets/sass/elements/block.scss +6 -0
- data/app/assets/stylesheets/sass/elements/box.scss +59 -0
- data/app/assets/stylesheets/sass/elements/button.scss +640 -0
- data/app/assets/stylesheets/sass/elements/content.scss +283 -0
- data/app/assets/stylesheets/sass/elements/delete.scss +6 -0
- data/app/assets/stylesheets/sass/elements/icon.scss +67 -0
- data/app/assets/stylesheets/sass/elements/image.scss +62 -0
- data/app/assets/stylesheets/sass/elements/loader.scss +15 -0
- data/app/assets/stylesheets/sass/elements/notification.scss +105 -0
- data/app/assets/stylesheets/sass/elements/progress.scss +115 -0
- data/app/assets/stylesheets/sass/elements/table.scss +261 -0
- data/app/assets/stylesheets/sass/elements/tag.scss +219 -0
- data/app/assets/stylesheets/sass/elements/title.scss +128 -0
- data/app/assets/stylesheets/sass/form/_index.scss +9 -0
- data/app/assets/stylesheets/sass/form/checkbox-radio.scss +32 -0
- data/app/assets/stylesheets/sass/form/file.scss +330 -0
- data/app/assets/stylesheets/sass/form/input-textarea.scss +123 -0
- data/app/assets/stylesheets/sass/form/select.scss +143 -0
- data/app/assets/stylesheets/sass/form/shared.scss +172 -0
- data/app/assets/stylesheets/sass/form/tools.scss +341 -0
- data/app/assets/stylesheets/sass/grid/_index.scss +5 -0
- data/app/assets/stylesheets/sass/grid/columns-v2.scss +957 -0
- data/app/assets/stylesheets/sass/grid/columns.scss +877 -0
- data/app/assets/stylesheets/sass/grid/grid.scss +209 -0
- data/app/assets/stylesheets/sass/helpers/_index.scss +15 -0
- data/app/assets/stylesheets/sass/helpers/aspect-ratio.scss +10 -0
- data/app/assets/stylesheets/sass/helpers/border.scss +15 -0
- data/app/assets/stylesheets/sass/helpers/color.scss +364 -0
- data/app/assets/stylesheets/sass/helpers/flexbox.scss +62 -0
- data/app/assets/stylesheets/sass/helpers/float.scss +28 -0
- data/app/assets/stylesheets/sass/helpers/gap.scss +24 -0
- data/app/assets/stylesheets/sass/helpers/other.scss +19 -0
- data/app/assets/stylesheets/sass/helpers/overflow.scss +21 -0
- data/app/assets/stylesheets/sass/helpers/position.scss +19 -0
- data/app/assets/stylesheets/sass/helpers/spacing.scss +64 -0
- data/app/assets/stylesheets/sass/helpers/typography.scss +168 -0
- data/app/assets/stylesheets/sass/helpers/visibility.scss +221 -0
- data/app/assets/stylesheets/sass/layout/_index.scss +9 -0
- data/app/assets/stylesheets/sass/layout/container.scss +51 -0
- data/app/assets/stylesheets/sass/layout/footer.scss +23 -0
- data/app/assets/stylesheets/sass/layout/hero.scss +270 -0
- data/app/assets/stylesheets/sass/layout/level.scss +107 -0
- data/app/assets/stylesheets/sass/layout/media.scss +106 -0
- data/app/assets/stylesheets/sass/layout/section.scss +34 -0
- data/app/assets/stylesheets/sass/themes/_index.scss +35 -0
- data/app/assets/stylesheets/sass/themes/dark.scss +56 -0
- data/app/assets/stylesheets/sass/themes/light.scss +145 -0
- data/app/assets/stylesheets/sass/themes/setup.scss +174 -0
- data/app/assets/stylesheets/sass/utilities/_index.scss +7 -0
- data/app/assets/stylesheets/sass/utilities/controls.scss +85 -0
- data/app/assets/stylesheets/sass/utilities/css-variables.scss +425 -0
- data/app/assets/stylesheets/sass/utilities/derived-variables.scss +86 -106
- data/app/assets/stylesheets/sass/utilities/extends.scss +34 -0
- data/app/assets/stylesheets/sass/utilities/functions.scss +258 -0
- data/app/assets/stylesheets/sass/utilities/initial-variables.scss +155 -0
- data/app/assets/stylesheets/sass/utilities/mixins.scss +460 -0
- data/bulma-rails.gemspec +4 -6
- metadata +80 -67
- data/app/assets/stylesheets/bulma.sass +0 -10
- data/app/assets/stylesheets/sass/base/_all.sass +0 -4
- data/app/assets/stylesheets/sass/base/generic.sass +0 -142
- data/app/assets/stylesheets/sass/base/helpers.sass +0 -1
- data/app/assets/stylesheets/sass/base/minireset.sass +0 -79
- data/app/assets/stylesheets/sass/components/_all.sass +0 -14
- data/app/assets/stylesheets/sass/components/breadcrumb.sass +0 -75
- data/app/assets/stylesheets/sass/components/card.sass +0 -79
- data/app/assets/stylesheets/sass/components/dropdown.sass +0 -81
- data/app/assets/stylesheets/sass/components/level.sass +0 -77
- data/app/assets/stylesheets/sass/components/media.sass +0 -52
- data/app/assets/stylesheets/sass/components/menu.sass +0 -57
- data/app/assets/stylesheets/sass/components/message.sass +0 -99
- data/app/assets/stylesheets/sass/components/modal.sass +0 -113
- data/app/assets/stylesheets/sass/components/navbar.sass +0 -441
- data/app/assets/stylesheets/sass/components/pagination.sass +0 -150
- data/app/assets/stylesheets/sass/components/panel.sass +0 -119
- data/app/assets/stylesheets/sass/components/tabs.sass +0 -174
- data/app/assets/stylesheets/sass/elements/_all.sass +0 -15
- data/app/assets/stylesheets/sass/elements/box.sass +0 -24
- data/app/assets/stylesheets/sass/elements/button.sass +0 -323
- data/app/assets/stylesheets/sass/elements/container.sass +0 -24
- data/app/assets/stylesheets/sass/elements/content.sass +0 -155
- data/app/assets/stylesheets/sass/elements/form.sass +0 -1
- data/app/assets/stylesheets/sass/elements/icon.sass +0 -21
- data/app/assets/stylesheets/sass/elements/image.sass +0 -71
- data/app/assets/stylesheets/sass/elements/notification.sass +0 -48
- data/app/assets/stylesheets/sass/elements/other.sass +0 -39
- data/app/assets/stylesheets/sass/elements/progress.sass +0 -67
- data/app/assets/stylesheets/sass/elements/table.sass +0 -129
- data/app/assets/stylesheets/sass/elements/tag.sass +0 -136
- data/app/assets/stylesheets/sass/elements/title.sass +0 -70
- data/app/assets/stylesheets/sass/form/_all.sass +0 -8
- data/app/assets/stylesheets/sass/form/checkbox-radio.sass +0 -21
- data/app/assets/stylesheets/sass/form/file.sass +0 -180
- data/app/assets/stylesheets/sass/form/input-textarea.sass +0 -64
- data/app/assets/stylesheets/sass/form/select.sass +0 -85
- data/app/assets/stylesheets/sass/form/shared.sass +0 -55
- data/app/assets/stylesheets/sass/form/tools.sass +0 -213
- data/app/assets/stylesheets/sass/grid/_all.sass +0 -4
- data/app/assets/stylesheets/sass/grid/columns.sass +0 -504
- data/app/assets/stylesheets/sass/grid/tiles.sass +0 -34
- data/app/assets/stylesheets/sass/helpers/_all.sass +0 -10
- data/app/assets/stylesheets/sass/helpers/color.sass +0 -37
- data/app/assets/stylesheets/sass/helpers/float.sass +0 -8
- data/app/assets/stylesheets/sass/helpers/other.sass +0 -8
- data/app/assets/stylesheets/sass/helpers/overflow.sass +0 -2
- data/app/assets/stylesheets/sass/helpers/position.sass +0 -5
- data/app/assets/stylesheets/sass/helpers/spacing.sass +0 -28
- data/app/assets/stylesheets/sass/helpers/typography.sass +0 -98
- data/app/assets/stylesheets/sass/helpers/visibility.sass +0 -122
- data/app/assets/stylesheets/sass/layout/_all.sass +0 -5
- data/app/assets/stylesheets/sass/layout/footer.sass +0 -9
- data/app/assets/stylesheets/sass/layout/hero.sass +0 -145
- data/app/assets/stylesheets/sass/layout/section.sass +0 -13
- data/app/assets/stylesheets/sass/utilities/_all.sass +0 -8
- data/app/assets/stylesheets/sass/utilities/animations.sass +0 -5
- data/app/assets/stylesheets/sass/utilities/controls.sass +0 -50
- data/app/assets/stylesheets/sass/utilities/functions.sass +0 -115
- data/app/assets/stylesheets/sass/utilities/initial-variables.sass +0 -78
- data/app/assets/stylesheets/sass/utilities/mixins.sass +0 -285
@@ -1,150 +0,0 @@
|
|
1
|
-
$pagination-color: $text-strong !default
|
2
|
-
$pagination-border-color: $border !default
|
3
|
-
$pagination-margin: -0.25rem !default
|
4
|
-
$pagination-min-width: $control-height !default
|
5
|
-
|
6
|
-
$pagination-item-font-size: 1em !default
|
7
|
-
$pagination-item-margin: 0.25rem !default
|
8
|
-
$pagination-item-padding-left: 0.5em !default
|
9
|
-
$pagination-item-padding-right: 0.5em !default
|
10
|
-
|
11
|
-
$pagination-hover-color: $link-hover !default
|
12
|
-
$pagination-hover-border-color: $link-hover-border !default
|
13
|
-
|
14
|
-
$pagination-focus-color: $link-focus !default
|
15
|
-
$pagination-focus-border-color: $link-focus-border !default
|
16
|
-
|
17
|
-
$pagination-active-color: $link-active !default
|
18
|
-
$pagination-active-border-color: $link-active-border !default
|
19
|
-
|
20
|
-
$pagination-disabled-color: $text-light !default
|
21
|
-
$pagination-disabled-background-color: $border !default
|
22
|
-
$pagination-disabled-border-color: $border !default
|
23
|
-
|
24
|
-
$pagination-current-color: $link-invert !default
|
25
|
-
$pagination-current-background-color: $link !default
|
26
|
-
$pagination-current-border-color: $link !default
|
27
|
-
|
28
|
-
$pagination-ellipsis-color: $grey-light !default
|
29
|
-
|
30
|
-
$pagination-shadow-inset: inset 0 1px 2px rgba($scheme-invert, 0.2)
|
31
|
-
|
32
|
-
.pagination
|
33
|
-
@extend %block
|
34
|
-
font-size: $size-normal
|
35
|
-
margin: $pagination-margin
|
36
|
-
// Sizes
|
37
|
-
&.is-small
|
38
|
-
font-size: $size-small
|
39
|
-
&.is-medium
|
40
|
-
font-size: $size-medium
|
41
|
-
&.is-large
|
42
|
-
font-size: $size-large
|
43
|
-
&.is-rounded
|
44
|
-
.pagination-previous,
|
45
|
-
.pagination-next
|
46
|
-
padding-left: 1em
|
47
|
-
padding-right: 1em
|
48
|
-
border-radius: $radius-rounded
|
49
|
-
.pagination-link
|
50
|
-
border-radius: $radius-rounded
|
51
|
-
|
52
|
-
.pagination,
|
53
|
-
.pagination-list
|
54
|
-
align-items: center
|
55
|
-
display: flex
|
56
|
-
justify-content: center
|
57
|
-
text-align: center
|
58
|
-
|
59
|
-
.pagination-previous,
|
60
|
-
.pagination-next,
|
61
|
-
.pagination-link,
|
62
|
-
.pagination-ellipsis
|
63
|
-
@extend %control
|
64
|
-
@extend %unselectable
|
65
|
-
font-size: $pagination-item-font-size
|
66
|
-
justify-content: center
|
67
|
-
margin: $pagination-item-margin
|
68
|
-
padding-left: $pagination-item-padding-left
|
69
|
-
padding-right: $pagination-item-padding-right
|
70
|
-
text-align: center
|
71
|
-
|
72
|
-
.pagination-previous,
|
73
|
-
.pagination-next,
|
74
|
-
.pagination-link
|
75
|
-
border-color: $pagination-border-color
|
76
|
-
color: $pagination-color
|
77
|
-
min-width: $pagination-min-width
|
78
|
-
&:hover
|
79
|
-
border-color: $pagination-hover-border-color
|
80
|
-
color: $pagination-hover-color
|
81
|
-
&:focus
|
82
|
-
border-color: $pagination-focus-border-color
|
83
|
-
&:active
|
84
|
-
box-shadow: $pagination-shadow-inset
|
85
|
-
&[disabled]
|
86
|
-
background-color: $pagination-disabled-background-color
|
87
|
-
border-color: $pagination-disabled-border-color
|
88
|
-
box-shadow: none
|
89
|
-
color: $pagination-disabled-color
|
90
|
-
opacity: 0.5
|
91
|
-
|
92
|
-
.pagination-previous,
|
93
|
-
.pagination-next
|
94
|
-
padding-left: 0.75em
|
95
|
-
padding-right: 0.75em
|
96
|
-
white-space: nowrap
|
97
|
-
|
98
|
-
.pagination-link
|
99
|
-
&.is-current
|
100
|
-
background-color: $pagination-current-background-color
|
101
|
-
border-color: $pagination-current-border-color
|
102
|
-
color: $pagination-current-color
|
103
|
-
|
104
|
-
.pagination-ellipsis
|
105
|
-
color: $pagination-ellipsis-color
|
106
|
-
pointer-events: none
|
107
|
-
|
108
|
-
.pagination-list
|
109
|
-
flex-wrap: wrap
|
110
|
-
|
111
|
-
+mobile
|
112
|
-
.pagination
|
113
|
-
flex-wrap: wrap
|
114
|
-
.pagination-previous,
|
115
|
-
.pagination-next
|
116
|
-
flex-grow: 1
|
117
|
-
flex-shrink: 1
|
118
|
-
.pagination-list
|
119
|
-
li
|
120
|
-
flex-grow: 1
|
121
|
-
flex-shrink: 1
|
122
|
-
|
123
|
-
+tablet
|
124
|
-
.pagination-list
|
125
|
-
flex-grow: 1
|
126
|
-
flex-shrink: 1
|
127
|
-
justify-content: flex-start
|
128
|
-
order: 1
|
129
|
-
.pagination-previous
|
130
|
-
order: 2
|
131
|
-
.pagination-next
|
132
|
-
order: 3
|
133
|
-
.pagination
|
134
|
-
justify-content: space-between
|
135
|
-
&.is-centered
|
136
|
-
.pagination-previous
|
137
|
-
order: 1
|
138
|
-
.pagination-list
|
139
|
-
justify-content: center
|
140
|
-
order: 2
|
141
|
-
.pagination-next
|
142
|
-
order: 3
|
143
|
-
&.is-right
|
144
|
-
.pagination-previous
|
145
|
-
order: 1
|
146
|
-
.pagination-next
|
147
|
-
order: 2
|
148
|
-
.pagination-list
|
149
|
-
justify-content: flex-end
|
150
|
-
order: 3
|
@@ -1,119 +0,0 @@
|
|
1
|
-
$panel-margin: $block-spacing !default
|
2
|
-
$panel-item-border: 1px solid $border-light !default
|
3
|
-
$panel-radius: $radius-large !default
|
4
|
-
$panel-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default
|
5
|
-
|
6
|
-
$panel-heading-background-color: $border-light !default
|
7
|
-
$panel-heading-color: $text-strong !default
|
8
|
-
$panel-heading-line-height: 1.25 !default
|
9
|
-
$panel-heading-padding: 0.75em 1em !default
|
10
|
-
$panel-heading-radius: $radius !default
|
11
|
-
$panel-heading-size: 1.25em !default
|
12
|
-
$panel-heading-weight: $weight-bold !default
|
13
|
-
|
14
|
-
$panel-tabs-font-size: 0.875em !default
|
15
|
-
$panel-tab-border-bottom: 1px solid $border !default
|
16
|
-
$panel-tab-active-border-bottom-color: $link-active-border !default
|
17
|
-
$panel-tab-active-color: $link-active !default
|
18
|
-
|
19
|
-
$panel-list-item-color: $text !default
|
20
|
-
$panel-list-item-hover-color: $link !default
|
21
|
-
|
22
|
-
$panel-block-color: $text-strong !default
|
23
|
-
$panel-block-hover-background-color: $background !default
|
24
|
-
$panel-block-active-border-left-color: $link !default
|
25
|
-
$panel-block-active-color: $link-active !default
|
26
|
-
$panel-block-active-icon-color: $link !default
|
27
|
-
|
28
|
-
$panel-icon-color: $text-light !default
|
29
|
-
$panel-colors: $colors !default
|
30
|
-
|
31
|
-
.panel
|
32
|
-
border-radius: $panel-radius
|
33
|
-
box-shadow: $panel-shadow
|
34
|
-
font-size: $size-normal
|
35
|
-
&:not(:last-child)
|
36
|
-
margin-bottom: $panel-margin
|
37
|
-
// Colors
|
38
|
-
@each $name, $components in $panel-colors
|
39
|
-
$color: nth($components, 1)
|
40
|
-
$color-invert: nth($components, 2)
|
41
|
-
&.is-#{$name}
|
42
|
-
.panel-heading
|
43
|
-
background-color: $color
|
44
|
-
color: $color-invert
|
45
|
-
.panel-tabs a.is-active
|
46
|
-
border-bottom-color: $color
|
47
|
-
.panel-block.is-active .panel-icon
|
48
|
-
color: $color
|
49
|
-
|
50
|
-
.panel-tabs,
|
51
|
-
.panel-block
|
52
|
-
&:not(:last-child)
|
53
|
-
border-bottom: $panel-item-border
|
54
|
-
|
55
|
-
.panel-heading
|
56
|
-
background-color: $panel-heading-background-color
|
57
|
-
border-radius: $panel-radius $panel-radius 0 0
|
58
|
-
color: $panel-heading-color
|
59
|
-
font-size: $panel-heading-size
|
60
|
-
font-weight: $panel-heading-weight
|
61
|
-
line-height: $panel-heading-line-height
|
62
|
-
padding: $panel-heading-padding
|
63
|
-
|
64
|
-
.panel-tabs
|
65
|
-
align-items: flex-end
|
66
|
-
display: flex
|
67
|
-
font-size: $panel-tabs-font-size
|
68
|
-
justify-content: center
|
69
|
-
a
|
70
|
-
border-bottom: $panel-tab-border-bottom
|
71
|
-
margin-bottom: -1px
|
72
|
-
padding: 0.5em
|
73
|
-
// Modifiers
|
74
|
-
&.is-active
|
75
|
-
border-bottom-color: $panel-tab-active-border-bottom-color
|
76
|
-
color: $panel-tab-active-color
|
77
|
-
|
78
|
-
.panel-list
|
79
|
-
a
|
80
|
-
color: $panel-list-item-color
|
81
|
-
&:hover
|
82
|
-
color: $panel-list-item-hover-color
|
83
|
-
|
84
|
-
.panel-block
|
85
|
-
align-items: center
|
86
|
-
color: $panel-block-color
|
87
|
-
display: flex
|
88
|
-
justify-content: flex-start
|
89
|
-
padding: 0.5em 0.75em
|
90
|
-
input[type="checkbox"]
|
91
|
-
+ltr-property("margin", 0.75em)
|
92
|
-
& > .control
|
93
|
-
flex-grow: 1
|
94
|
-
flex-shrink: 1
|
95
|
-
width: 100%
|
96
|
-
&.is-wrapped
|
97
|
-
flex-wrap: wrap
|
98
|
-
&.is-active
|
99
|
-
border-left-color: $panel-block-active-border-left-color
|
100
|
-
color: $panel-block-active-color
|
101
|
-
.panel-icon
|
102
|
-
color: $panel-block-active-icon-color
|
103
|
-
&:last-child
|
104
|
-
border-bottom-left-radius: $panel-radius
|
105
|
-
border-bottom-right-radius: $panel-radius
|
106
|
-
|
107
|
-
a.panel-block,
|
108
|
-
label.panel-block
|
109
|
-
cursor: pointer
|
110
|
-
&:hover
|
111
|
-
background-color: $panel-block-hover-background-color
|
112
|
-
|
113
|
-
.panel-icon
|
114
|
-
+fa(14px, 1em)
|
115
|
-
color: $panel-icon-color
|
116
|
-
+ltr-property("margin", 0.75em)
|
117
|
-
.fa
|
118
|
-
font-size: inherit
|
119
|
-
line-height: inherit
|
@@ -1,174 +0,0 @@
|
|
1
|
-
$tabs-border-bottom-color: $border !default
|
2
|
-
$tabs-border-bottom-style: solid !default
|
3
|
-
$tabs-border-bottom-width: 1px !default
|
4
|
-
$tabs-link-color: $text !default
|
5
|
-
$tabs-link-hover-border-bottom-color: $text-strong !default
|
6
|
-
$tabs-link-hover-color: $text-strong !default
|
7
|
-
$tabs-link-active-border-bottom-color: $link !default
|
8
|
-
$tabs-link-active-color: $link !default
|
9
|
-
$tabs-link-padding: 0.5em 1em !default
|
10
|
-
|
11
|
-
$tabs-boxed-link-radius: $radius !default
|
12
|
-
$tabs-boxed-link-hover-background-color: $background !default
|
13
|
-
$tabs-boxed-link-hover-border-bottom-color: $border !default
|
14
|
-
|
15
|
-
$tabs-boxed-link-active-background-color: $scheme-main !default
|
16
|
-
$tabs-boxed-link-active-border-color: $border !default
|
17
|
-
$tabs-boxed-link-active-border-bottom-color: transparent !default
|
18
|
-
|
19
|
-
$tabs-toggle-link-border-color: $border !default
|
20
|
-
$tabs-toggle-link-border-style: solid !default
|
21
|
-
$tabs-toggle-link-border-width: 1px !default
|
22
|
-
$tabs-toggle-link-hover-background-color: $background !default
|
23
|
-
$tabs-toggle-link-hover-border-color: $border-hover !default
|
24
|
-
$tabs-toggle-link-radius: $radius !default
|
25
|
-
$tabs-toggle-link-active-background-color: $link !default
|
26
|
-
$tabs-toggle-link-active-border-color: $link !default
|
27
|
-
$tabs-toggle-link-active-color: $link-invert !default
|
28
|
-
|
29
|
-
.tabs
|
30
|
-
@extend %block
|
31
|
-
+overflow-touch
|
32
|
-
@extend %unselectable
|
33
|
-
align-items: stretch
|
34
|
-
display: flex
|
35
|
-
font-size: $size-normal
|
36
|
-
justify-content: space-between
|
37
|
-
overflow: hidden
|
38
|
-
overflow-x: auto
|
39
|
-
white-space: nowrap
|
40
|
-
a
|
41
|
-
align-items: center
|
42
|
-
border-bottom-color: $tabs-border-bottom-color
|
43
|
-
border-bottom-style: $tabs-border-bottom-style
|
44
|
-
border-bottom-width: $tabs-border-bottom-width
|
45
|
-
color: $tabs-link-color
|
46
|
-
display: flex
|
47
|
-
justify-content: center
|
48
|
-
margin-bottom: -#{$tabs-border-bottom-width}
|
49
|
-
padding: $tabs-link-padding
|
50
|
-
vertical-align: top
|
51
|
-
&:hover
|
52
|
-
border-bottom-color: $tabs-link-hover-border-bottom-color
|
53
|
-
color: $tabs-link-hover-color
|
54
|
-
li
|
55
|
-
display: block
|
56
|
-
&.is-active
|
57
|
-
a
|
58
|
-
border-bottom-color: $tabs-link-active-border-bottom-color
|
59
|
-
color: $tabs-link-active-color
|
60
|
-
ul
|
61
|
-
align-items: center
|
62
|
-
border-bottom-color: $tabs-border-bottom-color
|
63
|
-
border-bottom-style: $tabs-border-bottom-style
|
64
|
-
border-bottom-width: $tabs-border-bottom-width
|
65
|
-
display: flex
|
66
|
-
flex-grow: 1
|
67
|
-
flex-shrink: 0
|
68
|
-
justify-content: flex-start
|
69
|
-
&.is-left
|
70
|
-
padding-right: 0.75em
|
71
|
-
&.is-center
|
72
|
-
flex: none
|
73
|
-
justify-content: center
|
74
|
-
padding-left: 0.75em
|
75
|
-
padding-right: 0.75em
|
76
|
-
&.is-right
|
77
|
-
justify-content: flex-end
|
78
|
-
padding-left: 0.75em
|
79
|
-
.icon
|
80
|
-
&:first-child
|
81
|
-
+ltr-property("margin", 0.5em)
|
82
|
-
&:last-child
|
83
|
-
+ltr-property("margin", 0.5em, false)
|
84
|
-
// Alignment
|
85
|
-
&.is-centered
|
86
|
-
ul
|
87
|
-
justify-content: center
|
88
|
-
&.is-right
|
89
|
-
ul
|
90
|
-
justify-content: flex-end
|
91
|
-
// Styles
|
92
|
-
&.is-boxed
|
93
|
-
a
|
94
|
-
border: 1px solid transparent
|
95
|
-
+ltr
|
96
|
-
border-radius: $tabs-boxed-link-radius $tabs-boxed-link-radius 0 0
|
97
|
-
+rtl
|
98
|
-
border-radius: 0 0 $tabs-boxed-link-radius $tabs-boxed-link-radius
|
99
|
-
&:hover
|
100
|
-
background-color: $tabs-boxed-link-hover-background-color
|
101
|
-
border-bottom-color: $tabs-boxed-link-hover-border-bottom-color
|
102
|
-
li
|
103
|
-
&.is-active
|
104
|
-
a
|
105
|
-
background-color: $tabs-boxed-link-active-background-color
|
106
|
-
border-color: $tabs-boxed-link-active-border-color
|
107
|
-
border-bottom-color: $tabs-boxed-link-active-border-bottom-color !important
|
108
|
-
&.is-fullwidth
|
109
|
-
li
|
110
|
-
flex-grow: 1
|
111
|
-
flex-shrink: 0
|
112
|
-
&.is-toggle
|
113
|
-
a
|
114
|
-
border-color: $tabs-toggle-link-border-color
|
115
|
-
border-style: $tabs-toggle-link-border-style
|
116
|
-
border-width: $tabs-toggle-link-border-width
|
117
|
-
margin-bottom: 0
|
118
|
-
position: relative
|
119
|
-
&:hover
|
120
|
-
background-color: $tabs-toggle-link-hover-background-color
|
121
|
-
border-color: $tabs-toggle-link-hover-border-color
|
122
|
-
z-index: 2
|
123
|
-
li
|
124
|
-
& + li
|
125
|
-
+ltr-property("margin", -#{$tabs-toggle-link-border-width}, false)
|
126
|
-
&:first-child a
|
127
|
-
+ltr
|
128
|
-
border-top-left-radius: $tabs-toggle-link-radius
|
129
|
-
border-bottom-left-radius: $tabs-toggle-link-radius
|
130
|
-
+rtl
|
131
|
-
border-top-right-radius: $tabs-toggle-link-radius
|
132
|
-
border-bottom-right-radius: $tabs-toggle-link-radius
|
133
|
-
&:last-child a
|
134
|
-
+ltr
|
135
|
-
border-top-right-radius: $tabs-toggle-link-radius
|
136
|
-
border-bottom-right-radius: $tabs-toggle-link-radius
|
137
|
-
+rtl
|
138
|
-
border-top-left-radius: $tabs-toggle-link-radius
|
139
|
-
border-bottom-left-radius: $tabs-toggle-link-radius
|
140
|
-
&.is-active
|
141
|
-
a
|
142
|
-
background-color: $tabs-toggle-link-active-background-color
|
143
|
-
border-color: $tabs-toggle-link-active-border-color
|
144
|
-
color: $tabs-toggle-link-active-color
|
145
|
-
z-index: 1
|
146
|
-
ul
|
147
|
-
border-bottom: none
|
148
|
-
&.is-toggle-rounded
|
149
|
-
li
|
150
|
-
&:first-child a
|
151
|
-
+ltr
|
152
|
-
border-bottom-left-radius: $radius-rounded
|
153
|
-
border-top-left-radius: $radius-rounded
|
154
|
-
padding-left: 1.25em
|
155
|
-
+rtl
|
156
|
-
border-bottom-right-radius: $radius-rounded
|
157
|
-
border-top-right-radius: $radius-rounded
|
158
|
-
padding-right: 1.25em
|
159
|
-
&:last-child a
|
160
|
-
+ltr
|
161
|
-
border-bottom-right-radius: $radius-rounded
|
162
|
-
border-top-right-radius: $radius-rounded
|
163
|
-
padding-right: 1.25em
|
164
|
-
+rtl
|
165
|
-
border-bottom-left-radius: $radius-rounded
|
166
|
-
border-top-left-radius: $radius-rounded
|
167
|
-
padding-left: 1.25em
|
168
|
-
// Sizes
|
169
|
-
&.is-small
|
170
|
-
font-size: $size-small
|
171
|
-
&.is-medium
|
172
|
-
font-size: $size-medium
|
173
|
-
&.is-large
|
174
|
-
font-size: $size-large
|
@@ -1,15 +0,0 @@
|
|
1
|
-
@charset "utf-8"
|
2
|
-
|
3
|
-
@import "box.sass"
|
4
|
-
@import "button.sass"
|
5
|
-
@import "container.sass"
|
6
|
-
@import "content.sass"
|
7
|
-
@import "icon.sass"
|
8
|
-
@import "image.sass"
|
9
|
-
@import "notification.sass"
|
10
|
-
@import "progress.sass"
|
11
|
-
@import "table.sass"
|
12
|
-
@import "tag.sass"
|
13
|
-
@import "title.sass"
|
14
|
-
|
15
|
-
@import "other.sass"
|
@@ -1,24 +0,0 @@
|
|
1
|
-
$box-color: $text !default
|
2
|
-
$box-background-color: $scheme-main !default
|
3
|
-
$box-radius: $radius-large !default
|
4
|
-
$box-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default
|
5
|
-
$box-padding: 1.25rem !default
|
6
|
-
|
7
|
-
$box-link-hover-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0 0 1px $link !default
|
8
|
-
$box-link-active-shadow: inset 0 1px 2px rgba($scheme-invert, 0.2), 0 0 0 1px $link !default
|
9
|
-
|
10
|
-
.box
|
11
|
-
@extend %block
|
12
|
-
background-color: $box-background-color
|
13
|
-
border-radius: $box-radius
|
14
|
-
box-shadow: $box-shadow
|
15
|
-
color: $box-color
|
16
|
-
display: block
|
17
|
-
padding: $box-padding
|
18
|
-
|
19
|
-
a.box
|
20
|
-
&:hover,
|
21
|
-
&:focus
|
22
|
-
box-shadow: $box-link-hover-shadow
|
23
|
-
&:active
|
24
|
-
box-shadow: $box-link-active-shadow
|