bulma-sass 0.7.5.1 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/bulma.sass +2 -1
  3. data/app/assets/stylesheets/sass/base/_all.sass +1 -1
  4. data/app/assets/stylesheets/sass/base/generic.sass +3 -2
  5. data/app/assets/stylesheets/sass/base/helpers.sass +1 -281
  6. data/app/assets/stylesheets/sass/base/minireset.sass +2 -8
  7. data/app/assets/stylesheets/sass/components/_all.sass +1 -1
  8. data/app/assets/stylesheets/sass/components/breadcrumb.sass +4 -4
  9. data/app/assets/stylesheets/sass/components/card.sass +10 -6
  10. data/app/assets/stylesheets/sass/components/dropdown.sass +8 -8
  11. data/app/assets/stylesheets/sass/components/level.sass +2 -2
  12. data/app/assets/stylesheets/sass/components/media.sass +14 -10
  13. data/app/assets/stylesheets/sass/components/menu.sass +2 -2
  14. data/app/assets/stylesheets/sass/components/message.sass +23 -11
  15. data/app/assets/stylesheets/sass/components/modal.sass +7 -5
  16. data/app/assets/stylesheets/sass/components/navbar.sass +27 -27
  17. data/app/assets/stylesheets/sass/components/pagination.sass +7 -6
  18. data/app/assets/stylesheets/sass/components/panel.sass +29 -13
  19. data/app/assets/stylesheets/sass/components/tabs.sass +36 -13
  20. data/app/assets/stylesheets/sass/elements/_all.sass +1 -0
  21. data/app/assets/stylesheets/sass/elements/box.sass +4 -4
  22. data/app/assets/stylesheets/sass/elements/button.sass +49 -29
  23. data/app/assets/stylesheets/sass/elements/container.sass +14 -10
  24. data/app/assets/stylesheets/sass/elements/content.sass +5 -5
  25. data/app/assets/stylesheets/sass/elements/image.sass +2 -0
  26. data/app/assets/stylesheets/sass/elements/notification.sass +19 -4
  27. data/app/assets/stylesheets/sass/elements/progress.sass +6 -2
  28. data/app/assets/stylesheets/sass/elements/table.sass +12 -8
  29. data/app/assets/stylesheets/sass/elements/tag.sass +34 -17
  30. data/app/assets/stylesheets/sass/elements/title.sass +3 -3
  31. data/app/assets/stylesheets/sass/form/_all.sass +1 -0
  32. data/app/assets/stylesheets/sass/form/checkbox-radio.sass +3 -2
  33. data/app/assets/stylesheets/sass/form/file.sass +16 -14
  34. data/app/assets/stylesheets/sass/form/input-textarea.sass +13 -7
  35. data/app/assets/stylesheets/sass/form/select.sass +9 -7
  36. data/app/assets/stylesheets/sass/form/shared.sass +14 -12
  37. data/app/assets/stylesheets/sass/form/tools.sass +22 -12
  38. data/app/assets/stylesheets/sass/grid/_all.sass +1 -0
  39. data/app/assets/stylesheets/sass/helpers/_all.sass +12 -0
  40. data/app/assets/stylesheets/sass/helpers/color.sass +37 -0
  41. data/app/assets/stylesheets/sass/helpers/flexbox.sass +35 -0
  42. data/app/assets/stylesheets/sass/helpers/float.sass +8 -0
  43. data/app/assets/stylesheets/sass/helpers/other.sass +11 -0
  44. data/app/assets/stylesheets/sass/helpers/overflow.sass +2 -0
  45. data/app/assets/stylesheets/sass/helpers/position.sass +5 -0
  46. data/app/assets/stylesheets/sass/helpers/spacing.sass +31 -0
  47. data/app/assets/stylesheets/sass/helpers/typography.sass +98 -0
  48. data/app/assets/stylesheets/sass/helpers/visibility.sass +122 -0
  49. data/app/assets/stylesheets/sass/layout/_all.sass +1 -0
  50. data/app/assets/stylesheets/sass/layout/footer.sass +1 -1
  51. data/app/assets/stylesheets/sass/layout/hero.sass +25 -21
  52. data/app/assets/stylesheets/sass/utilities/_all.sass +1 -0
  53. data/app/assets/stylesheets/sass/utilities/controls.sass +3 -3
  54. data/app/assets/stylesheets/sass/utilities/derived-variables.sass +32 -10
  55. data/app/assets/stylesheets/sass/utilities/functions.sass +68 -15
  56. data/app/assets/stylesheets/sass/utilities/initial-variables.sass +5 -3
  57. data/app/assets/stylesheets/sass/utilities/mixins.sass +29 -5
  58. data/bulma-sass.gemspec +2 -2
  59. data/lib/bulma/sass/version.rb +1 -1
  60. data/release.sh +2 -2
  61. metadata +17 -8
  62. data/app/assets/stylesheets/sass/components/list.sass +0 -39
