lookitui 0.1.1.beta → 0.1.2.beta

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.
Files changed (39) hide show
  1. checksums.yaml +8 -8
  2. data/lib/{seeui.rb → lookitui.rb} +2 -2
  3. data/stylesheets/_lookitui.scss +3 -3
  4. data/stylesheets/_toolbar.scss +1 -0
  5. data/stylesheets/lookitui/_all.scss +11 -0
  6. data/stylesheets/lookitui/_box.scss +1 -0
  7. data/stylesheets/lookitui/_button.scss +1 -1
  8. data/stylesheets/lookitui/_form.scss +1 -1
  9. data/stylesheets/lookitui/_func.scss +194 -50
  10. data/stylesheets/lookitui/_gotop.scss +1 -0
  11. data/stylesheets/lookitui/_list.scss +1 -0
  12. data/stylesheets/lookitui/_loading.scss +1 -0
  13. data/stylesheets/lookitui/_reset.scss +1 -161
  14. data/stylesheets/lookitui/_tab.scss +1 -0
  15. data/stylesheets/lookitui/_toolbar.scss +1 -0
  16. data/stylesheets/lookitui/_ui-slider.scss +4 -5
  17. data/stylesheets/lookitui/_ui-toolbar.scss +54 -51
  18. data/stylesheets/lookitui/_vars.scss +1 -1
  19. data/stylesheets/lookitui/base/0.1/base.scss +29 -0
  20. data/stylesheets/lookitui/base/0.1/normalize.scss +397 -0
  21. data/stylesheets/lookitui/base/{1.0 → 0.1}/phone.scss +0 -0
  22. data/stylesheets/lookitui/base/{1.0 → 0.1}/reset.scss +0 -0
  23. data/stylesheets/lookitui/box/0.1/box.scss +27 -0
  24. data/stylesheets/lookitui/button/0.1/button.scss +46 -0
  25. data/stylesheets/lookitui/form/{1.0 → 0.1}/form.scss +6 -6
  26. data/stylesheets/lookitui/gotop/0.1/gotop.scss +21 -0
  27. data/stylesheets/lookitui/list/0.1/list.scss +41 -0
  28. data/stylesheets/lookitui/loading/0.1/loading.scss +209 -0
  29. data/stylesheets/lookitui/tab/0.1/tab.scss +17 -0
  30. data/stylesheets/lookitui/toolbar/0.1/toolbar.scss +79 -0
  31. data/templates/project/_lookitui.scss +7 -0
  32. data/templates/project/manifest.rb +1 -1
  33. metadata +23 -11
  34. data/stylesheets/lookitui/_ui-form.scss +0 -58
  35. data/stylesheets/lookitui/_ui-slider.gionee.scss +0 -9
  36. data/stylesheets/lookitui/_ui-toolbar.gionee.scss +0 -13
  37. data/stylesheets/lookitui/base/1.0/base.scss +0 -39
  38. data/stylesheets/lookitui/button/1.0/button.scss +0 -23
  39. data/templates/project/_seeui.scss +0 -7
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NzNmYjIxNGYyNTU1YzYxYjZiZjZmOWY2Mzg1ZDJjNzlhYjY3NDlmYQ==
4
+ MGNjNDJhMDIzNmZjOGIzOGMwYWY3YWUwMTI0YTNkNzMyM2YwNDQ5Yw==
5
5
  data.tar.gz: !binary |-
