metro-rails 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE +22 -0
- data/README.md +14 -0
- data/Rakefile +2 -0
- data/lib/metro-rails.rb +7 -0
- data/lib/metro-rails/version.rb +5 -0
- data/metro-rails.gemspec +18 -0
- data/vendor/assets/images/metro/back.png +0 -0
- data/vendor/assets/images/metro/next.png +0 -0
- data/vendor/assets/stylesheets/metro/buttons.less +362 -0
- data/vendor/assets/stylesheets/metro/buttons.scss +0 -0
- data/vendor/assets/stylesheets/metro/form.less +82 -0
- data/vendor/assets/stylesheets/metro/images.less +371 -0
- data/vendor/assets/stylesheets/metro/metro.less +43 -0
- data/vendor/assets/stylesheets/metro/notices.less +181 -0
- data/vendor/assets/stylesheets/metro/reset.less +123 -0
- data/vendor/assets/stylesheets/metro/routines.less +54 -0
- data/vendor/assets/stylesheets/metro/themes.less +267 -0
- data/vendor/assets/stylesheets/metro/tiles.less +178 -0
- data/vendor/assets/stylesheets/metro/typography.less +115 -0
- data/vendor/assets/stylesheets/metro/variables.less +61 -0
- metadata +84 -0
@@ -0,0 +1,43 @@
|
|
1
|
+
/*
|
2
|
+
* Metro UI CSS v 1.0.1
|
3
|
+
* Copyright 2012 Sergey Pimenov
|
4
|
+
* Licensed under the MIT Lilcense
|
5
|
+
*/
|
6
|
+
|
7
|
+
// CSS Reset
|
8
|
+
@import "reset.less";
|
9
|
+
|
10
|
+
@import "variables.less";
|
11
|
+
@import "typography.less";
|
12
|
+
@import "routines.less";
|
13
|
+
|
14
|
+
@import "tiles.less";
|
15
|
+
@import "notices.less";
|
16
|
+
@import "images.less";
|
17
|
+
@import "buttons.less";
|
18
|
+
@import "form.less";
|
19
|
+
@import "themes.less";
|
20
|
+
|
21
|
+
.metro {
|
22
|
+
background: transparent;
|
23
|
+
|
24
|
+
* {
|
25
|
+
color: @white;
|
26
|
+
}
|
27
|
+
|
28
|
+
hr {
|
29
|
+
color: #fff;
|
30
|
+
background-color: #fff;
|
31
|
+
}
|
32
|
+
|
33
|
+
.metro-replies {
|
34
|
+
.metro-reply {
|
35
|
+
background: @darken;
|
36
|
+
|
37
|
+
* {
|
38
|
+
color: @white;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
@@ -0,0 +1,181 @@
|
|
1
|
+
/*
|
2
|
+
* Metro UI CSS v 1.0.1
|
3
|
+
* Copyright 2012 Sergey Pimenov
|
4
|
+
* Licensed under the MIT Lilcense
|
5
|
+
*/
|
6
|
+
|
7
|
+
|
8
|
+
.metro {
|
9
|
+
|
10
|
+
.metro-replies {
|
11
|
+
list-style: none;
|
12
|
+
margin: 0;
|
13
|
+
padding: 0;
|
14
|
+
|
15
|
+
.metro-reply {
|
16
|
+
width: 300px;
|
17
|
+
height: auto;
|
18
|
+
padding: 10px;
|
19
|
+
font-family: @baseFontFamily;
|
20
|
+
margin-bottom: 10px;
|
21
|
+
margin-right: 10px;
|
22
|
+
position: relative;
|
23
|
+
//box-shadow: inset 0px 0px 3px #fff !important;
|
24
|
+
display: block;
|
25
|
+
|
26
|
+
.avatar {
|
27
|
+
width: 50px;
|
28
|
+
height: 50px;
|
29
|
+
overflow: hidden;
|
30
|
+
display: table-cell;
|
31
|
+
vertical-align:middle !important;
|
32
|
+
background: #6e6e6e;
|
33
|
+
box-shadow-bottom: inset 0px 0px 3px #fff;
|
34
|
+
|
35
|
+
img {
|
36
|
+
width: 100%;
|
37
|
+
height: 100%;
|
38
|
+
display:inline-block !important;
|
39
|
+
vertical-align:middle !important;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
.reply {
|
44
|
+
margin-left: 60px;
|
45
|
+
margin-top: -50px;
|
46
|
+
|
47
|
+
.date {
|
48
|
+
float: right;
|
49
|
+
font-size: 55%;
|
50
|
+
color: @white;
|
51
|
+
}
|
52
|
+
.author {
|
53
|
+
color: @white;
|
54
|
+
}
|
55
|
+
.text {
|
56
|
+
font-size: 12px;
|
57
|
+
color: @white;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
.sticker {
|
62
|
+
width: 0;
|
63
|
+
height: 0;
|
64
|
+
border-top: 10px solid @white;
|
65
|
+
position: absolute;
|
66
|
+
display: block;
|
67
|
+
z-index: 1000;
|
68
|
+
}
|
69
|
+
|
70
|
+
.sticker.sticker-color-black{border-top: 10px solid @black !important;}
|
71
|
+
.sticker.sticker-color-blue{border-top: 10px solid @white !important;}
|
72
|
+
.sticker.sticker-color-blueDark{border-top: 10px solid @blueDark !important;}
|
73
|
+
.sticker.sticker-color-green{border-top: 10px solid @green !important;}
|
74
|
+
.sticker.sticker-color-greenDark{border-top: 10px solid @greenDark !important;}
|
75
|
+
.sticker.sticker-color-red{border-top: 10px solid @red !important;}
|
76
|
+
.sticker.sticker-color-yellow{border-top: 10px solid @yellow !important;}
|
77
|
+
.sticker.sticker-color-orange{border-top: 10px solid @orange !important;}
|
78
|
+
.sticker.sticker-color-pink{border-top: 10px solid @pink !important;}
|
79
|
+
.sticker.sticker-color-purple{border-top: 10px solid @purple !important;}
|
80
|
+
.sticker.sticker-color-darken{border-top: 10px solid @darken !important;}
|
81
|
+
|
82
|
+
.sticker.sticker-left {
|
83
|
+
border-left: 20px solid transparent !important;
|
84
|
+
left: -20px;
|
85
|
+
}
|
86
|
+
|
87
|
+
.sticker.sticker-right {
|
88
|
+
border-right: 20px solid transparent !important;
|
89
|
+
right: -20px;
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
|
95
|
+
.metro-notices {
|
96
|
+
list-style: none;
|
97
|
+
margin: 0;
|
98
|
+
padding: 0;
|
99
|
+
|
100
|
+
.metro-notice {
|
101
|
+
width: 385px;
|
102
|
+
height: 90px;
|
103
|
+
display: block;
|
104
|
+
overflow: hidden;
|
105
|
+
position: relative;
|
106
|
+
//padding: 1px;
|
107
|
+
//box-shadow: inset 0px 0px 3px #fff;
|
108
|
+
margin-bottom: 10px;
|
109
|
+
|
110
|
+
.header {
|
111
|
+
margin-top: 15px;
|
112
|
+
margin-right: 25px;
|
113
|
+
margin-left: 10px;
|
114
|
+
|
115
|
+
color: #fff;
|
116
|
+
font-family: @baseFontFamily;
|
117
|
+
font-size: 13px;
|
118
|
+
font-weight: bolder;
|
119
|
+
}
|
120
|
+
.text {
|
121
|
+
margin-right: 45px;
|
122
|
+
margin-left: 10px;
|
123
|
+
color: #fff;
|
124
|
+
font-family: @baseFontFamily;
|
125
|
+
font-size: 12px;
|
126
|
+
font-weight: lighter;
|
127
|
+
}
|
128
|
+
|
129
|
+
.icon {
|
130
|
+
position: absolute;
|
131
|
+
right: 10px;
|
132
|
+
bottom: 5px;
|
133
|
+
|
134
|
+
img {
|
135
|
+
width: 32px;
|
136
|
+
height: 32px;
|
137
|
+
}
|
138
|
+
}
|
139
|
+
|
140
|
+
.image {
|
141
|
+
max-height: 48px;
|
142
|
+
width: 48px;
|
143
|
+
height: 48px;
|
144
|
+
margin: 20px 30px 20px 20px;
|
145
|
+
float: left;
|
146
|
+
|
147
|
+
img {
|
148
|
+
width: 48px;
|
149
|
+
height: 48px;
|
150
|
+
}
|
151
|
+
}
|
152
|
+
|
153
|
+
.close {
|
154
|
+
position: absolute;
|
155
|
+
top: 5px;
|
156
|
+
right: 10px;
|
157
|
+
cursor: pointer;
|
158
|
+
font-weight: bold;
|
159
|
+
text-decoration: none;
|
160
|
+
color: #fff !important;
|
161
|
+
}
|
162
|
+
.close::before {
|
163
|
+
content: "\00d7";
|
164
|
+
color: #fff !important;
|
165
|
+
}
|
166
|
+
|
167
|
+
.image-large {
|
168
|
+
width: 88px;
|
169
|
+
height: 88px;
|
170
|
+
margin: 1px 10px 1px 1px;
|
171
|
+
overflow: hidden;
|
172
|
+
float: left;
|
173
|
+
|
174
|
+
img {
|
175
|
+
width: 88px;
|
176
|
+
height: 88px;
|
177
|
+
}
|
178
|
+
}
|
179
|
+
}
|
180
|
+
}
|
181
|
+
}
|
@@ -0,0 +1,123 @@
|
|
1
|
+
// Reset.less
|
2
|
+
// Adapted from Normalize.css http://github.com/necolas/normalize.css
|
3
|
+
// ------------------------------------------------------------------------
|
4
|
+
|
5
|
+
// Display in IE6-9 and FF3
|
6
|
+
// -------------------------
|
7
|
+
|
8
|
+
article,
|
9
|
+
aside,
|
10
|
+
details,
|
11
|
+
figcaption,
|
12
|
+
figure,
|
13
|
+
footer,
|
14
|
+
header,
|
15
|
+
hgroup,
|
16
|
+
nav,
|
17
|
+
section {
|
18
|
+
display: block;
|
19
|
+
}
|
20
|
+
|
21
|
+
// Display block in IE6-9 and FF3
|
22
|
+
// -------------------------
|
23
|
+
|
24
|
+
audio,
|
25
|
+
canvas,
|
26
|
+
video {
|
27
|
+
display: inline-block;
|
28
|
+
*display: inline;
|
29
|
+
*zoom: 1;
|
30
|
+
}
|
31
|
+
|
32
|
+
// Prevents modern browsers from displaying 'audio' without controls
|
33
|
+
// -------------------------
|
34
|
+
|
35
|
+
audio:not([controls]) {
|
36
|
+
display: none;
|
37
|
+
}
|
38
|
+
|
39
|
+
// Base settings
|
40
|
+
// -------------------------
|
41
|
+
|
42
|
+
html {
|
43
|
+
font-size: 100%;
|
44
|
+
-webkit-text-size-adjust: 100%;
|
45
|
+
-ms-text-size-adjust: 100%;
|
46
|
+
}
|
47
|
+
|
48
|
+
// Hover & Active
|
49
|
+
a:hover,
|
50
|
+
a:active {
|
51
|
+
outline: 0;
|
52
|
+
}
|
53
|
+
|
54
|
+
// Prevents sub and sup affecting line-height in all browsers
|
55
|
+
// -------------------------
|
56
|
+
|
57
|
+
sub,
|
58
|
+
sup {
|
59
|
+
position: relative;
|
60
|
+
font-size: 75%;
|
61
|
+
line-height: 0;
|
62
|
+
vertical-align: baseline;
|
63
|
+
}
|
64
|
+
sup {
|
65
|
+
top: -0.5em;
|
66
|
+
}
|
67
|
+
sub {
|
68
|
+
bottom: -0.25em;
|
69
|
+
}
|
70
|
+
|
71
|
+
// Img border in a's and image quality
|
72
|
+
// -------------------------
|
73
|
+
|
74
|
+
img {
|
75
|
+
max-width: 100%;
|
76
|
+
height: auto;
|
77
|
+
border: 0;
|
78
|
+
-ms-interpolation-mode: bicubic;
|
79
|
+
}
|
80
|
+
|
81
|
+
// Forms
|
82
|
+
// -------------------------
|
83
|
+
|
84
|
+
// Font size in all browsers, margin changes, misc consistency
|
85
|
+
button,
|
86
|
+
input,
|
87
|
+
select,
|
88
|
+
textarea {
|
89
|
+
margin: 0;
|
90
|
+
font-size: 100%;
|
91
|
+
vertical-align: middle;
|
92
|
+
}
|
93
|
+
button,
|
94
|
+
input {
|
95
|
+
*overflow: visible; // Inner spacing ie IE6/7
|
96
|
+
line-height: normal; // FF3/4 have !important on line-height in UA stylesheet
|
97
|
+
}
|
98
|
+
button::-moz-focus-inner,
|
99
|
+
input::-moz-focus-inner { // Inner padding and border oddities in FF3/4
|
100
|
+
padding: 0;
|
101
|
+
border: 0;
|
102
|
+
}
|
103
|
+
button,
|
104
|
+
input[type="button"],
|
105
|
+
input[type="reset"],
|
106
|
+
input[type="submit"] {
|
107
|
+
cursor: pointer; // Cursors on all buttons applied consistently
|
108
|
+
-webkit-appearance: button; // Style clickable inputs in iOS
|
109
|
+
}
|
110
|
+
input[type="search"] { // Appearance in Safari/Chrome
|
111
|
+
-webkit-appearance: textfield;
|
112
|
+
-webkit-box-sizing: content-box;
|
113
|
+
-moz-box-sizing: content-box;
|
114
|
+
box-sizing: content-box;
|
115
|
+
}
|
116
|
+
input[type="search"]::-webkit-search-decoration,
|
117
|
+
input[type="search"]::-webkit-search-cancel-button {
|
118
|
+
-webkit-appearance: none; // Inner-padding issues in Chrome OSX, Safari 5
|
119
|
+
}
|
120
|
+
textarea {
|
121
|
+
overflow: auto; // Remove vertical scrollbar in IE6-9
|
122
|
+
vertical-align: top; // Readability and alignment cross-browser
|
123
|
+
}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
/*
|
2
|
+
* Metro UI CSS v 1.0.1
|
3
|
+
* Copyright 2012 Sergey Pimenov
|
4
|
+
* Licensed under the MIT Lilcense
|
5
|
+
*/
|
6
|
+
|
7
|
+
.place-left {float: left;}
|
8
|
+
.place-right {float: right;}
|
9
|
+
.pos-rel {position: relative;}
|
10
|
+
.pos-abs {position: absolute;}
|
11
|
+
.pos-fix {position: fixed;}
|
12
|
+
.text-left {text-align: left;}
|
13
|
+
.text-right {text-align: right;}
|
14
|
+
.text-center {text-align: center;}
|
15
|
+
.text-justify {text-align: justify;}
|
16
|
+
.top-left {
|
17
|
+
position: absolute;
|
18
|
+
top: 0;
|
19
|
+
left: 0;
|
20
|
+
}
|
21
|
+
.top-right {
|
22
|
+
position: absolute;
|
23
|
+
top: 0;
|
24
|
+
right: 0;
|
25
|
+
}
|
26
|
+
.bottom-right {
|
27
|
+
position: absolute;
|
28
|
+
bottom: 0;
|
29
|
+
right: 0;
|
30
|
+
}
|
31
|
+
.bottom-left {
|
32
|
+
position: absolute;
|
33
|
+
bottom: 0;
|
34
|
+
left: 0;
|
35
|
+
}
|
36
|
+
|
37
|
+
.clearfix:after {
|
38
|
+
content: ".";
|
39
|
+
display: block;
|
40
|
+
clear: both;
|
41
|
+
visibility: hidden;
|
42
|
+
line-height: 0;
|
43
|
+
height: 0;
|
44
|
+
}
|
45
|
+
.clearfix {
|
46
|
+
display: inline-block;
|
47
|
+
zoom: 1;
|
48
|
+
}
|
49
|
+
html[xmlns] .clearfix {
|
50
|
+
display: block;
|
51
|
+
}
|
52
|
+
* html .clearfix {
|
53
|
+
height: 1%;
|
54
|
+
}
|
@@ -0,0 +1,267 @@
|
|
1
|
+
/*
|
2
|
+
* Metro UI CSS v 1.0.1
|
3
|
+
* Copyright 2012 Sergey Pimenov
|
4
|
+
* Licensed under the MIT Lilcense
|
5
|
+
*/
|
6
|
+
|
7
|
+
.metro.metro-theme-dark {
|
8
|
+
//this is default theme
|
9
|
+
}
|
10
|
+
|
11
|
+
.metro.metro-theme-light {
|
12
|
+
background: #fff;
|
13
|
+
|
14
|
+
* {
|
15
|
+
color: @darken;
|
16
|
+
}
|
17
|
+
|
18
|
+
a {
|
19
|
+
color: @blue;
|
20
|
+
}
|
21
|
+
|
22
|
+
h1, h2, h3, h4, h5, h6 {
|
23
|
+
color: #1e1e1e !important;
|
24
|
+
}
|
25
|
+
|
26
|
+
.tile:hover {
|
27
|
+
outline: 3px #cfcfcf solid !important;
|
28
|
+
}
|
29
|
+
|
30
|
+
.tile {
|
31
|
+
.tile-caption {
|
32
|
+
}
|
33
|
+
|
34
|
+
* {
|
35
|
+
color: @white;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
.metro-section {
|
40
|
+
.next-section {
|
41
|
+
position: absolute;
|
42
|
+
top: 0px;
|
43
|
+
right: -40px;
|
44
|
+
background: url(/img/next-black.png);
|
45
|
+
height: 24px;
|
46
|
+
width: 24px;
|
47
|
+
}
|
48
|
+
.next-section.back {
|
49
|
+
background: url(/img/back-black.png);
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
.metro-replies {
|
54
|
+
.metro-reply {
|
55
|
+
background: @blue;
|
56
|
+
|
57
|
+
* {
|
58
|
+
color: @darken;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
.metro-icon-text {
|
64
|
+
.text {
|
65
|
+
.title {
|
66
|
+
color: #000;
|
67
|
+
}
|
68
|
+
.subtitle {
|
69
|
+
color: @darken;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
&:hover {
|
73
|
+
.text {
|
74
|
+
* {
|
75
|
+
color: #fff;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
.metro-icon-text.selected {
|
81
|
+
.text {
|
82
|
+
* {
|
83
|
+
color: #fff;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
.metro-icon-text-header {
|
88
|
+
color: @darken;
|
89
|
+
}
|
90
|
+
|
91
|
+
.metro-icon-text-header a {
|
92
|
+
color: @darken;
|
93
|
+
}
|
94
|
+
|
95
|
+
.metro-image-text {
|
96
|
+
.text {
|
97
|
+
.title {
|
98
|
+
color: #000;
|
99
|
+
}
|
100
|
+
.subtitle {
|
101
|
+
color: @darken;
|
102
|
+
}
|
103
|
+
.description {
|
104
|
+
color: @darken;
|
105
|
+
}
|
106
|
+
}
|
107
|
+
}
|
108
|
+
.metro-icon-text.selected {
|
109
|
+
.text {
|
110
|
+
.title {
|
111
|
+
color: #fff;
|
112
|
+
}
|
113
|
+
.subtitle {
|
114
|
+
color: #fff;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
}
|
118
|
+
.metro-icon-text-header {
|
119
|
+
color: @darken;
|
120
|
+
}
|
121
|
+
|
122
|
+
.metro-button, .metro-command-button {
|
123
|
+
background: #cccccc;
|
124
|
+
border-color: #cccccc;
|
125
|
+
color: #1d1d1d !important;
|
126
|
+
.title, .subtitle {
|
127
|
+
color: #1d1d1d !important;
|
128
|
+
}
|
129
|
+
|
130
|
+
&:hover {
|
131
|
+
background: #d8d8d8;
|
132
|
+
border-color: #d8d8d8;
|
133
|
+
}
|
134
|
+
|
135
|
+
&.default {
|
136
|
+
background: #008287;
|
137
|
+
border-color: #008287;
|
138
|
+
color: #fff !important;
|
139
|
+
.title, .subtitle {
|
140
|
+
color: #fff !important;
|
141
|
+
}
|
142
|
+
}
|
143
|
+
|
144
|
+
&.default:hover {
|
145
|
+
background: #219297;
|
146
|
+
border-color: #219297;
|
147
|
+
color: #fff !important;
|
148
|
+
}
|
149
|
+
|
150
|
+
&:active {
|
151
|
+
background: #000;
|
152
|
+
border-color: #000;
|
153
|
+
color: #fff !important;
|
154
|
+
}
|
155
|
+
|
156
|
+
&.disabled {
|
157
|
+
background: #eaeaea !important;
|
158
|
+
border-color: #eaeaea !important;
|
159
|
+
color: #9b9b9b !important;
|
160
|
+
.title, .subtitle {
|
161
|
+
color: #9d9d9d !important;
|
162
|
+
}
|
163
|
+
}
|
164
|
+
&:disabled {
|
165
|
+
background: #eaeaea !important;
|
166
|
+
border-color: #eaeaea !important;
|
167
|
+
color: #9b9b9b !important;
|
168
|
+
.title, .subtitle {
|
169
|
+
color: #9d9d9d !important;
|
170
|
+
}
|
171
|
+
}
|
172
|
+
}
|
173
|
+
|
174
|
+
.metro-command-button {
|
175
|
+
&:active {
|
176
|
+
background: #ccc;
|
177
|
+
border-color: #ccc;
|
178
|
+
}
|
179
|
+
}
|
180
|
+
|
181
|
+
.metro-radio {
|
182
|
+
input[type=radio] + span::before {
|
183
|
+
border: 2px #cfcfcf solid;
|
184
|
+
background: #fff;
|
185
|
+
height: 20px;
|
186
|
+
width: 20px;
|
187
|
+
}
|
188
|
+
|
189
|
+
input[type=radio]:disabled + span::before {
|
190
|
+
background: #e6e6e6;
|
191
|
+
}
|
192
|
+
|
193
|
+
input[type=radio]:disabled:checked + span::after {
|
194
|
+
background: #8a8a8a;
|
195
|
+
}
|
196
|
+
|
197
|
+
&:hover input[type=radio]:checked + span::before {
|
198
|
+
background: #ffffff;
|
199
|
+
}
|
200
|
+
&:hover input[type=radio]:disabled + span::before {
|
201
|
+
background: #e6e6e6;
|
202
|
+
}
|
203
|
+
&:hover input[type=radio]:disabled:checked + span::after {
|
204
|
+
background: #8a8a8a;
|
205
|
+
}
|
206
|
+
&:hover input[type=radio]:checked + span::after {
|
207
|
+
background: #212121;
|
208
|
+
}
|
209
|
+
}
|
210
|
+
|
211
|
+
.metro-check {
|
212
|
+
input[type=checkbox] + span::before {
|
213
|
+
border: 2px #cfcfcf solid;
|
214
|
+
background: #fff;
|
215
|
+
height: 20px;
|
216
|
+
width: 20px;
|
217
|
+
}
|
218
|
+
|
219
|
+
input[type=checkbox]:disabled + span::before {
|
220
|
+
background: #e6e6e6;
|
221
|
+
}
|
222
|
+
|
223
|
+
input[type=checkbox]:disabled:checked + span::after {
|
224
|
+
color: #8a8a8a;
|
225
|
+
}
|
226
|
+
|
227
|
+
&:hover input[type=checkbox] + span::before {
|
228
|
+
background: #fff;
|
229
|
+
}
|
230
|
+
|
231
|
+
&:hover input[type=checkbox]:disabled + span::before {
|
232
|
+
background: #e6e6e6;
|
233
|
+
}
|
234
|
+
}
|
235
|
+
|
236
|
+
.metro-switch {
|
237
|
+
input[type=checkbox] + span::before {
|
238
|
+
border-color: #fff;
|
239
|
+
outline-color: #a6a6a6;
|
240
|
+
}
|
241
|
+
input[type=checkbox]:not(:checked) + span::before {
|
242
|
+
background: #b5b5b5;
|
243
|
+
}
|
244
|
+
input[type=checkbox] + span::after {
|
245
|
+
background: #333;
|
246
|
+
}
|
247
|
+
|
248
|
+
&:hover input[type=checkbox]:checked + span::before {
|
249
|
+
background: #25bbc4;
|
250
|
+
}
|
251
|
+
&:hover input[type=checkbox]:not(:checked) + span::before {
|
252
|
+
background: #b5b5b5;
|
253
|
+
}
|
254
|
+
|
255
|
+
input[type=checkbox]:disabled + span::before,
|
256
|
+
&:hover input[type=checkbox]:disabled + span::before {
|
257
|
+
background: #e0e0e0;
|
258
|
+
outline-color: #cccccc;
|
259
|
+
}
|
260
|
+
|
261
|
+
input[type=checkbox]:disabled + span::after,
|
262
|
+
&:hover input[type=checkbox]:disabled + span::after {
|
263
|
+
background: #a6a6a6;
|
264
|
+
}
|
265
|
+
}
|
266
|
+
|
267
|
+
}
|