@@ -1,21 +1,21 @@
1
1
  $dropdown-menu-min-width: 12rem !default
2
2
 
3
- $dropdown-content-background-color: $white !default
3
+ $dropdown-content-background-color: $scheme-main !default
4
4
  $dropdown-content-arrow: $link !default
5
5
  $dropdown-content-offset: 4px !default
6
6
  $dropdown-content-padding-bottom: 0.5rem !default
7
7
  $dropdown-content-padding-top: 0.5rem !default
8
8
  $dropdown-content-radius: $radius !default
9
- $dropdown-content-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1) !default
9
+ $dropdown-content-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default
10
10
  $dropdown-content-z: 20 !default
11
11
 
12
- $dropdown-item-color: $grey-dark !default
13
- $dropdown-item-hover-color: $black !default
12
+ $dropdown-item-color: $text !default
13
+ $dropdown-item-hover-color: $scheme-invert !default
14
14
  $dropdown-item-hover-background-color: $background !default
15
15
  $dropdown-item-active-color: $link-invert !default
16
16
  $dropdown-item-active-background-color: $link !default
17
17
 
18
- $dropdown-divider-background-color: $border !default
18
+ $dropdown-divider-background-color: $border-light !default
19
19
 
20
20
  .dropdown
21
21
  display: inline-flex
@@ -38,7 +38,7 @@ $dropdown-divider-background-color: $border !default
38
38
 
39
39
  .dropdown-menu
40
40
  display: none
41
- left: 0
41
+ +ltr-position(0, false)
42
42
  min-width: $dropdown-menu-min-width
43
43
  padding-top: $dropdown-content-offset
44
44
  position: absolute
@@ -62,8 +62,8 @@ $dropdown-divider-background-color: $border !default
62
62
 
63
63
  a.dropdown-item,
64
64
  button.dropdown-item
65
- padding-right: 3rem
66
- text-align: left
65
+ +ltr-property("padding", 3rem)
66
+ text-align: inherit
67
67
  white-space: nowrap
68
68
  width: 100%
69
69
  &:hover
@@ -20,7 +20,7 @@ $level-item-spacing: ($block-spacing / 2) !default
20
20
  .level-item
21
21
  &:not(:last-child)
22
22
  margin-bottom: 0
23
- margin-right: $level-item-spacing
23
+ +ltr-property("margin", $level-item-spacing)
24
24
  &:not(.is-narrow)
25
25
  flex-grow: 1
26
26
  // Responsiveness
@@ -57,7 +57,7 @@ $level-item-spacing: ($block-spacing / 2) !default
57
57
  // Responsiveness
58
58
  +tablet
59
59
  &:not(:last-child)
60
- margin-right: $level-item-spacing
60
+ +ltr-property("margin", $level-item-spacing)
61
61
 
62
62
  .level-left
63
63
  align-items: center
@@ -1,11 +1,15 @@
1
+ $media-border-color: bulmaRgba($border, 0.5) !default
2
+ $media-spacing: 1rem
3
+ $media-spacing-large: 1.5rem
4
+
1
5
  .media
2
6
  align-items: flex-start
3
7
  display: flex
4
- text-align: left
8
+ text-align: inherit
5
9
  .content:not(:last-child)
6
10
  margin-bottom: 0.75rem
7
11
  .media
8
- border-top: 1px solid rgba($border, 0.5)
12
+ border-top: 1px solid $media-border-color
9
13
  display: flex
10
14
  padding-top: 0.75rem
11
15
  .content:not(:last-child),
@@ -16,14 +20,14 @@
16
20
  & + .media
17
21
  margin-top: 0.5rem
18
22
  & + .media
19
- border-top: 1px solid rgba($border, 0.5)
20
- margin-top: 1rem
21
- padding-top: 1rem
23
+ border-top: 1px solid $media-border-color
24
+ margin-top: $media-spacing
25
+ padding-top: $media-spacing
22
26
  // Sizes