6
- ZTQyNGQ1NzM3NDFkM2E0YmEzYTcyMTY1ODdkZjIyZmM4N2UzZTM0YQ==
6
+ YTJiMmU4NmIyZTBjNWQwMDY0ZDhmYWVmMThiYWQzZWI2ZTlhMzlkMA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YTIzZGI2MzExYWZkNjNlZGIzZDIzM2FkY2JmMzVhMWEyYjE3YzhiNWZkNGZk
10
- ZjkyNDI1MDIxY2VlYjdjZjdmOWMzM2ZjYTAwMDExYjdhZmRkZmY5OTBlMmQ1
11
- ZjU1OTFkOWVjMmNiMmQzMjQ2MTRkYmYwZDdiNTNkOGZiNTJlMTI=
9
+ OWYxMGJjNDA2ZjQzM2FiNWE4NDVlN2FmYzI2NTM0MWY3MWVjZDA4YWI4ZTU1
10
+ MjNhOGE1YTBlNDVjZDg3ZGEyZTE1N2Q1Y2FkZDEyM2IxOThmZTUwNjZhMTc1
11
+ MzgwNzU4YTg3ZGNiZGE0NjQyOGQ3YWQ5NTU1YTU4YmRiNTFiZmY=
12
12
  data.tar.gz: !binary |-
13
- NDI4OTlmZGY5ZjJmZmZhYTBlOThkNWZmNDFlM2UwMjgwZDIwN2YxZmE5ZjNj
14
- ODk1Yzk0MWZkMGE3ZDU1ZTY1MzNhOGEzYzZkMTRiNTljNWJjOGNlNjZkNjQ4
15
- NzM4YjkyOTcwMjEyZWUwNDgwMzA0ZTI0OTY2NjdmMGI5M2NjNDM=
13
+ ZDExY2ZhMzA5OTBmMmQ4ZDk5ZjA2ZjMzMjI1ZGE1NTU3OWUzMjNlYThiZmUy
14
+ MjkwNDIyZDk2ZDUzOGE5NTRkNDA1MWNlNzNkYjVhOWU1NGJjZjNmMmM3MjZl
15
+ NzM5ZDljYTBkNDY2NTAyNTM4NDY4NTk4OWJkNDZkNWQzMjMyNzY=
@@ -18,9 +18,9 @@
18
18
  #Compass::Frameworks.register('seeui', :path => extension_path)
19
19
 
20
20
  require 'compass'
21
- Compass::Frameworks.register("seeui", :path => "#{File.dirname(__FILE__)}/..")
21
+ Compass::Frameworks.register("lookitui", :path => "#{File.dirname(__FILE__)}/..")
22
22
 
23
- module Seeui
23
+ module Lookitui
24
24
 
25
25
  VERSION = "0.1"
26
26
  DATE = "2013-06-01"
@@ -1,5 +1,5 @@
1
1
  // This is your framework's main stylesheet. Use it to import all default modules.
2
2
  @import "compass/css3";
3
- @import "lookit/base/1.0/base";
4
- @import "lookit/vars";
5
- @import "lookit/func";
3
+ @import "lookitui/vars";
4
+ @import "lookitui/base/1.0/base";
5
+ @import "lookitui/func";
@@ -0,0 +1 @@
1
+ @import "toolbar/0.1/toolbar.scss";
@@ -0,0 +1,11 @@
1
+ @import "lookitui/vars";
2
+ @import "lookitui/reset";
3
+ @import "lookitui/func";
4
+ @import "lookitui/ui-refresh";
5
+ @import "lookitui/form";
6
+ @import "lookitui/box";
7
+ @import "lookitui/button";
8
+ @import "lookitui/list";
9
+ @import "lookitui/loading";
10
+ @import "lookitui/toolbar";
11
+ @import "lookitui/gotop";
@@ -0,0 +1 @@
1
+ @import "lookitui/box/0.1/box";
@@ -1 +1 @@
1
- @import "button/1.0/button.scss";
1
+ @import "button/0.1/button.scss";
@@ -1 +1 @@
1
- @import "form/1.0/form.scss";
1
+ @import "form/0.1/form.scss";
@@ -2,6 +2,12 @@
2
2
 
3
3
  @mixin lg($dir, $col1, $col2){background-color:$col2; @include background-image(linear-gradient($dir, $col1, $col2));}
4
4
 
