titon-toolkit 1.5.3 → 2.0.0.pre.rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/changelog.md +180 -61
- data/license.md +1 -1
- data/readme.md +7 -7
- data/roadmap.md +4 -20
- data/scss/toolkit/_common.scss +426 -73
- data/scss/toolkit/{layout/base.scss → base.scss} +13 -25
- data/scss/toolkit/components/accordion.scss +6 -6
- data/scss/toolkit/components/blackout.scss +13 -11
- data/scss/toolkit/components/breadcrumb.scss +2 -2
- data/scss/toolkit/components/button-group.scss +130 -51
- data/scss/toolkit/components/button.scss +110 -9
- data/scss/toolkit/components/carousel.scss +20 -46
- data/scss/toolkit/{layout → components}/code.scss +1 -1
- data/scss/toolkit/components/divider.scss +24 -23
- data/scss/toolkit/components/drop.scss +35 -26
- data/scss/toolkit/components/flyout.scss +5 -10
- data/scss/toolkit/{layout → components}/form.scss +72 -65
- data/scss/toolkit/components/grid.scss +21 -116
- data/scss/toolkit/components/icon.scss +27 -13
- data/scss/toolkit/components/input-group.scss +4 -6
- data/scss/toolkit/components/input.scss +21 -21
- data/scss/toolkit/components/label.scss +76 -66
- data/scss/toolkit/components/lazy-load.scss +2 -2
- data/scss/toolkit/components/loader.scss +8 -8
- data/scss/toolkit/components/mask.scss +5 -9
- data/scss/toolkit/components/matrix.scss +4 -4
- data/scss/toolkit/components/modal.scss +33 -40
- data/scss/toolkit/components/notice.scss +5 -9
- data/scss/toolkit/components/off-canvas.scss +80 -60
- data/scss/toolkit/components/pagination.scss +75 -34
- data/scss/toolkit/components/pin.scss +7 -3
- data/scss/toolkit/components/popover.scss +14 -14
- data/scss/toolkit/components/progress.scss +25 -14
- data/scss/toolkit/{layout → components}/responsive.scss +31 -37
- data/scss/toolkit/components/showcase.scss +10 -36
- data/scss/toolkit/components/step.scss +7 -7
- data/scss/toolkit/components/switch.scss +47 -33
- data/scss/toolkit/components/tab.scss +42 -0
- data/scss/toolkit/components/table.scss +27 -25
- data/scss/toolkit/components/toast.scss +13 -9
- data/scss/toolkit/components/tooltip.scss +15 -16
- data/scss/toolkit/components/type-ahead.scss +6 -6
- data/scss/toolkit/{layout → components}/typography.scss +2 -2
- data/scss/toolkit/mixins/_components.scss +12 -6
- data/scss/toolkit/mixins/_grid.scss +5 -1
- data/scss/toolkit/mixins/_helper.scss +42 -3
- data/scss/toolkit/mixins/_layout.scss +22 -13
- data/scss/toolkit/mixins/_responsive.scss +39 -39
- data/scss/toolkit.scss +12 -18
- data/version.md +1 -1
- metadata +16 -22
- data/scss/toolkit/components/tabs.scss +0 -43
- data/scss/toolkit/effects/oval.scss +0 -37
- data/scss/toolkit/effects/pill.scss +0 -94
- data/scss/toolkit/effects/skew.scss +0 -85
- data/scss/toolkit/effects/visual.scss +0 -64
- data/scss/toolkit/mixins/_state.scss +0 -36
- data/scss/toolkit/themes/demo.scss +0 -569
@@ -1,12 +1,12 @@
|
|
1
1
|
/**
|
2
|
-
* @copyright 2010-
|
2
|
+
* @copyright 2010-2015, The Titon Project
|
3
3
|
* @license http://opensource.org/licenses/BSD-3-Clause
|
4
4
|
* @link http://titon.io
|
5
5
|
*/
|
6
6
|
|
7
7
|
@import "../common";
|
8
8
|
|
9
|
-
|
9
|
+
#{$inputGroup-class} {
|
10
10
|
display: inline-block;
|
11
11
|
vertical-align: middle;
|
12
12
|
white-space: nowrap;
|
@@ -16,12 +16,10 @@
|
|
16
16
|
display: inline-block;
|
17
17
|
position: relative;
|
18
18
|
border-radius: 0;
|
19
|
-
margin-right: -1px;
|
20
19
|
white-space: nowrap;
|
21
20
|
height: auto;
|
22
21
|
vertical-align: middle;
|
23
22
|
|
24
|
-
&:last-child { margin-right: 0; }
|
25
23
|
&:hover { z-index: 1; }
|
26
24
|
&:focus { z-index: 2; }
|
27
25
|
}
|
@@ -29,7 +27,7 @@
|
|
29
27
|
@include clear-fix;
|
30
28
|
}
|
31
29
|
|
32
|
-
|
30
|
+
#{$inputGroup-class-addon} {
|
33
31
|
vertical-align: middle;
|
34
32
|
line-height: normal;
|
35
33
|
@include size-medium;
|
@@ -40,7 +38,7 @@
|
|
40
38
|
|
41
39
|
//-------------------- Modifiers --------------------//
|
42
40
|
|
43
|
-
|
41
|
+
#{$inputGroup-class}#{$shape-round-class} {
|
44
42
|
> *:first-child {
|
45
43
|
border-top-left-radius: $round;
|
46
44
|
border-bottom-left-radius: $round;
|
@@ -1,19 +1,19 @@
|
|
1
1
|
/**
|
2
|
-
* @copyright 2010-
|
2
|
+
* @copyright 2010-2015, The Titon Project
|
3
3
|
* @license http://opensource.org/licenses/BSD-3-Clause
|
4
4
|
* @link http://titon.io
|
5
5
|
*/
|
6
6
|
|
7
7
|
@import "../common";
|
8
8
|
|
9
|
-
|
9
|
+
#{$input-class} {
|
10
10
|
@include reset-inline-block;
|
11
11
|
}
|
12
12
|
|
13
13
|
// Checkbox, radio
|
14
|
-
|
15
|
-
|
16
|
-
|
14
|
+
#{$input-class} {
|
15
|
+
#{$input-class-checkbox},
|
16
|
+
#{$input-class-radio} {
|
17
17
|
@include reset-inline-block;
|
18
18
|
background: $gray-lightest;
|
19
19
|
border: 1px solid $gray-dark;
|
@@ -26,21 +26,21 @@
|
|
26
26
|
&:hover { border-color: $gray-darkest; }
|
27
27
|
}
|
28
28
|
|
29
|
-
|
29
|
+
#{$input-class-radio} { border-radius: 50%; }
|
30
30
|
|
31
31
|
input {
|
32
32
|
display: none;
|
33
33
|
|
34
34
|
// Style when the checkbox is checked
|
35
|
-
&:checked +
|
36
|
-
&:checked +
|
35
|
+
&:checked + #{$input-class-checkbox},
|
36
|
+
&:checked + #{$input-class-radio} {
|
37
37
|
border-color: $info;
|
38
38
|
background: $info-light;
|
39
39
|
}
|
40
40
|
|
41
41
|
// Style when input is disabled
|
42
|
-
&[disabled] +
|
43
|
-
&[disabled] +
|
42
|
+
&[disabled] + #{$input-class-checkbox},
|
43
|
+
&[disabled] + #{$input-class-radio} {
|
44
44
|
cursor: not-allowed;
|
45
45
|
border-color: $gray;
|
46
46
|
}
|
@@ -48,8 +48,8 @@
|
|
48
48
|
}
|
49
49
|
|
50
50
|
// Select
|
51
|
-
|
52
|
-
|
51
|
+
#{$input-class} {
|
52
|
+
#{$input-class-select} {
|
53
53
|
@include reset-inline-block;
|
54
54
|
cursor: pointer;
|
55
55
|
background: $gray-lightest;
|
@@ -64,15 +64,15 @@
|
|
64
64
|
}
|
65
65
|
}
|
66
66
|
|
67
|
-
|
68
|
-
|
67
|
+
#{$input-class-select-label},
|
68
|
+
#{$input-class-select-arrow} {
|
69
69
|
display: inline-block;
|
70
70
|
vertical-align: middle;
|
71
71
|
line-height: normal;
|
72
72
|
@include size-medium;
|
73
73
|
}
|
74
74
|
|
75
|
-
|
75
|
+
#{$input-class-select-arrow} {
|
76
76
|
float: right;
|
77
77
|
|
78
78
|
.caret-down { border-top-color: #000; }
|
@@ -88,27 +88,27 @@
|
|
88
88
|
width: 100%;
|
89
89
|
|
90
90
|
// Style when the select is hovered
|
91
|
-
&:hover +
|
91
|
+
&:hover + #{$input-class-select} {
|
92
92
|
border-color: $gray-darkest;
|
93
93
|
}
|
94
94
|
|
95
95
|
// Style when the select is focused
|
96
|
-
&:focus +
|
96
|
+
&:focus + #{$input-class-select} {
|
97
97
|
border-color: $info;
|
98
98
|
}
|
99
99
|
|
100
100
|
// Style when select is disabled
|
101
|
-
&[disabled] +
|
101
|
+
&[disabled] + #{$input-class-select} {
|
102
102
|
cursor: not-allowed;
|
103
103
|
color: $gray-darkest;
|
104
104
|
border-color: $gray;
|
105
105
|
|
106
|
-
|
106
|
+
#{$input-class-select-arrow} { opacity: $default-opacity; }
|
107
107
|
}
|
108
108
|
}
|
109
109
|
|
110
110
|
// Select dropdown
|
111
|
-
|
111
|
+
#{$input-class-select-options} {
|
112
112
|
max-height: 300px;
|
113
113
|
overflow: auto;
|
114
114
|
|
@@ -126,7 +126,7 @@
|
|
126
126
|
}
|
127
127
|
|
128
128
|
&.hide-first {
|
129
|
-
li:first-child:not(
|
129
|
+
li:first-child:not(#{$drop-class-heading}) { display: none !important; }
|
130
130
|
}
|
131
131
|
}
|
132
132
|
}
|
@@ -1,12 +1,12 @@
|
|
1
1
|
/**
|
2
|
-
* @copyright 2010-
|
2
|
+
* @copyright 2010-2015, The Titon Project
|
3
3
|
* @license http://opensource.org/licenses/BSD-3-Clause
|
4
4
|
* @link http://titon.io
|
5
5
|
*/
|
6
6
|
|
7
7
|
@import "../common";
|
8
8
|
|
9
|
-
|
9
|
+
#{$label-class} {
|
10
10
|
@include reset-inline-block;
|
11
11
|
font-size: .7rem;
|
12
12
|
line-height: 100%;
|
@@ -30,7 +30,7 @@
|
|
30
30
|
|
31
31
|
&:empty { display: none; }
|
32
32
|
|
33
|
-
|
33
|
+
&::after {
|
34
34
|
content: "";
|
35
35
|
height: 0;
|
36
36
|
width: 0;
|
@@ -40,78 +40,88 @@
|
|
40
40
|
|
41
41
|
//-------------------- Modifiers --------------------//
|
42
42
|
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
43
|
+
@if index($label-modifiers, "badge") {
|
44
|
+
#{$label-class-modifier-badge} {
|
45
|
+
border-radius: 1rem;
|
46
|
+
}
|
47
47
|
}
|
48
48
|
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
49
|
+
@if index($label-modifiers, "arrow-left") {
|
50
|
+
#{$label-class-modifier-arrow-left} {
|
51
|
+
border-top-left-radius: 0;
|
52
|
+
border-bottom-left-radius: 0;
|
53
|
+
padding-left: 2px;
|
54
|
+
margin-left: 10px;
|
55
|
+
|
56
|
+
&::after {
|
57
|
+
top: 0;
|
58
|
+
right: 100%;
|
59
|
+
border: .65rem solid transparent;
|
60
|
+
border-right-color: $gray-dark;
|
61
|
+
}
|
62
|
+
|
63
|
+
@include is-small {
|
64
|
+
&::after { border-width: .5rem; }
|
65
|
+
}
|
66
|
+
|
67
|
+
@include is-large {
|
68
|
+
&::after { border-width: .75rem; }
|
69
|
+
}
|
62
70
|
}
|
63
|
-
|
64
|
-
&.#{$size-small-class}:after { border-width: .5rem; }
|
65
|
-
&.#{$size-large-class}:after { border-width: .75rem; }
|
66
71
|
}
|
67
72
|
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
73
|
+
@if index($label-modifiers, "arrow-right") {
|
74
|
+
#{$label-class-modifier-arrow-right} {
|
75
|
+
border-top-right-radius: 0;
|
76
|
+
border-bottom-right-radius: 0;
|
77
|
+
padding-right: 2px;
|
78
|
+
margin-right: 10px;
|
79
|
+
|
80
|
+
&::after {
|
81
|
+
top: 0;
|
82
|
+
left: 100%;
|
83
|
+
border: .65rem solid transparent;
|
84
|
+
border-left-color: $gray-dark;
|
85
|
+
}
|
86
|
+
|
87
|
+
@include is-small {
|
88
|
+
&::after { border-width: .5rem; }
|
89
|
+
}
|
90
|
+
|
91
|
+
@include is-large {
|
92
|
+
&::after { border-width: .75rem; }
|
93
|
+
}
|
81
94
|
}
|
82
|
-
|
83
|
-
&.#{$size-small-class}:after { border-width: .5rem; }
|
84
|
-
&.#{$size-large-class}:after { border-width: .75rem; }
|
85
95
|
}
|
86
96
|
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
97
|
+
@if index($label-modifiers, "ribbon-left") {
|
98
|
+
#{$label-class-modifier-ribbon-left} {
|
99
|
+
border-top-left-radius: 0;
|
100
|
+
border-bottom-left-radius: 0;
|
101
|
+
|
102
|
+
&::after {
|
103
|
+
top: 100%;
|
104
|
+
left: 0;
|
105
|
+
border: 1em solid transparent;
|
106
|
+
border-top-width: 0 !important;
|
107
|
+
border-left-width: 0 !important;
|
108
|
+
border-right-color: $gray-darkest;
|
109
|
+
}
|
100
110
|
}
|
101
111
|
}
|
102
112
|
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
113
|
+
@if index($label-modifiers, "ribbon-right") {
|
114
|
+
#{$label-class-modifier-ribbon-right} {
|
115
|
+
border-top-right-radius: 0;
|
116
|
+
border-bottom-right-radius: 0;
|
117
|
+
|
118
|
+
&::after {
|
119
|
+
top: 100%;
|
120
|
+
right: 0;
|
121
|
+
border: 1em solid transparent;
|
122
|
+
border-top-width: 0 !important;
|
123
|
+
border-right-width: 0 !important;
|
124
|
+
border-left-color: $gray-darkest;
|
125
|
+
}
|
116
126
|
}
|
117
|
-
|
127
|
+
}
|
@@ -1,12 +1,12 @@
|
|
1
1
|
/**
|
2
|
-
* @copyright 2010-
|
2
|
+
* @copyright 2010-2015, The Titon Project
|
3
3
|
* @license http://opensource.org/licenses/BSD-3-Clause
|
4
4
|
* @link http://titon.io
|
5
5
|
*/
|
6
6
|
|
7
7
|
@import "../common";
|
8
8
|
|
9
|
-
|
9
|
+
#{$lazyLoad-class} {
|
10
10
|
background-image: none !important;
|
11
11
|
transition: background-image $lazyLoad-transition;
|
12
12
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @copyright 2010-
|
2
|
+
* @copyright 2010-2015, The Titon Project
|
3
3
|
* @license http://opensource.org/licenses/BSD-3-Clause
|
4
4
|
* @link http://titon.io
|
5
5
|
*/
|
@@ -9,7 +9,7 @@
|
|
9
9
|
// Based on SpinKit
|
10
10
|
// http://tobiasahlin.com/spinkit/
|
11
11
|
|
12
|
-
|
12
|
+
#{$loader-class} {
|
13
13
|
@include reset-inline-block;
|
14
14
|
margin: 0 auto;
|
15
15
|
text-align: center;
|
@@ -20,7 +20,7 @@
|
|
20
20
|
}
|
21
21
|
}
|
22
22
|
|
23
|
-
|
23
|
+
#{$loader-class-message} {
|
24
24
|
margin-top: 1rem;
|
25
25
|
}
|
26
26
|
|
@@ -36,7 +36,7 @@
|
|
36
36
|
}
|
37
37
|
}
|
38
38
|
|
39
|
-
|
39
|
+
#{$loader-class}.bar-wave {
|
40
40
|
> span {
|
41
41
|
background: $loader-color;
|
42
42
|
height: $loader-bar-height;
|
@@ -48,7 +48,7 @@
|
|
48
48
|
}
|
49
49
|
}
|
50
50
|
|
51
|
-
|
51
|
+
#{$loader-class-message} {
|
52
52
|
margin-top: 1.5rem;
|
53
53
|
}
|
54
54
|
}
|
@@ -66,7 +66,7 @@
|
|
66
66
|
}
|
67
67
|
}
|
68
68
|
|
69
|
-
|
69
|
+
#{$loader-class}.bubble-wave {
|
70
70
|
> span {
|
71
71
|
background: $loader-color;
|
72
72
|
width: $loader-bubble-size;
|
@@ -94,8 +94,8 @@
|
|
94
94
|
}
|
95
95
|
}
|
96
96
|
|
97
|
-
|
98
|
-
|
97
|
+
#{$loader-class}.bubble-spinner {
|
98
|
+
#{$loader-class-spinner} {
|
99
99
|
width: 100px;
|
100
100
|
height: 100px;
|
101
101
|
position: relative;
|
@@ -1,17 +1,13 @@
|
|
1
1
|
/**
|
2
|
-
* @copyright 2010-
|
2
|
+
* @copyright 2010-2015, The Titon Project
|
3
3
|
* @license http://opensource.org/licenses/BSD-3-Clause
|
4
4
|
* @link http://titon.io
|
5
5
|
*/
|
6
6
|
|
7
7
|
@import "../common";
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
top: 0;
|
12
|
-
left: 0;
|
13
|
-
height: 100%;
|
14
|
-
width: 100%;
|
9
|
+
#{$mask-class} {
|
10
|
+
@include full-screen(absolute);
|
15
11
|
z-index: $mask-zindex;
|
16
12
|
opacity: 0;
|
17
13
|
visibility: hidden;
|
@@ -21,7 +17,7 @@
|
|
21
17
|
user-select: none;
|
22
18
|
}
|
23
19
|
|
24
|
-
|
20
|
+
#{$mask-class-message} {
|
25
21
|
text-align: center;
|
26
22
|
max-width: 80%;
|
27
23
|
@include position-center;
|
@@ -29,7 +25,7 @@
|
|
29
25
|
&:empty { display: none; }
|
30
26
|
}
|
31
27
|
|
32
|
-
|
28
|
+
#{$mask-class-target} {
|
33
29
|
overflow: hidden;
|
34
30
|
|
35
31
|
// Fixes issues where mask does not display in iOS
|
@@ -1,12 +1,12 @@
|
|
1
1
|
/**
|
2
|
-
* @copyright 2010-
|
2
|
+
* @copyright 2010-2015, The Titon Project
|
3
3
|
* @license http://opensource.org/licenses/BSD-3-Clause
|
4
4
|
* @link http://titon.io
|
5
5
|
*/
|
6
6
|
|
7
7
|
@import "../common";
|
8
8
|
|
9
|
-
|
9
|
+
#{$matrix-class} {
|
10
10
|
@include reset-list;
|
11
11
|
position: relative;
|
12
12
|
|
@@ -14,10 +14,10 @@
|
|
14
14
|
float: left;
|
15
15
|
margin: 0;
|
16
16
|
padding: 0;
|
17
|
-
transition: top $matrix-transition, left $matrix-transition, bottom $matrix-transition, right $matrix-transition, opacity $matrix-transition;
|
17
|
+
transition: top $matrix-transition, left $matrix-transition, bottom $matrix-transition, right $matrix-transition, opacity $matrix-transition, visibility $matrix-transition;
|
18
18
|
}
|
19
19
|
|
20
|
-
&.
|
20
|
+
&.no-columns > li {
|
21
21
|
position: relative !important;
|
22
22
|
}
|
23
23
|
|
@@ -1,17 +1,13 @@
|
|
1
1
|
/**
|
2
|
-
* @copyright 2010-
|
2
|
+
* @copyright 2010-2015, The Titon Project
|
3
3
|
* @license http://opensource.org/licenses/BSD-3-Clause
|
4
4
|
* @link http://titon.io
|
5
5
|
*/
|
6
6
|
|
7
7
|
@import "../common";
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
top: 0;
|
12
|
-
left: 0;
|
13
|
-
width: 100%;
|
14
|
-
height: 100%;
|
9
|
+
#{$modal-class} {
|
10
|
+
@include full-screen();
|
15
11
|
opacity: 0;
|
16
12
|
visibility: hidden;
|
17
13
|
z-index: $modal-zindex;
|
@@ -20,16 +16,16 @@
|
|
20
16
|
-webkit-overflow-scrolling: touch;
|
21
17
|
|
22
18
|
&.is-loading {
|
23
|
-
|
19
|
+
#{$modal-class-close} { display: none; }
|
24
20
|
}
|
25
21
|
|
26
22
|
&.is-draggable {
|
27
|
-
|
28
|
-
|
23
|
+
#{$modal-class-inner} { cursor: default; }
|
24
|
+
#{$modal-class-head} { cursor: move; }
|
29
25
|
}
|
30
26
|
}
|
31
27
|
|
32
|
-
|
28
|
+
#{$modal-class-close} {
|
33
29
|
position: absolute;
|
34
30
|
background: none;
|
35
31
|
border: 0;
|
@@ -42,7 +38,7 @@
|
|
42
38
|
&:hover { opacity: 1; }
|
43
39
|
}
|
44
40
|
|
45
|
-
|
41
|
+
#{$modal-class-outer} {
|
46
42
|
position: relative;
|
47
43
|
margin: $margin;
|
48
44
|
transition: transform $modal-transition;
|
@@ -53,99 +49,96 @@
|
|
53
49
|
}
|
54
50
|
}
|
55
51
|
|
56
|
-
|
52
|
+
#{$modal-class-inner} {
|
57
53
|
position: relative;
|
58
54
|
}
|
59
55
|
|
60
|
-
|
61
|
-
|
62
|
-
|
56
|
+
#{$modal-class-head},
|
57
|
+
#{$modal-class-body},
|
58
|
+
#{$modal-class-foot} {
|
63
59
|
padding: $padding;
|
64
60
|
}
|
65
61
|
|
66
62
|
//-------------------- Modifiers --------------------//
|
67
63
|
|
68
|
-
|
69
|
-
|
70
|
-
left: 0;
|
64
|
+
#{$modal-class}.is-fullscreen #{$modal-class-outer} {
|
65
|
+
@include full-screen("");
|
71
66
|
margin: 0;
|
72
|
-
width: 100%;
|
73
67
|
max-width: 100%;
|
74
|
-
max-height: auto;
|
75
68
|
border-radius: 0;
|
76
69
|
transform: translate(0, 0);
|
77
70
|
}
|
78
71
|
|
79
72
|
//-------------------- Animations --------------------//
|
80
73
|
|
81
|
-
|
82
|
-
@if index($modal-
|
74
|
+
#{$modal-class} {
|
75
|
+
@if index($modal-animations, "from-above") {
|
83
76
|
&.from-above {
|
84
|
-
|
77
|
+
#{$modal-class-outer} {
|
85
78
|
transform: scale(1.3);
|
86
79
|
}
|
87
80
|
|
88
|
-
&.show
|
81
|
+
&.show #{$modal-class-outer} {
|
89
82
|
transform: scale(1);
|
90
83
|
}
|
91
84
|
}
|
92
85
|
}
|
93
86
|
|
94
|
-
@if index($modal-
|
87
|
+
@if index($modal-animations, "from-below") {
|
95
88
|
&.from-below {
|
96
|
-
|
89
|
+
#{$modal-class-outer} {
|
97
90
|
transform: scale(0.7);
|
98
91
|
}
|
99
92
|
|
100
|
-
&.show
|
93
|
+
&.show #{$modal-class-outer} {
|
101
94
|
transform: scale(1);
|
102
95
|
}
|
103
96
|
}
|
104
97
|
}
|
105
98
|
|
106
|
-
@if index($modal-
|
99
|
+
@if index($modal-animations, "slide-in-top") {
|
107
100
|
&.slide-in-top {
|
108
|
-
|
101
|
+
#{$modal-class-outer} {
|
109
102
|
transform: translateY(-50%);
|
110
103
|
}
|
111
104
|
|
112
|
-
&.show
|
105
|
+
&.show #{$modal-class-outer} {
|
113
106
|
transform: translateY(0);
|
114
107
|
}
|
115
108
|
}
|
116
109
|
}
|
117
110
|
|
118
|
-
@if index($modal-
|
111
|
+
@if index($modal-animations, "slide-in-bottom") {
|
119
112
|
&.slide-in-bottom {
|
120
|
-
|
113
|
+
#{$modal-class-outer} {
|
121
114
|
transform: translateY(50%);
|
122
115
|
}
|
123
116
|
|
124
|
-
&.show
|
117
|
+
&.show #{$modal-class-outer} {
|
125
118
|
transform: translateY(0);
|
126
119
|
}
|
127
120
|
}
|
128
121
|
}
|
129
122
|
|
130
|
-
@if index($modal-
|
123
|
+
@if index($modal-animations, "slide-in-left") {
|
131
124
|
&.slide-in-left {
|
132
|
-
|
125
|
+
#{$modal-class-outer} {
|
133
126
|
transform: translateX(-25%);
|
134
127
|
}
|
135
128
|
|
136
|
-
&.show
|
129
|
+
&.show #{$modal-class-outer} {
|
137
130
|
transform: translateX(0);
|
138
131
|
}
|
139
132
|
}
|
140
133
|
}
|
141
134
|
|
142
|
-
@if index($modal-
|
135
|
+
@if index($modal-animations, "slide-in-right") {
|
143
136
|
&.slide-in-right {
|
144
|
-
|
137
|
+
#{$modal-class-outer} {
|
145
138
|
transform: translateX(25%);
|
146
139
|
}
|
147
140
|
|
148
|
-
&.show
|
141
|
+
&.show #{$modal-class-outer} {
|
149
142
|
transform: translateX(0);
|
150
143
|
}
|
151
144
|
}
|