bulma-rails 0.4.3 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/app/assets/stylesheets/bulma.sass +1 -2
  4. data/app/assets/stylesheets/sass/base/_all.sass +0 -0
  5. data/app/assets/stylesheets/sass/base/generic.sass +39 -19
  6. data/app/assets/stylesheets/sass/base/helpers.sass +132 -54
  7. data/app/assets/stylesheets/sass/base/minireset.sass +0 -0
  8. data/app/assets/stylesheets/sass/components/_all.sass +2 -1
  9. data/app/assets/stylesheets/sass/components/breadcrumb.sass +20 -14
  10. data/app/assets/stylesheets/sass/components/card.sass +24 -10
  11. data/app/assets/stylesheets/sass/components/dropdown.sass +68 -0
  12. data/app/assets/stylesheets/sass/components/level.sass +29 -29
  13. data/app/assets/stylesheets/sass/components/media.sass +18 -18
  14. data/app/assets/stylesheets/sass/components/menu.sass +27 -9
  15. data/app/assets/stylesheets/sass/components/message.sass +41 -18
  16. data/app/assets/stylesheets/sass/components/modal.sass +65 -35
  17. data/app/assets/stylesheets/sass/components/nav.sass +0 -0
  18. data/app/assets/stylesheets/sass/components/navbar.sass +80 -37
  19. data/app/assets/stylesheets/sass/components/pagination.sass +28 -28
  20. data/app/assets/stylesheets/sass/components/panel.sass +47 -22
  21. data/app/assets/stylesheets/sass/components/tabs.sass +58 -24
  22. data/app/assets/stylesheets/sass/elements/_all.sass +1 -0
  23. data/app/assets/stylesheets/sass/elements/box.sass +16 -6
  24. data/app/assets/stylesheets/sass/elements/button.sass +41 -39
  25. data/app/assets/stylesheets/sass/elements/container.sass +27 -0
  26. data/app/assets/stylesheets/sass/elements/content.sass +38 -18
  27. data/app/assets/stylesheets/sass/elements/form.sass +266 -54
  28. data/app/assets/stylesheets/sass/elements/icon.sass +13 -8
  29. data/app/assets/stylesheets/sass/elements/image.sass +1 -1
  30. data/app/assets/stylesheets/sass/elements/notification.sass +10 -4
  31. data/app/assets/stylesheets/sass/elements/other.sass +0 -18
  32. data/app/assets/stylesheets/sass/elements/progress.sass +6 -3
  33. data/app/assets/stylesheets/sass/elements/table.sass +42 -26
  34. data/app/assets/stylesheets/sass/elements/tag.sass +65 -5
  35. data/app/assets/stylesheets/sass/elements/title.sass +17 -15
  36. data/app/assets/stylesheets/sass/grid/_all.sass +0 -0
  37. data/app/assets/stylesheets/sass/grid/columns.sass +0 -0
  38. data/app/assets/stylesheets/sass/grid/tiles.sass +0 -0
  39. data/app/assets/stylesheets/sass/layout/_all.sass +0 -0
  40. data/app/assets/stylesheets/sass/layout/footer.sass +3 -1
  41. data/app/assets/stylesheets/sass/layout/hero.sass +45 -46
  42. data/app/assets/stylesheets/sass/layout/section.sass +7 -4
  43. data/app/assets/stylesheets/sass/utilities/_all.sass +0 -0
  44. data/app/assets/stylesheets/sass/utilities/animations.sass +0 -0
  45. data/app/assets/stylesheets/sass/utilities/controls.sass +0 -0
  46. data/app/assets/stylesheets/sass/utilities/derived-variables.sass +2 -1
  47. data/app/assets/stylesheets/sass/utilities/functions.sass +0 -0
  48. data/app/assets/stylesheets/sass/utilities/initial-variables.sass +10 -12
  49. data/app/assets/stylesheets/sass/utilities/mixins.sass +0 -0
  50. data/app/assets/stylesheets/sass/utilities/variables.sass +1 -1
  51. data/bulma-rails.gemspec +1 -1
  52. metadata +4 -2
File without changes
@@ -1,35 +1,59 @@
1
- $navbar-background: $white !default
1
+ $navbar-background-color: $white !default
2
2
  $navbar-height: 3.25rem !default
3
3
 
