mui_app_rails 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +34 -0
  3. data/app/assets/fonts/mui.ttf +0 -0
  4. data/app/assets/javascripts/mui_app_rails/actions.js +26 -0
  5. data/app/assets/javascripts/mui_app_rails/ajax.plugin.js +3 -0
  6. data/app/assets/javascripts/mui_app_rails/input.plugin.js +232 -0
  7. data/app/assets/javascripts/mui_app_rails/modals.js +37 -0
  8. data/app/assets/javascripts/mui_app_rails/mui.active.js +30 -0
  9. data/app/assets/javascripts/mui_app_rails/mui.ajax.5+.js +27 -0
  10. data/app/assets/javascripts/mui_app_rails/mui.ajax.js +277 -0
  11. data/app/assets/javascripts/mui_app_rails/mui.animation.js +39 -0
  12. data/app/assets/javascripts/mui_app_rails/mui.animationframe.js +72 -0
  13. data/app/assets/javascripts/mui_app_rails/mui.back.5+.js +108 -0
  14. data/app/assets/javascripts/mui_app_rails/mui.back.js +56 -0
  15. data/app/assets/javascripts/mui_app_rails/mui.class.js +40 -0
  16. data/app/assets/javascripts/mui_app_rails/mui.class.scroll.js +894 -0
  17. data/app/assets/javascripts/mui_app_rails/mui.class.scroll.pullrefresh.js +150 -0
  18. data/app/assets/javascripts/mui_app_rails/mui.class.scroll.slider.js +361 -0
  19. data/app/assets/javascripts/mui_app_rails/mui.class.scroll.slider.old.js +332 -0
  20. data/app/assets/javascripts/mui_app_rails/mui.detect.5+.js +18 -0
  21. data/app/assets/javascripts/mui_app_rails/mui.detect.js +50 -0
  22. data/app/assets/javascripts/mui_app_rails/mui.dialog.alert.js +27 -0
  23. data/app/assets/javascripts/mui_app_rails/mui.dialog.confirm.js +27 -0
  24. data/app/assets/javascripts/mui_app_rails/mui.dialog.prompt.js +33 -0
  25. data/app/assets/javascripts/mui_app_rails/mui.dialog.toast.js +20 -0
  26. data/app/assets/javascripts/mui_app_rails/mui.event.js +160 -0
  27. data/app/assets/javascripts/mui_app_rails/mui.fixed.animation.js +22 -0
  28. data/app/assets/javascripts/mui_app_rails/mui.fixed.classlist.js +50 -0
  29. data/app/assets/javascripts/mui_app_rails/mui.fixed.fastclick.js +64 -0
  30. data/app/assets/javascripts/mui_app_rails/mui.fixed.js +40 -0
  31. data/app/assets/javascripts/mui_app_rails/mui.fixed.keyboard.js +56 -0
  32. data/app/assets/javascripts/mui_app_rails/mui.gestures.drag.js +48 -0
  33. data/app/assets/javascripts/mui_app_rails/mui.gestures.flick.js +30 -0
  34. data/app/assets/javascripts/mui_app_rails/mui.gestures.hold.js +41 -0
  35. data/app/assets/javascripts/mui_app_rails/mui.gestures.js +207 -0
  36. data/app/assets/javascripts/mui_app_rails/mui.gestures.longtap.js +43 -0
  37. data/app/assets/javascripts/mui_app_rails/mui.gestures.swipe.js +29 -0
  38. data/app/assets/javascripts/mui_app_rails/mui.gestures.tap.js +40 -0
  39. data/app/assets/javascripts/mui_app_rails/mui.init.5+.js +441 -0
  40. data/app/assets/javascripts/mui_app_rails/mui.init.js +100 -0
  41. data/app/assets/javascripts/mui_app_rails/mui.init.pullrefresh.js +57 -0
  42. data/app/assets/javascripts/mui_app_rails/mui.js +396 -0
  43. data/app/assets/javascripts/mui_app_rails/mui.jsonp.js +108 -0
  44. data/app/assets/javascripts/mui_app_rails/mui.layout.js +22 -0
  45. data/app/assets/javascripts/mui_app_rails/mui.namespace.js +35 -0
  46. data/app/assets/javascripts/mui_app_rails/mui.number.js +93 -0
  47. data/app/assets/javascripts/mui_app_rails/mui.offcanvas.js +497 -0
  48. data/app/assets/javascripts/mui_app_rails/mui.pullrefresh.js +157 -0
  49. data/app/assets/javascripts/mui_app_rails/mui.target.js +58 -0
  50. data/app/assets/javascripts/mui_app_rails/mui.view.js +172 -0
  51. data/app/assets/javascripts/mui_app_rails/popovers.js +278 -0
  52. data/app/assets/javascripts/mui_app_rails/pullrefresh.5+.js +238 -0
  53. data/app/assets/javascripts/mui_app_rails/push.js +479 -0
  54. data/app/assets/javascripts/mui_app_rails/segmented-controllers.js +99 -0
  55. data/app/assets/javascripts/mui_app_rails/sliders.js +362 -0
  56. data/app/assets/javascripts/mui_app_rails/switches.js +165 -0
  57. data/app/assets/javascripts/mui_app_rails/tableviews.js +512 -0
  58. data/app/assets/javascripts/mui_app_rails.js +1 -0
  59. data/app/assets/stylesheets/mui_app_rails/badges.scss +88 -0
  60. data/app/assets/stylesheets/mui_app_rails/bars.scss +312 -0
  61. data/app/assets/stylesheets/mui_app_rails/base.scss +196 -0
  62. data/app/assets/stylesheets/mui_app_rails/buttons.scss +205 -0
  63. data/app/assets/stylesheets/mui_app_rails/cards.scss +62 -0
  64. data/app/assets/stylesheets/mui_app_rails/forms.scss +452 -0
  65. data/app/assets/stylesheets/mui_app_rails/fullscreen.scss +35 -0
  66. data/app/assets/stylesheets/mui_app_rails/grid.scss +75 -0
  67. data/app/assets/stylesheets/mui_app_rails/hack.scss +14 -0
  68. data/app/assets/stylesheets/mui_app_rails/icon.scss +170 -0
  69. data/app/assets/stylesheets/mui_app_rails/iscroll.scss +43 -0
  70. data/app/assets/stylesheets/mui_app_rails/loadings.scss +111 -0
  71. data/app/assets/stylesheets/mui_app_rails/mixins.scss +212 -0
  72. data/app/assets/stylesheets/mui_app_rails/modals.scss +34 -0
  73. data/app/assets/stylesheets/mui_app_rails/mui.scss +46 -0
  74. data/app/assets/stylesheets/mui_app_rails/normalize.scss +425 -0
  75. data/app/assets/stylesheets/mui_app_rails/number.scss +70 -0
  76. data/app/assets/stylesheets/mui_app_rails/off-canvas.scss +84 -0
  77. data/app/assets/stylesheets/mui_app_rails/os.scss +12 -0
  78. data/app/assets/stylesheets/mui_app_rails/pagination.scss +155 -0
  79. data/app/assets/stylesheets/mui_app_rails/popovers.scss +198 -0
  80. data/app/assets/stylesheets/mui_app_rails/pullrefreshs.scss +98 -0
  81. data/app/assets/stylesheets/mui_app_rails/push.scss +63 -0
  82. data/app/assets/stylesheets/mui_app_rails/scroll.scss +95 -0
  83. data/app/assets/stylesheets/mui_app_rails/segmented-controls.scss +150 -0
  84. data/app/assets/stylesheets/mui_app_rails/slider-cell.scss +20 -0
  85. data/app/assets/stylesheets/mui_app_rails/sliders.scss +133 -0
  86. data/app/assets/stylesheets/mui_app_rails/switches.scss +115 -0
  87. data/app/assets/stylesheets/mui_app_rails/table-views.scss +482 -0
  88. data/app/assets/stylesheets/mui_app_rails/toast.scss +16 -0
  89. data/app/assets/stylesheets/mui_app_rails/type.scss +23 -0
  90. data/app/assets/stylesheets/mui_app_rails/variables.scss +64 -0
  91. data/app/assets/stylesheets/mui_app_rails.css +3 -0
  92. data/lib/mui_app_rails/engine.rb +5 -0
  93. data/lib/mui_app_rails/version.rb +3 -0
  94. data/lib/mui_app_rails.rb +5 -0
  95. metadata +179 -0
