macbury-metro-ui-rails 0.15.9
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +21 -0
- data/.gitmodules +3 -0
- data/Gemfile +4 -0
- data/README.md +44 -0
- data/Rakefile +74 -0
- data/lib/generators/metro/layout/layout_generator.rb +19 -0
- data/lib/generators/metro/layout/templates/layout.html.erb +92 -0
- data/lib/metro/ui/rails/engine.rb +16 -0
- data/lib/metro/ui/rails/metro.rb +2 -0
- data/lib/metro/ui/rails/version.rb +7 -0
- data/lib/metro-ui-rails.rb +10 -0
- data/metro-ui-rails.gemspec +20 -0
- data/vendor/assets/fonts/metro-ui/iconFont.eot +0 -0
- data/vendor/assets/fonts/metro-ui/iconFont.svg +2005 -0
- data/vendor/assets/fonts/metro-ui/iconFont.ttf +0 -0
- data/vendor/assets/fonts/metro-ui/iconFont.woff +0 -0
- data/vendor/assets/javascripts/metro-ui/accordion.js +44 -0
- data/vendor/assets/javascripts/metro-ui/buttonset.js +34 -0
- data/vendor/assets/javascripts/metro-ui/carousel.js +368 -0
- data/vendor/assets/javascripts/metro-ui/dropdown.js +95 -0
- data/vendor/assets/javascripts/metro-ui/input-control.js +103 -0
- data/vendor/assets/javascripts/metro-ui/pagecontrol.js +64 -0
- data/vendor/assets/javascripts/metro-ui/rating.js +249 -0
- data/vendor/assets/javascripts/metro-ui/slider.js +248 -0
- data/vendor/assets/javascripts/metro-ui/tile-drag.js +332 -0
- data/vendor/assets/javascripts/metro-ui/tile-slider.js +196 -0
- data/vendor/assets/javascripts/metro-ui.js +10 -0
- data/vendor/toolkit/metro-ui/accordion.less +69 -0
- data/vendor/toolkit/metro-ui/bricks.less +59 -0
- data/vendor/toolkit/metro-ui/buttons.less +434 -0
- data/vendor/toolkit/metro-ui/cards.less +113 -0
- data/vendor/toolkit/metro-ui/carousel.less +109 -0
- data/vendor/toolkit/metro-ui/code.less +47 -0
- data/vendor/toolkit/metro-ui/colors.less +115 -0
- data/vendor/toolkit/metro-ui/forms.less +434 -0
- data/vendor/toolkit/metro-ui/grid.less +115 -0
- data/vendor/toolkit/metro-ui/hero.less +18 -0
- data/vendor/toolkit/metro-ui/icons.less +1168 -0
- data/vendor/toolkit/metro-ui/images.less +121 -0
- data/vendor/toolkit/metro-ui/jqgrid.less +12 -0
- data/vendor/toolkit/metro-ui/layout.less +287 -0
- data/vendor/toolkit/metro-ui/listview.less +143 -0
- data/vendor/toolkit/metro-ui/menus.less +249 -0
- data/vendor/toolkit/metro-ui/modern-responsive-max480.less +147 -0
- data/vendor/toolkit/metro-ui/modern-responsive-max767.less +241 -0
- data/vendor/toolkit/metro-ui/modern-responsive-max979.less +97 -0
- data/vendor/toolkit/metro-ui/modern-responsive-min1200.less +28 -0
- data/vendor/toolkit/metro-ui/modern-responsive.less +13 -0
- data/vendor/toolkit/metro-ui/modern.less +35 -0
- data/vendor/toolkit/metro-ui/notices.less +185 -0
- data/vendor/toolkit/metro-ui/pagecontrol.less +100 -0
- data/vendor/toolkit/metro-ui/progress.less +22 -0
- data/vendor/toolkit/metro-ui/rating.less +80 -0
- data/vendor/toolkit/metro-ui/reset.less +504 -0
- data/vendor/toolkit/metro-ui/routines.less +141 -0
- data/vendor/toolkit/metro-ui/sidebar.less +136 -0
- data/vendor/toolkit/metro-ui/slider.less +67 -0
- data/vendor/toolkit/metro-ui/tables.less +164 -0
- data/vendor/toolkit/metro-ui/theme-dark.less +54 -0
- data/vendor/toolkit/metro-ui/tiles.less +285 -0
- data/vendor/toolkit/metro-ui/typography.less +347 -0
- metadata +139 -0
@@ -0,0 +1,121 @@
|
|
1
|
+
/*
|
2
|
+
* Metro UI CSS
|
3
|
+
* Copyright 2012 Sergey Pimenov
|
4
|
+
* Licensed under the MIT Lilcense
|
5
|
+
*
|
6
|
+
* images.less
|
7
|
+
*
|
8
|
+
*/
|
9
|
+
|
10
|
+
@back-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAP5SURBVGhD7ZdBSBRRGIB319VW8OBhAwMhgwIPQgpGHYoMDeoYeAkSDBKSEIw8BCUd7FahgZDQxZtBFw9BRkIGezA0FAo0EBIyCCrwILjq6vb9M/8uM7szu+7qaAvzweP9/3tv3vz//978703Ax8fHx2cvBLW2sbW11R4MBp+o6sjOzs7zioqKIVUPjZDWNjC+iqouV2FMNfWh4+hAKRFMJpNhtkxvKBS6iC6RF2oo9aboyrKWw2CNLfypvLx8KLi9vT2IE73aUWqMB4n+b/ZzVBtKCgKfCCYSiaTqJcmBO0DUVlnxacoK+/gn395x2uoo52iL6LBdc5AOvMHIZ+FwOIahCW1LQ18EW67Q9wC12WzNj+cOYNgKVQcZY8psyc/GxsYtVmYQZ1JZ0RWvHYiVlZVdw5A/qhtgYAPtjWwhSR6zODfPmDWz10THvEbMmc69dGAJA5pShskWweABym2XyE5hS3ckEllUPbC+vn6SLTfDeNdT35OTGGMTnC8SecP4zc3NZvQ52vtcjBdacHiOsX2qByorK5eoOkzNGU9WACNHMKZbZCJei/FfckUxE57p4aI4rGoAGz9QtZiaHU8cwPhjGPxL5Fwvd4OViuN0U2o7cdhKdnprdGbgxRaSNJkyvpOqIOMFno+w91+oGkCexCnbR57C1QEmGWIpLxDNE9bCRJfoG9FhWdAXU1Ei2apiwfDseYpxsDFngjJpdGTg9j8wjLF32YcSzWVrkXxOXzeTv9LhNmj/pqLM06hiwfCs3JIbVBVdzpMsHB0g8u9UdIUJHcfggPEi6jBV2oBi4DBLP49Nf1W04egAL5e/rpy4jcEx42ZLnWCM7QArFOvzOHNERRtuW+iR5G5Vs2Bp26jumZodSZsqyjzTKhYFH2/6eeu8VtwciOLxDIb+IJN8txZpo/89xfFA4rmzKso88yoWDNFf4fn0CiCfU9HGvp8DvHiNyB3lhXHkKPMvIBfzw3STeUZFiMfj9cgLRmsGjiuwFzC2ilWS/C+yRLBL5AIZTxkvkPnuqJiFJyexfHwYcAoHVkXnVB2g7aHRmZ950vRldT51oZNVlKyWxb6vgMDLohj9UlW5WvTjwFWKYy4X6JPD6iljz6SMpy1C9MfcjBe8vE5L5ujnMHysqhhUzfa6gZGnkSXLSSL4yrjP1BOMnZVxAv1hgjCG2G62OOOpAwLRGyUzdVFn/Ua6gfE1anzee5QnW8gKxnRizAKBMj7sXDA2wvlzXzIX6q4ugZ6vgBUMlL09wZb5yKrI9xCnVNNei95K3cZK5f0PtnKgDnhBCK8d79mlQoglS9/fS5DFEGmtByHGSuw6S/wnzJIcrqvs4+Pj41MMgcA/8Fr5zKgSl7AAAAAASUVORK5CYII%3D);
|
11
|
+
@overlay-speed: .3s;
|
12
|
+
|
13
|
+
.image-collection {
|
14
|
+
.pos-rel;
|
15
|
+
.unstyled;
|
16
|
+
.clearfix;
|
17
|
+
|
18
|
+
& > div, & > li {
|
19
|
+
width: 220px;
|
20
|
+
height: 121px;
|
21
|
+
overflow: hidden;
|
22
|
+
margin-right: 20px;
|
23
|
+
margin-bottom: 20px;
|
24
|
+
position: relative;
|
25
|
+
box-shadow: inset 0px 0px 1px #FFFFCC;
|
26
|
+
float: left;
|
27
|
+
background: #ccc @back-image 50% no-repeat;
|
28
|
+
display: table-cell;
|
29
|
+
vertical-align: middle !important;
|
30
|
+
text-align: center;
|
31
|
+
|
32
|
+
& > img {
|
33
|
+
width: 100%;
|
34
|
+
height : auto;
|
35
|
+
min-height: 100%;
|
36
|
+
max-width: 100%;
|
37
|
+
}
|
38
|
+
|
39
|
+
& > .overlay {
|
40
|
+
position: absolute;
|
41
|
+
width: 100%;
|
42
|
+
height: 55px;
|
43
|
+
overflow: hidden;
|
44
|
+
background-color: #1e1e1e;
|
45
|
+
color: #fff;
|
46
|
+
font-size: 8pt;
|
47
|
+
text-align: left;
|
48
|
+
line-height: 12px;
|
49
|
+
padding: 5px 10px;
|
50
|
+
opacity: .8;
|
51
|
+
bottom: -55px;
|
52
|
+
}
|
53
|
+
|
54
|
+
&:hover {
|
55
|
+
.overlay {
|
56
|
+
-webkit-transform: translate(0, -55px);
|
57
|
+
-ms-transform: translate(0, -55px);
|
58
|
+
-o-transform: translate(0, -55px);
|
59
|
+
-moz-transform: translate(0, -55px);
|
60
|
+
transform: translate(0, -55px);
|
61
|
+
|
62
|
+
-webkit-transition: all @overlay-speed ease;
|
63
|
+
-moz-transition: all @overlay-speed ease;
|
64
|
+
-o-transition: all @overlay-speed ease;
|
65
|
+
-ms-transition: all @overlay-speed ease;
|
66
|
+
transition: all @overlay-speed easet;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
&.p16x9 {
|
72
|
+
& > div {
|
73
|
+
width: 220px;
|
74
|
+
height: 121px;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
&.p4x3 {
|
78
|
+
& > div {
|
79
|
+
width: 220px;
|
80
|
+
height: 165px;
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
.image-container {
|
86
|
+
position: relative;
|
87
|
+
padding: 5px 5px 50px;
|
88
|
+
background-color: #1e1e1e;
|
89
|
+
.span3;
|
90
|
+
margin-right: 20px;
|
91
|
+
margin-bottom: 20px;
|
92
|
+
|
93
|
+
img {
|
94
|
+
width: 100%;
|
95
|
+
height: auto;
|
96
|
+
}
|
97
|
+
|
98
|
+
& > .overlay {
|
99
|
+
position: absolute;
|
100
|
+
bottom: 0;
|
101
|
+
left: 0;
|
102
|
+
right: 0;
|
103
|
+
height: 50px;
|
104
|
+
font-size: 8pt;
|
105
|
+
color: #fff;
|
106
|
+
line-height: 14px;
|
107
|
+
//text-align: center;
|
108
|
+
padding: 0 5px;
|
109
|
+
overflow: hidden;
|
110
|
+
text-overflow: ellipsis;
|
111
|
+
}
|
112
|
+
|
113
|
+
&.light {
|
114
|
+
background-color: #ccc;
|
115
|
+
|
116
|
+
& > .overlay {
|
117
|
+
color: #1e1e1e;
|
118
|
+
}
|
119
|
+
}
|
120
|
+
|
121
|
+
}
|
@@ -0,0 +1,287 @@
|
|
1
|
+
/*
|
2
|
+
* Metro UI CSS
|
3
|
+
* Copyright 2012 Sergey Pimenov
|
4
|
+
* Licensed under the MIT Lilcense
|
5
|
+
*
|
6
|
+
* Layout.less
|
7
|
+
*/
|
8
|
+
|
9
|
+
|
10
|
+
*, *:after, *:before {
|
11
|
+
-webkit-box-sizing: border-box;
|
12
|
+
-moz-box-sizing: border-box;
|
13
|
+
box-sizing: border-box;
|
14
|
+
}
|
15
|
+
|
16
|
+
.column-gap (@gap) {
|
17
|
+
-moz-column-gap: @gap;
|
18
|
+
-webkit-column-gap: @gap;
|
19
|
+
column-gap: @gap;
|
20
|
+
}
|
21
|
+
|
22
|
+
.columns (@columns) {
|
23
|
+
-moz-columns: @columns;
|
24
|
+
-webkit-columns: @columns;
|
25
|
+
columns: @columns;
|
26
|
+
|
27
|
+
.column-gap(20px);
|
28
|
+
}
|
29
|
+
|
30
|
+
.one-column {
|
31
|
+
.columns(1);
|
32
|
+
}
|
33
|
+
.two-columns {
|
34
|
+
.columns(2);
|
35
|
+
}
|
36
|
+
.three-columns {
|
37
|
+
.columns(3);
|
38
|
+
}
|
39
|
+
.four-columns {
|
40
|
+
.columns(4);
|
41
|
+
}
|
42
|
+
.five-columns {
|
43
|
+
.columns(5);
|
44
|
+
}
|
45
|
+
|
46
|
+
.page {
|
47
|
+
position: relative;
|
48
|
+
height: 100%;
|
49
|
+
min-height: 100%;
|
50
|
+
width: 100%;
|
51
|
+
.clearfix();
|
52
|
+
|
53
|
+
.page-header {
|
54
|
+
width: 100%;
|
55
|
+
position: relative;
|
56
|
+
display: block;
|
57
|
+
|
58
|
+
.page-header-content {
|
59
|
+
height: @subunit * 20;
|
60
|
+
min-height: @unit * 5;
|
61
|
+
width: 100%;
|
62
|
+
position: relative;
|
63
|
+
display: block;
|
64
|
+
|
65
|
+
h1,h2,h3,h4,h5 {
|
66
|
+
position: absolute;
|
67
|
+
margin: 0;
|
68
|
+
padding: 0;
|
69
|
+
left: @unit;
|
70
|
+
bottom: 0;
|
71
|
+
}
|
72
|
+
h1 small {
|
73
|
+
font-size: 12pt;
|
74
|
+
margin-left: @subunit * 1;
|
75
|
+
}
|
76
|
+
|
77
|
+
h1.sub-menu {
|
78
|
+
cursor: pointer;
|
79
|
+
&:after {
|
80
|
+
position: absolute;
|
81
|
+
content: "\3009";
|
82
|
+
display: inline-block;
|
83
|
+
font-size: 10pt;
|
84
|
+
bottom: -5px;
|
85
|
+
right: -15px;
|
86
|
+
.rotate(90deg);
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
& > .page-back {
|
91
|
+
position: absolute;
|
92
|
+
top: 34px;
|
93
|
+
left: 30px;
|
94
|
+
}
|
95
|
+
|
96
|
+
.user-login {
|
97
|
+
float: right;
|
98
|
+
margin: 55px 44px 0 0;
|
99
|
+
cursor: pointer;
|
100
|
+
|
101
|
+
.avatar {
|
102
|
+
float: right;
|
103
|
+
border: 1px #ccc solid;
|
104
|
+
width: 40px;
|
105
|
+
height: 40px;
|
106
|
+
img {
|
107
|
+
width: 100%;
|
108
|
+
height: 100%;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
.name {
|
112
|
+
float: left;
|
113
|
+
margin: 0px 10px;
|
114
|
+
text-align: right;
|
115
|
+
|
116
|
+
.first-name {
|
117
|
+
font-family: "Open Sans", sans-serif, sans;
|
118
|
+
font-size: 18pt;
|
119
|
+
display: block;
|
120
|
+
margin: 0;
|
121
|
+
}
|
122
|
+
.last-name {
|
123
|
+
font-family: "Open Sans", sans-serif, sans;
|
124
|
+
font-size: 10pt;
|
125
|
+
display: block;
|
126
|
+
margin: 0;
|
127
|
+
}
|
128
|
+
}
|
129
|
+
}
|
130
|
+
}
|
131
|
+
|
132
|
+
}
|
133
|
+
|
134
|
+
.page-region {
|
135
|
+
display: block;
|
136
|
+
|
137
|
+
.page-region-content {
|
138
|
+
padding-top: @subunit * 2;
|
139
|
+
padding-left: 0;
|
140
|
+
padding-right: 0;
|
141
|
+
padding-bottom: @unit;
|
142
|
+
display: block;
|
143
|
+
height: 100%;
|
144
|
+
position: relative;
|
145
|
+
}
|
146
|
+
}
|
147
|
+
|
148
|
+
&.secondary {
|
149
|
+
.page-header {
|
150
|
+
.page-header-content {
|
151
|
+
h1,h2,h3,h4,h5 {
|
152
|
+
position: absolute;
|
153
|
+
margin: 0;
|
154
|
+
padding: 0;
|
155
|
+
left: @unit * 6;
|
156
|
+
bottom: 0;
|
157
|
+
}
|
158
|
+
}
|
159
|
+
}
|
160
|
+
|
161
|
+
.page-region {
|
162
|
+
.page-region-content {
|
163
|
+
padding-left: @unit * 6;
|
164
|
+
}
|
165
|
+
}
|
166
|
+
}
|
167
|
+
|
168
|
+
&.snapped {
|
169
|
+
width: 33.33%;
|
170
|
+
height: 100%;
|
171
|
+
float: left;
|
172
|
+
border-right: 1px #ccc solid;
|
173
|
+
}
|
174
|
+
&.fill{
|
175
|
+
width: 66.66%;
|
176
|
+
height: 100%;
|
177
|
+
float: right;
|
178
|
+
border-left: 1px #ccc solid;
|
179
|
+
}
|
180
|
+
|
181
|
+
|
182
|
+
&.snapped {
|
183
|
+
.page {
|
184
|
+
.page-header {
|
185
|
+
.page-header-content {
|
186
|
+
h1,h2,h3,h4,h5 {
|
187
|
+
margin-left: @unit;
|
188
|
+
}
|
189
|
+
}
|
190
|
+
}
|
191
|
+
|
192
|
+
.page-region {
|
193
|
+
.page-region-content {
|
194
|
+
padding-left: @unit;
|
195
|
+
}
|
196
|
+
}
|
197
|
+
}
|
198
|
+
}
|
199
|
+
}
|
200
|
+
|
201
|
+
.page.fixed-header {
|
202
|
+
.page-header {
|
203
|
+
position: fixed;
|
204
|
+
top: 0;
|
205
|
+
left: 0;
|
206
|
+
right: 0;
|
207
|
+
}
|
208
|
+
|
209
|
+
.page-region {
|
210
|
+
padding-top: 140px;
|
211
|
+
}
|
212
|
+
}
|
213
|
+
|
214
|
+
.page.with-sidebar {
|
215
|
+
.page-region {
|
216
|
+
margin-left: 220px;
|
217
|
+
width: auto;
|
218
|
+
//border: 1px #ccc dotted;
|
219
|
+
|
220
|
+
.page-region-content {
|
221
|
+
padding-left: 20px;
|
222
|
+
}
|
223
|
+
|
224
|
+
.clearfix;
|
225
|
+
}
|
226
|
+
}
|
227
|
+
|
228
|
+
.app-bar {
|
229
|
+
position: fixed;
|
230
|
+
bottom: 0;
|
231
|
+
left: 0;
|
232
|
+
right: 0;
|
233
|
+
min-height: 100px;
|
234
|
+
|
235
|
+
.bg-color-darken();
|
236
|
+
}
|
237
|
+
|
238
|
+
.charms {
|
239
|
+
position: fixed;
|
240
|
+
right: 0;
|
241
|
+
top: 0;
|
242
|
+
bottom: 0;
|
243
|
+
height: 100%;
|
244
|
+
min-width: 200px;
|
245
|
+
width: auto;
|
246
|
+
|
247
|
+
&.place-left {
|
248
|
+
left: 0;
|
249
|
+
right: auto;
|
250
|
+
}
|
251
|
+
|
252
|
+
&.search {}
|
253
|
+
&.sharing{}
|
254
|
+
&.appsets{}
|
255
|
+
&.apphelp{}
|
256
|
+
}
|
257
|
+
|
258
|
+
.message-dialog {
|
259
|
+
position: fixed;
|
260
|
+
left: 0;
|
261
|
+
right: 0;
|
262
|
+
height: auto;
|
263
|
+
min-height: 100px;
|
264
|
+
top: 30%;
|
265
|
+
padding: 10px 10px 0;
|
266
|
+
}
|
267
|
+
.flyouts{}
|
268
|
+
|
269
|
+
.error-bar, .warning-bar, .info-bar {
|
270
|
+
position: fixed;
|
271
|
+
top: 0;
|
272
|
+
left: 0;
|
273
|
+
right: 0;
|
274
|
+
padding: 10px 20px;
|
275
|
+
color: #fff;
|
276
|
+
min-height: 100px;
|
277
|
+
}
|
278
|
+
.error-bar {
|
279
|
+
.bg-color-red();
|
280
|
+
}
|
281
|
+
.warning-bar {
|
282
|
+
.bg-color-yellow();
|
283
|
+
}
|
284
|
+
.info-bar {
|
285
|
+
.bg-color-blue();
|
286
|
+
}
|
287
|
+
|
@@ -0,0 +1,143 @@
|
|
1
|
+
/*
|
2
|
+
* Metro UI CSS
|
3
|
+
* Copyright 2012 Sergey Pimenov
|
4
|
+
* Licensed under the MIT Lilcense
|
5
|
+
*
|
6
|
+
* ListView.less
|
7
|
+
* Version 1.0
|
8
|
+
*/
|
9
|
+
.listview {
|
10
|
+
.unstyled;
|
11
|
+
|
12
|
+
li {
|
13
|
+
margin-bottom: 10px;
|
14
|
+
border: 4px transparent solid;
|
15
|
+
padding: 10px;
|
16
|
+
width: 300px;
|
17
|
+
position: relative;
|
18
|
+
display: block;
|
19
|
+
cursor: pointer;
|
20
|
+
|
21
|
+
.icon {
|
22
|
+
width: 48px;
|
23
|
+
height: 48px;
|
24
|
+
float: left;
|
25
|
+
|
26
|
+
img {
|
27
|
+
width: 100%;
|
28
|
+
height: 100%;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
.data {
|
33
|
+
margin-left: 55px;
|
34
|
+
h4 {
|
35
|
+
margin: 0;
|
36
|
+
padding: 0 0 2px 0;
|
37
|
+
}
|
38
|
+
p {
|
39
|
+
margin: 0;
|
40
|
+
font-size: 9pt;
|
41
|
+
}
|
42
|
+
|
43
|
+
.static-rating.small, .progress-bar {
|
44
|
+
margin-bottom: 3px;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
&:hover {
|
49
|
+
outline: 3px #ccc solid;
|
50
|
+
}
|
51
|
+
&:active {
|
52
|
+
outline: 3px #3e3e3e solid;
|
53
|
+
}
|
54
|
+
|
55
|
+
.clearfix;
|
56
|
+
}
|
57
|
+
|
58
|
+
&.image {
|
59
|
+
|
60
|
+
li {
|
61
|
+
width: 380px;
|
62
|
+
|
63
|
+
.icon {
|
64
|
+
width: 100px;
|
65
|
+
height: 100px;
|
66
|
+
border: 1px #ccc solid;
|
67
|
+
}
|
68
|
+
|
69
|
+
.data {
|
70
|
+
margin-left: 110px;
|
71
|
+
|
72
|
+
h4 {
|
73
|
+
margin-bottom: 4px;
|
74
|
+
}
|
75
|
+
|
76
|
+
p {
|
77
|
+
line-height: 16px;
|
78
|
+
font-size: 10pt;
|
79
|
+
margin-bottom: 5px;
|
80
|
+
}
|
81
|
+
|
82
|
+
.static-rating.small, .progress-bar {
|
83
|
+
margin-bottom: 10px;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
&.iconic {
|
90
|
+
li {
|
91
|
+
.icon {
|
92
|
+
width: 32px;
|
93
|
+
height: 32px;
|
94
|
+
border: 1px #ccc solid;
|
95
|
+
}
|
96
|
+
.data {
|
97
|
+
margin-left: 40px;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}
|
101
|
+
|
102
|
+
&.fluid {
|
103
|
+
li {
|
104
|
+
float: left;
|
105
|
+
margin-right: 10px;
|
106
|
+
}
|
107
|
+
}
|
108
|
+
|
109
|
+
|
110
|
+
& > li.selected {
|
111
|
+
border: 4px @blue solid;
|
112
|
+
|
113
|
+
&:after {
|
114
|
+
width: 0;
|
115
|
+
height: 0;
|
116
|
+
border-top: 40px solid @blue;
|
117
|
+
border-left: 40px solid transparent;
|
118
|
+
position: absolute;
|
119
|
+
display: block;
|
120
|
+
right: 0;
|
121
|
+
content:"";
|
122
|
+
top: 0;
|
123
|
+
z-index: 1001;
|
124
|
+
}
|
125
|
+
|
126
|
+
&:before {
|
127
|
+
position: absolute;
|
128
|
+
content: "\e08a";
|
129
|
+
color: #fff;
|
130
|
+
right: 4px;
|
131
|
+
top: 0;
|
132
|
+
font-family: iconFont;
|
133
|
+
z-index: 1002;
|
134
|
+
display: block;
|
135
|
+
}
|
136
|
+
}
|
137
|
+
|
138
|
+
&.image > li.selected {
|
139
|
+
//padding-bottom: 20px;
|
140
|
+
}
|
141
|
+
|
142
|
+
.clearfix;
|
143
|
+
}
|