active_frontend 10.3.0 → 11.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/fonts/gotham/{gotham-bold.eot → regular/gotham-bold.eot} +0 -0
  3. data/app/assets/fonts/gotham/{gotham-bold.svg → regular/gotham-bold.svg} +0 -0
  4. data/app/assets/fonts/gotham/{gotham-bold.ttf → regular/gotham-bold.ttf} +0 -0
  5. data/app/assets/fonts/gotham/{gotham-bold.woff → regular/gotham-bold.woff} +0 -0
  6. data/app/assets/fonts/gotham/{gotham-book.eot → regular/gotham-book.eot} +0 -0
  7. data/app/assets/fonts/gotham/{gotham-book.svg → regular/gotham-book.svg} +0 -0
  8. data/app/assets/fonts/gotham/{gotham-book.ttf → regular/gotham-book.ttf} +0 -0
  9. data/app/assets/fonts/gotham/{gotham-book.woff → regular/gotham-book.woff} +0 -0
  10. data/app/assets/fonts/gotham/{gotham-light.eot → regular/gotham-light.eot} +0 -0
  11. data/app/assets/fonts/gotham/{gotham-light.svg → regular/gotham-light.svg} +0 -0
  12. data/app/assets/fonts/gotham/{gotham-light.ttf → regular/gotham-light.ttf} +0 -0
  13. data/app/assets/fonts/gotham/{gotham-light.woff → regular/gotham-light.woff} +0 -0
  14. data/app/assets/fonts/gotham/{gotham-medium.eot → regular/gotham-medium.eot} +0 -0
  15. data/app/assets/fonts/gotham/{gotham-medium.svg → regular/gotham-medium.svg} +0 -0
  16. data/app/assets/fonts/gotham/{gotham-medium.ttf → regular/gotham-medium.ttf} +0 -0
  17. data/app/assets/fonts/gotham/{gotham-medium.woff → regular/gotham-medium.woff} +0 -0
  18. data/app/assets/fonts/gotham/round/gothamrnd-bold.eot +0 -0
  19. data/app/assets/fonts/gotham/round/gothamrnd-bold.svg +3528 -0
  20. data/app/assets/fonts/gotham/round/gothamrnd-bold.ttf +0 -0
  21. data/app/assets/fonts/gotham/round/gothamrnd-bold.woff +0 -0
  22. data/app/assets/fonts/gotham/round/gothamrnd-book.eot +0 -0
  23. data/app/assets/fonts/gotham/round/gothamrnd-book.svg +3654 -0
  24. data/app/assets/fonts/gotham/round/gothamrnd-book.ttf +0 -0
  25. data/app/assets/fonts/gotham/round/gothamrnd-book.woff +0 -0
  26. data/app/assets/fonts/gotham/round/gothamrnd-light.eot +0 -0
  27. data/app/assets/fonts/gotham/round/gothamrnd-light.svg +3503 -0
  28. data/app/assets/fonts/gotham/round/gothamrnd-light.ttf +0 -0
  29. data/app/assets/fonts/gotham/round/gothamrnd-light.woff +0 -0
  30. data/app/assets/fonts/gotham/round/gothamrnd-medium.eot +0 -0
  31. data/app/assets/fonts/gotham/round/gothamrnd-medium.svg +3659 -0
  32. data/app/assets/fonts/gotham/round/gothamrnd-medium.ttf +0 -0
  33. data/app/assets/fonts/gotham/round/gothamrnd-medium.woff +0 -0
  34. data/lib/active_frontend/version.rb +1 -1
  35. data/lib/generators/active_frontend/templates/install.scss +7 -3
  36. data/vendor/assets/javascripts/_animation.js +1 -1
  37. data/vendor/assets/javascripts/_chart.js +7 -7
  38. data/vendor/assets/javascripts/_map.js +1 -1
  39. data/vendor/assets/javascripts/_tooltip.js +1 -1
  40. data/vendor/assets/stylesheets/_ad.scss +2 -10
  41. data/vendor/assets/stylesheets/_alert.scss +37 -71
  42. data/vendor/assets/stylesheets/_animation.scss +481 -1573
  43. data/vendor/assets/stylesheets/_aside.scss +45 -67
  44. data/vendor/assets/stylesheets/_breadcrumb.scss +3 -3
  45. data/vendor/assets/stylesheets/_button.scss +148 -605
  46. data/vendor/assets/stylesheets/_canvas.scss +61 -49
  47. data/vendor/assets/stylesheets/_carousel.scss +1 -3
  48. data/vendor/assets/stylesheets/_code.scss +24 -52
  49. data/vendor/assets/stylesheets/_collapse.scss +1 -3
  50. data/vendor/assets/stylesheets/_color.scss +21 -50
  51. data/vendor/assets/stylesheets/_colorpicker.scss +4 -6
  52. data/vendor/assets/stylesheets/_datepicker.scss +5 -8
  53. data/vendor/assets/stylesheets/_dropdown.scss +4 -6
  54. data/vendor/assets/stylesheets/_footer.scss +30 -65
  55. data/vendor/assets/stylesheets/_form.scss +201 -102
  56. data/vendor/assets/stylesheets/_header.scss +51 -58
  57. data/vendor/assets/stylesheets/_icon.scss +11 -17
  58. data/vendor/assets/stylesheets/_label_and_badge.scss +36 -43
  59. data/vendor/assets/stylesheets/_link.scss +1 -3
  60. data/vendor/assets/stylesheets/_list.scss +54 -20
  61. data/vendor/assets/stylesheets/_loader.scss +8 -35
  62. data/vendor/assets/stylesheets/_mixin.scss +90 -0
  63. data/vendor/assets/stylesheets/_modal.scss +34 -42
  64. data/vendor/assets/stylesheets/_nav_and_tab.scss +9 -8
  65. data/vendor/assets/stylesheets/_navbar.scss +18 -11
  66. data/vendor/assets/stylesheets/_pagination.scss +33 -6
  67. data/vendor/assets/stylesheets/_panel.scss +3 -4
  68. data/vendor/assets/stylesheets/_placeholder.scss +9 -3
  69. data/vendor/assets/stylesheets/_popover.scss +2 -2
  70. data/vendor/assets/stylesheets/_progress.scss +31 -55
  71. data/vendor/assets/stylesheets/_reset.scss +13 -14
  72. data/vendor/assets/stylesheets/_sidebar.scss +12 -23
  73. data/vendor/assets/stylesheets/_spinner.scss +121 -459
  74. data/vendor/assets/stylesheets/_swoggle.scss +28 -69
  75. data/vendor/assets/stylesheets/_table.scss +59 -11
  76. data/vendor/assets/stylesheets/_timepicker.scss +2 -7
  77. data/vendor/assets/stylesheets/_toolbar.scss +5 -7
  78. data/vendor/assets/stylesheets/_tooltip.scss +2 -2
  79. data/vendor/assets/stylesheets/_transition.scss +1 -3
  80. data/vendor/assets/stylesheets/_trunk.scss +11 -18
  81. data/vendor/assets/stylesheets/_typeahead.scss +1 -3
  82. data/vendor/assets/stylesheets/_typography.scss +110 -85
  83. data/vendor/assets/stylesheets/active_frontend.scss +7 -3
  84. metadata +35 -19
  85. data/vendor/assets/stylesheets/_stripe.scss +0 -30