23
27
  &.is-large
24
28
  & + .media
25
- margin-top: 1.5rem
26
- padding-top: 1.5rem
29
+ margin-top: $media-spacing-large
30
+ padding-top: $media-spacing-large
27
31
 
28
32
  .media-left,
29
33
  .media-right
@@ -32,16 +36,16 @@
32
36
  flex-shrink: 0
33
37
 
34
38
  .media-left
35
- margin-right: 1rem
39
+ +ltr-property("margin", $media-spacing)
36
40
 
37
41
  .media-right
38
- margin-left: 1rem
42
+ +ltr-property("margin", $media-spacing, false)
39
43
 
40
44
  .media-content
41
45
  flex-basis: auto
42
46
  flex-grow: 1
43
47
  flex-shrink: 1
44
- text-align: left
48
+ text-align: inherit
45
49
 
46
50
  +mobile
47
51
  .media-content
@@ -42,9 +42,9 @@ $menu-label-spacing: 1em !default
42
42
  color: $menu-item-active-color
43
43
  li
44
44
  ul
45
- border-left: $menu-list-border-left
45
+ +ltr-property("border", $menu-list-border-left, false)
46
46
  margin: $menu-nested-list-margin
47
- padding-left: $menu-nested-list-padding-left
47
+ +ltr-property("padding", $menu-nested-list-padding-left, false)
48
48
 
49
49
  .menu-label
50
50
  color: $menu-label-color
@@ -13,7 +13,7 @@ $message-body-color: $text !default
13
13
  $message-body-padding: 1.25em 1.5em !default
14
14
  $message-body-radius: $radius !default
15
15
 
16
- $message-body-pre-background-color: $white !default
16
+ $message-body-pre-background-color: $scheme-main !default
17
17
  $message-body-pre-code-background-color: transparent !default
18
18
 
19
19
  $message-header-body-border-width: 0 !default
@@ -37,21 +37,33 @@ $message-colors: $colors !default
37
37
  &.is-large
38
38
  font-size: $size-large
39
39
  // Colors
40
- @each $name, $pair in $message-colors
41
- $color: nth($pair, 1)
42
- $color-invert: nth($pair, 2)
43
- $color-lightning: max((100% - lightness($color)) - 2%, 0%)
44
- $color-luminance: colorLuminance($color)
45
- $darken-percentage: $color-luminance * 70%
46
- $desaturate-percentage: $color-luminance * 30%
40
+ @each $name, $components in $message-colors
41
+ $color: nth($components, 1)
42
+ $color-invert: nth($components, 2)
43
+ $color-light: null
44
+ $color-dark: null
45
+
46
+ @if length($components) >= 3
47
+ $color-light: nth($components, 3)
48
+ @if length($components) >= 4
49
+ $color-dark: nth($components, 4)
50
+ @else
51
+ $color-luminance: colorLuminance($color)
52
+ $darken-percentage: $color-luminance * 70%
53
+ $desaturate-percentage: $color-luminance * 30%
54
+ $color-dark: desaturate(darken($color, $darken-percentage), $desaturate-percentage)
55
+ @else
56
+ $color-lightning: max((100% - lightness($color)) - 2%, 0%)
57
+ $color-light: lighten($color, $color-lightning)
58
+
47
59
  &.is-#{$name}
48
- background-color: lighten($color, $color-lightning)
60
+ background-color: $color-light
49
61
  .message-header
50
62
  background-color: $color
51
63
  color: $color-invert
52
64
  .message-body
53
65
  border-color: $color
54
- color: desaturate(darken($color, $darken-percentage), $desaturate-percentage)
66
+ color: $color-dark
55
67
 
56
68
  .message-header
57
69
  align-items: center
@@ -67,7 +79,7 @@ $message-colors: $colors !default
67
79
  .delete
68
80
  flex-grow: 0
69
81
  flex-shrink: 0
70
- margin-left: 0.75em
82
+ +ltr-property("margin", 0.75em, false)
71
83
  & + .message-body
72
84
  border-width: $message-header-body-border-width
73
85
  border-top-left-radius: 0
@@ -1,6 +1,6 @@
1
1
  $modal-z: 40 !default
2
2
 
3
- $modal-background-background-color: rgba($black, 0.86) !default
3
+ $modal-background-background-color: bulmaRgba($scheme-invert, 0.86) !default
4
4
 