4
- $navbar-item: $grey-dark !default
5
- $navbar-item-hover: $black !default
6
- $navbar-item-hover-background: $background !default
7
- $navbar-item-active: $black !default
8
- $navbar-item-active-background: transparent !default
9
-
10
- $navbar-dropdown-background: $white !default
11
- $navbar-dropdown-border: $border !default
4
+ $navbar-item-color: $grey-dark !default
5
+ $navbar-item-hover-color: $black !default
6
+ $navbar-item-hover-background-color: $background !default
7
+ $navbar-item-active-color: $black !default
8
+ $navbar-item-active-background-color: transparent !default
9
+ $navbar-item-img-max-height: 1.75rem !default
10
+
11
+ $navbar-tab-hover-background-color: transparent !default
12
+ $navbar-tab-hover-border-bottom-color: $primary !default
13
+ $navbar-tab-active-color: $primary !default
14
+ $navbar-tab-active-background-color: transparent !default
15
+ $navbar-tab-active-border-bottom-color: $primary !default
16
+ $navbar-tab-active-border-bottom-style: solid !default
17
+ $navbar-tab-active-border-bottom-width: 3px !default
18
+
19
+ $navbar-dropdown-background-color: $white !default
20
+ $navbar-dropdown-border-top: 1px solid $border !default
12
21
  $navbar-dropdown-offset: -4px !default
13
22
  $navbar-dropdown-arrow: $link !default
14
23
  $navbar-dropdown-radius: $radius-large !default
15
24
  $navbar-dropdown-z: 20 !default
16
25
 
17
- $navbar-dropdown-item-hover: $black !default
18
- $navbar-dropdown-item-hover-background: $background !default
19
- $navbar-dropdown-item-active: $primary !default
20
- $navbar-dropdown-item-active-background: $background !default
26
+ $navbar-dropdown-boxed-radius: $radius-large !default
27
+ $navbar-dropdown-boxed-shadow: 0 8px 8px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1) !default
28
+
29
+ $navbar-dropdown-item-hover-color: $black !default
30
+ $navbar-dropdown-item-hover-background-color: $background !default
31
+ $navbar-dropdown-item-active-color: $primary !default
32
+ $navbar-dropdown-item-active-background-color: $background !default
21
33
 
22
- $navbar-divider-background: $border !default
34
+ $navbar-divider-background-color: $border !default
23
35
 
24
36
  .navbar
25
- background-color: $navbar-background
37
+ background-color: $navbar-background-color
26
38
  min-height: $navbar-height
27
39
  position: relative
40
+ & > .container
41
+ align-items: stretch
42
+ display: flex
43
+ min-height: $navbar-height
44
+ width: 100%
45
+ &.has-shadow
46
+ box-shadow: 0 2px 3px rgba($black, 0.1)
28
47
 
29
48
  .navbar-brand
49
+ +overflow-touch
30
50
  align-items: stretch
31
- height: $navbar-height
32
51
  display: flex
52
+ flex-shrink: 0
53
+ max-width: 100vw
54
+ min-height: $navbar-height
55
+ overflow-x: auto
56
+ overflow-y: hidden
33
57
 
34
58
  .navbar-burger
35
59
  +hamburger($navbar-height)
@@ -40,7 +64,7 @@ $navbar-divider-background: $border !default
40
64
 
41
65
  .navbar-item,
42
66
  .navbar-link
43
- color: $navbar-item
67
+ color: $navbar-item-color
44
68
  display: block
45
69
  line-height: 1.5
46
70
  padding: 0.5rem 1rem
@@ -50,16 +74,30 @@ a.navbar-item,
50
74
  .navbar-link
51
75
  &:hover,
52
76
  &.is-active
53
- background-color: $navbar-item-hover-background
54
- color: $navbar-item-hover
77
+ background-color: $navbar-item-hover-background-color
78
+ color: $navbar-item-hover-color
55
79
 
56
80
  .navbar-item
57
81
  flex-grow: 0
58
82
  flex-shrink: 0
59
83
  img
60
- max-height: 1.75rem
84
+ max-height: $navbar-item-img-max-height
61
85
  &.has-dropdown
62
86
  padding: 0