@@ -1,32 +1,17 @@
1
1
  /* Table of Contents
2
2
  ==================================================
3
3
  # Keyframes
4
- # Loader
5
- # Media Queries */
4
+ # Loader */
6
5
 
7
6
  /* # Keyframes
8
7
  ================================================== */
9
8
  @-webkit-keyframes loader-spinner {
10
- 0% {
11
- -webkit-transform: rotate(0deg);
12
- transform: rotate(0deg);
13
- }
14
- 100% {
15
- -webkit-transform: rotate(360deg);
16
- transform: rotate(360deg);
17
- }
9
+ 0% { @include transform(0); }
10
+ 100% { @include transform(360deg); }
18
11
  }
19
12
  @keyframes loader-spinner {
20
- 0% {
21
- -webkit-transform: rotate(0deg);
22
- -ms-transform: rotate(0deg);
23
- transform: rotate(0deg);
24
- }
25
- 100% {
26
- -webkit-transform: rotate(360deg);
27
- -ms-transform: rotate(360deg);
28
- transform: rotate(360deg);
29
- }
13
+ 0% { @include transform(0); }
14
+ 100% { @include transform(360deg); }
30
15
  }
31
16
 
32
17
  /* # Loader
@@ -37,6 +22,7 @@
37
22
  left: 0;
38
23
  pointer-events: none;
39
24
  position: fixed;
25
+ right: 0;
40
26
  top: 0;
41
27
  width: 100%;
42
28
  z-index: 9999;
@@ -54,9 +40,7 @@
54
40
  pointer-events: none;
55
41
  position: absolute;
56
42
  right: 0;
57
- -webkit-transform: rotate(3deg) translate(0,-4px);
58
- -ms-transform: rotate(3deg) translate(0,-4px);
59
- transform: rotate(3deg) translate(0,-4px);
43
+ @include transform(rotate(3deg) translate(0, -4px));
60
44
  width: 100px;
61
45
  }
62
46
  .loader-spinner {
@@ -68,9 +52,7 @@
68
52
  z-index: 9999;
69
53
  }
70
54
  .loader-spinner-icon {
71
- -webkit-animation: loader-spinner 400ms linear infinite;
72
- -ms-animation: loader-spinner 400ms linear infinite;
73
- animation: loader-spinner 400ms linear infinite;
55
+ @include animation(loader-spinner 400ms linear infinite);
74
56
  border: solid 2px $color-transparent;
75
57
  border-left-color: $color-primary;
76
58
  border-top-color: $color-primary;
@@ -79,13 +61,4 @@
79
61
  height: 18px;
80
62
  pointer-events: none;
81
63
  width: 18px;
82
- }
83
-
84
- /* # Media Queries
85
- ================================================== */
86
- @media only screen and (max-width: 767px) {
87
- .loader-backdrop {
88
- height: 2px;
89
- background: $color-transparent;
90
- }
91
64
  }
