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,136 @@
|
|
1
|
+
/*
|
2
|
+
* Metro UI CSS
|
3
|
+
* Copyright 2012 Sergey Pimenov
|
4
|
+
* Licensed under the MIT Lilcense
|
5
|
+
*
|
6
|
+
* Sidebar.less
|
7
|
+
*/
|
8
|
+
|
9
|
+
.page-sidebar {
|
10
|
+
display: block;
|
11
|
+
width: 213px;
|
12
|
+
float: left;
|
13
|
+
min-height: 100% !important;
|
14
|
+
height: auto;
|
15
|
+
background-color: #EBEBEB;
|
16
|
+
padding-top: 10px;
|
17
|
+
padding-bottom: 10px;
|
18
|
+
margin-top: 10px;
|
19
|
+
margin-left: 7px;
|
20
|
+
|
21
|
+
a {
|
22
|
+
#font > .navigation;
|
23
|
+
#state > .navigation;
|
24
|
+
display: block;
|
25
|
+
width: 100%;
|
26
|
+
padding: 5px 20px 5px 10px;
|
27
|
+
white-space: nowrap;
|
28
|
+
font-size: 14px;
|
29
|
+
cursor: pointer;
|
30
|
+
|
31
|
+
&:hover {
|
32
|
+
.bg-color-blue;
|
33
|
+
.fg-color-white;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
li {
|
38
|
+
display: list-item;
|
39
|
+
line-height: 20px;
|
40
|
+
position: relative;
|
41
|
+
}
|
42
|
+
|
43
|
+
& > ul > li > a {
|
44
|
+
font-size: 1.1em;
|
45
|
+
}
|
46
|
+
|
47
|
+
& > ul > li a.lead, & > ul > li.lead a, & > ul > li.lead {
|
48
|
+
font-weight: bold;
|
49
|
+
}
|
50
|
+
|
51
|
+
& > ul > li.sticker {
|
52
|
+
|
53
|
+
&:before {
|
54
|
+
content: ".";
|
55
|
+
position: absolute;
|
56
|
+
width: 7px;
|
57
|
+
height: 28px;
|
58
|
+
left: -7px;
|
59
|
+
text-indent: -9999px;
|
60
|
+
border-top-left-radius: 10px;
|
61
|
+
border-bottom-left-radius: 10px;
|
62
|
+
background-color: #ebebeb;
|
63
|
+
}
|
64
|
+
|
65
|
+
&.sticker-color-blue {&:before{background-color: @blue;}}
|
66
|
+
&.sticker-color-blueLight {&:before{background-color: @blueLight;}}
|
67
|
+
&.sticker-color-blueDark {&:before{background-color: @blueDark;}}
|
68
|
+
&.sticker-color-green {&:before{background-color: @green !important;}}
|
69
|
+
&.sticker-color-greenLight {&:before{background-color: @greenLight !important;}}
|
70
|
+
&.sticker-color-greenDark {&:before{background-color: @greenDark !important;}}
|
71
|
+
&.sticker-color-red {&:before{background-color: @red !important;}}
|
72
|
+
&.sticker-color-yellow {&:before{background-color: @yellow !important;}}
|
73
|
+
&.sticker-color-orange {&:before{background-color: @orange !important;}}
|
74
|
+
&.sticker-color-orangeDark {&:before{background-color: @orangeDark !important;}}
|
75
|
+
&.sticker-color-pink {&:before{background-color: @pink !important;}}
|
76
|
+
&.sticker-color-pinkDark {&:before{background-color: @pinkDark !important;}}
|
77
|
+
&.sticker-color-purple {&:before{background-color: @purple !important;}}
|
78
|
+
&.sticker-color-darken {&:before{background-color: @darken !important;}}
|
79
|
+
&.sticker-color-white {&:before{background-color: @white !important;}}
|
80
|
+
&.sticker-color-grayDark {&:before{background-color: @grayDark !important;}}
|
81
|
+
}
|
82
|
+
|
83
|
+
.divider {
|
84
|
+
height: 1px;
|
85
|
+
margin: 9px 1px;
|
86
|
+
overflow: hidden;
|
87
|
+
background-color: #e5e5e5;
|
88
|
+
}
|
89
|
+
|
90
|
+
& ul {
|
91
|
+
.unstyled;
|
92
|
+
background-color: #EBEBEB;
|
93
|
+
}
|
94
|
+
|
95
|
+
ul.sub-menu {
|
96
|
+
padding-top: 5px;
|
97
|
+
padding-bottom: 5px;
|
98
|
+
|
99
|
+
a {
|
100
|
+
padding: 5px 20px 5px 25px;
|
101
|
+
}
|
102
|
+
|
103
|
+
&.light {
|
104
|
+
background-color: #f9f9f9 !important;
|
105
|
+
}
|
106
|
+
}
|
107
|
+
|
108
|
+
.sidebar-dropdown-menu {
|
109
|
+
display: none;
|
110
|
+
|
111
|
+
&.open {
|
112
|
+
display: block;
|
113
|
+
}
|
114
|
+
}
|
115
|
+
|
116
|
+
& > ul > li.dropdown {
|
117
|
+
position: relative;
|
118
|
+
|
119
|
+
&:after {
|
120
|
+
content: "";
|
121
|
+
display: block;
|
122
|
+
position: absolute;
|
123
|
+
top: 6px;
|
124
|
+
left: 100%;
|
125
|
+
margin-left: -20px;
|
126
|
+
width: 16px;
|
127
|
+
height: 16px;
|
128
|
+
background: no-repeat;
|
129
|
+
background-position: 0 -1586px;
|
130
|
+
z-index: 200;
|
131
|
+
}
|
132
|
+
&.active:after {
|
133
|
+
background-position: 0 -676px;
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
@@ -0,0 +1,67 @@
|
|
1
|
+
/*
|
2
|
+
* Metro UI CSS
|
3
|
+
* Copyright 2012 Sergey Pimenov
|
4
|
+
* Licensed under the MIT Lilcense
|
5
|
+
*
|
6
|
+
* Slider.less
|
7
|
+
*
|
8
|
+
*/
|
9
|
+
|
10
|
+
@slider-color: #c6c6c6;
|
11
|
+
@slider-color-disabled: #dbdbdb;
|
12
|
+
@slider-color-rest-state: #00828b;
|
13
|
+
@slider-color-hover-state: #219297;
|
14
|
+
@slider-color-active-state: #25bbc4;
|
15
|
+
@slider-color-disabled-state: #bababa;
|
16
|
+
@slider-marker-color: #000;
|
17
|
+
@slider-marker-color-disabled: #a0a0a0;
|
18
|
+
|
19
|
+
.slider {
|
20
|
+
height: 12px;
|
21
|
+
width: auto;
|
22
|
+
position: relative;
|
23
|
+
background-color: @slider-color;
|
24
|
+
margin-bottom: 10px;
|
25
|
+
|
26
|
+
.marker {
|
27
|
+
height: 12px;
|
28
|
+
width: 12px;
|
29
|
+
cursor: pointer;
|
30
|
+
position: absolute;
|
31
|
+
top: 0;
|
32
|
+
left: 0;
|
33
|
+
background-color: @slider-marker-color;
|
34
|
+
z-index: 3;
|
35
|
+
}
|
36
|
+
.complete {
|
37
|
+
height: 100%;
|
38
|
+
width: auto;
|
39
|
+
background-color: @slider-color-rest-state;
|
40
|
+
z-index: 2;
|
41
|
+
}
|
42
|
+
|
43
|
+
|
44
|
+
&.vertical {
|
45
|
+
height: auto;
|
46
|
+
width: 12px;
|
47
|
+
|
48
|
+
.complete {
|
49
|
+
position: absolute;
|
50
|
+
height: auto;
|
51
|
+
width: 12px;
|
52
|
+
bottom: 0;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
&:hover {
|
57
|
+
.complete {
|
58
|
+
background-color: @slider-color-hover-state;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
&:active, &:active + .marker:active {
|
63
|
+
.complete {
|
64
|
+
background-color: @slider-color-active-state;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
@@ -0,0 +1,164 @@
|
|
1
|
+
/*
|
2
|
+
* Metro UI CSS
|
3
|
+
* Copyright 2012 Sergey Pimenov
|
4
|
+
* Licensed under the MIT Lilcense
|
5
|
+
*
|
6
|
+
* Tables.less
|
7
|
+
*
|
8
|
+
*/
|
9
|
+
|
10
|
+
table {
|
11
|
+
width: 100%;
|
12
|
+
border-collapse: separate;
|
13
|
+
margin: 0 0 20px;
|
14
|
+
|
15
|
+
thead {
|
16
|
+
tr {
|
17
|
+
th, td {
|
18
|
+
display: table-cell;
|
19
|
+
vertical-align: bottom;
|
20
|
+
padding-bottom: @subunit;
|
21
|
+
padding-top: @subunit * 2;
|
22
|
+
padding-left: @subunit;
|
23
|
+
border-bottom: 1px #ddd solid;
|
24
|
+
border-right: 1px #ddd solid;
|
25
|
+
border-left: 1px transparent solid;
|
26
|
+
border-top: 1px transparent solid;
|
27
|
+
#font > .navigation;
|
28
|
+
.text-rest2-state;
|
29
|
+
text-align: left;
|
30
|
+
|
31
|
+
&.right {
|
32
|
+
text-align: right;
|
33
|
+
padding-right: @subunit * 2;
|
34
|
+
}
|
35
|
+
|
36
|
+
&.last {
|
37
|
+
border-right: 1px transparent solid;
|
38
|
+
}
|
39
|
+
|
40
|
+
&:last-child {
|
41
|
+
border-right: 1px transparent solid;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
tbody {
|
48
|
+
tr {
|
49
|
+
border: 1px #fff solid;
|
50
|
+
|
51
|
+
td {
|
52
|
+
#font > .normal;
|
53
|
+
padding: 3px 10px;
|
54
|
+
border-right: 1px #ddd solid;
|
55
|
+
border-bottom: 1px #ddd solid;
|
56
|
+
box-sizing: border-box;
|
57
|
+
|
58
|
+
&.right {
|
59
|
+
text-align: right;
|
60
|
+
}
|
61
|
+
&.center {
|
62
|
+
text-align: center;
|
63
|
+
}
|
64
|
+
&.last {
|
65
|
+
border-right: 1px transparent solid;
|
66
|
+
}
|
67
|
+
&:last-child {
|
68
|
+
border-right: 1px transparent solid;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
&.success {
|
73
|
+
.bg-color-green;
|
74
|
+
}
|
75
|
+
&.error {
|
76
|
+
.bg-color-red();
|
77
|
+
}
|
78
|
+
&.warning {
|
79
|
+
.bg-color-orange();
|
80
|
+
}
|
81
|
+
&.info {
|
82
|
+
.bg-color-blue();
|
83
|
+
}
|
84
|
+
|
85
|
+
&.info, &.warning, &.error, &.success {
|
86
|
+
td {
|
87
|
+
.fg-color-white;
|
88
|
+
}
|
89
|
+
}
|
90
|
+
|
91
|
+
&.selected-row {
|
92
|
+
background-color: rgba(28, 183, 236, 0.10) !important;
|
93
|
+
td:first-child {
|
94
|
+
border-left: 1px #1c98cc solid;
|
95
|
+
}
|
96
|
+
td:last-child {
|
97
|
+
border-right: 1px #1c98cc solid;
|
98
|
+
}
|
99
|
+
td {
|
100
|
+
border-top: 1px #1c98cc solid;
|
101
|
+
border-bottom: 1px #1c98cc solid;
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
107
|
+
tfoot {
|
108
|
+
}
|
109
|
+
|
110
|
+
&.striped {
|
111
|
+
tbody {
|
112
|
+
tr:nth-child(odd) {
|
113
|
+
background-color: #f9f9f9;
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|
117
|
+
|
118
|
+
&.hovered {
|
119
|
+
border-collapse: separate !important;
|
120
|
+
thead {
|
121
|
+
tr {
|
122
|
+
th,td {
|
123
|
+
&:hover {
|
124
|
+
border: 1px #1c98cc solid;
|
125
|
+
background: rgba(28, 183, 236, 0.10);
|
126
|
+
}
|
127
|
+
}
|
128
|
+
}
|
129
|
+
}
|
130
|
+
|
131
|
+
tbody {
|
132
|
+
tr {
|
133
|
+
&:hover {
|
134
|
+
background-color: rgba(28, 183, 236, 0.10);
|
135
|
+
td:first-child {
|
136
|
+
border-left: 1px #1c98cc solid;
|
137
|
+
}
|
138
|
+
td:last-child {
|
139
|
+
border-right: 1px #1c98cc solid;
|
140
|
+
}
|
141
|
+
td {
|
142
|
+
border-top: 1px #1c98cc solid;
|
143
|
+
border-bottom: 1px #1c98cc solid;
|
144
|
+
}
|
145
|
+
}
|
146
|
+
}
|
147
|
+
}
|
148
|
+
}
|
149
|
+
|
150
|
+
&.bordered {
|
151
|
+
border-collapse: separate !important;
|
152
|
+
border: 1px #ccc solid !important;
|
153
|
+
|
154
|
+
tbody {
|
155
|
+
tr:last-child {
|
156
|
+
td {
|
157
|
+
border-bottom: 0;
|
158
|
+
}
|
159
|
+
}
|
160
|
+
}
|
161
|
+
}
|
162
|
+
|
163
|
+
}
|
164
|
+
|
@@ -0,0 +1,54 @@
|
|
1
|
+
/*
|
2
|
+
* Metro UI CSS
|
3
|
+
* Copyright 2012 Sergey Pimenov
|
4
|
+
* Licensed under the MIT Lilcense
|
5
|
+
*
|
6
|
+
* Threme-dark.less
|
7
|
+
*
|
8
|
+
*/
|
9
|
+
|
10
|
+
body {
|
11
|
+
background: #1d1d1d;
|
12
|
+
}
|
13
|
+
|
14
|
+
.text-rest-state {color: rgba(255, 255, 255, 1.0);}
|
15
|
+
.text-rest2-state {color: rgba(255, 255, 255, 0.6);}
|
16
|
+
.text-hover-state {color: rgba(255, 255, 255, 0.8);}
|
17
|
+
.text-pressed-state {color: rgba(255, 255, 255, 0.4);}
|
18
|
+
|
19
|
+
.link-text {
|
20
|
+
color: rgba(148,102,255, 1.0);
|
21
|
+
|
22
|
+
&:hover {
|
23
|
+
color: rgba(148,102,255, 0.8);
|
24
|
+
}
|
25
|
+
&:active {
|
26
|
+
color: rgba(148,102,255, 0.6);
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
h1, h2, h3, h4, h5, h6 {
|
31
|
+
.text-rest-state;
|
32
|
+
&:hover {
|
33
|
+
.text-hover-state;
|
34
|
+
}
|
35
|
+
&:active {
|
36
|
+
.text-pressed-state;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
a, .link {
|
41
|
+
.link-text();
|
42
|
+
}
|
43
|
+
|
44
|
+
.page {
|
45
|
+
.page-header {
|
46
|
+
.page-header-content {
|
47
|
+
.user-login {
|
48
|
+
.name {
|
49
|
+
color: #fff;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
@@ -0,0 +1,285 @@
|
|
1
|
+
/*
|
2
|
+
* Metro UI CSS
|
3
|
+
* Copyright 2012 Sergey Pimenov
|
4
|
+
* Licensed under the MIT Lilcense
|
5
|
+
*
|
6
|
+
* Tiles.less
|
7
|
+
*
|
8
|
+
*/
|
9
|
+
|
10
|
+
@badge-activity-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGMSURBVDhPvZMtTwNBEIbv2mtScaICcQJRgSgJCQIEhqSiAlEHAlFRwU/ov0AgUEgUsrIkiJIgMOAQJFSQQAIJJBWIu95Hj2eGvXIpB3W8yWTn452Z3dld25pDmqZuFEWdcrm8jr6JK7Bt+wb9Ft85+vsXswBxHHdIfmFNi4TYG7InXAp6ss52kCTJIc6e6KzSVbrdYzrYDaSFXZU4uEQ8x3FW1ZpMJge5Tn3IdQ3kID5iw4zHTqIsUEP3TWCA7WhgDjRZg/eUFRCR3Fl3KYJjyfALIUU46jHcsSlQl8FdmQJnhrcQJFbJ6QZB0LDDMNyS4XBFo1Kp9Gw4/wi247GLHmvNuBaC47Y5gtzIQB1mBmMGdDSdTpfV+QdM8vfcsqkap6ClgQIQa+a4bXViPGRO5ILjuBqYAwk7yIfhXcNz9CljDFkkST6P4JGjnHA7d+gBxAY3tIve1Khljbi1beKvakHQp0uhfTrMjvOL9H3fX9FE8OM7yxAhdem4QWHZkSufSoTYaaVSkY9kYFmfXgyTciI3uacAAAAASUVORK5CYII%3D);
|
11
|
+
@badge-alert-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFeSURBVDhPpZMtT8RAEIbb7YoTJ04gkQgQuBNIEpB4LD8AwQ9AkCCQhGAvQSAuKHCIE0gEP+DEISAhQYK4pE0/eWa65a7lSvh4k8nsvDv77sxs67UhSZLNNE0LZ3uO/gLj/J+hAkVRWI1+geqMCuR5fkKZoyiKViX+DuQu094wy7KhEmEYrkAk0qt4Nk5R77GszQCuE8fxIXxY8ZJjgiBY8n3/UcTwlsQDNifGmF29AcBtITyGOyan47gXXFfW2g/q+yi+VeptJhVgR1KRHp4HZI+bzknQlhYcvpQZuHRF8xmnCDyLL8MZEI9o4YkW3h1VB+o73DJp3to08l7xsw9Lng5i1EiSSV/Pcbdwzfk8MLcNqjIyye1STnHD5joln7lYcGWtXaP8gYsFfeJyHvR9waExt3wKsV74L3Brn/geu3OUDqiL1T7nNoEK8mLi9RUoZYqlsv4pqtf459/oeR8seozS7mDHCwAAAABJRU5ErkJggg%3D%3D);
|
12
|
+
@badge-attention-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEbSURBVDhPtZI9bsJAEIVZ7ANQ5gApEomChjoNBUUOkSJFivSUQE3JEThCCo4BkotcIVKKNEi2vP7hveVZrMFgKPJJo915szOzf51/Jc/zhbV2Jfc+kiR5QrLNsqzEMJJ8O0hcM1kWlWUZKtQOOo69ZGdpmn4ofB12QsI3k1BoRtP8F7Gell0GnT6rrpJ4HOfzUiU1ww7o9HepAGI2juNHyeegw7Ja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fGTUwgQFI7UXSP3t5BcjmPvrnp37+19Wf65fJLlpbOK02XqNdpAaClBYJgVe/enWV9fciE4TB79x6iVPLGlRVMtfpGcTymxcUpUyr5nIBvAwDWIWcndiwtQAAAAABJRU5ErkJggg%3D%3D);
|
16
|
+
@badge-error-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFiSURBVDhPjVM7TsNQELRjy8ISBQeIREtBEYnQUXCINFTkCCBxgNwAJI5AaejSpaCAEqRINBTcIQ1SbD9/mHmfZP3iSIw0ytt9O7O7thMGHpqmGVZVNQnD8AwcMde27RL8rOt6nqbpjy7sA4RTpdQKv20fcbcuy/IOZrGVbIHLpz7RHr52TJCYukuMeU+6WDBjdxej4UyLubMbm0KdBDyTzHWEyY01UEVRnA4Q8IEdaZVAFEW3yD/g+IzzFc6VuTFAHAPXO7vLKQi5q+suuOD+X15yx4ToEXON1QB3B6ZkC3Qd+q8Kaxzbo0TMCTLPefPAfPS8nTeOtnk1YEfMsf11pIm+y/P8BLusmaCZrevsLE1QO3F51FzopJyCQil2pAnFoLLxI7X6z8SxkVjgeMn4H/jGQz3Ht/BrY2MC85nrsI/sjNpDKzMTSODzHPELQ9EY1H9ndFqCHxC/JEnyrgs1guAPTvwreuY0IiIAAAAASUVORK5CYII%3D);
|
17
|
+
@badge-newMessage-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAC/SURBVDhP1ZE9DgIhFIQhobDYg1haWniMbSw9j0exsfMAeg9L7Sy2kPATnCFI2LgYtjJOMjx4vPkoED+X5OK934cQ+thpFOYvSqmdMMascVDOuQMcGn1GptNaL4W1dgBkMwOSw8jeBJszIKMwexFAN0A+wnQG0Lh4wv0EJIb5AO4fRX8MoDFAlZAyPJSztOSSfiYLAYeyxTcdURcIrqSUJ7iLA4UmAdQbgnqvhakqgEoQXQtTXwEtIuCa9n8pIV67VJf6AmhGmgAAAABJRU5ErkJggg%3D%3D);
|
18
|
+
@badge-paused-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAArSURBVDhPY/j9+7fDnz9//mPBCQxQgE8NE1QN2WDUgFEDQGDUgIE3gIEBAArtNKc4HT7sAAAAAElFTkSuQmCC);
|
19
|
+
@badge-playing-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEXSURBVDhPY4CBnz9/pvz+/dsFyiUaMEFpBiYmJhkgtf3v37/t////Z4GIEgZwA0CAkZGRBai5AmjIYSCtABXGC1AMQAIWf/78OQ/EEVA+ToDLAJBrBIDUcqBrZgNdwwMRxQQ4DYABoOYUoCGngYFsABVCAQQNgAINYCAf//XrVwGUDwfEGgDyEgfQkH5guGwGukoEKky8AUhA5sePH6DwAQOSDAC6YgIzM7MpJyfnHagQcQYAnfwGiD2BmguBhvyBCoMBMQbsYWFh0WVlZd0B5aMAnAYAbfzz79+/SqBmV6CtL6DCGACXAQ+ABliysbF1QPk4AYYBQI0rgH7VBWo+AxXCC+AGADV+AVKJQL9GAp0MYhMBGBgA8v5j1f90TA8AAAAASUVORK5CYII%3D);
|
20
|
+
@badge-unavailable-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAIGNIUk0AAHolAACAgwAA+f8AAIDoAABSCAABFVgAADqXAAAXb9daH5AAAAKASURBVHjalJK9axxXFMV/772ZzOysVqvRDgtaSSwpJYFwY3ATEpIm5KNLawgp3Ljz/5E2bu20CYQUBoMNNnaRMkUKqYiQtIgdCQ0TaVc7M29n3nspzC7GMYYcuMWFe7jnHI4YjUY453DOYYyh0+l8opT63vO8L8MwbAshqKqq0lo/c849rqrquXMOIcSbGY1GWGsxxny0urr6MI7jH5RSAFhrAZBSLvc8z3+dTqf3lFL/SCnxAIwxwdra2tP19fXPAC4vL8myjKIoAIiiiF6vR7/fJ0mS75RSH19dXX0hpbwWx8fHrKys/JwkyV1rLYeHh5yenuKc420lzjm2trbY3d3F8zzyPH8ynU6/ERcXF3fiOP7D930ODg44OjoiDMOl7AWstZRlyXA4ZH9/H2MM4/H4K+l53n3f98myjJOTE4Ig+A95kUMURZydnXF+fo5SiiiKHkjf9z9f+AaWst+HRfKL2yiKbssgCNrOOWaz2Xs/vwulFLPZjLquCcPwDcM5x//B2/dyPp9XC3/WWoQQHyQbY2i32/i+T1VVTtZ1/QogSZJlGz/02VpLkiQAlGX5l2ya5mHTNPT7fba3tynLctnAd8llWTIYDNjY2MBaS1EUP0qt9YvJZPI7wM7ODsPhEK01WmuapqFpGrTWVFXFYDBgb28PIQTX19ev67r+TYzHY7TW3W63+zKO41sAaZqSZRk3NzcAtNtter0em5ubAEwmk7/zPP9USjkWaZoyn89xziWdTudRt9v9etGFuq4B8H1/aSXP89dFUdx1zp065xBpmlLXNUIIjDG0Wq1vPc+7H4bhnVarhRCCsiwpiuJPY8xPRVH8EgQBxhistfw7ABpxTL93U9x/AAAAAElFTkSuQmCC);
|
21
|
+
|
22
|
+
|
23
|
+
@tileSmall: 150px;
|
24
|
+
@tileLarge: 310px;
|
25
|
+
@tileMargin: 5px;
|
26
|
+
@tileDouble: @tileSmall * 2 + @tileMargin * 2;
|
27
|
+
@tileTriple: @tileSmall * 3 + @tileMargin * 4;
|
28
|
+
@tileQuadro: @tileSmall * 4 + @tileMargin * 6;
|
29
|
+
|
30
|
+
|
31
|
+
.tile-group {
|
32
|
+
margin: 0;
|
33
|
+
margin-right: @unit * 4;
|
34
|
+
float: left;
|
35
|
+
width: auto;
|
36
|
+
height: auto;
|
37
|
+
min-height: 1px;
|
38
|
+
width: 802px;
|
39
|
+
}
|
40
|
+
|
41
|
+
.tile {
|
42
|
+
display: block;
|
43
|
+
float: left;
|
44
|
+
background-color: @grayDark;
|
45
|
+
width: @tileSmall;
|
46
|
+
height: @tileSmall;
|
47
|
+
cursor: pointer;
|
48
|
+
box-shadow: inset 0px 0px 1px #FFFFCC;
|
49
|
+
text-decoration: none;
|
50
|
+
color: @white;
|
51
|
+
.no-overflow;
|
52
|
+
.pos-rel;
|
53
|
+
#font > .normal;
|
54
|
+
margin: 0 10px 10px 0;
|
55
|
+
overflow: hidden;
|
56
|
+
|
57
|
+
|
58
|
+
* {
|
59
|
+
color: @white;
|
60
|
+
}
|
61
|
+
|
62
|
+
.tile-content {
|
63
|
+
width: 100%;
|
64
|
+
height: 100%;
|
65
|
+
padding: 0;
|
66
|
+
padding-bottom: 30px;
|
67
|
+
vertical-align: top;
|
68
|
+
padding: 10px 15px;
|
69
|
+
overflow: hidden;
|
70
|
+
text-overflow: ellipsis;
|
71
|
+
position: relative;
|
72
|
+
|
73
|
+
.tertiary-text;
|
74
|
+
color: @white;
|
75
|
+
line-height: 16px;
|
76
|
+
|
77
|
+
&:hover {
|
78
|
+
color: @white;
|
79
|
+
}
|
80
|
+
|
81
|
+
h1,h2,h3,h4,h5,h6,p {
|
82
|
+
padding: 0;
|
83
|
+
margin: 0;
|
84
|
+
line-height: 24px;
|
85
|
+
|
86
|
+
&:hover {
|
87
|
+
color: @white;
|
88
|
+
}
|
89
|
+
}
|
90
|
+
|
91
|
+
p {
|
92
|
+
.tertiary-text;
|
93
|
+
color: @white;
|
94
|
+
line-height: 16px;
|
95
|
+
overflow: hidden;
|
96
|
+
text-overflow: ellipsis;
|
97
|
+
&:hover {
|
98
|
+
color: @white;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
|
103
|
+
&.icon {
|
104
|
+
& > .tile-content {
|
105
|
+
padding: 0;
|
106
|
+
|
107
|
+
& > img {
|
108
|
+
position: absolute;
|
109
|
+
width: 64px;
|
110
|
+
height: 64px;
|
111
|
+
top: 50%;
|
112
|
+
left: 50%;
|
113
|
+
margin-left: -32px;
|
114
|
+
margin-top: -32px;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
}
|
118
|
+
|
119
|
+
&.image, &.image-slider {
|
120
|
+
& > .tile-content {
|
121
|
+
padding: 0;
|
122
|
+
|
123
|
+
& > img {
|
124
|
+
width: 100%;
|
125
|
+
height : auto;
|
126
|
+
min-height: 100%;
|
127
|
+
max-width: 100%;
|
128
|
+
}
|
129
|
+
}
|
130
|
+
}
|
131
|
+
|
132
|
+
&.image-set {
|
133
|
+
& > .tile-content {
|
134
|
+
margin: 0;
|
135
|
+
padding: 0;
|
136
|
+
width: 25% !important;
|
137
|
+
height: 50%;
|
138
|
+
float: left;
|
139
|
+
border: 1px #1e1e1e solid;
|
140
|
+
|
141
|
+
& > img {
|
142
|
+
min-width: 100%;
|
143
|
+
width: 100%;
|
144
|
+
height : auto;
|
145
|
+
min-height: 100%;
|
146
|
+
}
|
147
|
+
}
|
148
|
+
|
149
|
+
.tile-content:first-child {
|
150
|
+
width: 50% !important;
|
151
|
+
float: left;
|
152
|
+
height: 100%;
|
153
|
+
}
|
154
|
+
}
|
155
|
+
|
156
|
+
&.double {
|
157
|
+
width: @tileDouble;
|
158
|
+
}
|
159
|
+
&.triple {
|
160
|
+
width: @tileTriple;
|
161
|
+
}
|
162
|
+
&.quadro {
|
163
|
+
width: @tileQuadro;
|
164
|
+
}
|
165
|
+
&.double-vertical {
|
166
|
+
height: @tileDouble;
|
167
|
+
}
|
168
|
+
&.triple-vertical {
|
169
|
+
height: @tileTriple;
|
170
|
+
}
|
171
|
+
&.quadro-vertical {
|
172
|
+
height: @tileQuadro;
|
173
|
+
}
|
174
|
+
|
175
|
+
|
176
|
+
.brand, .tile-status {
|
177
|
+
.pos-abs;
|
178
|
+
bottom: 0;
|
179
|
+
left: 0;
|
180
|
+
right: 0;
|
181
|
+
min-height: 30px;
|
182
|
+
background-color: transparent;
|
183
|
+
.clearfix;
|
184
|
+
|
185
|
+
& > .badge {
|
186
|
+
.bottom-right;
|
187
|
+
right: 5px;
|
188
|
+
margin-bottom: 0;
|
189
|
+
color: @white;
|
190
|
+
width: 34px;
|
191
|
+
height: 28px;
|
192
|
+
text-align: center;
|
193
|
+
#font > .small-subheader;
|
194
|
+
padding-top: 3px;
|
195
|
+
|
196
|
+
&.activity {
|
197
|
+
background: @blue @badge-activity-image 50% no-repeat;
|
198
|
+
}
|
199
|
+
&.alert {
|
200
|
+
background: @blue @badge-alert-image 50% no-repeat;
|
201
|
+
}
|
202
|
+
&.available {
|
203
|
+
background: @blue @badge-available-image 50% no-repeat;
|
204
|
+
}
|
205
|
+
&.unavailable {
|
206
|
+
background: @blue @badge-unavailable-image 50% no-repeat;
|
207
|
+
}
|
208
|
+
&.away {
|
209
|
+
background: @blue @badge-away-image 50% no-repeat;
|
210
|
+
}
|
211
|
+
&.busy {
|
212
|
+
background: @blue @badge-busy-image 50% no-repeat;
|
213
|
+
}
|
214
|
+
&.newMessage {
|
215
|
+
background: @blue @badge-newMessage-image 50% no-repeat;
|
216
|
+
}
|
217
|
+
&.paused {
|
218
|
+
background: @blue @badge-paused-image 50% no-repeat;
|
219
|
+
}
|
220
|
+
&.playing {
|
221
|
+
background: @blue @badge-playing-image 50% no-repeat;
|
222
|
+
}
|
223
|
+
&.error {
|
224
|
+
background: @blue @badge-error-image 50% no-repeat;
|
225
|
+
}
|
226
|
+
&.attention {
|
227
|
+
background: @blue @badge-attention-image 50% no-repeat;
|
228
|
+
}
|
229
|
+
}
|
230
|
+
|
231
|
+
& > .name {
|
232
|
+
.bottom-left;
|
233
|
+
margin-bottom: 5px;
|
234
|
+
margin-left: 15px;
|
235
|
+
#font > .tertiary;
|
236
|
+
|
237
|
+
color: @white;
|
238
|
+
&:hover {
|
239
|
+
color: @white;
|
240
|
+
}
|
241
|
+
|
242
|
+
& > [class*=icon-] {
|
243
|
+
font-size: 24px;
|
244
|
+
}
|
245
|
+
|
246
|
+
}
|
247
|
+
|
248
|
+
& > .icon {
|
249
|
+
margin: 5px 15px;
|
250
|
+
width: 32px;
|
251
|
+
height: 32px;
|
252
|
+
|
253
|
+
& > [class*=icon-] {
|
254
|
+
font-size: 32px;
|
255
|
+
}
|
256
|
+
|
257
|
+
& > img {
|
258
|
+
width: 100%;
|
259
|
+
height: 100%;
|
260
|
+
}
|
261
|
+
}
|
262
|
+
|
263
|
+
& > .text {
|
264
|
+
.pos-abs;
|
265
|
+
left: 60px;
|
266
|
+
top: 5px;
|
267
|
+
right: 50px;
|
268
|
+
.tertiary-text;
|
269
|
+
color: @white;
|
270
|
+
line-height: 14px;
|
271
|
+
|
272
|
+
&:hover {
|
273
|
+
color: @white;
|
274
|
+
}
|
275
|
+
}
|
276
|
+
}
|
277
|
+
|
278
|
+
&:hover {
|
279
|
+
outline: 3px #3a3a3a solid;
|
280
|
+
}
|
281
|
+
}
|
282
|
+
|
283
|
+
.tiles {
|
284
|
+
&.scale {}
|
285
|
+
}
|