beyond-rails 1.0.3 → 1.0.4

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/src/js/components/BarChart.js +19 -7
  3. data/src/js/components/LineChart.js +18 -8
  4. data/src/js/components/PieChart.js +16 -6
  5. data/src/js/components/SearchDropdown.js +8 -5
  6. data/src/js/consts/index.js +42 -0
  7. data/src/js/decorators/chartCommon.js +4 -1
  8. data/src/js/index.js +0 -1
  9. data/src/sass/_base.scss +170 -0
  10. data/src/sass/_beyond-dark.scss +3 -0
  11. data/src/sass/_beyond.scss +0 -54
  12. data/src/sass/_main.scss +56 -176
  13. data/src/sass/abstracts/_mixins.scss +2 -4
  14. data/src/sass/abstracts/_placeholders.scss +3 -3
  15. data/src/sass/abstracts/_post-variables.scss +85 -0
  16. data/src/sass/abstracts/_variables.scss +301 -188
  17. data/src/sass/base/_background.scss +2 -3
  18. data/src/sass/base/_typography.scss +17 -17
  19. data/src/sass/components/_alert.scss +8 -14
  20. data/src/sass/components/_autocomplete.scss +4 -5
  21. data/src/sass/components/_badge.scss +2 -4
  22. data/src/sass/components/_breadcrumb.scss +3 -2
  23. data/src/sass/components/_btn-group.scss +1 -1
  24. data/src/sass/components/_btn.scss +34 -19
  25. data/src/sass/components/_card.scss +12 -6
  26. data/src/sass/components/_chart.scss +5 -5
  27. data/src/sass/components/_checkbox.scss +8 -8
  28. data/src/sass/components/_date-menu.scss +10 -10
  29. data/src/sass/components/_date-time-ranger.scss +9 -3
  30. data/src/sass/components/_dropdown.scss +11 -14
  31. data/src/sass/components/_form.scss +17 -18
  32. data/src/sass/components/_input.scss +4 -4
  33. data/src/sass/components/_modal.scss +5 -6
  34. data/src/sass/components/_month-menu.scss +11 -11
  35. data/src/sass/components/_nav.scss +5 -5
  36. data/src/sass/components/_navbar.scss +26 -33
  37. data/src/sass/components/_pagination.scss +9 -8
  38. data/src/sass/components/_radio.scss +2 -4
  39. data/src/sass/components/_search-dropdown.scss +3 -2
  40. data/src/sass/components/_select.scss +15 -23
  41. data/src/sass/components/_sidebar.scss +1 -1
  42. data/src/sass/components/_spinner.scss +0 -1
  43. data/src/sass/components/_switch.scss +5 -5
  44. data/src/sass/components/_tabbox.scss +19 -32
  45. data/src/sass/components/_table.scss +13 -14
  46. data/src/sass/components/_tag-input.scss +2 -4
  47. data/src/sass/components/_tag.scss +4 -4
  48. data/src/sass/components/_time-menu.scss +4 -4
  49. data/src/sass/components/_toast.scss +4 -3
  50. data/src/sass/components/_tooltip.scss +11 -14
  51. data/src/sass/themes/_dark.scss +309 -0
  52. metadata +6 -2
@@ -1,5 +1,4 @@
1
1
  .autocomplete-menu {
2
- background-color: #fff;
3
2
  position: absolute;
4
3
  box-shadow: 0 0 0 1px rgba(136, 152, 170, .1),
5
4
  0 15px 35px 0 rgba(49, 49, 93, .1),
@@ -7,23 +6,23 @@
7
6
  overflow-y: auto;
8
7
  -webkit-overflow-scrolling: touch;
9
8
  .item {
10
- background-color: #fff;
9
+ background: $autocomplete-item-bg;
11
10
  cursor: default;
12
11
  padding: 12px 15px;
13
12
  font-size: 12px;
14
13
  &:hover {
15
- background-color: #f7fafc;
14
+ background-color: $autocomplete-item-bg-ex;
16
15
  }
17
16
  .page-prefix {
17
+ color: $page-prefix-txt;
18
18
  display: inline-block;
19
- color: #6772e5;
20
19
  margin-right: 7px;
21
20
  vertical-align: top;
22
21
  }
23
22
  .page-title {
23
+ color: $page-title-txt;
24
24
  max-width: 300px;
25
25
  display: inline-block;
26
- color: #697396;
27
26
  }
28
27
  }
29
28
  }