5
5
  $modal-content-width: 640px !default
6
6
  $modal-content-margin-mobile: 20px !default
@@ -25,9 +25,11 @@ $modal-card-title-size: $size-4 !default
25
25
  $modal-card-foot-radius: $radius-large !default
26
26
  $modal-card-foot-border-top: 1px solid $border !default
27
27
 
28
- $modal-card-body-background-color: $white !default
28
+ $modal-card-body-background-color: $scheme-main !default
29
29
  $modal-card-body-padding: 20px !default
30
30
 
31
+ $modal-breakpoint: $tablet !default
32
+
31
33
  .modal
32
34
  @extend %overlay
33
35
  align-items: center
@@ -53,7 +55,7 @@ $modal-card-body-padding: 20px !default
53
55
  position: relative
54
56
  width: 100%
55
57
  // Responsiveness
56
- +tablet
58
+ +from($modal-breakpoint)
57
59
  margin: 0 auto
58
60
  max-height: calc(100vh - #{$modal-content-spacing-tablet})
59
61
  width: $modal-content-width
@@ -63,7 +65,7 @@ $modal-card-body-padding: 20px !default
63
65
  background: none
64
66
  height: $modal-close-dimensions
65
67
  position: fixed
66
- right: $modal-close-right
68
+ +ltr-position($modal-close-right)
67
69
  top: $modal-close-top
68
70
  width: $modal-close-dimensions
69
71
 
@@ -102,7 +104,7 @@ $modal-card-body-padding: 20px !default
102
104
  border-top: $modal-card-foot-border-top
103
105
  .button
104
106
  &:not(:last-child)
105
- margin-right: 0.5em
107
+ +ltr-property("margin", 0.5em)
106
108
 
107
109
  .modal-card-body
108
110
  +overflow-touch
@@ -1,4 +1,4 @@
1
- $navbar-background-color: $white !default
1
+ $navbar-background-color: $scheme-main !default
2
2
  $navbar-box-shadow-size: 0 2px 0 0 !default
3
3
  $navbar-box-shadow-color: $background !default
4
4
  $navbar-height: 3.25rem !default
@@ -7,10 +7,10 @@ $navbar-padding-horizontal: 2rem !default
7
7
  $navbar-z: 30 !default
8
8
  $navbar-fixed-z: 30 !default
9
9
 
10
- $navbar-item-color: $grey-dark !default
10
+ $navbar-item-color: $text !default
11
11
  $navbar-item-hover-color: $link !default
12
- $navbar-item-hover-background-color: $white-bis !default
13
- $navbar-item-active-color: $black !default
12
+ $navbar-item-hover-background-color: $scheme-main-bis !default
13
+ $navbar-item-active-color: $scheme-invert !default
14
14
  $navbar-item-active-background-color: transparent !default
15
15
  $navbar-item-img-max-height: 1.75rem !default
16
16
 
@@ -24,7 +24,7 @@ $navbar-tab-active-border-bottom-color: $link !default
24
24
  $navbar-tab-active-border-bottom-style: solid !default
25
25
  $navbar-tab-active-border-bottom-width: 3px !default
26
26
 
27
- $navbar-dropdown-background-color: $white !default
27
+ $navbar-dropdown-background-color: $scheme-main !default
28
28
  $navbar-dropdown-border-top: 2px solid $border !default
29
29
  $navbar-dropdown-offset: -4px !default
30
30
  $navbar-dropdown-arrow: $link !default
@@ -32,9 +32,9 @@ $navbar-dropdown-radius: $radius-large !default
32
32
  $navbar-dropdown-z: 20 !default
33
33
 
34
34
  $navbar-dropdown-boxed-radius: $radius-large !default
35
- $navbar-dropdown-boxed-shadow: 0 8px 8px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1) !default
35
+ $navbar-dropdown-boxed-shadow: 0 8px 8px bulmaRgba($scheme-invert, 0.1), 0 0 0 1px bulmaRgba($scheme-invert, 0.1) !default
36
36
 
37
- $navbar-dropdown-item-hover-color: $black !default
37
+ $navbar-dropdown-item-hover-color: $scheme-invert !default
38
38
  $navbar-dropdown-item-hover-background-color: $background !default
39
39
  $navbar-dropdown-item-active-color: $link !default
40
40
  $navbar-dropdown-item-active-background-color: $background !default