@@ -0,0 +1,90 @@
1
+ /* Table of Contents
2
+ ==================================================
3
+ # Mixin */
4
+
5
+ /* # Mixin
6
+ ================================================== */
7
+ @mixin animation($animation) {
8
+ -webkit-animation: $animation;
9
+ -ms-animation: $animation;
10
+ animation: $animation;
11
+ }
12
+ @mixin animation-delay($delay) {
13
+ -webkit-animation-delay: $delay;
14
+ -ms-animation-delay: $delay;
15
+ animation-delay: $delay;
16
+ }
17
+ @mixin animation-duration($duration) {
18
+ -webkit-animation-duration: $duration;
19
+ -ms-animation-duration: $duration;
20
+ animation-duration: $duration;
21
+ }
22
+ @mixin animation-fill-mode($mode) {
23
+ -webkit-animation-fill-mode: $mode;
24
+ -ms-animation-fill-mode: $mode;
25
+ animation-fill-mode: $mode;
26
+ }
27
+ @mixin animation-name($name) {
28
+ -webkit-animation-name: $name;
29
+ -ms-animation-name: $name;
30
+ animation-name: $name;
31
+ }
32
+ @mixin animation-timing-function($function) {
33
+ -webkit-animation-timing-function: $function;
34
+ -ms-animation-timing-function: $function;
35
+ animation-timing-function: $function;
36
+ }
37
+ @mixin appearance($appearance) {
38
+ -webkit-appearance: $appearance;
39
+ -ms-appearance: $appearance;
40
+ appearance: $appearance;
41
+ }
42
+ @mixin backface-visibility ($visibility) {
43
+ -webkit-backface-visibility: $visibility;
44
+ -ms-backface-visibility: $visibility;
45
+ backface-visibility: $visibility;
46
+ }
47
+ @mixin background-size($size) {
48
+ -webkit-background-size: $size;
49
+ -ms-background-size: $size;
50
+ background-size: $size;
51
+ }
52
+ @mixin dimensions($height, $width) {
53
+ height: $height;
54
+ width: $width;
55
+ }
56
+ @mixin overflow-scrolling($scroll) {
57
+ -webkit-overflow-scrolling: $scroll;
58
+ -ms-overflow-scrolling: $scroll;
59
+ overflow-scrolling: $scroll;
60
+ }
61
+ @mixin tap-highlight-color($color) {
62
+ -webkit-tap-highlight-color: $color;
63
+ -ms-tap-highlight-color: $color;
64
+ tap-highlight-color: $color;
65
+ }
66
+ @mixin text-size-adjust($size) {
67
+ -webkit-text-size-adjust: $size;
68
+ -ms-text-size-adjust: $size;
69
+ text-size-adjust: $size;
70
+ }
71
+ @mixin transform($transform) {
72
+ -webkit-transform: $transform;
73
+ -ms-transform: $transform;
74
+ transform: $transform;
75
+ }
76
+ @mixin transform-origin($origin) {
77
+ -webkit-transform-origin: $origin;
78
+ -ms-transform-origin: $origin;
79
+ transform-origin: $origin;
80
+ }
81
+ @mixin transition($transition) {
82
+ -webkit-transition: $transition;
83
+ -ms-transition: $transition;
84
+ transition: $transition;
85
+ }
86
+ @mixin user-select($select) {
87
+ -webkit-user-select: $select;
88
+ -ms-user-select: $select;
89
+ user-select: $select;
90
+ }
@@ -1,12 +1,13 @@
1
1
  /* Table of Contents
2
2
  ==================================================
3
3
  # Modal
4
+ # Colors
4
5
  # Media Queries */