87
+ &.is-tab
88
+ border-bottom: 1px solid transparent
89
+ min-height: $navbar-height
90
+ padding-bottom: calc(0.5rem - 1px)
91
+ &:hover
92
+ background-color: $navbar-tab-hover-background-color
93
+ border-bottom-color: $navbar-tab-hover-border-bottom-color
94
+ &.is-active
95
+ background-color: $navbar-tab-active-background-color
96
+ border-bottom-color: $navbar-tab-active-border-bottom-color
97
+ border-bottom-style: $navbar-tab-active-border-bottom-style
98
+ border-bottom-width: $navbar-tab-active-border-bottom-width
99
+ color: $navbar-tab-active-color
100
+ padding-bottom: calc(0.5rem - #{$navbar-tab-active-border-bottom-width})
63
101
 
64
102
  .navbar-content
65
103
  flex-grow: 1
@@ -77,13 +115,15 @@ a.navbar-item,
77
115
  padding-right: 1.5rem
78
116
 
79
117
  .navbar-divider
80
- background-color: $navbar-divider-background
118
+ background-color: $navbar-divider-background-color
81
119
  border: none
82
120
  display: none
83
121
  height: 1px
84
122
  margin: 0.5rem 0
85
123
 
86
124
  +touch
125
+ .navbar > .container
126
+ display: block
87
127
  .navbar-brand
88
128
  .navbar-item
89
129
  align-items: center
@@ -102,7 +142,7 @@ a.navbar-item,
102
142
  align-items: stretch
103
143
  display: flex
104
144
  .navbar
105
- height: $navbar-height
145
+ min-height: $navbar-height
106
146
  &.is-transparent
107
147
  a.navbar-item,
108
148
  .navbar-link
@@ -117,11 +157,11 @@ a.navbar-item,
117
157
  .navbar-dropdown
118
158
  a.navbar-item
119
159
  &:hover
120
- background-color: $navbar-dropdown-item-hover-background
121
- color: $navbar-dropdown-item-hover
160
+ background-color: $navbar-dropdown-item-hover-background-color
161
+ color: $navbar-dropdown-item-hover-color
122
162
  &.is-active
123
- background-color: $navbar-dropdown-item-active-background
124
- color: $navbar-dropdown-item-active
163
+ background-color: $navbar-dropdown-item-active-background-color
164
+ color: $navbar-dropdown-item-active-color
125
165
  .navbar-burger
126
166
  display: none
127
167
  .navbar-item,
@@ -155,10 +195,10 @@ a.navbar-item,
155
195
  justify-content: flex-end
156
196
  margin-left: auto
157
197
  .navbar-dropdown
158
- background-color: $navbar-dropdown-background
198
+ background-color: $navbar-dropdown-background-color
159
199
  border-bottom-left-radius: $navbar-dropdown-radius
160
200
  border-bottom-right-radius: $navbar-dropdown-radius
161
- border-top: 1px solid $navbar-dropdown-border
201
+ border-top: $navbar-dropdown-border-top
162
202
  box-shadow: 0 8px 8px rgba($black, 0.1)
163
203
  display: none
164
204
  font-size: 0.875rem
@@ -173,15 +213,15 @@ a.navbar-item,
173
213
  a.navbar-item
174
214
  padding-right: 3rem
175
215
  &:hover
176
- background-color: $navbar-dropdown-item-hover-background
177
- color: $navbar-dropdown-item-hover
216
+ background-color: $navbar-dropdown-item-hover-background-color
217
+ color: $navbar-dropdown-item-hover-color
178
218
  &.is-active
179
- background-color: $navbar-dropdown-item-active-background
180
- color: $navbar-dropdown-item-active
219
+ background-color: $navbar-dropdown-item-active-background-color
220
+ color: $navbar-dropdown-item-active-color
181
221
  &.is-boxed
182
- border-radius: $navbar-dropdown-radius
222
+ border-radius: $navbar-dropdown-boxed-radius
183
223
  border-top: none
184
- box-shadow: 0 8px 8px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1)
224
+ box-shadow: $navbar-dropdown-boxed-shadow
185
225
  display: block
186
226
  opacity: 0
187
227
  pointer-events: none
@@ -189,6 +229,9 @@ a.navbar-item,
189
229
  transform: translateY(-5px)
190
230
  transition-duration: $speed
191
231
  transition-property: opacity, transform
232
+ &.is-right
233
+ left: auto
234
+ right: 0
192
235
  .navbar-divider
193
236
  display: block
194
237
  .container > .navbar
@@ -198,11 +241,11 @@ a.navbar-item,
198
241
  a.navbar-item,
