materialize-sass 0.100.2.1 → 1.0.0.alpha1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +18 -42
- data/Rakefile +17 -17
- data/{app/assets → assets}/javascripts/materialize-sprockets.js +8 -12
- data/assets/javascripts/materialize.js +11877 -0
- data/assets/javascripts/materialize/autocomplete.js +420 -0
- data/assets/javascripts/materialize/buttons.js +388 -0
- data/assets/javascripts/materialize/cards.js +28 -0
- data/assets/javascripts/materialize/carousel.js +791 -0
- data/assets/javascripts/materialize/cash.js +992 -0
- data/assets/javascripts/materialize/characterCounter.js +180 -0
- data/assets/javascripts/materialize/chips.js +555 -0
- data/assets/javascripts/materialize/collapsible.js +275 -0
- data/assets/javascripts/materialize/datepicker.js +898 -0
- data/assets/javascripts/materialize/dropdown.js +530 -0
- data/{app/assets → assets}/javascripts/materialize/extras/nouislider.js +1 -1
- data/{app/assets → assets}/javascripts/materialize/extras/nouislider.min.js +1 -1
- data/assets/javascripts/materialize/forms.js +223 -0
- data/assets/javascripts/materialize/global.js +353 -0
- data/assets/javascripts/materialize/materialbox.js +432 -0
- data/{app/assets → assets}/javascripts/materialize/modal.js +82 -113
- data/assets/javascripts/materialize/parallax.js +135 -0
- data/assets/javascripts/materialize/pushpin.js +158 -0
- data/assets/javascripts/materialize/range.js +305 -0
- data/assets/javascripts/materialize/scrollspy.js +322 -0
- data/assets/javascripts/materialize/select.js +426 -0
- data/assets/javascripts/materialize/sidenav.js +584 -0
- data/assets/javascripts/materialize/slider.js +383 -0
- data/assets/javascripts/materialize/tabs.js +460 -0
- data/assets/javascripts/materialize/tapTarget.js +347 -0
- data/assets/javascripts/materialize/timepicker.js +616 -0
- data/{app/assets → assets}/javascripts/materialize/toasts.js +42 -46
- data/assets/javascripts/materialize/tooltip.js +325 -0
- data/assets/javascripts/materialize/velocity.min.js +782 -0
- data/{app/assets → assets}/javascripts/materialize/waves.js +0 -0
- data/{app/assets → assets}/stylesheets/materialize.scss +5 -6
- data/{app/assets → assets}/stylesheets/materialize/components/_badges.scss +1 -1
- data/{app/assets → assets}/stylesheets/materialize/components/_buttons.scss +34 -2
- data/{app/assets → assets}/stylesheets/materialize/components/_cards.scss +0 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_carousel.scss +1 -1
- data/{app/assets → assets}/stylesheets/materialize/components/_chips.scss +6 -5
- data/{app/assets → assets}/stylesheets/materialize/components/_collapsible.scss +3 -3
- data/{app/assets → assets}/stylesheets/materialize/components/_color.scss +0 -0
- data/assets/stylesheets/materialize/components/_datepicker.scss +180 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_dropdown.scss +16 -15
- data/{app/assets → assets}/stylesheets/materialize/components/_global.scss +49 -14
- data/{app/assets → assets}/stylesheets/materialize/components/_grid.scss +1 -1
- data/{app/assets → assets}/stylesheets/materialize/components/_icons-material-design.scss +0 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_materialbox.scss +0 -0
- data/assets/stylesheets/materialize/components/_mixins.scss +5 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_modal.scss +1 -1
- data/{app/assets → assets}/stylesheets/materialize/components/_navbar.scss +0 -0
- data/assets/stylesheets/materialize/components/_normalize.scss +447 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_preloader.scss +0 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_pulse.scss +0 -0
- data/{app/assets/stylesheets/materialize/components/_sideNav.scss → assets/stylesheets/materialize/components/_sidenav.scss} +23 -21
- data/{app/assets → assets}/stylesheets/materialize/components/_slider.scss +0 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_table_of_contents.scss +3 -3
- data/{app/assets → assets}/stylesheets/materialize/components/_tabs.scss +2 -2
- data/{app/assets → assets}/stylesheets/materialize/components/_tapTarget.scss +0 -0
- data/assets/stylesheets/materialize/components/_timepicker.scss +182 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_toast.scss +0 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_tooltip.scss +1 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_transitions.scss +0 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_typography.scss +8 -8
- data/{app/assets → assets}/stylesheets/materialize/components/_variables.scss +42 -44
- data/{app/assets → assets}/stylesheets/materialize/components/_waves.scss +0 -0
- data/{app/assets → assets}/stylesheets/materialize/components/forms/_checkboxes.scss +24 -24
- data/{app/assets → assets}/stylesheets/materialize/components/forms/_file-input.scss +0 -0
- data/{app/assets → assets}/stylesheets/materialize/components/forms/_forms.scss +0 -0
- data/{app/assets → assets}/stylesheets/materialize/components/forms/_input-fields.scss +49 -35
- data/{app/assets → assets}/stylesheets/materialize/components/forms/_radio-buttons.scss +29 -29
- data/{app/assets → assets}/stylesheets/materialize/components/forms/_range.scss +32 -31
- data/{app/assets → assets}/stylesheets/materialize/components/forms/_select.scss +20 -11
- data/{app/assets → assets}/stylesheets/materialize/components/forms/_switches.scss +0 -0
- data/{app/assets → assets}/stylesheets/materialize/extras/nouislider.css +1 -1
- data/lib/materialize-sass.rb +13 -23
- data/lib/materialize-sass/engine.rb +6 -9
- data/lib/materialize-sass/version.rb +1 -1
- data/materialize-sass.gemspec +2 -1
- metadata +97 -97
- data/app/assets/fonts/roboto/Roboto-Bold.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Bold.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Light.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Light.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Medium.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Medium.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Regular.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Regular.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Thin.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Thin.woff2 +0 -0
- data/app/assets/javascripts/materialize.js +0 -10021
- data/app/assets/javascripts/materialize/animation.js +0 -7
- data/app/assets/javascripts/materialize/buttons.js +0 -253
- data/app/assets/javascripts/materialize/cards.js +0 -28
- data/app/assets/javascripts/materialize/carousel.js +0 -543
- data/app/assets/javascripts/materialize/character_counter.js +0 -64
- data/app/assets/javascripts/materialize/chips.js +0 -315
- data/app/assets/javascripts/materialize/collapsible.js +0 -178
- data/app/assets/javascripts/materialize/date_picker/picker.date.js +0 -1399
- data/app/assets/javascripts/materialize/date_picker/picker.js +0 -1196
- data/app/assets/javascripts/materialize/date_picker/picker.time.js +0 -646
- data/app/assets/javascripts/materialize/dropdown.js +0 -257
- data/app/assets/javascripts/materialize/forms.js +0 -806
- data/app/assets/javascripts/materialize/global.js +0 -170
- data/app/assets/javascripts/materialize/hammer.min.js +0 -424
- data/app/assets/javascripts/materialize/initial.js +0 -10
- data/app/assets/javascripts/materialize/jquery.easing.1.4.js +0 -144
- data/app/assets/javascripts/materialize/jquery.hammer.js +0 -33
- data/app/assets/javascripts/materialize/materialbox.js +0 -263
- data/app/assets/javascripts/materialize/parallax.js +0 -54
- data/app/assets/javascripts/materialize/pushpin.js +0 -68
- data/app/assets/javascripts/materialize/scrollFire.js +0 -49
- data/app/assets/javascripts/materialize/scrollspy.js +0 -230
- data/app/assets/javascripts/materialize/sideNav.js +0 -395
- data/app/assets/javascripts/materialize/slider.js +0 -295
- data/app/assets/javascripts/materialize/tabs.js +0 -244
- data/app/assets/javascripts/materialize/tapTarget.js +0 -184
- data/app/assets/javascripts/materialize/tooltip.js +0 -227
- data/app/assets/javascripts/materialize/transitions.js +0 -163
- data/app/assets/javascripts/materialize/velocity.min.js +0 -626
- data/app/assets/stylesheets/materialize/components/_normalize.scss +0 -424
- data/app/assets/stylesheets/materialize/components/_roboto.scss +0 -39
- data/app/assets/stylesheets/materialize/components/date_picker/_default.date.scss +0 -469
- data/app/assets/stylesheets/materialize/components/date_picker/_default.scss +0 -216
- data/app/assets/stylesheets/materialize/components/date_picker/_default.time.scss +0 -267
@@ -1,216 +0,0 @@
|
|
1
|
-
/* ==========================================================================
|
2
|
-
$BASE-PICKER
|
3
|
-
========================================================================== */
|
4
|
-
/**
|
5
|
-
* Note: the root picker element should *NOT* be styled more than what's here.
|
6
|
-
*/
|
7
|
-
.picker {
|
8
|
-
font-size: 16px;
|
9
|
-
text-align: left;
|
10
|
-
line-height: 1.2;
|
11
|
-
color: #000000;
|
12
|
-
position: absolute;
|
13
|
-
z-index: 10000;
|
14
|
-
-webkit-user-select: none;
|
15
|
-
-moz-user-select: none;
|
16
|
-
-ms-user-select: none;
|
17
|
-
user-select: none;
|
18
|
-
outline: none;
|
19
|
-
}
|
20
|
-
/**
|
21
|
-
* The picker input element.
|
22
|
-
*/
|
23
|
-
.picker__input {
|
24
|
-
cursor: default;
|
25
|
-
}
|
26
|
-
/**
|
27
|
-
* When the picker is opened, the input element is "activated".
|
28
|
-
*/
|
29
|
-
.picker__input.picker__input--active {
|
30
|
-
border-color: #0089ec;
|
31
|
-
}
|
32
|
-
/**
|
33
|
-
* The holder is the only "scrollable" top-level container element.
|
34
|
-
*/
|
35
|
-
.picker__holder {
|
36
|
-
width: 100%;
|
37
|
-
overflow-y: auto;
|
38
|
-
-webkit-overflow-scrolling: touch;
|
39
|
-
}
|
40
|
-
|
41
|
-
/*!
|
42
|
-
* Default mobile-first, responsive styling for pickadate.js
|
43
|
-
* Demo: http://amsul.github.io/pickadate.js
|
44
|
-
*/
|
45
|
-
/**
|
46
|
-
* Note: the root picker element should *NOT* be styled more than what's here.
|
47
|
-
*/
|
48
|
-
/**
|
49
|
-
* Make the holder and frame fullscreen.
|
50
|
-
*/
|
51
|
-
.picker__holder,
|
52
|
-
.picker__frame {
|
53
|
-
top: 0;
|
54
|
-
bottom: 0;
|
55
|
-
left: 0;
|
56
|
-
right: 0;
|
57
|
-
-ms-transform: translateY(100%);
|
58
|
-
transform: translateY(100%);
|
59
|
-
}
|
60
|
-
/**
|
61
|
-
* The holder should overlay the entire screen.
|
62
|
-
*/
|
63
|
-
.picker__holder {
|
64
|
-
position: fixed;
|
65
|
-
-webkit-transition: background 0.15s ease-out, top 0s 0.15s;
|
66
|
-
-moz-transition: background 0.15s ease-out, top 0s 0.15s;
|
67
|
-
transition: background 0.15s ease-out, top 0s 0.15s;
|
68
|
-
-webkit-backface-visibility: hidden;
|
69
|
-
}
|
70
|
-
/**
|
71
|
-
* The frame that bounds the box contents of the picker.
|
72
|
-
*/
|
73
|
-
.picker__frame {
|
74
|
-
position: absolute;
|
75
|
-
margin: 0 auto;
|
76
|
-
min-width: 256px;
|
77
|
-
|
78
|
-
// picker width
|
79
|
-
width: 300px;
|
80
|
-
max-height: 350px;
|
81
|
-
|
82
|
-
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
83
|
-
filter: alpha(opacity=0);
|
84
|
-
-moz-opacity: 0;
|
85
|
-
opacity: 0;
|
86
|
-
-webkit-transition: all 0.15s ease-out;
|
87
|
-
-moz-transition: all 0.15s ease-out;
|
88
|
-
transition: all 0.15s ease-out;
|
89
|
-
}
|
90
|
-
@media (min-height: 28.875em) {
|
91
|
-
.picker__frame {
|
92
|
-
overflow: visible;
|
93
|
-
top: auto;
|
94
|
-
bottom: -100%;
|
95
|
-
max-height: 80%;
|
96
|
-
}
|
97
|
-
}
|
98
|
-
@media (min-height: 40.125em) {
|
99
|
-
.picker__frame {
|
100
|
-
margin-bottom: 7.5%;
|
101
|
-
}
|
102
|
-
}
|
103
|
-
/**
|
104
|
-
* The wrapper sets the stage to vertically align the box contents.
|
105
|
-
*/
|
106
|
-
.picker__wrap {
|
107
|
-
display: table;
|
108
|
-
width: 100%;
|
109
|
-
height: 100%;
|
110
|
-
}
|
111
|
-
@media (min-height: 28.875em) {
|
112
|
-
.picker__wrap {
|
113
|
-
display: block;
|
114
|
-
}
|
115
|
-
}
|
116
|
-
/**
|
117
|
-
* The box contains all the picker contents.
|
118
|
-
*/
|
119
|
-
.picker__box {
|
120
|
-
background: #ffffff;
|
121
|
-
display: table-cell;
|
122
|
-
vertical-align: middle;
|
123
|
-
}
|
124
|
-
//@media (min-height: 26.5em) {
|
125
|
-
// .picker__box {
|
126
|
-
//// font-size: 1.25em;
|
127
|
-
// }
|
128
|
-
//}
|
129
|
-
@media (min-height: 28.875em) {
|
130
|
-
.picker__box {
|
131
|
-
display: block;
|
132
|
-
|
133
|
-
// picker header font-size
|
134
|
-
// font-size: 1rem;
|
135
|
-
|
136
|
-
border: 1px solid #777777;
|
137
|
-
border-top-color: #898989;
|
138
|
-
border-bottom-width: 0;
|
139
|
-
-webkit-border-radius: 5px 5px 0 0;
|
140
|
-
-moz-border-radius: 5px 5px 0 0;
|
141
|
-
border-radius: 5px 5px 0 0;
|
142
|
-
-webkit-box-shadow: 0 12px 36px 16px rgba(0, 0, 0, 0.24);
|
143
|
-
-moz-box-shadow: 0 12px 36px 16px rgba(0, 0, 0, 0.24);
|
144
|
-
box-shadow: 0 12px 36px 16px rgba(0, 0, 0, 0.24);
|
145
|
-
}
|
146
|
-
}
|
147
|
-
//@media (min-height: 40.125em) {
|
148
|
-
// .picker__box {
|
149
|
-
// font-size: 1.1rem;
|
150
|
-
// border-bottom-width: 1px;
|
151
|
-
// -webkit-border-radius: 5px;
|
152
|
-
// -moz-border-radius: 5px;
|
153
|
-
// border-radius: 5px;
|
154
|
-
// }
|
155
|
-
//}
|
156
|
-
/**
|
157
|
-
* When the picker opens...
|
158
|
-
*/
|
159
|
-
.picker--opened .picker__holder {
|
160
|
-
-ms-transform: translateY(0);
|
161
|
-
transform: translateY(0);
|
162
|
-
background: transparent;
|
163
|
-
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#1E000000,endColorstr=#1E000000)";
|
164
|
-
zoom: 1;
|
165
|
-
background: rgba(0, 0, 0, 0.32);
|
166
|
-
-webkit-transition: background 0.15s ease-out;
|
167
|
-
-moz-transition: background 0.15s ease-out;
|
168
|
-
transition: background 0.15s ease-out;
|
169
|
-
}
|
170
|
-
.picker--opened .picker__frame {
|
171
|
-
-ms-transform: translateY(0);
|
172
|
-
transform: translateY(0);
|
173
|
-
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
|
174
|
-
filter: alpha(opacity=100);
|
175
|
-
-moz-opacity: 1;
|
176
|
-
opacity: 1;
|
177
|
-
}
|
178
|
-
@media (min-height: 35.875em) {
|
179
|
-
.picker--opened .picker__frame {
|
180
|
-
top: 10%;
|
181
|
-
bottom: auto;
|
182
|
-
}
|
183
|
-
}
|
184
|
-
/**
|
185
|
-
* For `large` screens, transform into an inline picker.
|
186
|
-
*/
|
187
|
-
|
188
|
-
/* ==========================================================================
|
189
|
-
CUSTOM MATERIALIZE STYLES
|
190
|
-
========================================================================== */
|
191
|
-
|
192
|
-
.picker__input.picker__input--active {
|
193
|
-
border-color: color("blue", "lighten-5");
|
194
|
-
}
|
195
|
-
|
196
|
-
.picker__frame {
|
197
|
-
margin: 0 auto;
|
198
|
-
max-width: 325px;
|
199
|
-
}
|
200
|
-
|
201
|
-
@media (min-height: 38.875em) {
|
202
|
-
.picker--opened .picker__frame {
|
203
|
-
top: 10%;
|
204
|
-
bottom: auto;
|
205
|
-
}
|
206
|
-
}
|
207
|
-
|
208
|
-
@media only screen and (min-width: 601px) {
|
209
|
-
.picker__box {
|
210
|
-
display:flex;
|
211
|
-
}
|
212
|
-
.picker__frame {
|
213
|
-
width: 80%;
|
214
|
-
max-width:600px;
|
215
|
-
}
|
216
|
-
}
|
@@ -1,267 +0,0 @@
|
|
1
|
-
/* ==========================================================================
|
2
|
-
$BASE-TIME-PICKER
|
3
|
-
========================================================================== */
|
4
|
-
/**
|
5
|
-
* The list of times.
|
6
|
-
*/
|
7
|
-
.picker__list {
|
8
|
-
list-style: none;
|
9
|
-
padding: 0.75em 0 4.2em;
|
10
|
-
margin: 0;
|
11
|
-
}
|
12
|
-
/**
|
13
|
-
* The times on the clock.
|
14
|
-
*/
|
15
|
-
.picker__list-item {
|
16
|
-
border-bottom: 1px solid #ddd;
|
17
|
-
border-top: 1px solid #ddd;
|
18
|
-
margin-bottom: -1px;
|
19
|
-
position: relative;
|
20
|
-
background: #fff;
|
21
|
-
padding: .75em 1.25em;
|
22
|
-
}
|
23
|
-
@media (min-height: 46.75em) {
|
24
|
-
.picker__list-item {
|
25
|
-
padding: .5em 1em;
|
26
|
-
}
|
27
|
-
}
|
28
|
-
/* Hovered time */
|
29
|
-
.picker__list-item:hover {
|
30
|
-
cursor: pointer;
|
31
|
-
color: #000;
|
32
|
-
background: #b1dcfb;
|
33
|
-
border-color: #0089ec;
|
34
|
-
z-index: 10;
|
35
|
-
}
|
36
|
-
/* Highlighted and hovered/focused time */
|
37
|
-
.picker__list-item--highlighted {
|
38
|
-
border-color: #0089ec;
|
39
|
-
z-index: 10;
|
40
|
-
}
|
41
|
-
.picker__list-item--highlighted:hover,
|
42
|
-
.picker--focused .picker__list-item--highlighted {
|
43
|
-
cursor: pointer;
|
44
|
-
color: #000;
|
45
|
-
background: #b1dcfb;
|
46
|
-
}
|
47
|
-
/* Selected and hovered/focused time */
|
48
|
-
.picker__list-item--selected,
|
49
|
-
.picker__list-item--selected:hover,
|
50
|
-
.picker--focused .picker__list-item--selected {
|
51
|
-
background: #0089ec;
|
52
|
-
color: #fff;
|
53
|
-
z-index: 10;
|
54
|
-
}
|
55
|
-
/* Disabled time */
|
56
|
-
.picker__list-item--disabled,
|
57
|
-
.picker__list-item--disabled:hover,
|
58
|
-
.picker--focused .picker__list-item--disabled {
|
59
|
-
background: #f5f5f5;
|
60
|
-
border-color: #f5f5f5;
|
61
|
-
color: #ddd;
|
62
|
-
cursor: default;
|
63
|
-
border-color: #ddd;
|
64
|
-
z-index: auto;
|
65
|
-
}
|
66
|
-
/**
|
67
|
-
* The clear button
|
68
|
-
*/
|
69
|
-
.picker--time .picker__button--clear {
|
70
|
-
display: block;
|
71
|
-
width: 80%;
|
72
|
-
margin: 1em auto 0;
|
73
|
-
padding: 1em 1.25em;
|
74
|
-
background: none;
|
75
|
-
border: 0;
|
76
|
-
font-weight: 500;
|
77
|
-
font-size: .67em;
|
78
|
-
text-align: center;
|
79
|
-
text-transform: uppercase;
|
80
|
-
color: $timepicker-clock-color;
|
81
|
-
}
|
82
|
-
.picker--time .picker__button--clear:hover,
|
83
|
-
.picker--time .picker__button--clear:focus {
|
84
|
-
color: #000;
|
85
|
-
background: #b1dcfb;
|
86
|
-
background: #ee2200;
|
87
|
-
border-color: #ee2200;
|
88
|
-
cursor: pointer;
|
89
|
-
color: #fff;
|
90
|
-
outline: none;
|
91
|
-
}
|
92
|
-
.picker--time .picker__button--clear:before {
|
93
|
-
top: -0.25em;
|
94
|
-
color: $timepicker-clock-color;
|
95
|
-
font-size: 1.25em;
|
96
|
-
font-weight: bold;
|
97
|
-
}
|
98
|
-
.picker--time .picker__button--clear:hover:before,
|
99
|
-
.picker--time .picker__button--clear:focus:before {
|
100
|
-
color: #fff;
|
101
|
-
}
|
102
|
-
|
103
|
-
/* ==========================================================================
|
104
|
-
$DEFAULT-TIME-PICKER
|
105
|
-
========================================================================== */
|
106
|
-
/**
|
107
|
-
* The frame the bounds the time picker.
|
108
|
-
*/
|
109
|
-
.picker--time .picker__frame {
|
110
|
-
min-width: 256px;
|
111
|
-
max-width: 320px;
|
112
|
-
}
|
113
|
-
/**
|
114
|
-
* The picker box.
|
115
|
-
*/
|
116
|
-
.picker--time .picker__box {
|
117
|
-
font-size: 1em;
|
118
|
-
background: #f2f2f2;
|
119
|
-
padding: 0;
|
120
|
-
}
|
121
|
-
@media (min-height: 40.125em) {
|
122
|
-
.picker--time .picker__box {
|
123
|
-
margin-bottom: 5em;
|
124
|
-
}
|
125
|
-
}
|
126
|
-
|
127
|
-
/* ==========================================================================
|
128
|
-
$DEFAULT-TIME-PICKER
|
129
|
-
========================================================================== */
|
130
|
-
.clockpicker-display {
|
131
|
-
font-size: 4rem;
|
132
|
-
font-weight: bold;
|
133
|
-
text-align: center;
|
134
|
-
color: rgba(255, 255, 255, 0.6);
|
135
|
-
font-weight: 400;
|
136
|
-
clear: both;
|
137
|
-
position: relative;
|
138
|
-
}
|
139
|
-
|
140
|
-
.clockpicker-span-am-pm {
|
141
|
-
font-size: 1.3rem;
|
142
|
-
position: absolute;
|
143
|
-
right: 1rem;
|
144
|
-
bottom: 0.3rem;
|
145
|
-
line-height: 2rem;
|
146
|
-
font-weight: 500;
|
147
|
-
}
|
148
|
-
@media only screen and (min-width: 601px) {
|
149
|
-
.clockpicker-display {
|
150
|
-
top: 32%;
|
151
|
-
}
|
152
|
-
.clockpicker-span-am-pm {
|
153
|
-
position: relative;
|
154
|
-
right: auto;
|
155
|
-
bottom: auto;
|
156
|
-
text-align: center;
|
157
|
-
margin-top: 1.2rem;
|
158
|
-
}
|
159
|
-
}
|
160
|
-
|
161
|
-
|
162
|
-
.text-primary{
|
163
|
-
color: rgba(255, 255, 255, 1)
|
164
|
-
}
|
165
|
-
.clockpicker-span-hours {
|
166
|
-
margin-right: 3px;
|
167
|
-
}
|
168
|
-
.clockpicker-span-minutes {
|
169
|
-
margin-left: 3px;
|
170
|
-
}
|
171
|
-
|
172
|
-
.clockpicker-span-hours,
|
173
|
-
.clockpicker-span-minutes,
|
174
|
-
.clockpicker-span-am-pm div {
|
175
|
-
cursor: pointer;
|
176
|
-
}
|
177
|
-
.clockpicker-moving {
|
178
|
-
cursor: move;
|
179
|
-
}
|
180
|
-
.clockpicker-plate {
|
181
|
-
background-color: $timepicker-clock-plate-bg;
|
182
|
-
border-radius: 50%;
|
183
|
-
width: 270px;
|
184
|
-
height: 270px;
|
185
|
-
overflow: visible;
|
186
|
-
position: relative;
|
187
|
-
margin: auto;
|
188
|
-
margin-top: 25px;
|
189
|
-
margin-bottom: 5px;
|
190
|
-
user-select: none;
|
191
|
-
}
|
192
|
-
.clockpicker-canvas,
|
193
|
-
.clockpicker-dial {
|
194
|
-
width: 270px;
|
195
|
-
height: 270px;
|
196
|
-
position: absolute;
|
197
|
-
left: -1px;
|
198
|
-
top: -1px;
|
199
|
-
}
|
200
|
-
.clockpicker-minutes {
|
201
|
-
visibility: hidden;
|
202
|
-
}
|
203
|
-
.clockpicker-tick {
|
204
|
-
border-radius: 50%;
|
205
|
-
color: $timepicker-clock-color;
|
206
|
-
line-height: 40px;
|
207
|
-
text-align: center;
|
208
|
-
width: 40px;
|
209
|
-
height: 40px;
|
210
|
-
position: absolute;
|
211
|
-
cursor: pointer;
|
212
|
-
}
|
213
|
-
.clockpicker-tick.active,
|
214
|
-
.clockpicker-tick:hover {
|
215
|
-
background-color: transparentize($secondary-color, .75);
|
216
|
-
}
|
217
|
-
.clockpicker-dial {
|
218
|
-
-webkit-transition: -webkit-transform 350ms, opacity 350ms;
|
219
|
-
-moz-transition: -moz-transform 350ms, opacity 350ms;
|
220
|
-
-ms-transition: -ms-transform 350ms, opacity 350ms;
|
221
|
-
-o-transition: -o-transform 350ms, opacity 350ms;
|
222
|
-
transition: transform 350ms, opacity 350ms;
|
223
|
-
}
|
224
|
-
.clockpicker-dial-out {
|
225
|
-
opacity: 0;
|
226
|
-
}
|
227
|
-
.clockpicker-hours.clockpicker-dial-out {
|
228
|
-
-webkit-transform: scale(1.2, 1.2);
|
229
|
-
-moz-transform: scale(1.2, 1.2);
|
230
|
-
-ms-transform: scale(1.2, 1.2);
|
231
|
-
-o-transform: scale(1.2, 1.2);
|
232
|
-
transform: scale(1.2, 1.2);
|
233
|
-
}
|
234
|
-
.clockpicker-minutes.clockpicker-dial-out {
|
235
|
-
-webkit-transform: scale(.8, .8);
|
236
|
-
-moz-transform: scale(.8, .8);
|
237
|
-
-ms-transform: scale(.8, .8);
|
238
|
-
-o-transform: scale(.8, .8);
|
239
|
-
transform: scale(.8, .8);
|
240
|
-
}
|
241
|
-
.clockpicker-canvas {
|
242
|
-
-webkit-transition: opacity 175ms;
|
243
|
-
-moz-transition: opacity 175ms;
|
244
|
-
-ms-transition: opacity 175ms;
|
245
|
-
-o-transition: opacity 175ms;
|
246
|
-
transition: opacity 175ms;
|
247
|
-
}
|
248
|
-
.clockpicker-canvas-out {
|
249
|
-
opacity: 0.25;
|
250
|
-
}
|
251
|
-
.clockpicker-canvas-bearing {
|
252
|
-
stroke: none;
|
253
|
-
fill: $secondary-color;
|
254
|
-
}
|
255
|
-
.clockpicker-canvas-bg {
|
256
|
-
stroke: none;
|
257
|
-
fill: $secondary-color;
|
258
|
-
}
|
259
|
-
.clockpicker-canvas-bg-trans {
|
260
|
-
fill: $secondary-color;
|
261
|
-
}
|
262
|
-
.clockpicker-canvas line {
|
263
|
-
stroke: $secondary-color;
|
264
|
-
stroke-width: 4;
|
265
|
-
stroke-linecap: round;
|
266
|
-
/*shape-rendering: crispEdges;*/
|
267
|
-
}
|