@@ -1,12 +1,10 @@
1
1
  .badge {
2
2
  font-family: 'Roboto', sans-serif;
3
- font-weight: 900;
4
3
  font-size: 12px;
5
4
  border-radius: 2px;
6
- background-color: #eaeaea;
7
- padding: 1px 4px;
5
+ background-color: $badge-bg;
6
+ padding: 2px 4px;
8
7
  white-space: nowrap;
9
- transform: translateY(-8%);
10
8
  }
11
9
 
12
10
  .badge.badge-pill {
@@ -4,14 +4,15 @@
4
4
  padding: .75rem 1rem;
5
5
  margin-bottom: 1rem;
6
6
  list-style: none;
7
+ color: $breadcrumb-color-ex;
7
8
  li + li::before {
8
9
  display: inline-block;
9
10
  padding-right: .7rem;
10
11
  padding-left: .7rem;
11
- color: $text-color-strong;
12
+ color: $breadcrumb-color;
12
13
  content: '/';
13
14
  }
14
15
  li:last-child {
15
- color: $text-color-strong;
16
+ color: $breadcrumb-color;
16
17
  }
17
18
  }
@@ -14,6 +14,6 @@
14
14
  border-bottom-left-radius: 0;
15
15
  }
16
16
  .btn .badge {
17
- margin-left: 10px;
17
+ margin-left: 8px;
18
18
  }
19
19
  }
@@ -1,16 +1,13 @@
1
- $default-border: #e6e6e6;
2
-
3
1
  .btn {
4
2
  outline: 0;
5
- background-color: #fff;
3
+ background-color: $default-btn-bg;
6
4
  display: inline-flex;
7
5
  justify-content: center;
8
6
  align-items: center;
9
- border: 1px solid $default-border;
7
+ border: 1px solid $btn-border;
10
8
  padding: 6px 12px 7px;
11
9
  border-radius: 3px;
12
10
  font-size: 14px;
13
- font-weight: 700;
14
11
  transition: all .3s;
15
12
 
16
13
  &:focus,
@@ -25,7 +22,7 @@ $default-border: #e6e6e6;
25
22
  &:active {
26
23
  transform: translateY(0);
27
24
  box-shadow: none;
28
- border: 1px solid darken($default-border, 20%);
25
+ border: 1px solid darken($btn-border, 20%);
29
26
  }
30
27
  &.disabled,
31
28
  &:disabled {
@@ -100,14 +97,19 @@ $default-border: #e6e6e6;
100
97
  .btn .badge {
101
98
  margin-left: .5rem;
102
99
  font-weight: 400;
100
+ background: $btn-badge-bg;
101
+ box-shadow: $btn-badge-shadow;
103
102
  }
104
103
 
105
- @each $classname, $bg, $color, $bg-ex, $bg-disabled, $badge-bg, $badge-color in $btns {
104
+ @each $btn in $btns {
105
+
106
+ $classname: map-get($btn, classname);
107
+
106
108
  .btn.#{$classname} {
107
- background-color: $bg;
108
- color: $color;
109
+ background-color: map-get($btn, bg);
110
+ color: map-get($btn, txt);
109
111
  @if $classname == 'btn-secondary' {
110
- border: 1px solid $default-border;
112
+ border: 1px solid $btn-border;
111
113
  box-shadow: none;
112
114
  }
113
115
  @else {
@@ -120,42 +122,55 @@ $default-border: #e6e6e6;
120
122
  0 3px 6px 0 rgba(0, 0, 0, .08);
121
123
  }
122
124
  }
123
-
125
+ &:focus,
126
+ &:hover:focus {
127
+ @include focus-outline;
128
+ }
124
129
  &.hover,
125
130
  &:hover,
126
131
  &.active,
127
132
  &:active {
128
- background-color: $bg-ex;
133
+ background-color: map-get($btn, bg-ex);
129
134
  }
130
135
  &.active,
131
136
  &:active {
132
- border: 1px solid darken($bg-ex, 20%);
137
+ border: 1px solid darken(map-get($btn, bg-ex), 20%);
133
138
  }
134
139
  &.disabled,
135
140
  &:disabled {
136
- background-color: $bg-disabled;
141
+ background-color: map-get($btn, bg-disabled);
137
142
  }
138
143
  .badge {
139
- background-color: $badge-bg;
140
- color: $badge-color;
144
+ background-color: map-get($btn, badge-bg);
145
+ color: map-get($btn, badge-txt);
141
146
  }
142
147
  }
143
148
  }
144
149
 
145
150
  .btn.btn-link {
146
151
  background-color: transparent;
147
- color: nth($btn-link, 3);
152
+ border: 1px solid $btn-link-border;
153
+ color: nth($btn-link, 1);
148
154
  cursor: pointer;
149
155
  box-shadow: none;
150
156
  &.hover,
151
157
  &:hover,
152
158
  &.active,
153
159
  &:active {
154
- color: nth($btn-link, 4);
160
+ color: nth($btn-link, 2);
161
+ }
162
+ &:focus,
163
+ &:hover:focus {
164
+ @include focus-outline;
165
+ }
166
+ &.active,
167
+ &:active {
168
+ box-shadow: inset 0 0 0 1px $btn-link-border;
155
169
  }
156
170
  &.disabled,
157
171
  &:disabled {
158
- color: nth($btn-link, 5);
172
+ color: nth($btn-link, 3);
173
+ border: 1px solid nth($btn-link, 3);
159
174
  }
160
175
  }
161
176
 
@@ -4,7 +4,10 @@
4
4
  flex-direction: column;
5
5
  min-width: 0;
6
6
  word-wrap: break-word;
7
- background-color: #fff;
7
+
8
+ background: $card-bg;
9
+ color: $card-color;
10
+
8
11
  background-clip: border-box;
9
12
  border: 1px solid rgba(0, 0, 0, .125);
10
13
  border-radius: .25rem;
@@ -42,23 +45,26 @@
42
45
  display: block;
43
46
  padding: .75rem 1.25rem;
44
47
  margin-bottom: -1px;
45
- background-color: #fff;
46
- border: 1px solid rgba(0, 0, 0, .125);
48
+ background-color: $list-group-bg;
49
+ border: 1px solid $card-border;
47
50
  }