199
242
  .navbar-link
200
243
  &.is-active
201
- color: $navbar-item-active
244
+ color: $navbar-item-active-color
202
245
  &.is-active:not(:hover)
203
- background-color: $navbar-item-active-background
246
+ background-color: $navbar-item-active-background-color
204
247
  .navbar-item.has-dropdown
205
248
  &:hover,
206
249
  &.is-active
207
250
  .navbar-link
208
- background-color: $navbar-item-hover-background
251
+ background-color: $navbar-item-hover-background-color
@@ -1,31 +1,31 @@
1
- $pagination: $grey-darker !default
2
- $pagination-background: $white !default
3
- $pagination-border: $grey-lighter !default
1
+ $pagination-color: $grey-darker !default
2
+ $pagination-border-color: $grey-lighter !default
3
+ $pagination-margin: -0.25rem !default
4
4
 
5
- $pagination-hover: $link-hover !default
6
- $pagination-hover-border: $link-hover-border !default
5
+ $pagination-hover-color: $link-hover !default
6
+ $pagination-hover-border-color: $link-hover-border !default
7
7
 
8
- $pagination-focus: $link-focus !default
9
- $pagination-focus-border: $link-focus-border !default
8
+ $pagination-focus-color: $link-focus !default
9
+ $pagination-focus-border-color: $link-focus-border !default
10
10
 
11
- $pagination-active: $link-active !default
12
- $pagination-active-border: $link-active-border !default
11
+ $pagination-active-color: $link-active !default
12
+ $pagination-active-border-color: $link-active-border !default
13
13
 
14
- $pagination-disabled: $grey !default
15
- $pagination-disabled-background: $grey-lighter !default
16
- $pagination-disabled-border: $grey-lighter !default
14
+ $pagination-disabled-color: $grey !default
15
+ $pagination-disabled-background-color: $grey-lighter !default
16
+ $pagination-disabled-border-color: $grey-lighter !default
17
17
 
18
- $pagination-current: $link-invert !default
19
- $pagination-current-background: $link !default
20
- $pagination-current-border: $link !default
18
+ $pagination-current-color: $link-invert !default
19
+ $pagination-current-background-color: $link !default
20
+ $pagination-current-border-color: $link !default
21
21
 
22
- $pagination-ellipsis: $grey-light !default
22
+ $pagination-ellipsis-color: $grey-light !default
23
23
 
24
24
  $pagination-shadow-inset: inset 0 1px 2px rgba($black, 0.2)
25
25
 
26
26
  .pagination
27
27
  font-size: $size-normal
28
- margin: -0.25rem
28
+ margin: $pagination-margin
29
29
  // Sizes
30
30
  &.is-small
31
31
  font-size: $size-small
@@ -57,20 +57,20 @@ $pagination-shadow-inset: inset 0 1px 2px rgba($black, 0.2)
57
57
  .pagination-previous,
58
58
  .pagination-next,
59
59
  .pagination-link
60
- border-color: $pagination-border
60
+ border-color: $pagination-border-color
61
61
  min-width: 2.25em
62
62
  &:hover
63
- border-color: $pagination-hover-border
64
- color: $pagination-hover
63
+ border-color: $pagination-hover-border-color
64
+ color: $pagination-hover-color
65
65
  &:focus
66
- border-color: $pagination-focus-border
66
+ border-color: $pagination-focus-border-color
67
67
  &:active
68
68
  box-shadow: $pagination-shadow-inset
69
69
  &[disabled]
70
- background-color: $pagination-disabled-background
71
- border-color: $pagination-border
70
+ background-color: $pagination-disabled-background-color
71
+ border-color: $pagination-disabled-border-color
72
72
  box-shadow: none
73
- color: $pagination-disabled
73
+ color: $pagination-disabled-color
74
74
  opacity: 0.5
75
75
 
76
76
  .pagination-previous,
@@ -81,12 +81,12 @@ $pagination-shadow-inset: inset 0 1px 2px rgba($black, 0.2)
81
81
 
82
82
  .pagination-link
83
83
  &.is-current
84
- background-color: $pagination-current-background
85
- border-color: $pagination-current-border
86
- color: $pagination-current
84
+ background-color: $pagination-current-background-color
85
+ border-color: $pagination-current-border-color
86
+ color: $pagination-current-color
87
87
 