@@ -0,0 +1,62 @@
1
+ //
2
+ // Cards
3
+ // --------------------------------------------------
4
+
5
+ .#{$namespace}card {
6
+ margin: 0 15px;
7
+ overflow: hidden;
8
+ background-color: $card-bg;
9
+ border: $border-default;
10
+ background-clip:padding-box;
11
+ border-radius: $border-radius;
12
+ }
13
+
14
+ .#{$namespace}content > .#{$namespace}card:first-child{
15
+ margin-top: 15px;
16
+ }
17
+ //Cards with input-group
18
+ .#{$namespace}card .#{$namespace}input-group{
19
+ &:before,&:after{
20
+ height:0;
21
+ }
22
+ .#{$namespace}input-row:last-child{
23
+ &:before,&:after{
24
+ height:0;
25
+ }
26
+ }
27
+
28
+ }
29
+ // Cards with table-views
30
+ // --------------------------------------------------
31
+ .#{$namespace}card .#{$namespace}table-view {
32
+ margin-bottom: 0;
33
+ border-top: 0;
34
+ border-bottom: 0;
35
+ border-radius: $border-radius;
36
+ // Rounding first divider on carded lists and remove border on the top
37
+ .#{$namespace}table-view-divider:first-child {
38
+ top: 0;
39
+ border-top-left-radius: $border-radius;
40
+ border-top-right-radius: $border-radius;
41
+ }
42
+
43
+ // Rounding last divider on carded table views
44
+ .#{$namespace}table-view-divider:last-child {
45
+ border-bottom-left-radius: $border-radius;
46
+ border-bottom-right-radius: $border-radius;
47
+ }
48
+ &:before,&:after{
49
+ height:0;
50
+ }
51
+ }
52
+
53
+
54
+ // Remove the bottom border from last table cell
55
+ .#{$namespace}card > .#{$namespace}table-view {
56
+ >.#{$namespace}table-view-cell:last-child{
57
+ &:before,&:after{
58
+ height:0;
59
+ }
60
+ }
61
+ }
62
+
@@ -0,0 +1,452 @@
1
+ //
2
+ // Forms
3
+ // --------------------------------------------------
4
+
5
+ // Force form elements to inherit font styles
6
+ input,
7
+ textarea,
8
+ select {
9
+ font-family: $font-family-default;
10
+ font-size: $font-size-default;
11
+ -webkit-tap-highlight-color: rgba(0,0,0,0);
12
+ -webkit-tap-highlight-color: transparent;
13
+ &:focus{
14
+ -webkit-tap-highlight-color: rgba(0,0,0,0);
15
+ -webkit-tap-highlight-color: transparent;
16
+ -webkit-user-modify: read-write-plaintext-only;
17
+ }
18
+ }
19
+
20
+ // Stretch inputs/textareas to full width and add height to maintain a consistent baseline
21
+ select,
22
+ textarea,
23
+ input[type="text"],
24
+ input[type="search"],
25
+ input[type="password"],
26
+ input[type="datetime"],
27
+ input[type="datetime-local"],
28
+ input[type="date"],
29
+ input[type="month"],
30
+ input[type="time"],
31
+ input[type="week"],
32
+ input[type="number"],
33
+ input[type="email"],
34
+ input[type="url"],
35
+ input[type="tel"],
36
+ input[type="color"] {
37
+ width: 100%;
38
+ height: 40px;
39
+ -webkit-appearance: none;
40
+ padding: 10px 15px;
41
+ margin-bottom: 15px;
42
+ line-height: $line-height-default;
43
+ background-color: #fff;
44
+ border: 1px solid rgba(0, 0, 0, .2);
45
+ border-radius: 3px;
46
+ outline: none;
47
+ -webkit-user-select: text;
48
+ }
49
+ //input[type=number]::-webkit-outer-spin-button { margin: 0; }
50
+ //turn off spin button
51
+ input[type=number]::-webkit-inner-spin-button,
52
+ input[type=number]::-webkit-outer-spin-button {
53
+ -webkit-appearance: none;
54
+ margin: 0;
55
+ }
56
+ // Rounded search input
57
+ input[type="search"] {
58
+ font-size: 16px;
59
+ height: 34px;
60
+ text-align: center;
61
+ background-color: rgba(0,0,0,.1);
62
+ border: 0;
63
+ border-radius: 6px;
64
+ // Override content-box in normalize
65
+ -webkit-box-sizing: border-box;
66
+ box-sizing: border-box;
67
+ }
68
+
69
+ input[type="search"]:focus {
70
+ text-align: left;
71
+ }
72
+
73
+ // Allow text area's height to grow larger than a normal input
74
+ textarea {
75
+ height: auto;
76
+ resize: none;
77
+ }
78
+
79
+ // Style select button to look like part of the Ratchet's style
80
+ select {
81
+ margin-top:1px;
82
+ height: auto;
83
+ font-size: 14px;
84
+ background-color: #fff;
85
+ border: 0!important;
86
+ &:focus{
87
+ -webkit-user-modify: read-only;
88
+ }
89
+ }
90
+
91
+
92
+
93
+ // Input groups (cluster multiple inputs together into a single group)
94
+ // -------------------------------------------------------------------
95
+
96
+ // Remove spacing, borders, shadows and rounding since it all belongs on the .#{$namespace}input-group not the input
97
+ .#{$namespace}input-group {
98
+ position: relative;
99
+ padding: 0;
100
+ border: 0;
101
+ background-color: #fff;
102
+ @include hairline(double, #c8c7cc, 0); // Double grey border.
103
+ }
104
+ .#{$namespace}input-group input[type=text],
105
+ .#{$namespace}input-group textarea {
106
+ margin-bottom: 0;
107
+ background-color: transparent;
108
+ border-radius: 0;
109
+ @include box-shadow(none);
110
+ border: 0;
111
+ @include hairline(single, #c8c7cc, 15px);
112
+ }
113
+ .#{$namespace}input-group input[type="search"]{
114
+ background:none;
115
+ }
116
+ .#{$namespace}input-group input:last-child {
117
+ background-image: none;
118
+ }
119
+ // Input groups with labels
120
+ // --------------------------------------------------
121
+ .#{$namespace}input-row {
122
+ clear:left;
123
+ overflow: hidden;
124
+ select{
125
+ padding: 0;
126
+ height: 37px;
127
+ font-size:17px;
128
+ }
129
+ }
130
+ .#{$namespace}input-row:last-child,
131
+ .#{$namespace}input-row label + input,.#{$namespace}input-row .mui-btn + input {
132
+ background-image: none;
133
+ }
134
+ // To use labels with input groups, wrap a label and an input in an .#{$namespace}input-row
135
+ .#{$namespace}input-group .#{$namespace}input-row {
136
+ height: 40px; // Matches the height of inputs.
137
+ @include hairline(single, #c8c7cc, 15px); // Single grey border with a 15px .
138
+ }
139
+ // Labels get floated left with a set percentage width
140
+ .#{$namespace}input-row label {
141
+ float: left;
142
+ width: 35%;
143
+ padding: 10px 15px;
144
+ font-family: $font-family-default;
145
+ line-height: 1.1; // Put the text on the baseline.
146
+ }
147
+ .#{$namespace}input-row label ~
148
+ {
149
+ input,select,textarea{
150
+ float: right;
151
+ width: 65%;
152
+ padding-left: 0;
153
+ margin-bottom: 0;
154
+ border: 0;
155
+ }
156
+ }
157
+ .#{$namespace}input-row .mui-btn {
158
+ float: right;
159
+ width: 15%;
160
+ padding: 10px 15px;
161
+ font-family: $font-family-default;
162
+ line-height: 1.1; // Put the text on the baseline.
163
+ }
164
+ .#{$namespace}input-row .mui-btn ~
165
+ {
166
+ input,select,textarea{
167
+ float: left;
168
+ width: 85%;
169
+ padding-left: 0;
170
+ margin-bottom: 0;
171
+ border: 0;
172
+ }
173
+ }
174
+ .#{$namespace}button-row {
175
+ position: relative;
176
+ padding-top: 5px;
177
+ text-align: center;
178
+ }
179
+ .#{$namespace}input-group .#{$namespace}button-row {
180
+ height: 45px;
181
+ }
182
+ // Actual inputs float to right of labels and also have a set percentage
183
+ .#{$namespace}input-row {
184
+ position:relative;
185
+ &.#{$namespace}input-range{
186
+ padding-right: 20px;
187
+ overflow: visible;
188
+ }
189
+ .#{$namespace}inline{
190
+ padding: 8px 0;
191
+ }
192
+ .#{$namespace}input-clear ~ .#{$namespace}icon-clear,.#{$namespace}input-speech ~ .#{$namespace}icon-speech{
193
+ position:absolute;
194
+ right: 0px;
195
+ top: 10px;
196
+ font-size: 20px;
197
+ height: 38px;
198
+ width: 38px;
199
+ text-align: center;
200
+ color:#999;
201
+ z-index: z("default");
202
+ }
203
+ .#{$namespace}input-speech ~ .#{$namespace}icon-speech{
204
+ top:8px;
205
+ font-size:24px;
206
+ }
207
+ .#{$namespace}input-clear ~ .#{$namespace}icon-clear {
208
+ ~ .#{$namespace}icon-speech{
209
+ display:none;
210
+ }
211
+ &.#{$namespace}hidden{
212
+ ~ .#{$namespace}icon-speech{
213
+ display:inline-block;
214
+ }
215
+ }
216
+ }
217
+ .#{$namespace}icon-speech ~ .#{$namespace}placeholder{
218
+ right:38px;
219
+ }
220
+ &.#{$namespace}search{
221
+ .#{$namespace}icon-clear{
222
+ top:7px;
223
+ }
224
+ .#{$namespace}icon-speech{
225
+ top:5px;
226
+ }
227
+ }
228
+ }
229
+
230
+ //radio,checkbox
231
+ .#{$namespace}radio,.#{$namespace}checkbox{
232
+ position:relative;
233
+ label{
234
+ float: none;
235
+ display: inline-block;
236
+ width: 100%;
237
+ padding-right: 58px;
238
+ }
239
+
240
+ }
241
+ .#{$namespace}radio.#{$namespace}left input[type="radio"],.#{$namespace}checkbox.#{$namespace}left input[type="checkbox"]{
242
+ left:20px;
243
+ }
244
+ .#{$namespace}radio.#{$namespace}left label,.#{$namespace}checkbox.#{$namespace}left label{
245
+ padding-left: 58px;
246
+ padding-right: 15px;
247
+ }
248
+ .#{$namespace}radio input[type="radio"],.#{$namespace}checkbox input[type="checkbox"]{
249
+ -webkit-appearance:none;
250
+ outline: 0!important;
251
+ width: 28px;
252
+ border: 0;
253
+ height: 26px;
254
+ display: inline-block;
255
+ position: absolute;
256
+ right: 20px;
257
+ top: 4px;
258
+ //设置背景色,否则在Ios上会有黑色边框;
259
+ background-color:transparent;
260
+ &[disabled]:before{
261
+ opacity: .3;
262
+ }
263
+ &:before{
264
+ font-family: Muiicons;
265
+ font-weight: normal;
266
+ border-radius: 0;
267
+ font-size: 28px;
268
+ line-height: 1;
269
+ text-decoration: none;
270
+ -webkit-font-smoothing: antialiased;
271
+ color: rgb(170, 170, 170);
272
+ background: none;
273
+ }
274
+ &:checked:before{
275
+ color:$primary-color;
276
+ }
277
+
278
+ }
279
+ .#{$namespace}radio.#{$namespace}disabled label,.#{$namespace}radio label.#{$namespace}disabled,.#{$namespace}checkbox.#{$namespace}disabled label,.#{$namespace}checkbox label.#{$namespace}disabled{
280
+ opacity: .4;
281
+ }
282
+ .#{$namespace}radio input[type="radio"]:before{
283
+ content: "\e411";
284
+ }
285
+ .#{$namespace}radio input[type="radio"]:checked:before{
286
+ content: "\e441";
287
+ }
288
+ .#{$namespace}checkbox input[type="checkbox"]:before{
289
+ content: "\e411";
290
+ }
291
+ .#{$namespace}checkbox input[type="checkbox"]:checked:before{
292
+ content: "\e442";
293
+ }
294
+
295
+
296
+ .#{$namespace}select{
297
+ position: relative;
298
+ }
299
+ .#{$namespace}select:before{
300
+ position: absolute;
301
+ top: 8px;
302
+ color:rgba(170, 170, 170, 0.6);
303
+ font-family: Muiicons;
304
+ right: 21px;
305
+ content: '\e581';
306
+ }
307
+
308
+
309
+ .#{$namespace}input-row .#{$namespace}switch{
310
+ float: right;
311
+ margin-top: 5px;
312
+ margin-right: 20px;
313
+ }
314
+ //show the min and max
315
+ .#{$namespace}input-range{
316
+ input[type="range"] {
317
+ -webkit-appearance: none!important;
318
+ cursor: pointer;
319
+ border: 0;
320
+ outline: none;
321
+ padding: 0;
322
+ margin: 17px 0;
323
+ background-color: #999;
324
+ height: 2px;
325
+ border-radius: 3px;
326
+ position: relative;
327
+ width:100%;
328
+ }
329
+
330
+ input[type='range']::-webkit-slider-thumb {
331
+ -webkit-appearance: none!important;
332
+ background-color:$primary-color;
333
+ background-clip: padding-box;
334
+ height:28px;
335
+ width:28px;
336
+ border-radius: 50%;
337
+ border-color: darken($primary-color, 10%);
338
+ }
339
+ /*input[type="range"] {
340
+ -webkit-appearance: none;
341
+ background: #999;
342
+ height: 36px;
343
+ border-radius: 1px;
344
+ overflow: hidden;
345
+ margin-top: 2px;
346
+ margin-bottom: 2px;
347
+ outline:none;
348
+ position:relative;
349
+ width:100%;
350
+ }*/
351
+ label ~ input[type="range"]{
352
+ width:65%;
353
+ }
354
+
355
+ /*input[type='range']::-webkit-slider-thumb {
356
+ -webkit-appearance: none!important;
357
+ opacity: 0.5;
358
+ height:28px;
359
+ width:28px;
360
+ border-radius: 50%;
361
+ background:#00b7fb;
362
+ position: relative;
363
+ pointer-events: none;
364
+ -webkit-box-sizing: border-box;
365
+ box-sizing: border-box;
366
+ &:before{
367
+ position: absolute;
368
+ top: 13px;
369
+ left: -2000px;
370
+ width: 2000px;
371
+ height: 2px;
372
+ background: #00b7fb;
373
+ content:' ';
374
+ }
375
+ }*/
376
+ .#{$namespace}tooltip{
377
+ width: 64px;
378
+ height: 64px;
379
+ font-size: 36px;
380
+ line-height:64px;
381
+ opacity: .8;
382
+ background-color: #fff;
383
+ border:1px solid #ddd;
384
+ border-radius:6px;
385
+ color: #333;
386
+ text-shadow: 0 1px 0 #f3f3f3;
387
+ position:absolute;
388
+ top:-70px;
389
+ text-align:center;
390
+ z-index:z("default");
391
+ }
392
+ }
393
+ //.#{$namespace}bar .#{$namespace}input-row.#{$namespace}search .#{$namespace}icon-speech{
394
+ // top: -2px;
395
+ // right: 10px;
396
+ //}
397
+ .#{$namespace}search{
398
+ position: relative;
399
+ input[type="search"]{
400
+ padding-left:30px;
401
+ }
402
+ .#{$namespace}placeholder{
403
+ height: 34px;
404
+ font-size: 16px;
405
+ line-height:34px;
406
+ text-align: center;
407
+ background:none;
408
+ border: 0;
409
+ color:#999;
410
+ border-radius: 6px;
411
+ display:inline-block;
412
+ position:absolute;
413
+ top: 0;
414
+ left: 0;
415
+ right: 0;
416
+ bottom: 0;
417
+ z-index:z("default");
418
+ .#{$namespace}icon{
419
+ color:#333;
420
+ font-size:20px;
421
+ }
422
+ }
423
+
424
+ &:before{
425
+ position: absolute;
426
+ font-family: Muiicons;
427
+ font-weight: normal;
428
+ font-size: 20px;
429
+ right: 50%;
430
+ margin-right:31px;
431
+ top: 50%;
432
+ margin-top: -18px;
433
+ content: '\e466';
434
+ display:none;
435
+ }
436
+ &.#{$namespace}active{
437
+ &:before{
438
+ left:5px;
439
+ right:auto;
440
+ margin-right:0;
441
+ font-size:20px;
442
+ display:block;
443
+ }
444
+ input[type="search"]{
445
+ text-align:left;
446
+ }
447
+ .#{$namespace}placeholder{
448
+ display:none;
449
+ }
450
+ }
451
+ }
452
+
@@ -0,0 +1,35 @@
1
+ .#{$namespace}fullscreen{
2
+ position: absolute;
3
+ top: 0;
4
+ right: 0;
5
+ bottom: 0;
6
+ left: 0;
7
+ width: 100%;
8
+ height: 100%;
9
+ .#{$namespace}slider-group{
10
+ height:100%;
11
+
12
+ }
13
+ .#{$namespace}segmented-control ~ .#{$namespace}slider-group{
14
+ width:100%;
15
+ height:auto;
16
+ top:40px;
17
+ bottom:0;
18
+ position: absolute;
19
+ }
20
+ .#{$namespace}slider-item>a{
21
+ top: 50%;
22
+ transform: translateY(-50%);
23
+ -webkit-transform: translateY(-50%);
24
+ }
25
+ .#{$namespace}off-canvas-wrap .#{$namespace}slider-item>a{
26
+ top: auto;
27
+ transform: none;
28
+ -webkit-transform: none;
29
+ }
30
+ }
31
+ .#{$namespace}bar-tab ~ .#{$namespace}content .#{$namespace}slider.#{$namespace}fullscreen{
32
+ .#{$namespace}segmented-control ~ .#{$namespace}slider-group{
33
+ bottom:50px;
34
+ }
35
+ }
@@ -0,0 +1,75 @@
1
+ .#{$namespace}col-xs-12 {
2
+ width: 100%;
3
+ }
4
+ .#{$namespace}col-xs-11 {
5
+ width: 91.66666667%;
6
+ }
7
+ .#{$namespace}col-xs-10 {
8
+ width: 83.33333333%;
9
+ }
10
+ .#{$namespace}col-xs-9 {
11
+ width: 75%;
12
+ }
13
+ .#{$namespace}col-xs-8 {
14
+ width: 66.66666667%;
15
+ }
16
+ .#{$namespace}col-xs-7 {
17
+ width: 58.33333333%;
18
+ }
19
+ .#{$namespace}col-xs-6 {
20
+ width: 50%;
21
+ }
22
+ .#{$namespace}col-xs-5 {
23
+ width: 41.66666667%;
24
+ }
25
+ .#{$namespace}col-xs-4 {
26
+ width: 33.33333333%;
27
+ }
28
+ .#{$namespace}col-xs-3 {
29
+ width: 25%;
30
+ }
31
+ .#{$namespace}col-xs-2 {
32
+ width: 16.66666667%;
33
+ }
34
+ .#{$namespace}col-xs-1 {
35
+ width: 8.33333333%;
36
+ }
37
+ @media (min-width: 400px) {
38
+ .#{$namespace}col-sm-12 {
39
+ width: 100%;
40
+ }
41
+ .#{$namespace}col-sm-11 {
42
+ width: 91.66666667%;
43
+ }
44
+ .#{$namespace}col-sm-10 {
45
+ width: 83.33333333%;
46
+ }
47
+ .#{$namespace}col-sm-9 {
48
+ width: 75%;
49
+ }
50
+ .#{$namespace}col-sm-8 {
51
+ width: 66.66666667%;
52
+ }
53
+ .#{$namespace}col-sm-7 {
54
+ width: 58.33333333%;
55
+ }
56
+ .#{$namespace}col-sm-6 {
57
+ width: 50%;
58
+ }
59
+ .#{$namespace}col-sm-5 {
60
+ width: 41.66666667%;
61
+ }
62
+ .#{$namespace}col-sm-4 {
63
+ width: 33.33333333%;
64
+ }
65
+ .#{$namespace}col-sm-3 {
66
+ width: 25%;
67
+ }
68
+ .#{$namespace}col-sm-2 {
69
+ width: 16.66666667%;
70
+ }
71
+ .#{$namespace}col-sm-1 {
72
+ width: 8.33333333%;
73
+ }
74
+
75
+ }
@@ -0,0 +1,14 @@
1
+ .#{$namespace}android.#{$namespace}android-4-0 {
2
+ input,
3
+ textarea{
4
+ &:focus{
5
+ //修复4.0.x系统的输入框无法正常输入文字
6
+ -webkit-user-modify: inherit;
7
+ }
8
+ }
9
+ }
10
+ //解决ios list 过多(height>20000px) crash的bug
11
+ .#{$namespace}ios .#{$namespace}table-view-cell {
12
+ -webkit-transform-style: preserve-3d;
13
+ transform-style: preserve-3d;
14
+ }