48
51
  .card-header:first-child {
49
52
  border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
50
53
  padding: .75rem 1.25rem;
51
54
  margin-bottom: 0;
52
55
  background-color: rgba(0, 0, 0, .03);
53
- border-bottom: 1px solid rgba(0, 0, 0, .125);
56
+ border-bottom: 1px solid $card-border;
54
57
  }
55
58
  .card-header+.list-group .list-group-item:first-child {
56
59
  border-top: 0;
57
60
  }
61
+ .list-group .list-group-item:last-child {
62
+ border-bottom: 0;
63
+ }
58
64
  .card-footer {
59
65
  padding: .75rem 1.25rem;
60
66
  background-color: rgba(0, 0, 0, .03);
61
- border-top: 1px solid rgba(0, 0, 0, .125);
67
+ border-top: 1px solid $card-border;
62
68
  }
63
69
  .card > .list-group:first-child .list-group-item:first-child {
64
70
  border-top-left-radius: .25rem;
@@ -98,7 +104,7 @@
98
104
  .blockquote-footer {
99
105
  display: block;
100
106
  font-size: 80%;
101
- color: #6c757d;
107
+ color: $blockquote-footer-color;
102
108
  }
103
109
  .card-header-tabs {
104
110
  margin-right: -.625rem;
@@ -5,12 +5,12 @@
5
5
  .chart-menu {
6
6
  display: none;
7
7
  position: absolute;
8
- background-color: #fff;
9
- padding: 10px 13px;
10
- box-shadow: 4px 4px 15px 1px rgba(68, 68, 72, .12);
11
- color: #3c4257;
12
8
  z-index: 1;
13
- border: 1px solid #e8e8e8;
9
+ padding: 10px 13px;
10
+ background: $chart-menu-bg;
11
+ color: $chart-menu-txt;
12
+ box-shadow: $chart-menu-shadow;
13
+ border: $chart-menu-border;
14
14
  }
15
15
 
16
16
  .chart-box {
@@ -23,7 +23,7 @@
23
23
  cursor: pointer;
24
24
  margin-right: 25px;
25
25
  vertical-align: middle;
26
- color: #3c4257;
26
+ color: $txt;
27
27
  font-size: 14px;
28
28
  .checkbox + span {
29
29
  position: relative;
@@ -38,16 +38,16 @@ label.checkbox {
38
38
  margin-bottom: initial;
39
39
  }
40
40
  .checkbox {
41
- transform: translateY(3px);
42
- &.focus {
43
- @include focus-outline;
44
- }
45
41
  $size: 14px;
46
- @include size($size);
42
+ transform: translateY(4px);
47
43
  cursor: pointer;
48
44
  position: relative;
49
45
  display: inline-block;
46
+ @include size($size);
50
47
 
48
+ &.focus {
49
+ @include focus-outline;
50
+ }
51
51
  input[type="checkbox"] {
52
52
  @include size($size);
53
53
  cursor: pointer;
@@ -57,7 +57,7 @@ label.checkbox {
57
57
  display: block;
58
58
  bottom: 0;
59
59
  &:checked ~ .icon-checkbox {
60
- background-color: #6772e5;
60
+ background-color: $checkbox-bg-ex;
61
61
  box-shadow: none;
62
62
  &:before {
63
63
  animation: .3s check1;
@@ -74,7 +74,7 @@ label.checkbox {
74
74
  }
75
75
  }
76
76
  .icon-checkbox {
77
- background-color: #fff;
77
+ background-color: $checkbox-bg;
78
78
  transform: translateY(-2px);
79
79
  transition: .3s background-color;
80
80
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12),
@@ -1,10 +1,10 @@
1
1
  .date-menu {
2
+ background: $date-menu-bg;
2
3
  display: none;
3
4
  position: absolute;
4
5
  box-shadow: 0 0 0 1px rgba(136, 152, 170, .1),
5
6
  0 15px 35px 0 rgba(49, 49, 93, .1),
6
7
  0 5px 15px 0 rgba(0, 0, 0, .08);
7
- background-color: #fff;
8
8
  white-space: nowrap;
9
9
  &.static {
10
10
  position: static;
@@ -19,18 +19,18 @@
19
19
  }
20
20
  }
21
21
  .date-menu-caption {
22
+ color: $date-menu-caption-color;
22
23
  font-size: 15px;
23
- color: #3c4257;
24
24
  text-align: center;
25
25
  height: 50px;
26
26
  line-height: 50px;
27
27
  }
28
28
  .date-menu-week-header {
29
29
  li {
30
+ color: $date-menu-week-header-color;
30
31
  display: inline-block;
31
32
  padding: 7px 10px;
32
33
  font-size: 11px;
33
- color: #8792a2;
34
34
  }
35
35
  }
36
36
  .date-menu-btn-prev,
@@ -64,28 +64,28 @@
64
64
  td {
65
65
  text-align: center;
66
66
  &.cell {
67
- background-color: #f7fafc;
67
+ background: $date-menu-cell-bg;
68
+ border-color: $date-menu-cell-border;
68
69
  cursor: pointer;
69
70
  border-width: 1px;
70
71
  border-style: solid;
71
- border-color: #e3e8ee;
72
72
  }
73
73
  &.cell.js-disabled {
74
74
  opacity: .4;
75
75
  cursor: not-allowed;
76
76
  }
77
77
  &.cell.today {
78
- background-color: #fffef4;
78
+ background: $date-menu-cell-today-bg;
79
79
  }
80
80
  &.cell.selected {
81
- background-color: #6c8eef;
81
+ background: $date-menu-cell-selected-bg;
82
+ border-color: $date-menu-cell-selected-border;
82
83
  color: #fff;
83
- border-color: #6c8eef;
84
84
  }
85
85
  &.cell.selected-ex {
86
- background-color: #5469d4;
86
+ background: $date-menu-cell-selected-ex-bg;
87
+ border-color: $date-menu-cell-selected-ex-border;
87
88
  color: #fff;
88
- border-color: #5469d4;
89
89
  }
90
90
  }
91
91
  }
@@ -1,13 +1,19 @@
1
1
  .date-time-ranger {
2
- border-radius: 4px;
3
- background-color: #fff;
4
- display: inline-block;
2
+ &,
3
+ .date-input,
4
+ .time-input {
5
+ background: $control-bg;
6
+ }
5
7
  box-shadow: 0 0 0 1px rgba(42, 47, 69, .1),
6
8
  0 2px 5px 0 rgba(42, 47, 69, .1),
7
9
  0 1px 1px 0 rgba(0, 0, 0, .07),
8
10
  0 1px 2px 0 rgba(0, 0, 0, .08),
9
11
  0 0 0 0 transparent;
12
+
13
+ border-radius: 4px;
14
+ display: inline-block;
10
15
  padding: 4px;
16
+
11
17
  .icon-arrow-right {
12
18
  padding-left: 0;
13
19
  padding-right: 0;
@@ -1,7 +1,6 @@
1
1
  .btn.btn-dropdown {
2
2
  [class^="icon-"] {
3
3
  font-size: 11px;
4
- color: #4f566b;
5
4
  margin-left: .7em;
6
5
  display: inline-block;
7
6
  }
@@ -24,50 +23,48 @@
24
23
  }
25
24
  .dropdown-menu {
26
25
  display: none;
26
+ background-color: $dropdown-menu-bg;
27
+ box-shadow: $dropdown-menu-shadow;
27
28
  transition: .2s all;
28
29
  border-radius: 5px;
30
+ position: absolute;
31
+ z-index: 1;
32
+ padding: 8px 0;
29
33
 
30
34
  .dropdown-menu-scrollable {
31
35
  max-height: 186px;
32
36
  overflow-y: scroll;
33
37
  -webkit-overflow-scrolling: touch;
34
38
  }
35
-
36
- z-index: 1;
37
- padding: 8px 0;
38
39
  &.no-padding {
39
40
  padding: 0;
40
41
  }
41
- position: absolute;
42
- background-color: #fff;
43
- box-shadow: 0 0 0 1px rgba(136, 152, 170, .1),
44
- 0 15px 35px 0 rgba(49, 49, 93, .1),
45
- 0 5px 15px 0 rgba(0, 0, 0, .08);
46
42
  .dropdown-divider {
47
- border-bottom: 1px solid #d8d8d8;
43
+ border-bottom: 1px solid $dropdown-divider-border;
48
44
  margin: 10px 0;
49
45
  }
50
46
  .dropdown-item {
51
47
  min-width: 160px;
52
48
  padding: 7px 20px;
53
49
  font-size: 14px;
54
- color: #5469d4;
50
+ color: $dropdown-menu-color;
55
51
  display: block;
56
52
  text-decoration: none;
57
53
  &:hover {
58
- background-color: #f7fafc;
54
+ background-color: $dropdown-menu-bg-ex;
59
55
  }
60
56
  }
61
57
  &.no-arrow:after {
62
58
  display: none;
63
59
  }
64
60
  &:after {
61
+ z-index: -1;
65
62
  content: ' ';
66
63
  display: block;
67
64
  border: 0;
68
65
  border-top-left-radius: 4px;
69
66
  @include size(12px);
70
- background-color: #fff;
67
+ background-color: $dropdown-menu-bg;
71
68
  position: absolute;
72
69
  transform: rotate(45deg);
73
70
  }
@@ -148,7 +145,7 @@
148
145
  .dropdown-menu-title {
149
146
  padding: 7px 14px;
150
147
  font-weight: 500;
151
- background-color: #f7fafc;
148
+ background-color: $dropdown-menu-title-bg;
152
149
  }
153
150
  .dropdown-menu-content {
154
151
  padding: 14px;
@@ -140,7 +140,7 @@ label {
140
140
  color: #a9aebf;
141
141
  }
142
142
  padding: 5px 7px 6px;
143
- background-color: #fff;
143
+ background-color: $control-bg;
144
144
  background-clip: padding-box;
145
145
  border-radius: 4px;
146
146
  box-shadow: 0 0 0 1px rgba(60, 66, 87, .16),
@@ -206,18 +206,18 @@ label {
206
206
  .form-control-sm,
207
207
  .form-control-plaintext {
208
208
  &.is-valid {
209
- box-shadow: 0 0 0 1px $txt-color-success;
209
+ box-shadow: 0 0 0 1px $txt-success;
210
210
  }
211
211
  &.is-invalid {
212
- box-shadow: 0 0 0 1px $txt-color-danger;
212
+ box-shadow: 0 0 0 1px $txt-danger;
213
213
  }
214
214
  &:disabled {
215
215
  cursor: not-allowed;
216
216
  }
217
217
  &:disabled,
218
218
  &[readonly] {
219
- color: #111;
220
- background-color: #e9ecef;
219
+ color: $control-disabled-color;
220
+ background: $control-disabled-bg;
221
221
  }
222
222
  }
223
223
  .form-control-plaintext {
@@ -239,17 +239,17 @@ label {
239
239
  }
240
240
 
241
241
  .valid-feedback {
242
- color: $txt-color-success;
242
+ color: $txt-success;
243
243
  &:before {
244
- color: $txt-color-success;
244
+ color: $txt-success;
245
245
  @extend .icon-check:before;
246
246
  }
247
247
  }
248
248
 
249
249
  .invalid-feedback {
250
- color: $txt-color-danger;
250
+ color: $txt-danger;
251
251
  &:before {
252
- color: $txt-color-danger;
252
+ color: $txt-danger;
253
253
  @extend .icon-exclamation-triangle:before;
254
254
  }
255
255
  }
@@ -269,10 +269,12 @@ label {
269
269
  padding-left: 0;
270
270
  margin-right: .75rem;
271
271
 
272
- .checkbox,
273
- .radio {
272
+ .checkbox {
274
273
  transform: translateY(0);
275
274
  }
275
+ .radio {
276
+ transform: translateY(1px);
277
+ }
276
278
  .checkbox + span,
277
279
  .radio + span {
278
280
  position: relative;
@@ -287,18 +289,15 @@ label {
287
289
  cursor: pointer;
288
290
  margin-right: 25px;
289
291
  vertical-align: middle;
290
- color: #3c4257;
292
+ color: $txt;
291
293
  font-size: 14px;
292
294
  .checkbox + span,
293
295
  .radio + span {
294
296
  position: relative;
295
297
  margin-left: 4px;
296
298
  }
297
- .checkbox .icon-checkbox {
298
- transform: translateY(-1px);
299
- }
300
299
  &.disabled {
301
- color: #6c757d;
300
+ color: $form-check-disabled-color;
302
301
  cursor: not-allowed;
303
302
  .checkbox {
304
303
  @extend %checkbox-disabled;
@@ -308,10 +307,10 @@ label {
308
307
  }
309
308
  }
310
309
  span.is-valid {
311
- color: $txt-color-success;
310
+ color: $txt-success;
312
311
  }
313
312
  span.is-invalid {
314
- color: $txt-color-danger;
313
+ color: $txt-danger;
315
314
  }
316
315
  }
317
316
 
@@ -3,7 +3,7 @@
3
3
  @media (max-width: $screen-sm) {
4
4
  width: initial;
5
5
  }
6
- color: #3c4257;
6
+ color: $control-color;
7
7
  border-radius: 4px;
8
8
  border: 0;
9
9
  appearance: none;
@@ -12,7 +12,7 @@
12
12
  font-size: 14px;
13
13
  padding: 6px 7px 7px;
14
14
  outline: 0;
15
- background-color: #fff;
15
+ background-color: $control-bg;
16
16
  &:focus {
17
17
  @include focus-outline;
18
18
  }
@@ -27,13 +27,13 @@
27
27
 
28
28
  .search-input {
29
29
  display: inline-block;
30
- background-color: #fff;
30
+ background-color: $control-bg;
31
31
  border-radius: 4px;
32
32
  box-shadow: 0 0 0 1px rgba(60, 66, 87, .16),
33
33
  0 1px 1px 0 rgba(0, 0, 0, .12);
34
34
 
35
35
  i:before {
36
- color: #8892b3;
36
+ color: $txt-light;
37
37
  margin-left: 10px;
38
38
  font-size: 12px;
39
39
  }
@@ -1,4 +1,5 @@
1
1
  .modal {
2
+ background: rgba(82, 95, 127, .25);
2
3
  transition: .3s opacity;
3
4
  opacity: .1;
4
5
  display: none;
@@ -10,14 +11,12 @@
10
11
  margin: auto;
11
12
  overflow-y: scroll;
12
13
  -webkit-overflow-scrolling: touch;
13
- background-color: rgba(82, 95, 127, .25);
14
14
  .modal-dialog {
15
+ background: $modal-bg;
16
+ box-shadow: $modal-shadow;
15
17
  transition: .2s transform;
16
18
  transform: scale(.1);
17
19
  border-radius: 4px;
18
- box-shadow: 0 7px 14px 0 rgba(60, 66, 87, .12),
19
- 0 3px 6px 0 rgba(0, 0, 0, .12);
20
- background-color: #fff;
21
20
  margin: 20px auto 0;
22
21
  max-width: 600px;
23
22
  &.modal-sm {
@@ -47,7 +46,7 @@
47
46
  .modal-header {
48
47
  position: relative;
49
48
  font-size: 20px;
50
- color: #1a1f36;
49
+ color: $modal-header-color;
51
50
  .modal-title {
52
51
  padding: 20px;
53
52
  }
@@ -67,7 +66,7 @@
67
66
  }
68
67
  .modal-body {
69
68
  font-size: 14px;
70
- color: #1a1f36;
69
+ color: $modal-color;
71
70
  padding: 20px;
72
71
  }
73
72
  .modal-footer {