@@ -46,6 +46,8 @@ $navbar-bottom-box-shadow-size: 0 -2px 0 0 !default
46
46
 
47
47
  $navbar-breakpoint: $desktop !default
48
48
 
49
+ $navbar-colors: $colors !default
50
+
49
51
  =navbar-fixed
50
52
  left: 0
51
53
  position: fixed
@@ -57,7 +59,7 @@ $navbar-breakpoint: $desktop !default
57
59
  min-height: $navbar-height
58
60
  position: relative
59
61
  z-index: $navbar-z
60
- @each $name, $pair in $colors
62
+ @each $name, $pair in $navbar-colors
61
63
  $color: nth($pair, 1)
62
64
  $color-invert: nth($pair, 2)
63
65
  &.is-#{$name}
@@ -72,7 +74,7 @@ $navbar-breakpoint: $desktop !default
72
74
  &:focus,
73
75
  &:hover,
74
76
  &.is-active
75
- background-color: darken($color, 5%)
77
+ background-color: bulmaDarken($color, 5%)
76
78
  color: $color-invert
77
79
  .navbar-link
78
80
  &::after
@@ -90,7 +92,7 @@ $navbar-breakpoint: $desktop !default
90
92
  &:focus,
91
93
  &:hover,
92
94
  &.is-active
93
- background-color: darken($color, 5%)
95
+ background-color: bulmaDarken($color, 5%)
94
96
  color: $color-invert
95
97
  .navbar-link
96
98
  &::after
@@ -98,7 +100,7 @@ $navbar-breakpoint: $desktop !default
98
100
  .navbar-item.has-dropdown:focus .navbar-link,
99
101
  .navbar-item.has-dropdown:hover .navbar-link,
100
102
  .navbar-item.has-dropdown.is-active .navbar-link
101
- background-color: darken($color, 5%)
103
+ background-color: bulmaDarken($color, 5%)
102
104
  color: $color-invert
103
105
  .navbar-dropdown
104
106
  a.navbar-item
@@ -151,7 +153,7 @@ body
151
153
  .navbar-burger
152
154
  color: $navbar-burger-color
153
155
  +hamburger($navbar-height)
154
- margin-left: auto
156
+ +ltr-property("margin", auto, false)
155
157
 
156
158
  .navbar-menu
157
159
  display: none
@@ -179,7 +181,6 @@ a.navbar-item,
179
181
  color: $navbar-item-hover-color
180
182
 
181
183
  .navbar-item
182
- display: block
183
184
  flex-grow: 0
184
185
  flex-shrink: 0
185
186
  img
@@ -210,12 +211,12 @@ a.navbar-item,
210
211
  flex-shrink: 1
211
212
 
212
213
  .navbar-link:not(.is-arrowless)
213
- padding-right: 2.5em
214
+ +ltr-property("padding", 2.5em)
214
215
  &::after
215
216
  @extend %arrow
216
217
  border-color: $navbar-dropdown-arrow
217
218
  margin-top: -0.375em
218
- right: 1.125em
219
+ +ltr-position(1.125em)
219
220
 
220
221
  .navbar-dropdown
221
222
  font-size: 0.875rem
@@ -245,7 +246,7 @@ a.navbar-item,
245
246
  display: none
246
247
  .navbar-menu
247
248
  background-color: $navbar-background-color
248
- box-shadow: 0 8px 16px rgba($black, 0.1)
249
+ box-shadow: 0 8px 16px bulmaRgba($scheme-invert, 0.1)
249
250
  padding: 0.5rem 0
250
251
  &.is-active
251
252
  display: block
@@ -257,7 +258,7 @@ a.navbar-item,
257
258
  &.is-fixed-bottom-touch
258
259
  bottom: 0
259
260
  &.has-shadow
260
- box-shadow: 0 -2px 3px rgba($black, 0.1)
261
+ box-shadow: 0 -2px 3px bulmaRgba($scheme-invert, 0.1)
261
262
  &.is-fixed-top-touch
262
263
  top: 0
263
264
  &.is-fixed-top,
@@ -320,7 +321,6 @@ a.navbar-item,
320
321
  align-items: center
321
322
  display: flex
322
323
  .navbar-item
323
- display: flex
324
324
  &.has-dropdown
325
325
  align-items: stretch
326
326
  &.has-dropdown-up
@@ -331,7 +331,7 @@ a.navbar-item,
331
331
  border-radius: $navbar-dropdown-radius $navbar-dropdown-radius 0 0
