beyond-rails 0.0.295 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/src/font/beyond.eot +0 -0
- data/src/font/beyond.svg +9 -2
- data/src/font/beyond.ttf +0 -0
- data/src/font/beyond.woff +0 -0
- data/src/font/beyond.woff2 +0 -0
- data/src/js/components/BarChart.js +19 -7
- data/src/js/components/Dropdown.js +9 -2
- data/src/js/components/LineChart.js +18 -8
- data/src/js/components/PieChart.js +16 -6
- data/src/js/components/SearchDropdown.js +10 -5
- data/src/js/components/Tooltip.js +1 -5
- data/src/js/consts/index.js +42 -0
- data/src/js/decorators/chartCommon.js +4 -1
- data/src/js/index.js +0 -1
- data/src/sass/_base.scss +170 -0
- data/src/sass/_beyond-dark.scss +3 -0
- data/src/sass/_beyond.scss +0 -54
- data/src/sass/_main.scss +56 -176
- data/src/sass/abstracts/_mixins.scss +2 -4
- data/src/sass/abstracts/_placeholders.scss +3 -3
- data/src/sass/abstracts/_post-variables.scss +85 -0
- data/src/sass/abstracts/_variables.scss +296 -222
- data/src/sass/base/_background.scss +2 -3
- data/src/sass/base/_typography.scss +18 -17
- data/src/sass/components/_alert.scss +8 -14
- data/src/sass/components/_autocomplete.scss +4 -5
- data/src/sass/components/_avatar.scss +5 -6
- data/src/sass/components/_badge.scss +2 -4
- data/src/sass/components/_breadcrumb.scss +3 -2
- data/src/sass/components/_btn-group.scss +1 -1
- data/src/sass/components/_btn.scss +65 -67
- data/src/sass/components/_card.scss +12 -6
- data/src/sass/components/_chart.scss +5 -5
- data/src/sass/components/_checkbox.scss +8 -8
- data/src/sass/components/_date-menu.scss +10 -10
- data/src/sass/components/_date-time-ranger.scss +9 -3
- data/src/sass/components/_dropdown.scss +22 -14
- data/src/sass/components/_form.scss +17 -18
- data/src/sass/components/_icon.scss +143 -2
- data/src/sass/components/_input.scss +4 -4
- data/src/sass/components/_mega-menu.scss +9 -6
- data/src/sass/components/_modal.scss +5 -6
- data/src/sass/components/_month-menu.scss +11 -11
- data/src/sass/components/_nav.scss +5 -5
- data/src/sass/components/_navbar.scss +26 -33
- data/src/sass/components/_pagination.scss +9 -8
- data/src/sass/components/_radio.scss +2 -4
- data/src/sass/components/_search-dropdown.scss +3 -2
- data/src/sass/components/_select.scss +15 -23
- data/src/sass/components/_sidebar.scss +1 -1
- data/src/sass/components/_spinner.scss +0 -1
- data/src/sass/components/_switch.scss +5 -5
- data/src/sass/components/_tabbox.scss +19 -32
- data/src/sass/components/_table.scss +13 -14
- data/src/sass/components/_tag-input.scss +2 -4
- data/src/sass/components/_tag.scss +4 -4
- data/src/sass/components/_time-menu.scss +4 -4
- data/src/sass/components/_toast.scss +4 -3
- data/src/sass/components/_tooltip.scss +19 -27
- data/src/sass/themes/_dark.scss +309 -0
- metadata +6 -2
@@ -14,28 +14,22 @@
|
|
14
14
|
font-weight: 900;
|
15
15
|
margin-bottom: 0.5rem;
|
16
16
|
}
|
17
|
-
|
18
17
|
p {
|
19
18
|
line-height: 1.5em;
|
20
19
|
}
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
$color-link: nth($alert-color-links, $i);
|
27
|
-
$color-hr: nth($alert-color-hrs, $i);
|
28
|
-
&.alert-#{$state} {
|
29
|
-
background-color: $bg;
|
30
|
-
color: $color;
|
20
|
+
@each $alert in $alerts {
|
21
|
+
&.alert-#{map-get($alert, state)} {
|
22
|
+
border: 1px solid map-get($alert, border);
|
23
|
+
background: map-get($alert, bg);
|
24
|
+
color: map-get($alert, txt);
|
31
25
|
.alert-link {
|
32
|
-
color: $
|
26
|
+
color: map-get($alert, link-txt);
|
33
27
|
&:hover {
|
34
|
-
border-bottom: 1px solid $
|
28
|
+
border-bottom: 1px solid map-get($alert, link-txt);
|
35
29
|
}
|
36
30
|
}
|
37
31
|
hr {
|
38
|
-
border-top-color: $
|
32
|
+
border-top-color: map-get($alert, hr-txt);
|
39
33
|
}
|
40
34
|
}
|
41
35
|
}
|
@@ -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
|
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:
|
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
|
}
|
@@ -19,10 +19,9 @@
|
|
19
19
|
line-height: 38px;
|
20
20
|
font-size: 16px;
|
21
21
|
}
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
}
|
22
|
+
.avatar-letter {
|
23
|
+
background-color: #eee;
|
24
|
+
border: 1px solid #ddd;
|
25
|
+
color: #333;
|
26
|
+
font-weight: 900;
|
28
27
|
}
|
@@ -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:
|
7
|
-
padding:
|
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: $
|
12
|
+
color: $breadcrumb-color;
|
12
13
|
content: '/';
|
13
14
|
}
|
14
15
|
li:last-child {
|
15
|
-
color: $
|
16
|
+
color: $breadcrumb-color;
|
16
17
|
}
|
17
18
|
}
|
@@ -1,21 +1,34 @@
|
|
1
1
|
.btn {
|
2
2
|
outline: 0;
|
3
|
-
background-color:
|
3
|
+
background-color: $default-btn-bg;
|
4
4
|
display: inline-flex;
|
5
5
|
justify-content: center;
|
6
6
|
align-items: center;
|
7
|
-
border:
|
7
|
+
border: 1px solid $btn-border;
|
8
8
|
padding: 6px 12px 7px;
|
9
9
|
border-radius: 3px;
|
10
10
|
font-size: 14px;
|
11
|
-
font-weight: 700;
|
12
11
|
transition: all .3s;
|
13
|
-
|
14
|
-
0 1px 3px 0 rgba(0, 0, 0, .08);
|
12
|
+
|
15
13
|
&:focus,
|
16
14
|
&:hover:focus {
|
17
15
|
@include focus-outline;
|
18
16
|
}
|
17
|
+
&.hover,
|
18
|
+
&:hover {
|
19
|
+
transform: translateY(-1px);
|
20
|
+
}
|
21
|
+
&.active,
|
22
|
+
&:active {
|
23
|
+
transform: translateY(0);
|
24
|
+
box-shadow: none;
|
25
|
+
border: 1px solid darken($btn-border, 20%);
|
26
|
+
}
|
27
|
+
&.disabled,
|
28
|
+
&:disabled {
|
29
|
+
transform: translateY(0);
|
30
|
+
cursor: not-allowed;
|
31
|
+
}
|
19
32
|
&.btn-sm {
|
20
33
|
&, .icon:before {
|
21
34
|
font-size: 12px;
|
@@ -50,22 +63,6 @@
|
|
50
63
|
}
|
51
64
|
}
|
52
65
|
}
|
53
|
-
&.hover,
|
54
|
-
&:hover {
|
55
|
-
transform: translateY(-1px);
|
56
|
-
box-shadow: 0 7px 12px 0 rgba(50, 50, 93, .11),
|
57
|
-
0 3px 6px 0 rgba(0, 0, 0, .08);
|
58
|
-
}
|
59
|
-
&.active,
|
60
|
-
&:active {
|
61
|
-
transform: translateY(0);
|
62
|
-
box-shadow: none;
|
63
|
-
}
|
64
|
-
&.disabled,
|
65
|
-
&:disabled {
|
66
|
-
transform: translateY(0);
|
67
|
-
cursor: not-allowed;
|
68
|
-
}
|
69
66
|
.icon {
|
70
67
|
margin-right: .4em;
|
71
68
|
}
|
@@ -97,82 +94,83 @@
|
|
97
94
|
@include ripple(48px, 0, 0);
|
98
95
|
}
|
99
96
|
|
100
|
-
.btn.btn-outline,
|
101
|
-
a.btn.btn-outline {
|
102
|
-
color: $text-color;
|
103
|
-
}
|
104
|
-
|
105
|
-
.btn.btn-outline {
|
106
|
-
background-color: #fff;
|
107
|
-
font-size: 13px;
|
108
|
-
font-weight: 400;
|
109
|
-
padding: 4px 7px;
|
110
|
-
border: 1px solid #ccc;
|
111
|
-
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.08);
|
112
|
-
&.hover,
|
113
|
-
&:hover {
|
114
|
-
transform: translateY(-1px);
|
115
|
-
box-shadow: 0 1px 2px 0 rgba(50, 50, 93, .11),
|
116
|
-
0 3px 6px 0 rgba(0, 0, 0, .08);
|
117
|
-
}
|
118
|
-
&:focus {
|
119
|
-
@include focus-outline;
|
120
|
-
}
|
121
|
-
&.active {
|
122
|
-
background-color: #f3f3f7;
|
123
|
-
}
|
124
|
-
}
|
125
|
-
|
126
|
-
.btn-outline .ring-loader div {
|
127
|
-
border-color: $text-color-light transparent transparent transparent;
|
128
|
-
}
|
129
|
-
|
130
97
|
.btn .badge {
|
131
98
|
margin-left: .5rem;
|
132
99
|
font-weight: 400;
|
100
|
+
background: $btn-badge-bg;
|
101
|
+
box-shadow: $btn-badge-shadow;
|
133
102
|
}
|
134
103
|
|
135
|
-
@each $
|
104
|
+
@each $btn in $btns {
|
105
|
+
|
106
|
+
$classname: map-get($btn, classname);
|
107
|
+
|
136
108
|
.btn.#{$classname} {
|
137
|
-
background-color: $bg;
|
138
|
-
color: $
|
109
|
+
background-color: map-get($btn, bg);
|
110
|
+
color: map-get($btn, txt);
|
111
|
+
@if $classname == 'btn-secondary' {
|
112
|
+
border: 1px solid $btn-border;
|
113
|
+
box-shadow: none;
|
114
|
+
}
|
115
|
+
@else {
|
116
|
+
border: 0;
|
117
|
+
box-shadow: 0 4px 6px 0 rgba(50, 50, 93, .05),
|
118
|
+
0 1px 3px 0 rgba(0, 0, 0, .08);
|
119
|
+
&.hover,
|
120
|
+
&:hover {
|
121
|
+
box-shadow: 0 7px 12px 0 rgba(50, 50, 93, .05),
|
122
|
+
0 3px 6px 0 rgba(0, 0, 0, .08);
|
123
|
+
}
|
124
|
+
}
|
125
|
+
&:focus,
|
126
|
+
&:hover:focus {
|
127
|
+
@include focus-outline;
|
128
|
+
}
|
139
129
|
&.hover,
|
140
130
|
&:hover,
|
141
131
|
&.active,
|
142
132
|
&:active {
|
143
|
-
background-color: $bg-ex;
|
133
|
+
background-color: map-get($btn, bg-ex);
|
134
|
+
}
|
135
|
+
&.active,
|
136
|
+
&:active {
|
137
|
+
border: 1px solid darken(map-get($btn, bg-ex), 20%);
|
144
138
|
}
|
145
139
|
&.disabled,
|
146
140
|
&:disabled {
|
147
|
-
background-color: $bg-disabled;
|
148
|
-
}
|
149
|
-
&.outlined {
|
150
|
-
border: 1px solid $outlined-color;
|
141
|
+
background-color: map-get($btn, bg-disabled);
|
151
142
|
}
|
152
143
|
.badge {
|
153
|
-
background-color: $badge-bg;
|
154
|
-
color: $badge-
|
144
|
+
background-color: map-get($btn, badge-bg);
|
145
|
+
color: map-get($btn, badge-txt);
|
155
146
|
}
|
156
147
|
}
|
157
148
|
}
|
158
149
|
|
159
150
|
.btn.btn-link {
|
160
151
|
background-color: transparent;
|
161
|
-
|
152
|
+
border: 1px solid $btn-link-border;
|
153
|
+
color: nth($btn-link, 1);
|
162
154
|
cursor: pointer;
|
163
155
|
box-shadow: none;
|
164
156
|
&.hover,
|
165
157
|
&:hover,
|
166
158
|
&.active,
|
167
159
|
&:active {
|
168
|
-
color: nth($btn-link,
|
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;
|
169
169
|
}
|
170
170
|
&.disabled,
|
171
171
|
&:disabled {
|
172
|
-
color: nth($btn-link,
|
173
|
-
|
174
|
-
&.outlined {
|
175
|
-
border: 1px solid #ccc;
|
172
|
+
color: nth($btn-link, 3);
|
173
|
+
border: 1px solid nth($btn-link, 3);
|
176
174
|
}
|
177
175
|
}
|
178
176
|
|
@@ -4,7 +4,10 @@
|
|
4
4
|
flex-direction: column;
|
5
5
|
min-width: 0;
|
6
6
|
word-wrap: break-word;
|
7
|
-
|
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:
|
46
|
-
border: 1px solid
|
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
|
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
|
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:
|
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
|
-
|
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:
|
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
|
-
|
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:
|
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:
|
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
|
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
|
78
|
+
background: $date-menu-cell-today-bg;
|
79
79
|
}
|
80
80
|
&.cell.selected {
|
81
|
-
background
|
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
|
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
|
-
|
3
|
-
|
4
|
-
|
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,49 +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;
|
29
|
+
border-radius: 5px;
|
30
|
+
position: absolute;
|
31
|
+
z-index: 1;
|
32
|
+
padding: 8px 0;
|
28
33
|
|
29
34
|
.dropdown-menu-scrollable {
|
30
35
|
max-height: 186px;
|
31
36
|
overflow-y: scroll;
|
32
37
|
-webkit-overflow-scrolling: touch;
|
33
38
|
}
|
34
|
-
|
35
|
-
z-index: 1;
|
36
|
-
padding: 8px 0;
|
37
39
|
&.no-padding {
|
38
40
|
padding: 0;
|
39
41
|
}
|
40
|
-
position: absolute;
|
41
|
-
background-color: #fff;
|
42
|
-
box-shadow: 0 0 0 1px rgba(136, 152, 170, .1),
|
43
|
-
0 15px 35px 0 rgba(49, 49, 93, .1),
|
44
|
-
0 5px 15px 0 rgba(0, 0, 0, .08);
|
45
42
|
.dropdown-divider {
|
46
|
-
border-bottom: 1px solid
|
43
|
+
border-bottom: 1px solid $dropdown-divider-border;
|
47
44
|
margin: 10px 0;
|
48
45
|
}
|
49
46
|
.dropdown-item {
|
50
47
|
min-width: 160px;
|
51
48
|
padding: 7px 20px;
|
52
49
|
font-size: 14px;
|
53
|
-
color:
|
50
|
+
color: $dropdown-menu-color;
|
54
51
|
display: block;
|
55
52
|
text-decoration: none;
|
56
53
|
&:hover {
|
57
|
-
background-color:
|
54
|
+
background-color: $dropdown-menu-bg-ex;
|
58
55
|
}
|
59
56
|
}
|
60
57
|
&.no-arrow:after {
|
61
58
|
display: none;
|
62
59
|
}
|
63
60
|
&:after {
|
61
|
+
z-index: -1;
|
64
62
|
content: ' ';
|
65
63
|
display: block;
|
66
64
|
border: 0;
|
67
65
|
border-top-left-radius: 4px;
|
68
66
|
@include size(12px);
|
69
|
-
background-color:
|
67
|
+
background-color: $dropdown-menu-bg;
|
70
68
|
position: absolute;
|
71
69
|
transform: rotate(45deg);
|
72
70
|
}
|
@@ -147,9 +145,19 @@
|
|
147
145
|
.dropdown-menu-title {
|
148
146
|
padding: 7px 14px;
|
149
147
|
font-weight: 500;
|
150
|
-
background-color:
|
148
|
+
background-color: $dropdown-menu-title-bg;
|
151
149
|
}
|
152
150
|
.dropdown-menu-content {
|
153
151
|
padding: 14px;
|
154
152
|
font-size: .9rem;
|
155
153
|
}
|
154
|
+
|
155
|
+
.dropdown-menu .dropdown-submenu .dropdown-item {
|
156
|
+
padding: .4rem 1.2rem .4rem 1.2rem;
|
157
|
+
}
|
158
|
+
.dropdown-heading {
|
159
|
+
font-size: 14px;
|
160
|
+
padding: 0 15px;
|
161
|
+
font-weight: 900;
|
162
|
+
color: #40468a;
|
163
|
+
}
|