5
+ /**
6
+ * ==============================================================================
7
+ * 功能性的函数命名规则为:fn-函数功能名称
8
+ * ==============================================================================
9
+ */
10
+
5
11
  /**
6
12
  * 自定义方向小箭头
7
13
  *
@@ -12,7 +18,7 @@
12
18
  * @param $bc 边框颜色
13
19
  * @param $der 箭头方向
14
20
  */
15
- @mixin arrow($wh:5px,$mrt:0,$posr:10px,$bw:2px,$bc:#7e7e7e,$der:left){
21
+ @mixin fn-arrow($wh:5px,$mrt:0,$posr:10px,$bw:2px,$bc:#7e7e7e,$der:left){
16
22
  &::after{
17
23
  content:''; display:block; position:absolute; top:50%; margin-top:-$wh/2;
18
24
  width:$wh; height:$wh;
@@ -36,6 +42,19 @@
36
42
  }
37
43
  };
38
44
 
45
+ /**
46
+ * new add
47
+ */
48
+ @mixin fn-arrow-right($wh:6px, $mrt:0, $posr:10px, $bw:2px, $bc:#7e7e7e){
49
+ &::after{
50
+ content:""; display:block; position:absolute; top:50%; margin-top:-$wh/2;
51
+ width:$wh; height:$wh;
52
+ border:1px $bc solid; border-width:$bw 0 0 $bw;
53
+ right:$posr; margin-top:$mrt;
54
+ @include transform(rotate(45deg+90));
55
+ }
56
+ }
57
+
39
58
  /**
40
59
  * @param $name 自定义字体的名称
41
60
  * @param $path 算定义字体的路径
@@ -51,43 +70,118 @@
51
70
  }
52
71
  }
53
72
 
54
- //old mixin
73
+ /**
74
+ * 解决css3动画引起页面图片及文字抖动问题
75
+ */
76
+ @mixin fn-no-flick{
77
+ -moz-backface-visibility: hidden; /* Firefox */
78
+ -webkit-backface-visibility:hidden; /* Chrome and Safari */
79
+ -webkit-transform-style:preserve-3d;
80
+ backface-visibility: hidden;
81
+ }
55
82
 
56
- @mixin in-top-panel{
57
83
  /**
58
- * --------------------------------------------------------------------------
59
- * ++ 页面顶部带返回功能的panel基本样式 STYLE
60
- * -------------------------------------------------------------------------
84
+ * 清除浮动
61
85
  */
62
- #header{
63
- .m-nav{
64
- height:44*$px; display:-webkit-box; -webkit-box-align:center; background:#dedede;
65
- & section{
66
- &:nth-child(1){
67
- min-width:44*$px;
68
- .back{width:44*$px; height:44*$px; text-indent:-9999*$px; overflow:hidden;@include arrow($wh:8px,$bw:3px,$der:left);}
69
- .back:active{background:rgba(0,0,0,.5);}
70
- }
71
- &:nth-child(2){
72
- -webkit-box-flex:1; text-align:center;
73
- span{display:block; padding:0 10*$px; font-size:18*$font-x; font-weight:bold; color:#333; white-space:nowrap; text-overflow:ellipsis; overflow:hidden;}
74
- }
75
- &:nth-child(3){min-width:44*$px;}
76
- }
77
- }
86
+ @mixin fn-clearfix{
87
+ .clearfix::after{
88
+ content:"";
89
+ display:block;
90
+ postion:absolute; left:0; top:0;
91
+ width:0; height:0;
92
+ font-size:0;
93
+ clear:both;
94
+ }
95
+ }
96
+
97
+ /**
98
+ * 超出的文字自动隐藏
99
+ */
100
+ @mixin fn-text-overflow{
101
+ overflow:hidden; white-space:nowrap; text-overflow:ellipsis;
102
+ }
103
+
104
+ /**
105
+ * 网站图片变灰(适合特殊事件、特定时间),目前仅主流浏览器支持(移动端浏览器暂不支持)
106
+ */
107
+ @mixin fn-grayscale{
108
+ html {
109
+ -webkit-filter: grayscale(100%);
110
+ -moz-filter: grayscale(100%);
111
+ -ms-filter: grayscale(100%);
112
+ -o-filter: grayscale(100%);
113
+ filter:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='grayscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0'/></filter></svg>#grayscalerayscale");
114
+ filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
115
+ zoom: 1;
78
116
  }
79
117
  }
80
118
 
81
- @mixin in-bottom-panel(){
119
+ //old mixin
120
+
82
121
  /**
83
122
  * --------------------------------------------------------------------------
84
- * ++ 页面底部版权信息的panel基本样式 STYLE
123
+ * ++ 页面顶部带返回功能的panel基本样式 STYLE
85
124
  * -------------------------------------------------------------------------
86
125
  */
87
- #footer{
88
- .button .btn-top{width:70%;}
89
- .copyright{text-align:center; font-size:12*$font-x; line-height:150%;}
90
- }
126
+ @mixin ui-top-panel($height:40px, $background:#dedede){
127
+ .ui-toolbar {
128
+ width:100%;
129
+ z-index: 999
130
+ }
131
+
132
+ .ui-toolbar-wrap {
133
+ height:$height; background:$background;
134
+ position: relative;
135
+ }
136
+
137
+ .ui-toolbar-placeholder {
138
+ margin: 0;
139
+ padding: 0;
140
+ border: 0;
141
+ overflow: visible;
142
+ position: relative;
143
+ }
144
+
145
+ .ui-toolbar-title {
146
+ height: 100%;
147
+ }
148
+
149
+ .ui-toolbar-backbtn {
150
+ display: block;
151
+ position: relative;
152
+ float: left;
153
+ cursor: pointer;
154
+ -webkit-box-sizing:border-box;
155
+ box-sizing:border-box;
156
+ -webkit-user-select: none;
157
+ user-select: none;
158
+ }
159
+
160
+ .ui-toolbar-left, .ui-toolbar-right {
161
+ position: absolute;
162
+ top:0;
163
+ height: 100%;
164
+ }
165
+
166
+ .ui-toolbar-left {
167
+ left: 0;
168
+ }
169
+ .ui-toolbar-right {
170
+ top:0;
171
+ right:0;
172
+ }
173
+ .ui-toolbar-left > * {
174
+ display: inline-block;
175
+ float: left;
176
+ margin-right:5px;
177
+ text-align: center;
178
+ }
179
+ .ui-toolbar-right > * {
180
+ display: inline-block;
181
+ float: right;
182
+ margin-right:10px;
183
+ text-align: center;
184
+ }
91
185
  }
92
186
 
93
187
  @mixin in-tab(){
@@ -104,33 +198,83 @@
104
198
  }
105
199
  }
106
200
 
107
- @mixin in-slider($pic-normal-width:auto,$pic-normal-height:auto,$handle:0){
108
- /**
109
- * --------------------------------------------------------------------------
110
- * ++ 图片效果基本样式 STYLE
111
- * -------------------------------------------------------------------------
112
- */
113
- .in-slider{
114
- position:relative; width:$pic-normal-width; height:$pic-normal-height; margin:0 auto; overflow:hidden;
115
- .in-slider-cont{
116
- height:100%; position:relative; overflow:hidden;
117
- ul{display:-webkit-box; -webkit-box-align:center;}
118
- ul li{
119
- overflow:hidden; width:$pic-normal-width; height:$pic-normal-height;
201
+ @mixin ui-slider(){
202
+ /**
203
+ * --------------------------------------------------------------------------
204
+ * ++ 幻灯片效果基本样式 STYLE
205
+ * -------------------------------------------------------------------------
206
+ */
207
+
208
+ .ui-slider{
209
+ position:relative;
210
+ margin:0 auto;
211
+ overflow:hidden;
212
+ }
213
+
214
+ .ui-slider-wrap{
215
+ position:relative;
216
+ height:100%;
217
+ overflow:hidden;
218
+ }
219
+
220
+ .ui-slider-pic{
221
+ display:-webkit-box;
222
+ -webkit-box-align:center;
223
+ }
224
+
225
+ .ui-slider-pic > *{
226
+
227
+ }
228
+
229
+ .ui-slider-handle{
230
+ position:absolute;
231
+ }
232
+
233
+ //轮播图片
234
+ .ui-slider{
235
+ .ui-slider-wrap{width:320px; @extend .com-media-width; margin:0 auto; position:relative; overflow:hidden;}
236
+ .ui-slider-content{width:100%; height:100%; position:relative; overflow:hidden;}
237
+ .ui-slider-pic{
238
+ display:-webkit-box; -webkit-box-align:center; -webkit-box-pack:center;
239
+ li{
240
+ width:320px; @extend .com-media-width; overflow:hidden; position:relative;
241
+ img{width:320px; @extend .com-media-width; height:auto;}
120
242
  }
121
- img{width:100%; height:auto;}
122
243
  }
123
-
124
- .in-slider-status{
125
- position:absolute; bottom:0; width:100%; height:3px; background:rgba(51,51,51,0.5); display:-webkit-box;
126
- span{display:block; -webkit-box-flex:1; height:100%; overflow:hidden;}
244
+
245
+ .ui-slider-text{
246
+ li{
247
+ a{display:block;}
248
+ a:last-child{position:absolute; left:0; bottom:0; z-index:10; width:100%; height:26px; line-height:26px; overflow:hidden; background:rgba(132,132,132,.55);}
249
+ span{color:#fff; padding-left:10px;}
250
+ }
251
+ }
252
+ /** 线条 **/
253
+ .ui-slider-handle-line{
254
+ position:absolute; left:0; bottom:0; width:100%; height:3px; overflow:hidden;
255
+ background:rgba(51,51,51,0.5); display:-webkit-box;
256
+ span{display:block; -webkit-box-flex:1; height:100%;}
127
257
  span.on{background:#FF7E00;}
128
258
  }
129
-
130
- /*.in-slider-prev,.in-slider-next{}
131
- .in-slider-prev{}
132
- .in-slider-next{}*/
259
+ /** 方形 **/
260
+ .ui-slider-handle-square{
261
+ position:absolute; right:10px; bottom:10px; overflow:hidden; line-height:0;
262
+ span{display:inline-block; background:#fff; width:6px; height:6px; margin-left:2px;}
263
+ span.on{background:#e05a3f;}
264
+ }
265
+ /** 圆形 **/
266
+ .ui-slider-handle-circle{
267
+ position:absolute; right:10px; bottom:10px; z-index:11; overflow:hidden; line-height:0;
268
+ span{
269
+ display:inline-block; width:6px; height:6px; background:#fff;
270
+ @include border-radius(50% 50%);
271
+ }
272
+ span.on{background:#e05a3f;}
273
+ }
133
274
  }
275
+
276
+ //media query conponent
277
+ @media all and (min-width:359px){.com-media-width{width:360px;}}
134
278
  }
135
279
 
136
280
  @mixin in-form(){
@@ -0,0 +1 @@
1
+ @import "gotop/0.1/gotop.scss";
@@ -0,0 +1 @@
1
+ @import "list/0.1/list.scss";
@@ -0,0 +1 @@
1
+ @import "lookitui/loading/0.1/loading";
@@ -1,161 +1 @@
1
- @charset "UTF-8";
2
- @mixin GIONEE_WEBSITE_REST($MODEL){
3
- @if ($MODEL == REST_ENV_PX){
4
- //完全采用Pixel方式
5
- @include GIONEE_REST_ENV_PX();
6
- }
7
- @else if ($MODEL == REST_ENV_REM){
8
- //完全采用REM等比缩放方式
9
- @include GIONEE_REST_ENV_REM();
10
- }
11
- @else if ($MODEL == REST_ENV_PC){
12
- //兼容PC端多浏览器模式下的全新方式
13
- @include GIONEE_REST_ENV_PC();
14
- }
15
- }
16
-
17
- @mixin GIONEE_REST_ENV_PX(){
18
- body,div,p,form,input,h1,h2,h3,h4,h5,ul,ol,li,dl,dt,dd,table,tbody,tr,td,textarea,img,iframe,figure{margin:0; padding:0; list-style:none; vertical-align:middle;}
19
- body{font-size:14px/1.5; font-family:"\5FAE\8F6F\96C5\9ED1",Helvetica,Arial; color:#000; -webkit-user-select:none; -webkit-text-size-adjust:none;}
20
- *{-webkit-tap-highlight-color:rgba(0,0,0,0);}
21
- img{border:0; -webkit-touch-callout:none;} a,*[onclick]{-webkit-tap-highlight-color:rgba(0,0,0,0); text-decoration:none; color:#000;}
22
-
23
- .clearfix::after{visibility:hidden; display:block; font-size:0; content:" "; clear:both; height:0;}
24
-
25
- .no-flick{
26
- //解决css3动画引起页面图片及文字抖动问题
27
- -moz-backface-visibility: hidden; /* Firefox */
28
- -webkit-backface-visibility:hidden; /* Chrome and Safari */
29
- -webkit-transform-style:preserve-3d;
30
- backface-visibility: hidden;
31
- }
32
- }
33
-
34
- @mixin GIONEE_REST_ENV_REM(){
35
- /*
36
- * 1rem=20px for 320px(中低端分辨率).
37
- * 1rem=22.5px for 360px(高端分辨率).
38
- */
39
- html{font-size:20px; -webkit-text-size-adjust:none;}
40
- @media all and (min-width:359px){.uc-hack{font-size:22.5px;}}
41
- @media all and (min-width:359px) and (-webkit-min-device-pixel-ratio:1.5){html{font-size:22.5px;}}
42
- /* @media all and (min-width:359px) and (-webkit-min-device-pixel-ratio:1.5) and (orientation:landscape){html{font-size:14px;}}
43
- @media all and (max-width:320px) and (-webkit-device-pixel-ratio:1.5) and (orientation:landscape){html{font-size:14px;}} */
44
- body{font:1rem/1 "\5FAE\8F6F\96C5\9ED1","\5b8b\4f53",Tahoma,Helvetica,Arial,sans-serif;}
45
-
46
- html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,dl,dt,dd,ol,ul,li,
47
- a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,
48
- s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,
49
- fieldset,form,label,legend,able,caption,tbody,tfoot,thead,tr,th,td,
50
- article,aside,canvas,details,embed,figure,figcaption,footer,header,
51
- hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0; padding:0; -webkit-tap-highlight-color:rgba(0,0,0,0);}
52
-
53
- fieldset,img{border:none;}
54
- img{width:100%; max-width:16rem; height:auto;}
55
- a{text-decoration:none;}
56
- a, a:active{color:#333;}
57
-
58
- address,caption,cite,code,dfn,em,th,var{font-style:normal; font-weight:normal;}
59
- ul,ol,dl,li,dt,dd{list-style:none;}
60
- h1,h2,h3,h4,h5,h6{font-size:1rem; font-weight:normal;}
61
- q:before,q:after{content:"";}
62
- abbr,acronym{border:none; font-variant:normal;}
63
-
64
- /* to preserve line-height and selector appearance */
65
- sup{vertical-align:text-top;}
66
- sub{vertical-align:text-bottom;}
67
-
68
- a:focus, input, textarea{outline:none; border:0;}
69
- input,button,textarea,select{font-family:inherit; font-size:inherit; font-weight:inherit; outline:none;}
70
- img,input,button,select{vertical-align:middle;}
71
- textarea{resize:none;}
72
-
73
- /* fixed-width elements */
74
- pre,code,kbd,samp,tt{font-family:"CourierNew",Courier,monospace;}
75
-
76
- /* reset HTML5 elements */
77
- mark{background:#ff0;}
78
-
79
- /* the dead elements */
80
- s,u{text-decoration:none;}
81
- b{font-weight:normal;}
82
- i{font-style:normal;}
83
-
84
- /***********************************************
85
- * Common Class
86
- ***********************************************/
87
- .hidden{display:none;}
88
- .invisible{visibility:hidden;}
89
-
90
- .floatleft{float:left !important;}
91
- .floatright{float:right !important;}
92
-
93
- .clearfix:after{content:"\0020"; display:block; height:0; clear:both;}
94
- .clear{clear:both;}
95
- .oz{overflow:hidden;}
96
- }
97
-
98
- @mixin GIONEE_REST_ENV_PC(){
99
- //暂时放置 未优化时本地REST
100
- /*CSS Reset*/
101
- *{margin:0; padding:0;}
102
- //*{-webkit-tap-highlight-color:rgba(0,0,0,0);}
103
- body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,textarea,select,optgroup,option,fieldset,legend,p,blockquote,th,td{
104
- -webkit-tap-highlight-color:rgba(0,0,0,0);
105
- -webkit-user-select: none;
106
- -webkit-touch-callout: none;
107
- }
108
- input,button,textarea,select,optgroup,option {
109
- font-family: inherit;
110
- font-size: inherit;
111
- font-style: inherit;
112
- font-weight: inherit;
113
- color: inherit;
114
- }
115
- article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary {
116
- display:block;-webkit-tap-highlight-color:rgba(0,0,0,0);
117
- }
118
-
119
- table{border-collapse: collapse;border-spacing: 0;}
120
- h1,h2,h3,h4,h5,h6{font-size: 100%;}
121
- ul,ol,li{list-style: none;}
122
- em,i{font-style:normal;}
123
- img{border:none;}
124
- input,img{vertical-align:middle;}
125
- a{text-decoration:none;}
126
-
127
- //html{font-size:100%;overflow-y:scroll;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}
128
-
129
- /*
130
- * 1rem=20px for 320px(中低端分辨率).
131
- * 1rem=22.5px for 360px(高端分辨率).
132
- */
133
- // html{font-size:20px; -webkit-text-size-adjust:none;}
134
- // @media all and (min-width:359px){.uc-hack{font-size:22.5px;}}
135
- // @media all and (min-width:359px) and (-webkit-min-device-pixel-ratio:1.5){html{font-size:22.5px;}}
136
- // @media all and (min-width:359px) and (-webkit-min-device-pixel-ratio:1.5) and (orientation:landscape){html{font-size:14px;}}
137
- // @media all and (max-width:320px) and (-webkit-device-pixel-ratio:1.5) and (orientation:landscape){html{font-size:14px;}}
138
- //body{font:1rem/1 "\5FAE\8F6F\96C5\9ED1","\5b8b\4f53","微软雅黑E软雅黑6F\96C5\9ED1",Helvetica;}
139
- body{
140
- font:1rem/1 "\5FAE\8F6F\96C5\9ED1","\5b8b\4f53","微软雅黑E软雅黑6F\96C5\9ED1",Helvetica;
141
- -webkit-user-select:none;
142
- -webkit-text-size-adjust:none;
143
- }
144
-
145
- @media all and (min-width:360px){.uc-hack{font-size:15px;}}
146
- @media all and (min-width:360px) and (-webkit-device-pixel-ratio:2){html{font-size:15px;}}
147
-
148
- .none{display:none;}
149
- .no-spacing{margin:0; padding:0;}
150
- .margin-center{margin:0 auto; text-align:center;}
151
-
152
- .clearfix::after {visibility:hidden; display:block; font-size:0; content:" "; clear:both; height:0;}
153
-
154
- .no-flick{
155
- //解决css3动画引起页面图片及文字抖动问题
156
- -moz-backface-visibility: hidden; /* Firefox */
157
- -webkit-backface-visibility:hidden; /* Chrome and Safari */
158
- -webkit-transform-style:preserve-3d;
159
- backface-visibility: hidden;
160
- }
161
- }
1
+ @import "base/0.1/base.scss";