lookitui 0.1.1.beta → 0.1.2.beta

Sign up to get free protection for your applications and to get access to all the features.
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
File without changes
File without changes
@@ -0,0 +1,27 @@
1
+ @charset "utf-8";
2
+ /**
3
+ * --------------------------------------------------------------------------
4
+ * ++ box区块基本样式 STYLE
5
+ *
6
+ * -------------------------------------------------------------------------
7
+ */
8
+ .ui-box{
9
+ border:1px solid #ccc; border-bottom:0;
10
+ &.ui-box-follow{border-top:0;}
11
+ }
12
+
13
+ .ui-box-head{
14
+ border-bottom:1px solid #bababa; position:relative;
15
+ .ui-box-head-border{
16
+ padding:10px; border:1px solid #fff; overflow:hidden;
17
+ @include lg(top,#fcfcfc,#f1f1f1);
18
+ }
19
+ .ui-box-head-title{float:left; font-weight:bold;}
20
+ .ui-box-head-desc{float:left; font-size:12*$px; margin-left:10px; color:#808080;}
21
+ .ui-box-head-more{float:right;}
22
+ }
23
+
24
+ .ui-box-container{
25
+ background:#fff; border-bottom:1px solid #bababa;
26
+ .ui-box-content{padding:10px;}
27
+ }
@@ -0,0 +1,46 @@
1
+ @charset "utf-8";
2
+ /**
3
+ * --------------------------------------------------------------------------
4
+ * ++ 按钮基本样式 STYLE
5
+ *
6
+ * -------------------------------------------------------------------------
7
+ */
8
+ button,input[type="button"],input[type="submit"],input[type="reset"]{
9
+ -webkit-appearance: button;
10
+ font-family: inherit;
11
+ font-size: 100%;
12
+ margin: 0;
13
+ }
14
+
15
+ .ui-button{
16
+ display:inline-block; text-align:center; text-decoration:none; vertical-align:middle; cursor:pointer; background-image:none;
17
+ @include border-radius(5*$px);
18
+ @include box-sizing(border-box);
19
+ }
20
+
21
+ //橙色列表
22
+ .ui-button-lorange,.ui-button-morange,.ui-button-sorange{border:1px solid #ed8b22; color:#fff; @include lg(top,#fd9e37,#ff7c00);}
23
+ .ui-button-lorange{width:160px; padding:10px 0;}
24
+ .ui-button-morange{width:120px; padding:8px 0;}
25
+ .ui-button-sorange{width:80px; padding:6px 0;}
26
+
27
+ //浅灰色列表
28
+ .ui-button-llight,.ui-button-mlight,.ui-button-slight{border:1px solid #bababa; color:#646464; @include lg(top,#f8f8f8,#e6e6e6);}
29
+ .ui-button-llight{width:160px; padding:10px 0;}
30
+ .ui-button-mlight{width:120px; padding:8px 0;}
31
+ .ui-button-slight{width:80px; padding:6px 0;}
32
+
33
+ //灰色列表
34
+ .ui-button-lgray{}
35
+ .ui-button-mgray{}
36
+ .ui-button-sgray{}
37
+
38
+ .ui-button-mwhite{
39
+ display:inline-block; padding:8*$px 20*$px; border:1px #D4D5D6 solid; cursor:pointer;
40
+ text-align:center; vertical-align:middle; color:#646464;
41
+ @include border-radius(2px);
42
+ @include box-sizing(border-box);
43
+ @include text-shadow(0 -1px 0 $text-shadow-color);
44
+ @include lg(top,$standard-linear-l,$standard-linear-r);
45
+ &:active{@include lg(top,$standard-linear-r,$standard-linear-l);}
46
+ }
@@ -1,22 +1,22 @@
1
1
  @charset "utf-8";
2
2
  .com-ui-form-input{
3
- border:1px solid #e3e3e3; border-top:none; width:100%; padding:0 5*$px;
3
+ border:1px solid #e3e3e3; border-top:none; width:100%; padding:0 5px;
4
4
  @include border-radius(2px);
5
5
  @include box-shadow(0 -1px 0 #e3e3e3 inset);
6
6
  @include box-shadow(0 1px 0 #adadad inset);
7
7
  }
8
8
 
9
9
  .ui-form{
10
- margin:10*$px auto 0; max-width:80%; text-align:center; color:$text-form-color;
10
+ margin:10px auto 0; text-align:center; color:$text-form-color;
11
11
  .ui-form-item{display:-webkit-box; -webkit-box-align:center; margin-bottom:10px;}
12
12
  .ui-form-item > *{display:block;}
13
- .ui-form-item .ui-label{min-width:60*$px; text-align:right; vertical-align:middle;}
13
+ .ui-form-item .ui-label{min-width:60px; text-align:right; vertical-align:middle;}
14
14
  .ui-form-item .ui-input{
15
15
  -webkit-box-flex:1;
16
16
  @extend .com-ui-form-input;
17
17
  }
18
18
  .ui-form-item .ui-select{
19
- -webkit-box-flex:1; width:100%; position:relative; @include arrow($wh:5px,$mrt:-4px,$bw:2px,$der:bottom);
19
+ -webkit-box-flex:1; width:100%; position:relative; @include fn-arrow($wh:5px,$mrt:-4px,$bw:2px,$der:bottom);
20
20
  select{
21
21
  @extend .com-ui-form-input;
22
22
  }
@@ -27,7 +27,7 @@
27
27
  }
28
28
  //验证码的样式设置
29
29
  .ui-form-item-check{
30
- a{color:#08c; font-size:12px;}
30
+ a{color:#08c; font-size:12*$px;}
31
31
  img{margin:0 10px;}
32
32
  }
33
33
  //禁用文本框
@@ -37,7 +37,7 @@
37
37
  }
38
38
 
39
39
  input,select,textarea{
40
- min-height:40*$px; padding:0 10*$px;
40
+ min-height:40px; padding:0 10px;
41
41
  -webkit-appearance:none;
42
42
  box-sizing:border-box; @include lg(top,#F4F4F4,#FFF);
43
43
  }
@@ -0,0 +1,21 @@
1
+ @charset "utf-8";
2
+ /**
3
+ * --------------------------------------------------------------------------
4
+ * ++ toolbar组件+基本样式 STYLE
5
+ *
6
+ * -------------------------------------------------------------------------
7
+ */
8
+ @include fn-font-face('uxiconfont','../fonts/uxiconfont');
9
+ .ui-gotop{
10
+ width:40px;
11
+ height:40px;
12
+ line-height:40px;
13
+ position:fixed;
14
+ right:10px;
15
+ bottom:20px;
16
+ background:#454545;
17
+ text-align:center;
18
+ @include box-shadow(0 0 5px rgba(0,0,0,1));
19
+ @include border-radius(3px);
20
+ font-family:'uxiconfont'; font-size:20*$px; color:#fff;
21
+ }
@@ -0,0 +1,41 @@
1
+ @charset "utf-8";
2
+ /**
3
+ * --------------------------------------------------------------------------
4
+ * ++ list列表基本样式 STYLE
5
+ *
6
+ * -------------------------------------------------------------------------
7
+ */
8
+ .ui-list{
9
+ overflow:hidden;
10
+ .ui-list-item{
11
+ height:36px; line-height:36px; border-bottom:1px solid #f5f5f5; padding:0 10px;
12
+ @include fn-text-overflow();
13
+ a{display:block;}
14
+ }
15
+ .ui-arrow-right{
16
+ position:relative; padding-right:20px;
17
+ @include fn-arrow-right($bc:#e5e5e5);
18
+ }
19
+ }
20
+ .ui-list-gray{background:#fafafa;}
21
+
22
+ /** 排行榜列表 **/
23
+ .ui-list-rank{
24
+ .ui-arrow-right{
25
+ position:relative; padding-right:20px;
26
+ @include fn-arrow-right();
27
+ }
28
+ .num{
29
+ margin-right:5px; padding:2px 6px; background:#ccc; color:#fff; font-style:normal;
30
+ @include border-radius(20%);
31
+ }
32
+ li:nth-child(1) .num,li:nth-child(2) .num,li:nth-child(3) .num{background:#f88d03;}
33
+ }
34
+
35
+
36
+ /* <ul class="ui-list">
37
+ <li class="ui-list-item"><a href="#">列表内容一</a></li>
38
+ <li class="ui-list-item"><a href="#">列表内容二</a></li>
39
+ <li class="ui-list-item"><a href="#">列表内容三</a></li>
40
+ <li class="ui-list-item"><a href="#">列表内容四</a></li>
41
+ </ul> */
@@ -0,0 +1,209 @@
1
+ @charset "utf-8";
2
+ /**
3
+ * --------------------------------------------------------------------------
4
+ * ++ Loading组件+基本样式 STYLE
5
+ *
6
+ * -------------------------------------------------------------------------
7
+ */
8
+ .ui-loading{
9
+ vertical-align:middle; text-align:center;
10
+ }
11
+
12
+ .ui-loading-label{
13
+ display:inline-block;
14
+ height: 40px; line-height:40px;
15
+ }
16
+
17
+ .ui-loading-img {
18
+ display:inline-block;
19
+ vertical-align:middle;
20
+ width: 40px;
21
+ height: 40px;
22
+ text-indent: -10000px;
23
+ background: url('../img/ui-loading.png') 0 0 no-repeat;
24
+ //background: url('../img/ui-loading-orange.png') 0 0 no-repeat;
25
+ -webkit-background-size: 40px 40px;
26
+ -webkit-animation-name: ui-loading-anim;
27
+ -webkit-animation-duration: 1s;
28
+ -webkit-animation-iteration-count: infinite;
29
+ -webkit-animation-timing-function: step-start;
30
+ }
31
+
32
+ @-webkit-keyframes ui-loading-anim {
33
+ from {
34
+ -webkit-transform: rotate(0deg);
35
+ }
36
+ 8.32% {
37
+ -webkit-transform: rotate(0deg);
38
+ }
39
+ 8.33% {
40
+ -webkit-transform: rotate(30deg);
41
+ }
42
+ 16.65% {
43
+ -webkit-transform: rotate(30deg);
44
+ }
45
+ 16.66% {
46
+ -webkit-transform: rotate(60deg);
47
+ }
48
+ 24.99% {
49
+ -webkit-transform: rotate(60deg);
50
+ }
51
+ 25% {
52
+ -webkit-transform: rotate(90deg);
53
+ }
54
+ 33.32% {
55
+ -webkit-transform: rotate(90deg);
56
+ }
57
+ 33.33% {
58
+ -webkit-transform: rotate(120deg);
59
+ }
60
+ 41.65% {
61
+ -webkit-transform: rotate(120deg);
62
+ }
63
+ 41.66% {
64
+ -webkit-transform: rotate(150deg);
65
+ }
66
+ 49.99% {
67
+ -webkit-transform: rotate(150deg);
68
+ }
69
+ 50% {
70
+ -webkit-transform: rotate(180deg);
71
+ }
72
+ 58.32% {
73
+ -webkit-transform: rotate(180deg);
74
+ }
75
+ 58.33% {
76
+ -webkit-transform: rotate(210deg);
77
+ }
78
+ 66.65% {
79
+ -webkit-transform: rotate(210deg);
80
+ }
81
+ 66.66% {
82
+ -webkit-transform: rotate(240deg);
83
+ }
84
+ 74.99% {
85
+ -webkit-transform: rotate(240deg);
86
+ }
87
+ 75% {
88
+ -webkit-transform: rotate(270deg);
89
+ }
90
+ 83.32% {
91
+ -webkit-transform: rotate(270deg);
92
+ }
93
+ 83.33% {
94
+ -webkit-transform: rotate(300deg);
95
+ }
96
+ 91.65% {
97
+ -webkit-transform: rotate(300deg);
98
+ }
99
+ 91.66% {
100
+ -webkit-transform: rotate(330deg);
101
+ }
102
+ 99.99% {
103
+ -webkit-transform: rotate(330deg);
104
+ }
105
+ to {
106
+ -webkit-transform: rotate(360deg);
107
+ }
108
+ }
109
+
110
+
111
+ //
112
+ .ui-loading-dot{
113
+ display:inline-block;
114
+ margin-right:5px;
115
+ position:relative;
116
+ width:40px;
117
+ height:40px;
118
+ }
119
+
120
+ .ui-loading-dot-item{
121
+ position:absolute;
122
+ background-color:#FFA200;
123
+ width:9px;
124
+ height:9px;
125
+ -webkit-border-radius:6px;
126
+ -webkit-animation-name:bounce_circularG;
127
+ -webkit-animation-duration:1.04s;
128
+ -webkit-animation-iteration-count:infinite;
129
+ -webkit-animation-direction:linear;
130
+ border-radius:6px;
131
+ animation-name:bounce_circularG;
132
+ animation-duration:1.04s;
133
+ animation-iteration-count:infinite;
134
+ animation-direction:linear;
135
+ }
136
+
137
+ .d_1{
138
+ left:0;
139
+ top:16px;
140
+ -webkit-animation-delay:0.39s;
141
+ animation-delay:0.39s;
142
+ }
143
+
144
+ .d_2{
145
+ left:4px;
146
+ top:4px;
147
+ -webkit-animation-delay:0.52s;
148
+ animation-delay:0.52s;
149
+ }
150
+
151
+ .d_3{
152
+ top:0;
153
+ left:16px;
154
+ -webkit-animation-delay:0.65s;
155
+ animation-delay:0.65s;
156
+ }
157
+
158
+ .d_4{
159
+ right:4px;
160
+ top:4px;
161
+ -webkit-animation-delay:0.78s;
162
+ animation-delay:0.78s;
163
+ }
164
+
165
+ .d_5{
166
+ right:0;
167
+ top:16px;
168
+ -webkit-animation-delay:0.91s;
169
+ animation-delay:0.91s;
170
+ }
171
+
172
+ .d_6{
173
+ right:4px;
174
+ bottom:4px;
175
+ -webkit-animation-delay:1.04s;
176
+ animation-delay:1.04s;
177
+ }
178
+
179
+ .d_7{
180
+ left:16px;
181
+ bottom:0;
182
+ -webkit-animation-delay:1.17s;
183
+ animation-delay:1.17s;
184
+ }
185
+
186
+ .d_8{
187
+ left:4px;
188
+ bottom:4px;
189
+ -webkit-animation-delay:1.3s;
190
+ animation-delay:1.3s;
191
+ }
192
+
193
+ @-webkit-keyframes bounce_circularG{
194
+ 0%{
195
+ -webkit-transform:scale(1)}
196
+
197
+ 100%{
198
+ -webkit-transform:scale(.3)}
199
+
200
+ }
201
+
202
+ @keyframes bounce_circularG{
203
+ 0%{
204
+ transform:scale(1)}
205
+
206
+ 100%{
207
+ transform:scale(.3)}
208
+
209
+ }
@@ -0,0 +1,17 @@
1
+ @charset "utf-8";
2
+ /**
3
+ * --------------------------------------------------------------------------
4
+ * ++ tab区块基本样式 STYLE
5
+ *
6
+ * -------------------------------------------------------------------------
7
+ */
8
+ .ui-tab-nav{
9
+ @include display-box();
10
+ li{@include box-flex(1); border-bottom:1px solid #e8e8e8;}
11
+ li a{display:block; height:40px; line-height:40px; text-align:center;}
12
+ .ui-tab-nav-active a{border-bottom:2px solid #ffa200;}
13
+ }
14
+
15
+ .ui-tab-content{
16
+ .ui-tab-panel{padding:10px;}
17
+ }
@@ -0,0 +1,79 @@
1
+ @charset "utf-8";
2
+ /**
3
+ * --------------------------------------------------------------------------
4
+ * ++ toolbar组件+基本样式 STYLE
5
+ *
6
+ * -------------------------------------------------------------------------
7
+ */
8
+
9
+ @include fn-font-face('uxiconfont','../fonts/uxiconfont');
10
+
11
+ .ui-toolbar {
12
+ width:100%;
13
+ z-index: 999
14
+ }
15
+
16
+ .ui-toolbar-wrap {
17
+ height:40px; line-height:40px; background:#dedede;
18
+ position: relative;
19
+ }
20
+
21
+ .ui-toolbar-placeholder {
22
+ margin: 0;
23
+ padding: 0;
24
+ border: 0;
25
+ overflow: visible;
26
+ position: relative;
27
+ }
28
+
29
+ .ui-toolbar-title {
30
+ height: 100%;
31
+ text-align:center;
32
+ }
33
+
34
+ .ui-toolbar-left, .ui-toolbar-right {
35
+ position: absolute;
36
+ top:0;
37
+ height: 100%;
38
+ }
39
+
40
+ .ui-toolbar-left {
41
+ left: 0;
42
+ }
43
+ .ui-toolbar-right {
44
+ top:0;
45
+ right:0;
46
+ }
47
+ .ui-toolbar-left > * {
48
+ display: inline-block;
49
+ float: left;
50
+ height:100%; width:100%;
51
+ text-align: center;
52
+ }
53
+ .ui-toolbar-right > * {
54
+ display: inline-block;
55
+ float: right;
56
+ height:100%; width:100%;
57
+ text-align: center;
58
+ }
59
+
60
+ //橙色
61
+ .ui-toolbar-bgorange{
62
+ @include lg(top,#ef684e,#df5a3e); color:#fff;
63
+ .ui-toolbar-left > *,.ui-toolbar-right > *{width:44px; font-family:'uxiconfont'; font-size:18*$px; color:#fff;}
64
+ .ui-toolbar-title{@include text-shadow(0 1px 1px #d2d0d0);}
65
+ }
66
+
67
+ //黑色
68
+ .ui-toolbar-bgblack{
69
+ background:#3d3d3d; color:#fff;
70
+ .ui-toolbar-left > *,.ui-toolbar-right > *{width:44px; font-family:'uxiconfont'; font-size:18*$px; color:#fff;}
71
+ a:hover,a:active{background:#0D314F;}
72
+ }
73
+
74
+ //灰色
75
+ .ui-toolbar-bggray{
76
+ background:#F7F7F7; color:#111;
77
+ .ui-toolbar-left > *,.ui-toolbar-right > *{width:44px; font-family:'uxiconfont'; font-size:18*$px; color:#ccc;}
78
+ a:hover,a:active{background:#f2f2f2;}
79
+ }