88
88
  .pagination-ellipsis
89
- color: $pagination-ellipsis
89
+ color: $pagination-ellipsis-color
90
90
  pointer-events: none
91
91
 
92
92
  .pagination-list
@@ -1,3 +1,28 @@
1
+ $panel-item-border: 1px solid $border !default
2
+
3
+ $panel-heading-background-color: $background !default
4
+ $panel-heading-color: $text-strong !default
5
+ $panel-heading-line-height: 1.25 !default
6
+ $panel-heading-padding: 0.5em 0.75em !default
7
+ $panel-heading-radius: $radius !default
8
+ $panel-heading-size: 1.25em !default
9
+ $panel-heading-weight: $weight-light !default
10
+
11
+ $panel-tab-border-bottom: 1px solid $border !default
12
+ $panel-tab-active-border-bottom-color: $link-active-border !default
13
+ $panel-tab-active-color: $link-active !default
14
+
15
+ $panel-list-item-color: $text !default
16
+ $panel-list-item-hover-color: $link !default
17
+
18
+ $panel-block-color: $text-strong !default
19
+ $panel-block-hover-background-color: $background !default
20
+ $panel-block-active-border-left-color: $link !default
21
+ $panel-block-active-color: $link-active !default
22
+ $panel-block-active-icon-color: $link !default
23
+
24
+ $panel-icon-color: $text-light !default
25
+
1
26
  .panel
2
27
  font-size: $size-normal
3
28
  &:not(:last-child)
@@ -6,20 +31,20 @@
6
31
  .panel-heading,
7
32
  .panel-tabs,
8
33
  .panel-block
9
- border-bottom: 1px solid $border
10
- border-left: 1px solid $border
11
- border-right: 1px solid $border
34
+ border-bottom: $panel-item-border
35
+ border-left: $panel-item-border
36
+ border-right: $panel-item-border
12
37
  &:first-child
13
- border-top: 1px solid $border
38
+ border-top: $panel-item-border
14
39
 
15
40
  .panel-heading
16
- background-color: $background
17
- border-radius: $radius $radius 0 0
18
- color: $text-strong
19
- font-size: 1.25em
20
- font-weight: $weight-light
21
- line-height: 1.25
22
- padding: 0.5em 0.75em
41
+ background-color: $panel-heading-background-color
42
+ border-radius: $panel-heading-radius $panel-heading-radius 0 0
43
+ color: $panel-heading-color
44
+ font-size: $panel-heading-size
45
+ font-weight: $panel-heading-weight
46
+ line-height: $panel-heading-line-height
47
+ padding: $panel-heading-padding
23
48
 
24
49
  .panel-tabs
25
50
  align-items: flex-end
@@ -27,23 +52,23 @@
27
52
  font-size: 0.875em
28
53
  justify-content: center
29
54
  a
30
- border-bottom: 1px solid $border
55
+ border-bottom: $panel-tab-border-bottom
31
56
  margin-bottom: -1px
32
57
  padding: 0.5em
33
58
  // Modifiers
34
59
  &.is-active
35
- border-bottom-color: $link-active-border
36
- color: $link-active
60
+ border-bottom-color: $panel-tab-active-border-bottom-color
61
+ color: $panel-tab-active-color
37
62
 
38
63
  .panel-list
39
64
  a
40
- color: $text
65
+ color: $panel-list-item-color
41
66
  &:hover
42
- color: $link
67
+ color: $panel-list-item-hover-color
43
68
 
44
69
  .panel-block
45
70
  align-items: center
46
- color: $text-strong
71
+ color: $panel-block-color
47
72
  display: flex
48
73
  justify-content: flex-start
49
74
  padding: 0.5em 0.75em
@@ -56,20 +81,20 @@
56
81
  &.is-wrapped
57
82
  flex-wrap: wrap
58
83
  &.is-active
59
- border-left-color: $link
60
- color: $link-active
84
+ border-left-color: $panel-block-active-border-left-color
85
+ color: $panel-block-active-color
61
86
  .panel-icon
62
- color: $link
87
+ color: $panel-block-active-icon-color
63
88
 
64
89
  a.panel-block,
65
90
  label.panel-block
66
91
  cursor: pointer
67
92
  &:hover
68
- background-color: $background
93
+ background-color: $panel-block-hover-background-color
69
94
 
70
95
  .panel-icon
