@qooxdoo/framework 7.6.1 → 7.6.3
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.
- package/Manifest.json +1 -1
- package/README.md +3 -3
- package/bin/tools/utils.js +1 -0
- package/lib/compiler/compile-info.json +60 -60
- package/lib/compiler/index.js +253 -253
- package/lib/resource/qx/tool/bin/build-website +1 -1
- package/lib/resource/qx/tool/cli/templates/skeleton/mobile/source/theme/custom/css/custom.css +1 -1
- package/lib/resource/qx/tool/cli/templates/skeleton/mobile/source/theme/custom/css/custom.css.map +1 -1
- package/package.json +35 -35
- package/source/class/qx/ui/basic/Image.js +5 -4
- package/source/class/qx/ui/core/scroll/MRoll.js +11 -1
- package/source/class/qx/ui/form/AbstractField.js +3 -3
- package/source/class/qx/ui/form/Button.js +14 -1
- package/source/class/qx/ui/form/SelectBox.js +24 -9
- package/source/class/qx/ui/mobile/dialog/Popup.js +5 -5
- package/source/class/qx/ui/treevirtual/SimpleTreeDataModel.js +13 -5
- package/source/class/qx/ui/window/Manager.js +3 -0
- package/source/resource/qx/mobile/scss/common/_scroller.scss +6 -6
- package/source/resource/qx/mobile/scss/theme/flat/_styles.scss +55 -55
- package/source/resource/qx/mobile/scss/theme/indigo/_styles.scss +55 -55
- package/source/resource/qx/mobile/scss/ui/_button.scss +8 -8
- package/source/resource/qx/mobile/scss/ui/_carousel.scss +2 -2
- package/source/resource/qx/mobile/scss/ui/_checkbox.scss +2 -2
- package/source/resource/qx/mobile/scss/ui/_collapsible.scss +7 -7
- package/source/resource/qx/mobile/scss/ui/_drawer.scss +6 -6
- package/source/resource/qx/mobile/scss/ui/_form.scss +35 -35
- package/source/resource/qx/mobile/scss/ui/_input.scss +7 -7
- package/source/resource/qx/mobile/scss/ui/_list.scss +8 -8
- package/source/resource/qx/mobile/scss/ui/_main.scss +8 -8
- package/source/resource/qx/mobile/scss/ui/_masterdetail.scss +5 -5
- package/source/resource/qx/mobile/scss/ui/_menu.scss +2 -2
- package/source/resource/qx/mobile/scss/ui/_navigationbar.scss +11 -11
- package/source/resource/qx/mobile/scss/ui/_picker.scss +8 -8
- package/source/resource/qx/mobile/scss/ui/_popup.scss +14 -14
- package/source/resource/qx/mobile/scss/ui/_radiobutton.scss +3 -3
- package/source/resource/qx/mobile/scss/ui/_selectbox.scss +3 -3
- package/source/resource/qx/mobile/scss/ui/_slider.scss +7 -7
- package/source/resource/qx/mobile/scss/ui/_tabbar.scss +4 -4
- package/source/resource/qx/mobile/scss/ui/_togglebutton.scss +9 -9
- package/source/resource/qx/mobile/scss/ui/_toolbar.scss +5 -5
- package/source/resource/qx/scss/_mixins.scss +27 -0
- package/source/resource/qx/tool/bin/build-website +1 -1
- package/source/resource/qx/tool/cli/templates/skeleton/mobile/source/theme/custom/scss/_styles.scss +55 -55
- package/source/resource/qx/website/scss/ui/_button.scss +10 -10
- package/source/resource/qx/website/scss/ui/_calendar.scss +5 -5
- package/source/resource/qx/website/scss/ui/_carousel.scss +5 -5
- package/source/resource/qx/website/scss/ui/_datepicker.scss +5 -5
- package/source/resource/qx/website/scss/ui/_menu.scss +4 -4
- package/source/resource/qx/website/scss/ui/_rating.scss +6 -6
- package/source/resource/qx/website/scss/ui/_slider.scss +11 -11
- package/source/resource/qx/website/scss/ui/_tabs.scss +22 -22
- package/source/resource/qx/website/scss/ui/_toolbar.scss +14 -14
package/source/resource/qx/tool/cli/templates/skeleton/mobile/source/theme/custom/scss/_styles.scss
CHANGED
|
@@ -15,7 +15,7 @@ $color-2: mix($foreground-color, $background-color, 70%);
|
|
|
15
15
|
$color-3: mix($foreground-color, $background-color, 50%);
|
|
16
16
|
$color-4: mix($foreground-color, $background-color, 30%);
|
|
17
17
|
$color-5: mix($foreground-color, $background-color, 10%);
|
|
18
|
-
|
|
18
|
+
|
|
19
19
|
// Application
|
|
20
20
|
|
|
21
21
|
$application-font: "Segoe UI","Slate Pro",sans-serif,Helvetica;
|
|
@@ -24,10 +24,10 @@ $application-text-color: $foreground-color;
|
|
|
24
24
|
// Button
|
|
25
25
|
|
|
26
26
|
$button-text-color: $color-1;
|
|
27
|
-
$button-font-size: rem(15);
|
|
27
|
+
$button-font-size: px-to-rem(15);
|
|
28
28
|
$button-font-weight: bold;
|
|
29
29
|
$button-active-text-color: $background-color;
|
|
30
|
-
$button-border-radius: rem(4);
|
|
30
|
+
$button-border-radius: px-to-rem(4);
|
|
31
31
|
$button-border-color: $color-2;
|
|
32
32
|
$button-active-border-color: $color-2;
|
|
33
33
|
$button-background: $background-color,$color-4;
|
|
@@ -35,40 +35,40 @@ $button-active-background: lighten($highlight-color,20%),$highlight-color;
|
|
|
35
35
|
|
|
36
36
|
// Carousel
|
|
37
37
|
|
|
38
|
-
$carousel-pagination-size: rem(10);
|
|
38
|
+
$carousel-pagination-size: px-to-rem(10);
|
|
39
39
|
$carousel-pagination-background: rgba($background-color,0.6);
|
|
40
40
|
$carousel-pagination-border-color: rgba($background-color,0.6);
|
|
41
41
|
$carousel-pagination-active-background: $highlight-color;
|
|
42
42
|
$carousel-pagination-active-border-color: $background-color;
|
|
43
43
|
$carousel-pagination-border-radius: $carousel-pagination-size;
|
|
44
|
-
$carousel-pagination-font-size: rem(1);
|
|
44
|
+
$carousel-pagination-font-size: px-to-rem(1);
|
|
45
45
|
$carousel-pagination-font-color: rgba(0,0,0,0);
|
|
46
46
|
|
|
47
47
|
// Checkbox
|
|
48
48
|
|
|
49
|
-
$checkbox-size: rem(30);
|
|
49
|
+
$checkbox-size: px-to-rem(30);
|
|
50
50
|
$checkbox-tick-color: $highlight-color;
|
|
51
|
-
$checkbox-tick-size: rem(14);
|
|
52
|
-
$checkbox-tick-width: rem(4);
|
|
51
|
+
$checkbox-tick-size: px-to-rem(14);
|
|
52
|
+
$checkbox-tick-width: px-to-rem(4);
|
|
53
53
|
$checkbox-tick-shadow: rgba(0,0,0,0.3);
|
|
54
|
-
$checkbox-border-radius: rem(4);
|
|
54
|
+
$checkbox-border-radius: px-to-rem(4);
|
|
55
55
|
$checkbox-border-color: $color-2;
|
|
56
56
|
$checkbox-background: $color-4,$background-color;
|
|
57
57
|
|
|
58
58
|
// Collapsible
|
|
59
59
|
|
|
60
|
-
$collapsible-border-radius: rem(4);
|
|
60
|
+
$collapsible-border-radius: px-to-rem(4);
|
|
61
61
|
$collapsible-header-border-color: $color-2;
|
|
62
62
|
$collapsible-header-text-color: $color-1;
|
|
63
63
|
$collapsible-header-active-text-color: $background-color;
|
|
64
64
|
$collapsible-header-background: $background-color, $color-4;
|
|
65
65
|
$collapsible-header-active-background: lighten($highlight-color,20%),$highlight-color;
|
|
66
|
-
$collapsible-header-padding: rem(10);
|
|
67
|
-
$collapsible-header-content-distance: rem(10);
|
|
66
|
+
$collapsible-header-padding: px-to-rem(10);
|
|
67
|
+
$collapsible-header-content-distance: px-to-rem(10);
|
|
68
68
|
$collapsible-content-border-color: $color-4;
|
|
69
|
-
$collapsible-content-padding: rem(10);
|
|
69
|
+
$collapsible-content-padding: px-to-rem(10);
|
|
70
70
|
$collapsible-content-background-color: $background-color;
|
|
71
|
-
$collapsible-arrow-size: rem(8);
|
|
71
|
+
$collapsible-arrow-size: px-to-rem(8);
|
|
72
72
|
$collapsible-arrow-color: $color-1;
|
|
73
73
|
$collapsible-active-arrow-color: $background-color;
|
|
74
74
|
|
|
@@ -84,9 +84,9 @@ $dialog-border-color: $highlight-color;
|
|
|
84
84
|
$dialog-background: $color-2,$color-1 50%,$color-1;
|
|
85
85
|
$dialog-arrow-up-color: $color-2;
|
|
86
86
|
$dialog-arrow-down-color: $color-1;
|
|
87
|
-
$dialog-arrow-size: rem(12);
|
|
88
|
-
$dialog-arrow-position-offset: rem(16);
|
|
89
|
-
$dialog-border-radius: rem(4);
|
|
87
|
+
$dialog-arrow-size: px-to-rem(12);
|
|
88
|
+
$dialog-arrow-position-offset: px-to-rem(16);
|
|
89
|
+
$dialog-border-radius: px-to-rem(4);
|
|
90
90
|
$dialog-title-text-color: $background-color;
|
|
91
91
|
$dialog-font-weight: bold;
|
|
92
92
|
|
|
@@ -96,7 +96,7 @@ $form-background: $background-color;
|
|
|
96
96
|
$form-title-text-color: $highlight-color;
|
|
97
97
|
$form-label-text-color: $color-1;
|
|
98
98
|
$form-border-color: $color-4;
|
|
99
|
-
$form-border-radius: rem(4);
|
|
99
|
+
$form-border-radius: px-to-rem(4);
|
|
100
100
|
$form-font-weight: bold;
|
|
101
101
|
|
|
102
102
|
// Group
|
|
@@ -104,13 +104,13 @@ $form-font-weight: bold;
|
|
|
104
104
|
$group-background: $background-color;
|
|
105
105
|
$group-border-color: $color-4;
|
|
106
106
|
$group-title-text-color: $highlight-color;
|
|
107
|
-
$group-border-radius: rem(4);
|
|
107
|
+
$group-border-radius: px-to-rem(4);
|
|
108
108
|
|
|
109
109
|
// Input
|
|
110
110
|
|
|
111
111
|
$input-text-color: $color-1;
|
|
112
112
|
$input-background: $background-color;
|
|
113
|
-
$input-border-radius: rem(4);
|
|
113
|
+
$input-border-radius: px-to-rem(4);
|
|
114
114
|
$input-border-color: $color-4;
|
|
115
115
|
$input-invalid-border-color: red;
|
|
116
116
|
$input-active-border-color: $highlight-color;
|
|
@@ -119,22 +119,22 @@ $input-active-border-color: $highlight-color;
|
|
|
119
119
|
|
|
120
120
|
$list-background: $background-color;
|
|
121
121
|
$list-title-text-color: $color-1;
|
|
122
|
-
$list-title-font-size: rem(17);
|
|
122
|
+
$list-title-font-size: px-to-rem(17);
|
|
123
123
|
$list-title-font-weight: bold;
|
|
124
124
|
$list-subtitle-text-color: $highlight-color;
|
|
125
|
-
$list-subtitle-font-size: rem(14);
|
|
125
|
+
$list-subtitle-font-size: px-to-rem(14);
|
|
126
126
|
$list-border-color: $color-4;
|
|
127
127
|
$list-active-background: lighten($highlight-color,20%),$highlight-color;
|
|
128
128
|
$list-active-text-color: $background-color;
|
|
129
|
-
$list-border-radius: rem(4);
|
|
130
|
-
$list-arrow-size: rem(3);
|
|
131
|
-
$list-arrow-thickness: rem(2);
|
|
129
|
+
$list-border-radius: px-to-rem(4);
|
|
130
|
+
$list-arrow-size: px-to-rem(3);
|
|
131
|
+
$list-arrow-thickness: px-to-rem(2);
|
|
132
132
|
$list-arrow-color: $color-1;
|
|
133
133
|
$list-active-arrow-color: $background-color;
|
|
134
|
-
$list-group-header-height: rem(30);
|
|
134
|
+
$list-group-header-height: px-to-rem(30);
|
|
135
135
|
$list-group-header-color: $color-3;
|
|
136
136
|
$list-group-header-background: $background-color;
|
|
137
|
-
$list-group-header-font: normal rem(16) sans-serif;
|
|
137
|
+
$list-group-header-font: normal px-to-rem(16) sans-serif;
|
|
138
138
|
|
|
139
139
|
// Menu
|
|
140
140
|
|
|
@@ -143,16 +143,16 @@ $menu-item-selected-background: lighten($highlight-color, 20%), $highlight-colo
|
|
|
143
143
|
|
|
144
144
|
// NavigationBar
|
|
145
145
|
|
|
146
|
-
$navigationbar-height: rem(40);
|
|
146
|
+
$navigationbar-height: px-to-rem(40);
|
|
147
147
|
$navigationbar-background: $color-2,$color-1;
|
|
148
148
|
$navigationbar-text-size: $navigationbar-height*0.5;
|
|
149
149
|
$navigationbar-text-color: $background-color;
|
|
150
|
-
$navigationbar-padding: rem(4);
|
|
150
|
+
$navigationbar-padding: px-to-rem(4);
|
|
151
151
|
$navigationbar-font-weight: bold;
|
|
152
152
|
|
|
153
153
|
// NavigationBar Button
|
|
154
154
|
|
|
155
|
-
$navigationbarbutton-border-radius: rem(4);
|
|
155
|
+
$navigationbarbutton-border-radius: px-to-rem(4);
|
|
156
156
|
$navigationbarbutton-background: $background-color,$color-4;
|
|
157
157
|
$navigationbarbutton-border-color: $color-2;
|
|
158
158
|
$navigationbarbutton-text-color: $color-1;
|
|
@@ -172,20 +172,20 @@ $picker-spinning-wheel-overlay: rgba($background-color,1),rgba($background-colo
|
|
|
172
172
|
$picker-spinning-wheel-text-color: $color-1;
|
|
173
173
|
$picker-spinning-wheel-background: $background-color;
|
|
174
174
|
$picker-highlight-color: rgba($highlight-color,0.5);
|
|
175
|
-
$picker-highlight-border-width: rem(2);
|
|
175
|
+
$picker-highlight-border-width: px-to-rem(2);
|
|
176
176
|
$picker-spinning-wheel-divider-color: $color-2;
|
|
177
|
-
$picker-spinning-wheel-divider-width: rem(2);
|
|
177
|
+
$picker-spinning-wheel-divider-width: px-to-rem(2);
|
|
178
178
|
|
|
179
179
|
// Deprecated in 4.1
|
|
180
|
-
$picker-spinning-wheel-border-radius: rem(2);
|
|
181
|
-
$picker-label-height: rem(25);
|
|
182
|
-
$picker-label-font-size: rem(16);
|
|
183
|
-
$picker-height: rem(160);
|
|
180
|
+
$picker-spinning-wheel-border-radius: px-to-rem(2);
|
|
181
|
+
$picker-label-height: px-to-rem(25);
|
|
182
|
+
$picker-label-font-size: px-to-rem(16);
|
|
183
|
+
$picker-height: px-to-rem(160);
|
|
184
184
|
// -----------------
|
|
185
185
|
|
|
186
186
|
// RadioButton
|
|
187
187
|
|
|
188
|
-
$radiobutton-size: rem(32);
|
|
188
|
+
$radiobutton-size: px-to-rem(32);
|
|
189
189
|
$radiobutton-dot-color: $highlight-color;
|
|
190
190
|
$radiobutton-dot-shadow: rgba(0,0,0,0.3);
|
|
191
191
|
$radiobutton-background: $color-4,$background-color;
|
|
@@ -193,7 +193,7 @@ $radiobutton-border-color: $color-2;
|
|
|
193
193
|
|
|
194
194
|
// SelectBox
|
|
195
195
|
|
|
196
|
-
$selectbox-border-radius: rem(4);
|
|
196
|
+
$selectbox-border-radius: px-to-rem(4);
|
|
197
197
|
$selectbox-border-color: $color-2;
|
|
198
198
|
$selectbox-text-color: $color-1;
|
|
199
199
|
$selectbox-background: $background-color,$color-4;
|
|
@@ -204,14 +204,14 @@ $selectbox-item-selected-background: lighten($highlight-color,20%), $highlight-
|
|
|
204
204
|
|
|
205
205
|
// Slider
|
|
206
206
|
|
|
207
|
-
$slider-height: rem(7);
|
|
207
|
+
$slider-height: px-to-rem(7);
|
|
208
208
|
$slider-background: $color-4,$background-color;
|
|
209
209
|
$slider-active-area: lighten($highlight-color,20%),$highlight-color;
|
|
210
|
-
$slider-border-radius: rem(20);
|
|
210
|
+
$slider-border-radius: px-to-rem(20);
|
|
211
211
|
$slider-border-color: $color-2;
|
|
212
|
-
$slider-knob-border-radius: rem(4);
|
|
213
|
-
$slider-knob-width: rem(30);
|
|
214
|
-
$slider-knob-height: rem(30);
|
|
212
|
+
$slider-knob-border-radius: px-to-rem(4);
|
|
213
|
+
$slider-knob-width: px-to-rem(30);
|
|
214
|
+
$slider-knob-height: px-to-rem(30);
|
|
215
215
|
$slider-knob-background: $background-color,$color-4;
|
|
216
216
|
$slider-knob-border-color: $color-2;
|
|
217
217
|
$slider-shadow: rgba(0,0,0,0.4);
|
|
@@ -219,13 +219,13 @@ $slider-font-color: $color-2;
|
|
|
219
219
|
|
|
220
220
|
// Spinner
|
|
221
221
|
|
|
222
|
-
$spinner-border-thickness: rem(3);
|
|
222
|
+
$spinner-border-thickness: px-to-rem(3);
|
|
223
223
|
$spinner-border-color: white;
|
|
224
|
-
$spinner-size: rem(14);
|
|
224
|
+
$spinner-size: px-to-rem(14);
|
|
225
225
|
|
|
226
226
|
// Tabbar
|
|
227
227
|
|
|
228
|
-
$tabbar-height: rem(45);
|
|
228
|
+
$tabbar-height: px-to-rem(45);
|
|
229
229
|
$tabbar-divider-color: $highlight-color;
|
|
230
230
|
$tabbar-active-background: lighten($highlight-color,20%),$highlight-color;
|
|
231
231
|
$tabbar-active-border-color: $highlight-color;
|
|
@@ -233,24 +233,24 @@ $tabbar-inactive-background: $color-3,$color-2;
|
|
|
233
233
|
$tabbar-inactive-border-color: $color-3;
|
|
234
234
|
$tabbar-active-text-color: $background-color;
|
|
235
235
|
$tabbar-inactive-text-color: $background-color;
|
|
236
|
-
$tabbar-border-radius: rem(4);
|
|
237
|
-
$tabbar-button-distance: rem(4);
|
|
236
|
+
$tabbar-border-radius: px-to-rem(4);
|
|
237
|
+
$tabbar-button-distance: px-to-rem(4);
|
|
238
238
|
|
|
239
239
|
// ToggleButton
|
|
240
240
|
|
|
241
|
-
$togglebutton-width: rem(100);
|
|
242
|
-
$togglebutton-height: rem(30);
|
|
243
|
-
$togglebutton-border-radius: rem(4);
|
|
241
|
+
$togglebutton-width: px-to-rem(100);
|
|
242
|
+
$togglebutton-height: px-to-rem(30);
|
|
243
|
+
$togglebutton-border-radius: px-to-rem(4);
|
|
244
244
|
$togglebutton-border-color: $color-2;
|
|
245
245
|
$togglebutton-text-color: $color-1;
|
|
246
246
|
$togglebutton-background: $color-5,$background-color;
|
|
247
247
|
$togglebutton-active-background: $highlight-color,lighten($highlight-color,20%);
|
|
248
248
|
$togglebutton-knob-background: $background-color,$color-4;
|
|
249
|
-
$togglebutton-knob-width: rem(30);
|
|
249
|
+
$togglebutton-knob-width: px-to-rem(30);
|
|
250
250
|
$togglebutton-active-text-color: $background-color;
|
|
251
251
|
$togglebutton-inset-shadow: rgba(0,0,0,0.1);
|
|
252
252
|
$togglebutton-knob-shadow: rgba(0,0,0,0.4);
|
|
253
|
-
$togglebutton-font-size: rem(13);
|
|
253
|
+
$togglebutton-font-size: px-to-rem(13);
|
|
254
254
|
$togglebutton-font-weight: bold;
|
|
255
255
|
|
|
256
256
|
// Toolbar
|
|
@@ -260,6 +260,6 @@ $toolbar-background: $background-color,$color-4;
|
|
|
260
260
|
$toolbar-active-background: lighten($highlight-color,20%),$highlight-color;
|
|
261
261
|
$toolbar-active-text-color: $background-color;
|
|
262
262
|
$toolbar-border-color: $color-2;
|
|
263
|
-
$toolbar-border-radius: rem(4);
|
|
263
|
+
$toolbar-border-radius: px-to-rem(4);
|
|
264
264
|
$toolbar-font-weight: bold;
|
|
265
|
-
$toolbar-padding: rem(5);
|
|
265
|
+
$toolbar-padding: px-to-rem(5);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.qx-button[disabled] {
|
|
2
|
-
border: rem(1) solid $border-color;
|
|
2
|
+
border: px-to-rem(1) solid $border-color;
|
|
3
3
|
color: $highlight-color-disabled;
|
|
4
4
|
}
|
|
5
5
|
|
|
@@ -9,26 +9,26 @@
|
|
|
9
9
|
|
|
10
10
|
.qx-button {
|
|
11
11
|
display: inline-block;
|
|
12
|
-
padding: rem(8) rem(12);
|
|
13
|
-
margin: rem(3);
|
|
14
|
-
border: rem(1) solid $border-color;
|
|
12
|
+
padding: px-to-rem(8) px-to-rem(12);
|
|
13
|
+
margin: px-to-rem(3);
|
|
14
|
+
border: px-to-rem(1) solid $border-color;
|
|
15
15
|
@include background-clip(padding-box);
|
|
16
|
-
@include border-radius(rem(2));
|
|
16
|
+
@include border-radius(px-to-rem(2));
|
|
17
17
|
cursor: pointer;
|
|
18
|
-
font-size: rem(14);
|
|
18
|
+
font-size: px-to-rem(14);
|
|
19
19
|
outline: none;
|
|
20
20
|
background: $background-color;
|
|
21
21
|
color: $highlight-color;
|
|
22
22
|
line-height: normal;
|
|
23
|
-
min-height: rem(35);
|
|
23
|
+
min-height: px-to-rem(35);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.qx-button:hover {
|
|
27
|
-
border: rem(1) solid $highlight-color;
|
|
27
|
+
border: px-to-rem(1) solid $highlight-color;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.qx-button:active {
|
|
31
|
-
border: rem(1) solid darken($highlight-color, 20%);
|
|
31
|
+
border: px-to-rem(1) solid darken($highlight-color, 20%);
|
|
32
32
|
background: darken($background-color, 10%);
|
|
33
33
|
}
|
|
34
34
|
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.qx-button img {
|
|
40
|
-
margin-left: rem(3);
|
|
40
|
+
margin-left: px-to-rem(3);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.qx-button img,span {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.qx-calendar table {
|
|
2
|
-
border-width: rem(1);
|
|
2
|
+
border-width: px-to-rem(1);
|
|
3
3
|
border-color: $border-color;
|
|
4
4
|
border-collapse: collapse;
|
|
5
5
|
text-align: center;
|
|
@@ -11,12 +11,12 @@
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.qx-calendar button:focus {
|
|
14
|
-
-webkit-text-stroke: rem(1) $highlight-color;
|
|
14
|
+
-webkit-text-stroke: px-to-rem(1) $highlight-color;
|
|
15
15
|
color: $highlight-color;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.qx-calendar thead {
|
|
19
|
-
border-width: rem(1);
|
|
19
|
+
border-width: px-to-rem(1);
|
|
20
20
|
border-style: solid;
|
|
21
21
|
border-color: $border-color;
|
|
22
22
|
font-weight: bold;
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.qx-calendar thead td {
|
|
34
|
-
padding: rem(2) rem(6);
|
|
34
|
+
padding: px-to-rem(2) px-to-rem(6);
|
|
35
35
|
width: 14.3%;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
.qx-calendar td {
|
|
39
|
-
border-width: rem(1);
|
|
39
|
+
border-width: px-to-rem(1);
|
|
40
40
|
border-style: solid;
|
|
41
41
|
border-color: $border-color;
|
|
42
42
|
background-color: $background-color;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
$carousel-pagination-size: rem(17);
|
|
1
|
+
$carousel-pagination-size: px-to-rem(17);
|
|
2
2
|
$carousel-pagination-background: rgba($background-color,0.6);
|
|
3
3
|
$carousel-pagination-background-disabled: desaturate($highlight-color, 100%);
|
|
4
4
|
$carousel-pagination-border-color: rgba($background-color,0.6);
|
|
5
5
|
$carousel-pagination-active-background: $highlight-color;
|
|
6
6
|
$carousel-pagination-active-border-color: $background-color;
|
|
7
7
|
$carousel-pagination-border-radius: $carousel-pagination-size;
|
|
8
|
-
$carousel-pagination-font-size: rem(1);
|
|
8
|
+
$carousel-pagination-font-size: px-to-rem(1);
|
|
9
9
|
|
|
10
10
|
.qx-carousel {
|
|
11
11
|
overflow: hidden;
|
|
@@ -33,7 +33,7 @@ $carousel-pagination-font-size: rem(1);
|
|
|
33
33
|
transition: transform 2s;
|
|
34
34
|
|
|
35
35
|
position: relative;
|
|
36
|
-
margin-top: -$carousel-pagination-size - rem(10);
|
|
36
|
+
margin-top: -$carousel-pagination-size - px-to-rem(10);
|
|
37
37
|
padding-bottom: $carousel-pagination-size*0.5;
|
|
38
38
|
width: 100%;
|
|
39
39
|
white-space: nowrap;
|
|
@@ -50,7 +50,7 @@ $carousel-pagination-font-size: rem(1);
|
|
|
50
50
|
@include box-sizing(border-box);
|
|
51
51
|
@include flex(0 0);
|
|
52
52
|
|
|
53
|
-
border: rem(1) solid $carousel-pagination-border-color;
|
|
53
|
+
border: px-to-rem(1) solid $carousel-pagination-border-color;
|
|
54
54
|
text-align: center;
|
|
55
55
|
|
|
56
56
|
display:inline-block;
|
|
@@ -72,6 +72,6 @@ $carousel-pagination-font-size: rem(1);
|
|
|
72
72
|
|
|
73
73
|
.qx-carousel-pagination-label.active {
|
|
74
74
|
@include background($carousel-pagination-active-background);
|
|
75
|
-
border: rem(1) solid $carousel-pagination-active-border-color;
|
|
75
|
+
border: px-to-rem(1) solid $carousel-pagination-active-border-color;
|
|
76
76
|
color: $carousel-pagination-active-background;
|
|
77
77
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
.qx-datepicker {
|
|
2
|
-
font-size: rem(14);
|
|
3
|
-
height: rem(16);
|
|
2
|
+
font-size: px-to-rem(14);
|
|
3
|
+
height: px-to-rem(16);
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
.qx-datepicker-icon {
|
|
7
7
|
cursor: pointer;
|
|
8
8
|
vertical-align: top;
|
|
9
|
-
margin-left: rem(4);
|
|
10
|
-
width: rem(22);
|
|
11
|
-
height: rem(22);
|
|
9
|
+
margin-left: px-to-rem(4);
|
|
10
|
+
width: px-to-rem(22);
|
|
11
|
+
height: px-to-rem(22);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.qx-datepicker[disabled] + .qx-datepicker-icon {
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
z-index: 1000001;
|
|
5
5
|
position: absolute;
|
|
6
6
|
background-color: $background-color;
|
|
7
|
-
border: rem(1) solid $border-color;
|
|
8
|
-
padding: rem(0);
|
|
9
|
-
margin: rem(0);
|
|
7
|
+
border: px-to-rem(1) solid $border-color;
|
|
8
|
+
padding: px-to-rem(0);
|
|
9
|
+
margin: px-to-rem(0);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.qx-menu li {
|
|
13
|
-
padding: rem(6) rem(10);
|
|
13
|
+
padding: px-to-rem(6) px-to-rem(10);
|
|
14
14
|
list-style-type: none;
|
|
15
15
|
cursor: pointer;
|
|
16
16
|
}
|
|
@@ -4,13 +4,13 @@ $rating-background-off: 270deg, #eee, #cfcfcf;
|
|
|
4
4
|
$rating-color-off: #cfcfcf;
|
|
5
5
|
|
|
6
6
|
.qx-rating-item {
|
|
7
|
-
font-size: rem(22);
|
|
7
|
+
font-size: px-to-rem(22);
|
|
8
8
|
background-image: -webkit-linear-gradient($rating-background);
|
|
9
9
|
color: #E3B64A;
|
|
10
10
|
@include background-clip(text);
|
|
11
11
|
-webkit-text-fill-color: transparent;
|
|
12
|
-
-webkit-text-stroke: rem(1) #BB6718;
|
|
13
|
-
margin-right: rem(10);
|
|
12
|
+
-webkit-text-stroke: px-to-rem(1) #BB6718;
|
|
13
|
+
margin-right: px-to-rem(10);
|
|
14
14
|
cursor: pointer;
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -19,17 +19,17 @@ $rating-color-off: #cfcfcf;
|
|
|
19
19
|
color: $rating-color-off;
|
|
20
20
|
@include background-clip(text);
|
|
21
21
|
-webkit-text-fill-color: transparent;
|
|
22
|
-
-webkit-text-stroke: rem(1) $rating-color-off;
|
|
22
|
+
-webkit-text-stroke: px-to-rem(1) $rating-color-off;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.qx-rating-item[disabled] {
|
|
26
26
|
background-image: -webkit-linear-gradient($rating-background-disabled);
|
|
27
|
-
-webkit-text-stroke: rem(1) desaturate(#BB6718, 100%);
|
|
27
|
+
-webkit-text-stroke: px-to-rem(1) desaturate(#BB6718, 100%);
|
|
28
28
|
color: desaturate(#D5771D, 100%);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.qx-rating-item.qx-rating-item-off[disabled] {
|
|
32
32
|
background-image: -webkit-linear-gradient($rating-background-off);
|
|
33
|
-
-webkit-text-stroke: rem(1) desaturate($rating-color-off, 100%);
|
|
33
|
+
-webkit-text-stroke: px-to-rem(1) desaturate($rating-color-off, 100%);
|
|
34
34
|
color: $rating-color-off;
|
|
35
35
|
}
|
|
@@ -10,7 +10,7 @@ $slider-knob-background-active : darken(#F7F7F7, 25%), darken(#E8E8E8, 25%);
|
|
|
10
10
|
overflow-y: visible;
|
|
11
11
|
overflow-x: visible;
|
|
12
12
|
cursor: pointer;
|
|
13
|
-
padding: 0 rem(18);
|
|
13
|
+
padding: 0 px-to-rem(18);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.qx-slider:before {
|
|
@@ -18,12 +18,12 @@ $slider-knob-background-active : darken(#F7F7F7, 25%), darken(#E8E8E8, 25%);
|
|
|
18
18
|
content: '';
|
|
19
19
|
width: 100%;
|
|
20
20
|
line-height: 0.3;
|
|
21
|
-
border: rem(1) solid $slider-border;
|
|
21
|
+
border: px-to-rem(1) solid $slider-border;
|
|
22
22
|
display: inline-block;
|
|
23
|
-
@include border-radius(rem(3));
|
|
23
|
+
@include border-radius(px-to-rem(3));
|
|
24
24
|
@include background($slider-background);
|
|
25
|
-
top: rem(26);
|
|
26
|
-
height: rem(7);
|
|
25
|
+
top: px-to-rem(26);
|
|
26
|
+
height: px-to-rem(7);
|
|
27
27
|
@include box-sizing(border-box);
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -34,15 +34,15 @@ $slider-knob-background-active : darken(#F7F7F7, 25%), darken(#E8E8E8, 25%);
|
|
|
34
34
|
|
|
35
35
|
@include user-select(none);
|
|
36
36
|
|
|
37
|
-
width: rem(36);
|
|
38
|
-
height: rem(36);
|
|
37
|
+
width: px-to-rem(36);
|
|
38
|
+
height: px-to-rem(36);
|
|
39
39
|
|
|
40
40
|
font-weight: bold;
|
|
41
41
|
text-align: center;
|
|
42
42
|
|
|
43
|
-
border: rem(1) solid $slider-border;
|
|
43
|
+
border: px-to-rem(1) solid $slider-border;
|
|
44
44
|
@include background($slider-knob-background);
|
|
45
|
-
@include border-radius(rem(60));
|
|
45
|
+
@include border-radius(px-to-rem(60));
|
|
46
46
|
|
|
47
47
|
line-height: 0;
|
|
48
48
|
padding: 0;
|
|
@@ -54,12 +54,12 @@ $slider-knob-background-active : darken(#F7F7F7, 25%), darken(#E8E8E8, 25%);
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.qx-slider[disabled]:before {
|
|
57
|
-
border: rem(1) solid lighten($slider-border, 40%);
|
|
57
|
+
border: px-to-rem(1) solid lighten($slider-border, 40%);
|
|
58
58
|
@include background($slider-background-disabled);
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
.qx-slider-knob[disabled] {
|
|
62
|
-
border: rem(1) solid lighten($slider-border, 30%);
|
|
62
|
+
border: px-to-rem(1) solid lighten($slider-border, 30%);
|
|
63
63
|
@include background($slider-knob-background-disabled);
|
|
64
64
|
color: lighten($slider-border, 25%);
|
|
65
65
|
}
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
outline: none;
|
|
28
28
|
cursor: pointer;
|
|
29
29
|
background-color: transparent;
|
|
30
|
-
padding: rem(8) rem(12);
|
|
31
|
-
font-size: rem(13);
|
|
30
|
+
padding: px-to-rem(8) px-to-rem(12);
|
|
31
|
+
font-size: px-to-rem(13);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.qx-tabs .qx-tabs-button > button:focus,
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
|
|
59
59
|
.qx-tabs .qx-tabs-page,
|
|
60
60
|
.qx-accordion .qx-accordion-page {
|
|
61
|
-
padding: rem(10);
|
|
61
|
+
padding: px-to-rem(10);
|
|
62
62
|
@include user-select(text);
|
|
63
63
|
background-color: white;
|
|
64
64
|
}
|
|
@@ -66,43 +66,43 @@
|
|
|
66
66
|
// horizontal orientation:
|
|
67
67
|
|
|
68
68
|
.qx-tabs-horizontal > ul > .qx-tabs-button:first-child {
|
|
69
|
-
margin-left: rem(0);
|
|
69
|
+
margin-left: px-to-rem(0);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
.qx-tabs-horizontal > ul > .qx-tabs-button {
|
|
73
|
-
margin-bottom: rem(-1);
|
|
74
|
-
margin-left: rem(3);
|
|
75
|
-
border: rem(1) solid transparent;
|
|
73
|
+
margin-bottom: px-to-rem(-1);
|
|
74
|
+
margin-left: px-to-rem(3);
|
|
75
|
+
border: px-to-rem(1) solid transparent;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
.qx-tabs-horizontal > ul > .qx-tabs-button-active {
|
|
79
|
-
border: rem(1) solid $border-color;
|
|
80
|
-
@include border-radius(rem(2) rem(2) 0 0);
|
|
79
|
+
border: px-to-rem(1) solid $border-color;
|
|
80
|
+
@include border-radius(px-to-rem(2) px-to-rem(2) 0 0);
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
.qx-tabs-horizontal > ul > .qx-tabs-button-active:after {
|
|
84
84
|
display: block;
|
|
85
85
|
position: relative;
|
|
86
|
-
top: rem(1);
|
|
86
|
+
top: px-to-rem(1);
|
|
87
87
|
content: " ";
|
|
88
88
|
background-color: $background-color;
|
|
89
89
|
width: 100%;
|
|
90
|
-
height: rem(1);
|
|
90
|
+
height: px-to-rem(1);
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
.qx-tabs-horizontal > ul > .qx-tabs-button:hover {
|
|
94
|
-
border-bottom: rem(1) solid $border-color;
|
|
95
|
-
@include border-radius(rem(2) rem(2) 0 0);
|
|
94
|
+
border-bottom: px-to-rem(1) solid $border-color;
|
|
95
|
+
@include border-radius(px-to-rem(2) px-to-rem(2) 0 0);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
.qx-tabs-horizontal > ul > .qx-tabs-button-active:hover {
|
|
99
|
-
border: rem(1) solid $border-color;
|
|
100
|
-
border-bottom: rem(1) solid $background-color;
|
|
99
|
+
border: px-to-rem(1) solid $border-color;
|
|
100
|
+
border-bottom: px-to-rem(1) solid $background-color;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
.qx-tabs-horizontal > .qx-tabs-container {
|
|
104
104
|
clear: both;
|
|
105
|
-
border: rem(1) solid $border-color;
|
|
105
|
+
border: px-to-rem(1) solid $border-color;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
.qx-tabs-horizontal > ul > .qx-tabs-button.qx-flex1 {
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
text-align: center;
|
|
125
125
|
border-bottom-color: transparent;
|
|
126
126
|
position: relative;
|
|
127
|
-
@include transform(translate(0,rem(1.2)));
|
|
127
|
+
@include transform(translate(0,px-to-rem(1.2)));
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
.qx-tabs-horizontal.qx-tabs-justify > ul > .qx-tabs-button {
|
|
@@ -140,15 +140,15 @@
|
|
|
140
140
|
|
|
141
141
|
.qx-tabs-vertical,
|
|
142
142
|
.qx-accordion-vertical {
|
|
143
|
-
border-right: rem(1) solid $border-color;
|
|
144
|
-
border-bottom: rem(1) solid $border-color;
|
|
145
|
-
border-left: rem(1) solid $border-color;
|
|
143
|
+
border-right: px-to-rem(1) solid $border-color;
|
|
144
|
+
border-bottom: px-to-rem(1) solid $border-color;
|
|
145
|
+
border-left: px-to-rem(1) solid $border-color;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
.qx-tabs-vertical .qx-tabs-button,
|
|
149
149
|
.qx-accordion-vertical .qx-accordion-button {
|
|
150
150
|
margin-left: 0;
|
|
151
|
-
border-top: rem(1) solid $border-color;
|
|
151
|
+
border-top: px-to-rem(1) solid $border-color;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
.qx-tabs-vertical .qx-tabs-button > button,
|
|
@@ -163,6 +163,6 @@
|
|
|
163
163
|
.qx-accordion-vertical .qx-accordion-page {
|
|
164
164
|
overflow: hidden;
|
|
165
165
|
@include box-sizing(border-box);
|
|
166
|
-
padding: rem(8) rem(12);
|
|
166
|
+
padding: px-to-rem(8) px-to-rem(12);
|
|
167
167
|
@include transition(height 500ms, padding-top 500ms, padding-bottom 500ms, margin-top 500ms, margin-bottom 500ms);
|
|
168
168
|
}
|