5
6
 
6
7
  /* # Modal
7
8
  ================================================== */
8
9
  .modal-backdrop {
9
- background: rgba(35,41,55,0.9);
10
+ background: transparentize($color-black, 0.1);
10
11
  bottom: 0;
11
12
  height: 100%;
12
13
  left: 0;
@@ -28,7 +29,7 @@
28
29
  background: $color-white;
29
30
  background-clip: padding-box;
30
31
  border-radius: 3px;
31
- box-shadow: 0 0 3px rgba(0,0,0,0.3);
32
+ box-shadow: 0 0 3px transparentize($color-dark-black, 0.7);
32
33
  display: none;
33
34
  left: 50%;
34
35
  margin-left: -280px;
@@ -39,62 +40,54 @@
39
40
  z-index: 1050;
40
41
  }
41
42
  .modal.fade {
42
- -webkit-transition: opacity 0.3s linear, top 0.3s ease-out;
43
- -ms-transition: opacity 0.3s linear, top 0.3s ease-out;
44
- transition: opacity 0.3s linear, top 0.3s ease-out;
43
+ @include transition((opacity 0.2s linear, top 0.4s ease-in-out));
45
44
  top: -100%;
46
45
  }
47
46
  .modal.fade.in { top: 15%; }
48
47
  .modal-header {
49
- background: $color-white;
50
48
  border-bottom: 1px solid $color-haze;
51
49
  border-top-right-radius: 3px;
52
50
  border-top-left-radius: 3px;
53
- padding: 22px 15px 20px 15px;
51
+ padding: 23px 15px 20px 15px;
54
52
  }
55
53
  .modal-header > h3 {
56
- color: $color-black;
57
54
  font-size: 14px;
58
55
  letter-spacing: 1px;
59
- line-height: 14px;
56
+ line-height: 1;
60
57
  margin: 0;
58
+ padding: 0;
61
59
  text-align: center;
62
60
  text-transform: uppercase;
63
61
  }
