titon-toolkit 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/readme.md +1 -4
- data/scss/toolkit/_common.scss +9 -0
- data/scss/toolkit/components/accordion.scss +5 -5
- data/scss/toolkit/components/blackout.scss +1 -1
- data/scss/toolkit/components/breadcrumb.scss +13 -9
- data/scss/toolkit/components/button-group.scss +34 -26
- data/scss/toolkit/components/button.scss +4 -4
- data/scss/toolkit/components/carousel.scss +18 -18
- data/scss/toolkit/components/dropdown.scss +13 -13
- data/scss/toolkit/components/flyout.scss +6 -6
- data/scss/toolkit/components/grid.scss +2 -2
- data/scss/toolkit/components/input-group.scss +16 -15
- data/scss/toolkit/components/input.scss +20 -19
- data/scss/toolkit/components/label.scss +22 -17
- data/scss/toolkit/components/lazy-load.scss +1 -1
- data/scss/toolkit/components/matrix.scss +3 -3
- data/scss/toolkit/components/modal.scss +34 -34
- data/scss/toolkit/components/notice.scss +3 -3
- data/scss/toolkit/components/pagination.scss +4 -4
- data/scss/toolkit/components/pin.scss +2 -2
- data/scss/toolkit/components/popover.scss +12 -12
- data/scss/toolkit/components/progress.scss +25 -13
- data/scss/toolkit/components/showcase.scss +18 -18
- data/scss/toolkit/components/table.scss +10 -10
- data/scss/toolkit/components/tabs.scss +6 -6
- data/scss/toolkit/components/tooltip.scss +12 -12
- data/scss/toolkit/components/type-ahead.scss +7 -7
- data/scss/toolkit/effects/oval.scss +3 -3
- data/scss/toolkit/effects/pill.scss +17 -17
- data/scss/toolkit/effects/skew.scss +19 -19
- data/scss/toolkit/effects/visual.scss +4 -4
- data/scss/toolkit/layout/base.scss +3 -3
- data/scss/toolkit/layout/code.scss +1 -1
- data/scss/toolkit/layout/form.scss +44 -44
- data/scss/toolkit/mixins/_layout.scss +35 -0
- data/scss/toolkit/mixins/_state.scss +16 -12
- data/scss/toolkit/themes/titon.scss +2 -1
- data/version.md +1 -1
- metadata +9 -9
@@ -6,14 +6,14 @@
|
|
6
6
|
|
7
7
|
@import "../common";
|
8
8
|
|
9
|
-
|
9
|
+
.#{$vendor-prefix}custom-input {
|
10
10
|
@include reset-inline-block;
|
11
11
|
}
|
12
12
|
|
13
13
|
// Checkbox, radio
|
14
|
-
|
15
|
-
|
16
|
-
|
14
|
+
.#{$vendor-prefix}custom-input {
|
15
|
+
.#{$vendor-prefix}checkbox,
|
16
|
+
.#{$vendor-prefix}radio {
|
17
17
|
@include reset-inline-block;
|
18
18
|
background: $gray-lightest;
|
19
19
|
border: 1px solid $gray-dark;
|
@@ -26,26 +26,27 @@
|
|
26
26
|
&:hover { border-color: $gray-darkest; }
|
27
27
|
}
|
28
28
|
|
29
|
-
|
29
|
+
.#{$vendor-prefix}radio { border-radius: 50%; }
|
30
30
|
|
31
31
|
input {
|
32
32
|
display: none;
|
33
33
|
|
34
34
|
// Style when the associated label is being hovered
|
35
|
-
&:hover +
|
36
|
-
&:hover +
|
35
|
+
&:hover + .#{$vendor-prefix}checkbox,
|
36
|
+
&:hover + .#{$vendor-prefix}radio {
|
37
37
|
border-color: $gray-darkest;
|
38
38
|
}
|
39
39
|
|
40
40
|
// Style when the checkbox is checked
|
41
|
-
&:checked +
|
42
|
-
&:checked +
|
41
|
+
&:checked + .#{$vendor-prefix}checkbox,
|
42
|
+
&:checked + .#{$vendor-prefix}radio {
|
43
43
|
border-color: $info;
|
44
|
+
background-color: $info-light;
|
44
45
|
}
|
45
46
|
|
46
47
|
// Style when input is disabled
|
47
|
-
&[disabled] +
|
48
|
-
&[disabled] +
|
48
|
+
&[disabled] + .#{$vendor-prefix}checkbox,
|
49
|
+
&[disabled] + .#{$vendor-prefix}radio {
|
49
50
|
cursor: not-allowed;
|
50
51
|
border-color: $gray;
|
51
52
|
}
|
@@ -53,8 +54,8 @@
|
|
53
54
|
}
|
54
55
|
|
55
56
|
// Select
|
56
|
-
|
57
|
-
|
57
|
+
.#{$vendor-prefix}custom-input {
|
58
|
+
.#{$vendor-prefix}select {
|
58
59
|
@include reset-inline-block;
|
59
60
|
cursor: pointer;
|
60
61
|
background: $gray-lightest;
|
@@ -64,15 +65,15 @@
|
|
64
65
|
line-height: 1rem;
|
65
66
|
}
|
66
67
|
|
67
|
-
|
68
|
-
|
68
|
+
.#{$vendor-prefix}select-label,
|
69
|
+
.#{$vendor-prefix}select-arrow {
|
69
70
|
display: inline-block;
|
70
71
|
vertical-align: middle;
|
71
72
|
line-height: normal;
|
72
73
|
@include size-medium;
|
73
74
|
}
|
74
75
|
|
75
|
-
|
76
|
+
.#{$vendor-prefix}select-arrow {
|
76
77
|
float: right;
|
77
78
|
|
78
79
|
.caret-down { border-top-color: #000; }
|
@@ -88,17 +89,17 @@
|
|
88
89
|
width: 100%;
|
89
90
|
|
90
91
|
// Style when the select is hovered
|
91
|
-
&:hover +
|
92
|
+
&:hover + .#{$vendor-prefix}select {
|
92
93
|
border-color: $gray-darkest;
|
93
94
|
}
|
94
95
|
|
95
96
|
// Style when the select is focused
|
96
|
-
&:focus +
|
97
|
+
&:focus + .#{$vendor-prefix}select {
|
97
98
|
border-color: $info;
|
98
99
|
}
|
99
100
|
|
100
101
|
// Style when select is disabled
|
101
|
-
&[disabled] +
|
102
|
+
&[disabled] + .#{$vendor-prefix}select {
|
102
103
|
cursor: not-allowed;
|
103
104
|
color: $gray-darkest;
|
104
105
|
border-color: $gray;
|
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
@import "../common";
|
8
8
|
|
9
|
-
|
9
|
+
.#{$vendor-prefix}label {
|
10
10
|
@include reset-inline-block;
|
11
11
|
font-size: .7rem;
|
12
12
|
line-height: 100%;
|
@@ -18,12 +18,17 @@
|
|
18
18
|
top: -1px;
|
19
19
|
letter-spacing: 1px;
|
20
20
|
|
21
|
-
|
21
|
+
@include is-small {
|
22
22
|
font-size: .6rem;
|
23
23
|
padding: .2rem .35rem;
|
24
24
|
}
|
25
25
|
|
26
|
-
|
26
|
+
@include is-medium() {
|
27
|
+
font-size: .7rem;
|
28
|
+
padding: .275rem .425rem;
|
29
|
+
}
|
30
|
+
|
31
|
+
@include is-large {
|
27
32
|
font-size: .8rem;
|
28
33
|
padding: .35rem .5rem;
|
29
34
|
}
|
@@ -40,14 +45,14 @@
|
|
40
45
|
|
41
46
|
//-------------------- Modifiers --------------------//
|
42
47
|
|
43
|
-
|
44
|
-
@extend
|
48
|
+
.#{$vendor-prefix}label--badge {
|
49
|
+
@extend .#{$vendor-prefix}label;
|
45
50
|
|
46
51
|
border-radius: 1rem;
|
47
52
|
}
|
48
53
|
|
49
|
-
|
50
|
-
@extend
|
54
|
+
.#{$vendor-prefix}label--arrow-left {
|
55
|
+
@extend .#{$vendor-prefix}label;
|
51
56
|
|
52
57
|
border-top-left-radius: 1px;
|
53
58
|
border-bottom-left-radius: 1px;
|
@@ -61,12 +66,12 @@
|
|
61
66
|
border-right-color: $gray-dark;
|
62
67
|
}
|
63
68
|
|
64
|
-
|
65
|
-
|
69
|
+
&.#{$size-small-class}:after { border-width: .5rem; }
|
70
|
+
&.#{$size-large-class}:after { border-width: .75rem; }
|
66
71
|
}
|
67
72
|
|
68
|
-
|
69
|
-
@extend
|
73
|
+
.#{$vendor-prefix}label--arrow-right {
|
74
|
+
@extend .#{$vendor-prefix}label;
|
70
75
|
|
71
76
|
border-top-right-radius: 1px;
|
72
77
|
border-bottom-right-radius: 1px;
|
@@ -80,12 +85,12 @@
|
|
80
85
|
border-left-color: $gray-dark;
|
81
86
|
}
|
82
87
|
|
83
|
-
|
84
|
-
|
88
|
+
&.#{$size-small-class}:after { border-width: .5rem; }
|
89
|
+
&.#{$size-large-class}:after { border-width: .75rem; }
|
85
90
|
}
|
86
91
|
|
87
|
-
|
88
|
-
@extend
|
92
|
+
.#{$vendor-prefix}label--ribbon-left {
|
93
|
+
@extend .#{$vendor-prefix}label;
|
89
94
|
|
90
95
|
border-top-left-radius: 0;
|
91
96
|
border-bottom-left-radius: 0;
|
@@ -100,8 +105,8 @@
|
|
100
105
|
}
|
101
106
|
}
|
102
107
|
|
103
|
-
|
104
|
-
@extend
|
108
|
+
.#{$vendor-prefix}label--ribbon-right {
|
109
|
+
@extend .#{$vendor-prefix}label;
|
105
110
|
|
106
111
|
border-top-right-radius: 0;
|
107
112
|
border-bottom-right-radius: 0;
|
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
@import "../common";
|
8
8
|
|
9
|
-
|
9
|
+
.#{$vendor-prefix}matrix {
|
10
10
|
position: relative;
|
11
11
|
list-style: none;
|
12
12
|
margin: 0;
|
@@ -14,12 +14,12 @@
|
|
14
14
|
|
15
15
|
@include clear-fix;
|
16
16
|
|
17
|
-
&.no-columns
|
17
|
+
&.no-columns .#{$vendor-prefix}matrix-item {
|
18
18
|
position: relative !important;
|
19
19
|
}
|
20
20
|
}
|
21
21
|
|
22
|
-
|
22
|
+
.#{$vendor-prefix}matrix-item {
|
23
23
|
margin: 0;
|
24
24
|
padding: 0;
|
25
25
|
@include transition(top $matrix-transition, left $matrix-transition, bottom $matrix-transition, right $matrix-transition, opacity $matrix-transition);
|
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
@import "../common";
|
8
8
|
|
9
|
-
|
9
|
+
.#{$vendor-prefix}modal {
|
10
10
|
position: fixed;
|
11
11
|
top: 50%;
|
12
12
|
left: 50%;
|
@@ -21,17 +21,17 @@
|
|
21
21
|
backface-visibility: hidden;
|
22
22
|
@include transform(translateX(-50%) translateY(-50%));
|
23
23
|
|
24
|
-
|
25
|
-
|
24
|
+
&.#{$state-is-prefix}loading {
|
25
|
+
.#{$vendor-prefix}modal-close { display: none; }
|
26
26
|
}
|
27
27
|
|
28
|
-
|
29
|
-
|
30
|
-
|
28
|
+
&.#{$state-is-prefix}draggable {
|
29
|
+
.#{$vendor-prefix}modal-inner { cursor: default; }
|
30
|
+
.#{$vendor-prefix}modal-head { cursor: move; }
|
31
31
|
}
|
32
32
|
}
|
33
33
|
|
34
|
-
|
34
|
+
.#{$vendor-prefix}modal-close {
|
35
35
|
position: absolute;
|
36
36
|
top: $padding;
|
37
37
|
right: $padding;
|
@@ -42,28 +42,28 @@
|
|
42
42
|
&:hover { opacity: 1; }
|
43
43
|
}
|
44
44
|
|
45
|
-
|
45
|
+
.#{$vendor-prefix}modal-inner {
|
46
46
|
position: relative;
|
47
47
|
margin: 0 auto;
|
48
48
|
background: $gray;
|
49
49
|
}
|
50
50
|
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
51
|
+
.#{$vendor-prefix}modal-head,
|
52
|
+
.#{$vendor-prefix}modal-body,
|
53
|
+
.#{$vendor-prefix}modal-foot,
|
54
|
+
.#{$vendor-prefix}modal-loading,
|
55
|
+
.#{$vendor-prefix}modal-error {
|
56
56
|
padding: $padding;
|
57
57
|
}
|
58
58
|
|
59
59
|
// Remove margins from text elements
|
60
|
-
|
60
|
+
.#{$vendor-prefix}modal-body {
|
61
61
|
@include content-spacing;
|
62
62
|
}
|
63
63
|
|
64
64
|
//-------------------- Modifiers --------------------//
|
65
65
|
|
66
|
-
|
66
|
+
.#{$vendor-prefix}modal.#{$state-is-prefix}fullscreen {
|
67
67
|
top: 0;
|
68
68
|
left: 0;
|
69
69
|
margin: 0;
|
@@ -76,7 +76,7 @@
|
|
76
76
|
|
77
77
|
//-------------------- Animations --------------------//
|
78
78
|
|
79
|
-
|
79
|
+
.#{$vendor-prefix}modal {
|
80
80
|
&.from-above,
|
81
81
|
&.from-below,
|
82
82
|
&.slide-in-top,
|
@@ -85,12 +85,12 @@
|
|
85
85
|
&.slide-in-right,
|
86
86
|
&.flip,
|
87
87
|
&.flip-vert {
|
88
|
-
|
88
|
+
.#{$vendor-prefix}modal-handle {
|
89
89
|
opacity: 0;
|
90
90
|
@include transition(all $modal-transition);
|
91
91
|
}
|
92
92
|
|
93
|
-
&.show
|
93
|
+
&.show .#{$vendor-prefix}modal-handle {
|
94
94
|
opacity: 1;
|
95
95
|
}
|
96
96
|
}
|
@@ -101,63 +101,63 @@
|
|
101
101
|
}
|
102
102
|
|
103
103
|
&.from-above {
|
104
|
-
|
104
|
+
.#{$vendor-prefix}modal-handle {
|
105
105
|
@include transform(scale(1.3));
|
106
106
|
}
|
107
107
|
|
108
|
-
&.show
|
108
|
+
&.show .#{$vendor-prefix}modal-handle {
|
109
109
|
@include transform(scale(1));
|
110
110
|
}
|
111
111
|
}
|
112
112
|
|
113
113
|
&.from-below {
|
114
|
-
|
114
|
+
.#{$vendor-prefix}modal-handle {
|
115
115
|
@include transform(scale(0.7));
|
116
116
|
}
|
117
117
|
|
118
|
-
&.show
|
118
|
+
&.show .#{$vendor-prefix}modal-handle {
|
119
119
|
@include transform(scale(1));
|
120
120
|
}
|
121
121
|
}
|
122
122
|
|
123
123
|
&.slide-in-top {
|
124
|
-
|
124
|
+
.#{$vendor-prefix}modal-handle {
|
125
125
|
@include transform(translateY(-50%));
|
126
126
|
}
|
127
127
|
|
128
|
-
&.show
|
128
|
+
&.show .#{$vendor-prefix}modal-handle {
|
129
129
|
@include transform(translateY(0));
|
130
130
|
}
|
131
131
|
}
|
132
132
|
|
133
133
|
&.slide-in-bottom {
|
134
|
-
|
134
|
+
.#{$vendor-prefix}modal-handle {
|
135
135
|
@include transform(translateY(50%));
|
136
136
|
}
|
137
137
|
|
138
|
-
&.show
|
138
|
+
&.show .#{$vendor-prefix}modal-handle {
|
139
139
|
@include transform(translateY(0));
|
140
140
|
}
|
141
141
|
}
|
142
142
|
|
143
143
|
&.slide-in-left {
|
144
|
-
|
144
|
+
.#{$vendor-prefix}modal-handle {
|
145
145
|
@include transition(all $modal-transition cubic-bezier(0.25, 0.5, 0.5, 0.9));
|
146
146
|
@include transform(translateX(-50%));
|
147
147
|
}
|
148
148
|
|
149
|
-
&.show
|
149
|
+
&.show .#{$vendor-prefix}modal-handle {
|
150
150
|
@include transform(translateX(0));
|
151
151
|
}
|
152
152
|
}
|
153
153
|
|
154
154
|
&.slide-in-right {
|
155
|
-
|
155
|
+
.#{$vendor-prefix}modal-handle {
|
156
156
|
@include transition(all $modal-transition cubic-bezier(0.25, 0.5, 0.5, 0.9));
|
157
157
|
@include transform(translateX(50%));
|
158
158
|
}
|
159
159
|
|
160
|
-
&.show
|
160
|
+
&.show .#{$vendor-prefix}modal-handle {
|
161
161
|
@include transform(translateX(0));
|
162
162
|
}
|
163
163
|
}
|
@@ -215,12 +215,12 @@
|
|
215
215
|
&.flip {
|
216
216
|
@include perspective(1300px);
|
217
217
|
|
218
|
-
|
218
|
+
.#{$vendor-prefix}modal-handle {
|
219
219
|
@include transform-style(preserve-3d);
|
220
220
|
@include transform(rotateY(-70deg));
|
221
221
|
}
|
222
222
|
|
223
|
-
&.show
|
223
|
+
&.show .#{$vendor-prefix}modal-handle {
|
224
224
|
@include transform(rotateY(0deg));
|
225
225
|
}
|
226
226
|
}
|
@@ -228,12 +228,12 @@
|
|
228
228
|
&.flip-vert {
|
229
229
|
@include perspective(1300px);
|
230
230
|
|
231
|
-
|
231
|
+
.#{$vendor-prefix}modal-handle {
|
232
232
|
@include transform-style(preserve-3d);
|
233
233
|
@include transform(rotateX(-70deg));
|
234
234
|
}
|
235
235
|
|
236
|
-
&.show
|
236
|
+
&.show .#{$vendor-prefix}modal-handle {
|
237
237
|
@include transform(rotateX(0deg));
|
238
238
|
}
|
239
239
|
}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
@import "../common";
|
8
8
|
|
9
|
-
|
9
|
+
.#{$vendor-prefix}notice {
|
10
10
|
margin: $margin 0;
|
11
11
|
padding: $padding;
|
12
12
|
background: $gray-light;
|
@@ -24,7 +24,7 @@
|
|
24
24
|
@include content-spacing;
|
25
25
|
}
|
26
26
|
|
27
|
-
|
27
|
+
.#{$vendor-prefix}notice-close {
|
28
28
|
float: right;
|
29
29
|
margin-left: $margin;
|
30
30
|
line-height: 1rem;
|
@@ -33,6 +33,6 @@
|
|
33
33
|
& ~ p { margin: 0; }
|
34
34
|
}
|
35
35
|
|
36
|
-
|
36
|
+
.#{$vendor-prefix}notice-title {
|
37
37
|
margin: 0 0 ($margin / 2) 0;
|
38
38
|
}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
@import "../common";
|
8
8
|
|
9
|
-
|
9
|
+
.#{$vendor-prefix}pagination {
|
10
10
|
display: block;
|
11
11
|
margin: $margin 0;
|
12
12
|
|
@@ -27,7 +27,7 @@
|
|
27
27
|
display: block;
|
28
28
|
}
|
29
29
|
|
30
|
-
|
30
|
+
&.#{$state-is-prefix}active {
|
31
31
|
z-index: 1;
|
32
32
|
}
|
33
33
|
}
|
@@ -35,8 +35,8 @@
|
|
35
35
|
|
36
36
|
//-------------------- Modifiers --------------------//
|
37
37
|
|
38
|
-
|
39
|
-
@extend
|
38
|
+
.#{$vendor-prefix}pagination--grouped {
|
39
|
+
@extend .#{$vendor-prefix}pagination;
|
40
40
|
|
41
41
|
li {
|
42
42
|
margin-left: -1px;
|
@@ -6,10 +6,10 @@
|
|
6
6
|
|
7
7
|
@import "../common";
|
8
8
|
|
9
|
-
|
9
|
+
.#{$vendor-prefix}pin.sticky {
|
10
10
|
@include transition(top 1s ease-in-out, right .5s ease-in-out, left .5s ease-in-out);
|
11
11
|
}
|
12
12
|
|
13
|
-
|
13
|
+
.#{$vendor-prefix}pin.slide {
|
14
14
|
@include transition(top .5s linear, right .5s linear, left .5s linear);
|
15
15
|
}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
@import "../common";
|
8
8
|
|
9
|
-
|
9
|
+
.#{$vendor-prefix}popover {
|
10
10
|
position: absolute;
|
11
11
|
top: 0;
|
12
12
|
left: 0;
|
@@ -18,45 +18,45 @@
|
|
18
18
|
visibility: hidden;
|
19
19
|
background: $gray;
|
20
20
|
|
21
|
-
&.center-left
|
22
|
-
&.center-right
|
21
|
+
&.center-left .#{$vendor-prefix}popover-arrow,
|
22
|
+
&.center-right .#{$vendor-prefix}popover-arrow {
|
23
23
|
top: 50%;
|
24
24
|
margin-top: -8px;
|
25
25
|
}
|
26
26
|
|
27
|
-
&.center-left
|
27
|
+
&.center-left .#{$vendor-prefix}popover-arrow {
|
28
28
|
border-left-color: $gray;
|
29
29
|
right: -16px;
|
30
30
|
}
|
31
31
|
|
32
|
-
&.center-right
|
32
|
+
&.center-right .#{$vendor-prefix}popover-arrow {
|
33
33
|
border-right-color: $gray;
|
34
34
|
left: -16px;
|
35
35
|
}
|
36
36
|
|
37
|
-
&.top-center
|
38
|
-
&.bottom-center
|
37
|
+
&.top-center .#{$vendor-prefix}popover-arrow,
|
38
|
+
&.bottom-center .#{$vendor-prefix}popover-arrow {
|
39
39
|
left: 50%;
|
40
40
|
margin-left: -8px;
|
41
41
|
}
|
42
42
|
|
43
|
-
&.top-center
|
43
|
+
&.top-center .#{$vendor-prefix}popover-arrow {
|
44
44
|
border-top-color: $gray;
|
45
45
|
bottom: -16px;
|
46
46
|
}
|
47
47
|
|
48
|
-
&.bottom-center
|
48
|
+
&.bottom-center .#{$vendor-prefix}popover-arrow {
|
49
49
|
border-bottom-color: $gray;
|
50
50
|
top: -16px;
|
51
51
|
}
|
52
52
|
}
|
53
53
|
|
54
|
-
|
55
|
-
|
54
|
+
.#{$vendor-prefix}popover-head,
|
55
|
+
.#{$vendor-prefix}popover-body {
|
56
56
|
padding: $small-padding;
|
57
57
|
}
|
58
58
|
|
59
|
-
|
59
|
+
.#{$vendor-prefix}popover-arrow {
|
60
60
|
width: 0;
|
61
61
|
height: 0;
|
62
62
|
border: 8px solid transparent;
|
@@ -6,24 +6,36 @@
|
|
6
6
|
|
7
7
|
@import "../common";
|
8
8
|
|
9
|
-
|
9
|
+
.#{$vendor-prefix}progress {
|
10
10
|
overflow: hidden;
|
11
11
|
position: relative;
|
12
12
|
background: $gray;
|
13
13
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
14
|
+
@include is-small {
|
15
|
+
.#{$vendor-prefix}progress-bar {
|
16
|
+
height: 1rem;
|
17
|
+
line-height: 1rem;
|
18
|
+
font-size: $small-size;
|
19
|
+
}
|
18
20
|
}
|
19
21
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
22
|
+
@include is-medium {
|
23
|
+
.#{$vendor-prefix}progress-bar {
|
24
|
+
height: 1.5rem;
|
25
|
+
line-height: 1.5rem;
|
26
|
+
font-size: $medium-size;
|
27
|
+
}
|
24
28
|
}
|
25
29
|
|
26
|
-
|
30
|
+
@include is-large {
|
31
|
+
.#{$vendor-prefix}progress-bar {
|
32
|
+
height: 2rem;
|
33
|
+
line-height: 2rem;
|
34
|
+
font-size: $large-size;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
.#{$vendor-prefix}progress-bar + .#{$vendor-prefix}progress-bar {
|
27
39
|
border-top-left-radius: 0;
|
28
40
|
border-bottom-left-radius: 0;
|
29
41
|
}
|
@@ -31,7 +43,7 @@
|
|
31
43
|
@include clear-fix;
|
32
44
|
}
|
33
45
|
|
34
|
-
|
46
|
+
.#{$vendor-prefix}progress-bar {
|
35
47
|
height: 1.5rem;
|
36
48
|
line-height: 1.5rem;
|
37
49
|
overflow: hidden;
|
@@ -43,10 +55,10 @@
|
|
43
55
|
@include transition(width .6s, background $progress-transition);
|
44
56
|
}
|
45
57
|
|
46
|
-
|
58
|
+
.#{$vendor-prefix}progress.round {
|
47
59
|
border-radius: $round;
|
48
60
|
|
49
|
-
|
61
|
+
.#{$vendor-prefix}progress-bar {
|
50
62
|
border-top-left-radius: $round;
|
51
63
|
border-bottom-left-radius: $round;
|
52
64
|
}
|