71
96
  +fa(14px, 1em)
72
- color: $text-light
97
+ color: $panel-icon-color
73
98
  margin-right: 0.75em
74
99
  .fa
75
100
  font-size: inherit
@@ -1,3 +1,31 @@
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: $primary !default
8
+ $tabs-link-active-color: $primary !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: $white !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: $primary !default
26
+ $tabs-toggle-link-active-border-color: $primary !default
27
+ $tabs-toggle-link-active-color: $primary-invert !default
28
+
1
29
  .tabs
2
30
  +block
3
31
  +overflow-touch
@@ -11,25 +39,29 @@
11
39
  white-space: nowrap
12
40
  a
13
41
  align-items: center
14
- border-bottom: 1px solid $border
15
- color: $text
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
16
46
  display: flex
17
47
  justify-content: center
18
- margin-bottom: -1px
19
- padding: 0.5em 1em
48
+ margin-bottom: -#{$tabs-border-bottom-width}
49
+ padding: $tabs-link-padding
20
50
  vertical-align: top
21
51
  &:hover
22
- border-bottom-color: $text-strong
23
- color: $text-strong
52
+ border-bottom-color: $tabs-link-hover-border-bottom-color
53
+ color: $tabs-link-hover-color
24
54
  li
25
55
  display: block
26
56
  &.is-active
27
57
  a
28
- border-bottom-color: $primary
29
- color: $primary
58
+ border-bottom-color: $tabs-link-active-border-bottom-color
59
+ color: $tabs-link-active-color
30
60
  ul
31
61
  align-items: center
32
- border-bottom: 1px solid $border
62
+ border-bottom-color: $tabs-border-bottom-color
63
+ border-bottom-style: $tabs-border-bottom-style
64
+ border-bottom-width: $tabs-border-bottom-width
33
65
  display: flex
34
66
  flex-grow: 1
35
67
  flex-shrink: 0
@@ -60,41 +92,43 @@
60
92
  &.is-boxed
61
93
  a
62
94
  border: 1px solid transparent
63
- border-radius: $radius $radius 0 0
95
+ border-radius: $tabs-boxed-link-radius $tabs-boxed-link-radius 0 0
64
96
  &:hover
65
- background-color: $background
66
- border-bottom-color: $border
97
+ background-color: $tabs-boxed-link-hover-background-color
98
+ border-bottom-color: $tabs-boxed-link-hover-border-bottom-color
67
99
  li
68
100
  &.is-active
69
101
  a
70
- background-color: $white
71
- border-color: $border
72
- border-bottom-color: transparent !important
102
+ background-color: $tabs-boxed-link-active-background-color
103
+ border-color: $tabs-boxed-link-active-border-color
104
+ border-bottom-color: $tabs-boxed-link-active-border-bottom-color !important
73
105
  &.is-fullwidth
74
106
  li
75
107
  flex-grow: 1
76
108
  flex-shrink: 0
77
109
  &.is-toggle
78
110
  a
79
- border: 1px solid $border
111
+ border-color: $tabs-toggle-link-border-color
112
+ border-style: $tabs-toggle-link-border-style
113
+ border-width: $tabs-toggle-link-border-width
80
114
  margin-bottom: 0
81
115
  position: relative
82
116
  &:hover
83
- background-color: $background
84
- border-color: $border-hover
117
+ background-color: $tabs-toggle-link-hover-background-color
118
+ border-color: $tabs-toggle-link-hover-border-color
85
119
  z-index: 2
86
120
  li
87
121
  & + li
88
- margin-left: -1px
122
+ margin-left: -#{$tabs-toggle-link-border-width}
89
123
  &:first-child a
90
- border-radius: $radius 0 0 $radius
124
+ border-radius: $tabs-toggle-link-radius 0 0 $tabs-toggle-link-radius
91
125
  &:last-child a
92
- border-radius: 0 $radius $radius 0
126
+ border-radius: 0 $tabs-toggle-link-radius $tabs-toggle-link-radius 0
93
127
  &.is-active
94
128
  a
95
- background-color: $primary
96
- border-color: $primary
97
- color: $primary-invert
129
+ background-color: $tabs-toggle-link-active-background-color
130
+ border-color: $tabs-toggle-link-active-border-color
131
+ color: $tabs-toggle-link-active-color
98
132
  z-index: 1
99
133
  ul
100
134
  border-bottom: none