332
332
  border-top: none
333
333
  bottom: 100%
334
- box-shadow: 0 -8px 8px rgba($black, 0.1)
334
+ box-shadow: 0 -8px 8px bulmaRgba($scheme-invert, 0.1)
335
335
  top: auto
336
336
  &.is-active,
337
337
  &.is-hoverable:focus,
@@ -349,19 +349,19 @@ a.navbar-item,
349
349
  flex-shrink: 0
350
350
  .navbar-start
351
351
  justify-content: flex-start
352
- margin-right: auto
352
+ +ltr-property("margin", auto)
353
353
  .navbar-end
354
354
  justify-content: flex-end
355
- margin-left: auto
355
+ +ltr-property("margin", auto, false)
356
356
  .navbar-dropdown
357
357
  background-color: $navbar-dropdown-background-color
358
358
  border-bottom-left-radius: $navbar-dropdown-radius
359
359
  border-bottom-right-radius: $navbar-dropdown-radius
360
360
  border-top: $navbar-dropdown-border-top
361
- box-shadow: 0 8px 8px rgba($black, 0.1)
361
+ box-shadow: 0 8px 8px bulmaRgba($scheme-invert, 0.1)
362
362
  display: none
363
363
  font-size: 0.875rem
364
- left: 0
364
+ +ltr-position(0, false)
365
365
  min-width: 100%
366
366
  position: absolute
367
367
  top: 100%
@@ -370,7 +370,7 @@ a.navbar-item,
370
370
  padding: 0.375rem 1rem
371
371
  white-space: nowrap
372
372
  a.navbar-item
373
- padding-right: 3rem
373
+ +ltr-property("padding", 3rem)
374
374
  &:focus,
375
375
  &:hover
376
376
  background-color: $navbar-dropdown-item-hover-background-color
@@ -398,9 +398,9 @@ a.navbar-item,
398
398
  .navbar > .container,
399
399
  .container > .navbar
400
400
  .navbar-brand
401
- margin-left: -.75rem
401
+ +ltr-property("margin", -.75rem, false)
402
402
  .navbar-menu
403
- margin-right: -.75rem
403
+ +ltr-property("margin", -.75rem)
404
404
  // Fixed navbar
405
405
  .navbar
406
406
  &.is-fixed-bottom-desktop,
@@ -409,7 +409,7 @@ a.navbar-item,
409
409
  &.is-fixed-bottom-desktop
410
410
  bottom: 0
411
411
  &.has-shadow
412
- box-shadow: 0 -2px 3px rgba($black, 0.1)
412
+ box-shadow: 0 -2px 3px bulmaRgba($scheme-invert, 0.1)
413
413
  &.is-fixed-top-desktop
414
414
  top: 0
415
415
  html,
@@ -1,5 +1,5 @@
1
- $pagination-color: $grey-darker !default
2
- $pagination-border-color: $grey-lighter !default
1
+ $pagination-color: $text-strong !default
2
+ $pagination-border-color: $border !default
3
3
  $pagination-margin: -0.25rem !default
4
4
  $pagination-min-width: $control-height !default
5
5
 
@@ -17,9 +17,9 @@ $pagination-focus-border-color: $link-focus-border !default
17
17
  $pagination-active-color: $link-active !default
18
18
  $pagination-active-border-color: $link-active-border !default
19
19
 
20
- $pagination-disabled-color: $grey !default
21
- $pagination-disabled-background-color: $grey-lighter !default
22
- $pagination-disabled-border-color: $grey-lighter !default
20
+ $pagination-disabled-color: $text-light !default
21
+ $pagination-disabled-background-color: $border !default
22
+ $pagination-disabled-border-color: $border !default
23
23
 
24
24
  $pagination-current-color: $link-invert !default
25
25
  $pagination-current-background-color: $link !default
@@ -27,9 +27,10 @@ $pagination-current-border-color: $link !default
27
27
 
28
28
  $pagination-ellipsis-color: $grey-light !default
29
29
 
30
- $pagination-shadow-inset: inset 0 1px 2px rgba($black, 0.2)
30
+ $pagination-shadow-inset: inset 0 1px 2px rgba($scheme-invert, 0.2)
31
31
 
32
32
  .pagination
33
+ @extend %block
33
34
  font-size: $size-normal
34
35
  margin: $pagination-margin
35
36
  // Sizes