64
62
  .modal-body {
65
- border-bottom: 1px solid $color-haze;
66
63
  max-height: 300px;
67
- overflow-y: scroll;
64
+ overflow-y: auto;
68
65
  padding: 15px 18px;
69
- position: relative;
70
66
  }
71
67
  .modal-body .container { width: 100%; }
72
68
  .modal-body p:last-child { margin-bottom: 0; }
73
69
  .modal-footer {
70
+ border-top: 1px solid $color-haze;
74
71
  border-bottom-right-radius: 3px;
75
72
  border-bottom-left-radius: 3px;
76
- margin-bottom: 0;
77
- padding: 0;
78
73
  }
79
74
  .modal-footer:after { clear: both; }
80
- .modal-footer-btn,
81
- button.modal-footer-btn,
82
- input.modal-footer-btn {
83
- -webkit-appearance: none;
84
- -ms-appearance: none;
85
- appearance: none;
86
- background: $color-white;
75
+ .modal-footer-btn {
76
+ @include appearance(none);
77
+ background: $color-transparent;
87
78
  border: 0;
79
+ border-right: 1px solid $color-haze;
88
80
  box-sizing: border-box;
89
- color: $color-black !important;
81
+ color: inherit;
90
82
  cursor: pointer;
91
83
  float: left;
92
84
  -webkit-font-smoothing: antialiased;
85
+ -moz-osx-font-smoothing: grayscale;
93
86
  font-size: 11px;
94
87
  font-weight: bold;
95
- line-height: 11px;
88
+ line-height: 1;
96
89
  margin: 0;
97
- padding: 22px 0;
90
+ padding: 22px 0 23px 0;
98
91
  text-align: center;
99
92
  text-indent: 0;
100
93
  text-rendering: geometricPrecision;
@@ -103,27 +96,26 @@ input.modal-footer-btn {
103
96
  vertical-align: middle;
104
97
  width: 100%;
105
98
  }
106
- .modal-footer-btn:first-child,
107
- button.modal-footer-btn:first-child,
108
- input.modal-footer-btn:first-child { border-bottom-left-radius: 3px; }
109
- .modal-footer-btn:last-child,
110
- button.modal-footer-btn:last-child,
111
- input.modal-footer-btn:last-child { border-bottom-right-radius: 3px; }
112
- .modal-footer-btn[disabled],
113
- button.modal-footer-btn[disabled],
114
- input.modal-footer-btn[disabled] {
115
- color: $color-gray !important;
99
+ .modal-footer-btn:last-child { border-right: 0; }
100
+ .modal-footer-btn[disabled] {
101
+ color: $color-gray;
116
102
  cursor: not-allowed;
117
103
  }
118
- .modal-footer-btn-group > .modal-footer-btn,
119
- .modal-footer-btn-group > button.modal-footer-btn,
120
- .modal-footer-btn-group > input.modal-footer-btn {
121
- border-right: 1px solid $color-haze;
122
- width: 50%;
104
+ .modal-footer-btn-group > .modal-footer-btn { width: 50%; }
105
+
106
+ /* # Colors
107
+ ================================================== */
108
+ .modal-dark {
109
+ background: $color-black;
110
+ color: $color-white;
123
111
  }
124
- .modal-footer-btn-group > .modal-footer-btn:last-child,
125
- .modal-footer-btn-group > button.modal-footer-btn:last-child,
126
- .modal-footer-btn-group > input.modal-footer-btn:last-child { border-right: none; }
112
+ .modal-light { background: $color-light-haze; }
113
+ .modal-dark .modal-header,
114
+ .modal-dark .modal-footer,
115
+ .modal-dark .modal-footer-btn { border-color: $color-dark-black; }
116
+ .modal-light .modal-header,
117
+ .modal-light .modal-footer,
118
+ .modal-light .modal-footer-btn { border-color: $color-dark-haze; }
127
119
 
128
120
  /* # Media Queries
129
121
  ================================================== */
@@ -19,7 +19,7 @@
19
19
  display: block;
20
20
  font-size: 14px;
21
21
  font-weight: bold;
22
- line-height: 14px;
22
+ line-height: 1;
23
23
  }
24
24
  .nav > li > a:hover,
25
25
  .nav > li > a:active,
@@ -52,7 +52,7 @@
52
52
  .nav-list > li > a {
53
53
  color: $color-dark-gray;
54
54
  font-weight: bold;
55
- padding: 11px 15px;
55
+ padding: 13px 15px 11px 15px;
56
56
  }
57
57
  .nav-list > li > a:hover,
58
58
  .nav-list > li > a:focus { background: $color-haze; }
@@ -104,7 +104,7 @@
104
104
  border-radius: 2px;
105
105
  color: $color-dark-gray;
106
106
  margin-right: 3px;
107
- padding: 9px 10px;
107
+ padding: 10px 10px 9px 10px;
108
108
  }
109
109
  .nav-pills > li > a:hover,
110
110
  .nav-pills > li > a:active,
@@ -121,8 +121,9 @@
121
121
  .nav-tabs.nav-stacked { border-bottom: 0; }
122
122
  .nav-tabs.nav-stacked > li > a {
123
123
  background: $color-light-haze;
124
+ border-bottom: 0;
124
125
  color: $color-dark-gray;
125
- padding: 10px 10px 8px 10px;
126
+ padding: 12px 10px 10px 10px;
126
127
  }
127
128
  .nav-tabs.nav-stacked > li:first-child > a {
128
129
  border-top-right-radius: 2px;
@@ -133,22 +134,22 @@
133
134
  border-bottom-left-radius: 2px;
134
135
  }
135
136
  .nav-tabs.nav-stacked > li > a:hover,
136
- .nav-tabs.nav-stacked > li > a:active,
137
137
  .nav-tabs.nav-stacked > li > a:focus {
138
138
  background: $color-haze;
139
139
  z-index: 2;
140
140
  }
141
+ .nav-tabs.nav-stacked > li > a:active,
141
142
  .nav-tabs.nav-stacked > .active > a {
142
143
  background: $color-primary;
143
- border-bottom: 0;
144
144
  color: $color-white;
145
- padding: 10px;
146
145
  }
147
146
  .nav-pills.nav-stacked > li > a {
148
147
  margin-bottom: 3px;
149
- padding: 10px;
148
+ padding: 12px 10px 10px 10px;
150
149
  }
151
150
  .nav-pills.nav-stacked > li:last-child > a { margin-bottom: 0; }
151
+ .nav-tabs .dropdown-toggle,
152
+ .nav-pills .dropdown-toggle { margin-bottom: -1px; }
152
153
  .nav-tabs .open .dropdown-toggle,
153
154
  .nav-pills .open .dropdown-toggle,
154
155
  .nav > li.dropdown.open.active > a:hover,
@@ -6,29 +6,29 @@
6
6
 
7
7
  /* # Navbar
8
8
  ================================================== */
9
- .navbar-fixed {
10
- bottom: 0;
11
- left: 0;
12
- position: fixed;
13
- right: 0;
14
- z-index: 1030;
15
- }
16
9
  .navbar {
17
10
  background: $color-white;
18
11
  border-collapse: separate;
19
12
  border-top: 1px solid $color-haze;
20
13
  box-sizing: border-box;
21
14
  display: table;
22
- height: 48px;
15
+ height: 50px;
23
16
  table-layout: fixed;
24
17
  width: 100%;
25
18
  }
19
+ .navbar-fixed {
20
+ bottom: 0;
21
+ left: 0;
22
+ position: fixed;
23
+ right: 0;
24
+ z-index: 1030;
25
+ }
26
26
  .navbar > a {
27
- color: $color-dark-gray;
27
+ color: $color-gray;
28
28
  display: table-cell;
29
29
  float: none;
30
30
  font-size: 27px;
31
- padding: 10px 0;
31
+ padding-top: 10px;
32
32
  text-align: center;
33
33
  width: 1%;
34
34
  }
@@ -36,6 +36,14 @@
36
36
  .navbar > a.active,
37
37
  .navbar > a:active,
38
38
  .navbar > a:focus { color: $color-primary; }
39
+ .navbar > a.filled {
40
+ background: $color-primary;
41
+ color: $color-white;
42
+ }
43
+ .navbar > a.filled:hover,
44
+ .navbar > a.filled.active,
45
+ .navbar > a.filled:active,
46
+ .navbar > a.filled:focus { background: darken($color-primary, 5%); }
39
47
 
40
48
  /* # Colors
41
49
  ================================================== */
@@ -43,7 +51,6 @@
43
51
  background: $color-black;
44
52
  border-color: $color-dark-black;
45
53
  }
46
- .navbar-dark > a { color: $color-white; }
47
54
  .navbar-light {
48
55
  background: $color-light-haze;
49
56
  border-color: $color-dark-haze;
@@ -1,6 +1,8 @@
1
1
  /* Table of Contents
2
2
  ==================================================
3
- # Pagination */
3
+ # Pagination
4
+ # Alignments
5
+ # Colors */
4
6
 
5
7
  /* # Pagination
6
8
  ================================================== */
@@ -12,12 +14,13 @@
12
14
  .pagination > ul > li {
13
15
  display: inline-block;
14
16
  font-size: 14px;
17
+ font-weight: normal;
15
18
  line-height: 14px;
16
19
  margin-right: 2px;
17
20
  }
18
21
  .pagination > ul > li > a,
19
22
  .pagination > ul > li.active {
20
- background: $color-light-haze;
23
+ background: $color-white;
21
24
  border-radius: 500px;
22
25
  color: $color-black;
23
26
  display: inline-block;
@@ -25,7 +28,7 @@
25
28
  text-align: center;
26
29
  text-decoration: none;
27
30
  }
28
- .pagination > ul > li > a { padding: 10px 12px 8px 12px; }
31
+ .pagination > ul > li > a,
29
32
  .pagination > ul > li.active { padding: 10px 12px 8px 12px; }
30
33
  .pagination > ul > li > a:active,
31
34
  .pagination > ul > li.active {
@@ -33,10 +36,34 @@
33
36
  color: $color-white;
34
37
  }
35
38
  .pagination > ul > li > a:hover,
36
- .pagination > ul > li > a:focus { background: $color-haze; }
39
+ .pagination > ul > li > a:focus { background: $color-light-haze; }
37
40
  .pagination > ul > li.pagination-icon > a { padding: 9px 10px 7px 10px; }
38
41
  .pagination > ul > li.pagination-icon:first-child > a { padding-right: 13px; }
39
42
  .pagination > ul > li.pagination-icon:last-child > a { padding-left: 13px; }
40
- .pagination-centered { text-align: center; }
43
+
44
+ /* # Alignments
45
+ ================================================== */
46
+ .pagination-center { text-align: center; }
41
47
  .pagination-right { text-align: right; }
42
- .pagination-left { text-align: left; }
48
+ .pagination-left { text-align: left; }
49
+
50
+ /* # Colors
51
+ ================================================== */
52
+ .pagination-dark > ul > li > a,
53
+ .pagination-dark > ul > li.active {
54
+ background: $color-black;
55
+ color: $color-white;
56
+ }
57
+ .pagination-light > ul > li > a,
58
+ .pagination-light > ul > li.active { background: $color-light-haze; }
59
+ .pagination-dark > ul > li > a:active,
60
+ .pagination-dark > ul > li.active,
61
+ .pagination-light > ul > li > a:active,
62
+ .pagination-light > ul > li.active {
63
+ background: $color-primary;
64
+ color: $color-white;
65
+ }
66
+ .pagination-dark > ul > li > a:hover,
67
+ .pagination-dark > ul > li > a:focus { background: $color-light-black; }
68
+ .pagination-light > ul > li > a:hover,
69
+ .pagination-light > ul > li > a:focus { background: $color-haze; }