minimal-devices 0.5

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,3 @@
1
+ .sass-cache
2
+ .DS_store
3
+ pkg/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in minimal-devices.gemspec
4
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,17 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ minimal-devices (0.5)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ rake (10.0.4)
10
+
11
+ PLATFORMS
12
+ ruby
13
+
14
+ DEPENDENCIES
15
+ bundler (~> 1.3)
16
+ minimal-devices!
17
+ rake
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 Jared Hardy
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,63 @@
1
+ Minimal CSS Devices
2
+ ===============
3
+
4
+ A set of css only devices minimally styled. Still a work in progress.
5
+ Currently requires compass and sass, but will be ported to plain sass or can you use the compiled css.
6
+
7
+
8
+ ## Current Devices
9
+ iPhone 5 - black and white variant
10
+
11
+ iPad - black and white variant
12
+
13
+ ## Mark up
14
+ **iPhone 5**
15
+ ```html
16
+ <div class="iphone-5 white-device">
17
+ <div class="body">
18
+
19
+ <div class="buttons"></div>
20
+
21
+ <div class="front-camera"></div>
22
+ <div class="top-speaker"></div>
23
+ <div class="screen"></div>
24
+
25
+ <button class="home-button"></button>
26
+ </div>
27
+ </div>
28
+
29
+ <div class="iphone-5 black-device">
30
+ <div class="body">
31
+
32
+ <div class="buttons"></div>
33
+
34
+ <div class="front-camera"></div>
35
+ <div class="top-speaker"></div>
36
+ <div class="screen"></div>
37
+
38
+ <button class="home-button"></button>
39
+ </div>
40
+ </div>
41
+ ```
42
+
43
+ **iPad**
44
+ ```html
45
+ <div class="ipad white-device">
46
+ <div class="body">
47
+ <div class="front-camera"></div>
48
+ <div class="screen"></div>
49
+
50
+ <button class="home-button"></button>
51
+ </div>
52
+ </div>
53
+
54
+
55
+ <div class="ipad black-device">
56
+ <div class="body">
57
+ <div class="front-camera"></div>
58
+ <div class="screen"></div>
59
+
60
+ <button class="home-button"></button>
61
+ </div>
62
+ </div>
63
+ ```
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,10 @@
1
+ # Compass CSS framework config file
2
+
3
+ project_type = :stand_alone
4
+ http_path = "/"
5
+ sass_dir = ""
6
+ css_dir = "../css"
7
+ line_comments = false
8
+ preferred_syntax = :scss
9
+ output_style = :expanded
10
+ relative_assets = true
@@ -0,0 +1 @@
1
+ @import "../stylesheets/device/imac";
@@ -0,0 +1 @@
1
+ @import "../stylesheets/device/ipad";
@@ -0,0 +1,2 @@
1
+ @import "../stylesheets/device/iphone";
2
+
@@ -0,0 +1 @@
1
+ @import "../stylesheets/device/macbook-pro";
data/css/imac.css ADDED
@@ -0,0 +1,98 @@
1
+ .md-imac {
2
+ width: 62.5em;
3
+ height: 50em;
4
+ }
5
+ .md-imac .md-body {
6
+ width: 100%;
7
+ height: 43.125em;
8
+ background: #c6c7ca;
9
+ border-radius: 1.875em;
10
+ overflow: hidden;
11
+ }
12
+ .md-imac .md-top {
13
+ width: 100%;
14
+ height: 37.1875em;
15
+ background: #0f0f0f;
16
+ position: relative;
17
+ }
18
+ .md-imac .md-top:after {
19
+ content: "";
20
+ display: block;
21
+ width: 50%;
22
+ height: 100%;
23
+ position: absolute;
24
+ top: 0;
25
+ right: 0;
26
+ border-radius: 0 1.25em 0 0;
27
+ background: -webkit-linear-gradient(bottom left, rgba(255, 255, 255, 0) 50%, rgba(247, 248, 240, 0.025) 50%, rgba(250, 245, 252, 0.08));
28
+ background: -moz-linear-gradient(bottom left, rgba(255, 255, 255, 0) 50%, rgba(247, 248, 240, 0.025) 50%, rgba(250, 245, 252, 0.08));
29
+ background: -o-linear-gradient(bottom left, rgba(255, 255, 255, 0) 50%, rgba(247, 248, 240, 0.025) 50%, rgba(250, 245, 252, 0.08));
30
+ background: linear-gradient(to top right, rgba(255, 255, 255, 0) 50%, rgba(247, 248, 240, 0.025) 50%, rgba(250, 245, 252, 0.08));
31
+ }
32
+ .md-imac .md-screen {
33
+ width: 57.5em;
34
+ height: 32.375em;
35
+ margin: 0 auto;
36
+ position: relative;
37
+ top: 2.375em;
38
+ background: #17171a;
39
+ }
40
+ .md-imac .md-camera {
41
+ width: 0.375em;
42
+ height: 0.375em;
43
+ margin: 0 auto;
44
+ position: relative;
45
+ top: 1.25em;
46
+ background: #000;
47
+ border-radius: 100%;
48
+ box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.25);
49
+ }
50
+ .md-imac .md-camera:after {
51
+ content: "";
52
+ display: block;
53
+ width: 0.125em;
54
+ height: 0.125em;
55
+ position: absolute;
56
+ left: 0.125em;
57
+ top: 0.0625em;
58
+ background: #353542;
59
+ border-radius: 100%;
60
+ }
61
+ .md-imac .md-base {
62
+ width: 19.25em;
63
+ height: 6.875em;
64
+ margin: -0.5625em auto;
65
+ }
66
+ .md-imac .md-stand {
67
+ width: 13.125em;
68
+ height: 6.125em;
69
+ margin: 0 auto;
70
+ background: #cccdcf;
71
+ background: -webkit-linear-gradient(#b7b8bb, #cccdcf 50%, #d9dadb 80%, #cccdcf, #bfc0c3);
72
+ background: -moz-linear-gradient(#b7b8bb, #cccdcf 50%, #d9dadb 80%, #cccdcf, #bfc0c3);
73
+ background: -o-linear-gradient(#b7b8bb, #cccdcf 50%, #d9dadb 80%, #cccdcf, #bfc0c3);
74
+ background: linear-gradient(#b7b8bb, #cccdcf 50%, #d9dadb 80%, #cccdcf, #bfc0c3);
75
+ -webkit-transform: perspective(50em) rotate3d(1, 0, 0, 30deg);
76
+ -moz-transform: perspective(50em) rotate3d(1, 0, 0, 30deg);
77
+ -ms-transform: perspective(50em) rotate3d(1, 0, 0, 30deg);
78
+ -o-transform: perspective(50em) rotate3d(1, 0, 0, 30deg);
79
+ transform: perspective(50em) rotate3d(1, 0, 0, 30deg);
80
+ }
81
+ .md-imac .md-foot {
82
+ width: 15em;
83
+ height: 3.125em;
84
+ margin: 0 auto;
85
+ position: relative;
86
+ bottom: 1.5em;
87
+ border-radius: 0 0 0.625em 0.625em;
88
+ background: -webkit-linear-gradient(#bfc0c3 20%, #cccdcf);
89
+ background: -moz-linear-gradient(#bfc0c3 20%, #cccdcf);
90
+ background: -o-linear-gradient(#bfc0c3 20%, #cccdcf);
91
+ background: linear-gradient(#bfc0c3 20%, #cccdcf);
92
+ -webkit-transform: perspective(11.875em) rotate3d(1, 0, 0, 70deg);
93
+ -moz-transform: perspective(11.875em) rotate3d(1, 0, 0, 70deg);
94
+ -ms-transform: perspective(11.875em) rotate3d(1, 0, 0, 70deg);
95
+ -o-transform: perspective(11.875em) rotate3d(1, 0, 0, 70deg);
96
+ transform: perspective(11.875em) rotate3d(1, 0, 0, 70deg);
97
+ box-shadow: 0 0.375em 0 #bfc0c3;
98
+ }
data/css/ipad.css ADDED
@@ -0,0 +1,185 @@
1
+ .md-ipad .md-body {
2
+ width: 100%;
3
+ height: 100%;
4
+ border-radius: 3.75em;
5
+ border-style: solid;
6
+ border-width: 0.375em;
7
+ position: relative;
8
+ }
9
+
10
+ .md-ipad .md-screen {
11
+ position: relative;
12
+ margin: 0 auto;
13
+ background-color: #161616;
14
+ border-radius: 0.25em;
15
+ overflow: hidden;
16
+ box-shadow: 0 0 0px 3px #161616;
17
+ }
18
+ .md-ipad .md-screen img {
19
+ width: 100%;
20
+ }
21
+
22
+ .md-ipad .md-home-button {
23
+ display: block;
24
+ width: 3.625em;
25
+ height: 3.625em;
26
+ margin: 0 auto;
27
+ position: relative;
28
+ border-radius: 100%;
29
+ border: none;
30
+ cursor: default;
31
+ font-size: 100%;
32
+ }
33
+ .md-ipad .md-home-button:after {
34
+ content: "";
35
+ display: block;
36
+ width: 1.125em;
37
+ height: 1.125em;
38
+ margin: 0 auto;
39
+ position: relative;
40
+ border-style: solid;
41
+ border-width: 0.125em;
42
+ border-radius: 0.25em;
43
+ }
44
+
45
+ .md-ipad .md-front-camera {
46
+ width: 0.875em;
47
+ height: 0.875em;
48
+ margin: 0 auto;
49
+ position: relative;
50
+ border-radius: 100%;
51
+ }
52
+ .md-ipad .md-front-camera:after {
53
+ content: "";
54
+ display: block;
55
+ width: 0.375em;
56
+ height: 0.375em;
57
+ position: relative;
58
+ top: 0.25em;
59
+ left: 0.25em;
60
+ background-color: #8c8091;
61
+ border-radius: 100%;
62
+ }
63
+
64
+ .md-ipad.glare:before {
65
+ content: "";
66
+ display: block;
67
+ width: 50%;
68
+ height: 80%;
69
+ position: absolute;
70
+ top: 0.75em;
71
+ right: 0em;
72
+ border-radius: 0 3.125em 0 0;
73
+ background: -webkit-linear-gradient(bottom left, rgba(255, 255, 255, 0) 50%, rgba(247, 248, 240, 0.025) 50%, rgba(250, 245, 252, 0.08));
74
+ background: -moz-linear-gradient(bottom left, rgba(255, 255, 255, 0) 50%, rgba(247, 248, 240, 0.025) 50%, rgba(250, 245, 252, 0.08));
75
+ background: -o-linear-gradient(bottom left, rgba(255, 255, 255, 0) 50%, rgba(247, 248, 240, 0.025) 50%, rgba(250, 245, 252, 0.08));
76
+ background: linear-gradient(to top right, rgba(255, 255, 255, 0) 50%, rgba(247, 248, 240, 0.025) 50%, rgba(250, 245, 252, 0.08));
77
+ z-index: 100;
78
+ }
79
+
80
+ .md-ipad {
81
+ width: 53.375em;
82
+ height: 79.4375em;
83
+ position: relative;
84
+ }
85
+ .md-ipad .md-front-camera {
86
+ top: 3.125em;
87
+ }
88
+ .md-ipad .md-screen {
89
+ width: 48em;
90
+ height: 64em;
91
+ top: 6.25em;
92
+ }
93
+ .md-ipad .md-home-button {
94
+ bottom: -8.75em;
95
+ }
96
+ .md-ipad.landscape {
97
+ -webkit-transform: rotateZ(90deg);
98
+ -moz-transform: rotateZ(90deg);
99
+ -ms-transform: rotateZ(90deg);
100
+ -o-transform: rotateZ(90deg);
101
+ transform: rotateZ(90deg);
102
+ }
103
+ .md-ipad.landscape.glare:before {
104
+ -webkit-transform: rotateY(180deg);
105
+ -moz-transform: rotateY(180deg);
106
+ -ms-transform: rotateY(180deg);
107
+ -o-transform: rotateY(180deg);
108
+ transform: rotateY(180deg);
109
+ left: 0.625em;
110
+ top: 0.625em;
111
+ }
112
+
113
+ .md-white-device .md-front-camera, .md-white-device .md-top-speaker, .md-white-device .md-home-button {
114
+ background: -webkit-linear-gradient(#d0d0c5, #eeeeea);
115
+ background: -moz-linear-gradient(#d0d0c5, #eeeeea);
116
+ background: -o-linear-gradient(#d0d0c5, #eeeeea);
117
+ background: linear-gradient(#d0d0c5, #eeeeea);
118
+ }
119
+
120
+ .md-black-device .md-front-camera, .md-black-device .md-top-speaker, .md-black-device .md-home-button {
121
+ background: -webkit-linear-gradient(#141917, #202623);
122
+ background: -moz-linear-gradient(#141917, #202623);
123
+ background: -o-linear-gradient(#141917, #202623);
124
+ background: linear-gradient(#141917, #202623);
125
+ }
126
+
127
+ .md-white-device.md-landscape .home-button, .md-white-device.md-landscape .front-camera, .md-white-device.md-landscape .top-speaker {
128
+ background: -webkit-linear-gradient(left, #d0d0c5, #eeeeea);
129
+ background: -moz-linear-gradient(left, #d0d0c5, #eeeeea);
130
+ background: -o-linear-gradient(left, #d0d0c5, #eeeeea);
131
+ background: linear-gradient(to right, #d0d0c5, #eeeeea);
132
+ }
133
+
134
+ .md-black-device.md-landscape .home-button, .md-black-device.md-landscape .front-camera, .md-black-device.md-landscape .top-speaker {
135
+ background: -webkit-linear-gradient(left, #141917, #202623);
136
+ background: -moz-linear-gradient(left, #141917, #202623);
137
+ background: -o-linear-gradient(left, #141917, #202623);
138
+ background: linear-gradient(to right, #141917, #202623);
139
+ }
140
+
141
+ .md-white-device .md-body {
142
+ background-color: #ebebe4;
143
+ border-color: #f1f2eb;
144
+ }
145
+ .md-white-device .md-buttons {
146
+ background-color: #ebebe4;
147
+ }
148
+ .md-white-device .md-buttons:after, .md-white-device .md-buttons:before {
149
+ background-color: #ebebe4;
150
+ }
151
+ .md-white-device .md-front-camera:after {
152
+ background-color: #8c8091;
153
+ }
154
+ .md-white-device .md-top-speaker:after {
155
+ background-color: #4b414a;
156
+ }
157
+ .md-white-device .md-home-button:after {
158
+ border-color: #eff1e6;
159
+ }
160
+ .md-white-device:after {
161
+ background: #ebebe4;
162
+ }
163
+
164
+ .md-black-device .md-body {
165
+ background-color: #1b211e;
166
+ border-color: #282e2b;
167
+ }
168
+ .md-black-device .md-buttons {
169
+ background-color: #1b211e;
170
+ }
171
+ .md-black-device .md-buttons:after, .md-black-device .md-buttons:before {
172
+ background-color: #1b211e;
173
+ }
174
+ .md-black-device .md-front-camera:after {
175
+ background-color: #2c292f;
176
+ }
177
+ .md-black-device .md-top-speaker:after {
178
+ background-color: #191616;
179
+ }
180
+ .md-black-device .md-home-button:after {
181
+ border-color: #444a45;
182
+ }
183
+ .md-black-device:after {
184
+ background: #1b211e;
185
+ }
data/css/iphone.css ADDED
@@ -0,0 +1,237 @@
1
+ .md-iphone-5 .md-body {
2
+ width: 100%;
3
+ height: 100%;
4
+ border-radius: 3.75em;
5
+ border-style: solid;
6
+ border-width: 0.375em;
7
+ position: relative;
8
+ }
9
+
10
+ .md-iphone-5 .md-screen {
11
+ position: relative;
12
+ margin: 0 auto;
13
+ background-color: #161616;
14
+ border-radius: 0.25em;
15
+ overflow: hidden;
16
+ box-shadow: 0 0 0px 3px #161616;
17
+ }
18
+ .md-iphone-5 .md-screen img {
19
+ width: 100%;
20
+ }
21
+
22
+ .md-iphone-5 .md-home-button {
23
+ display: block;
24
+ width: 3.625em;
25
+ height: 3.625em;
26
+ margin: 0 auto;
27
+ position: relative;
28
+ border-radius: 100%;
29
+ border: none;
30
+ cursor: default;
31
+ font-size: 100%;
32
+ }
33
+ .md-iphone-5 .md-home-button:after {
34
+ content: "";
35
+ display: block;
36
+ width: 1.125em;
37
+ height: 1.125em;
38
+ margin: 0 auto;
39
+ position: relative;
40
+ border-style: solid;
41
+ border-width: 0.125em;
42
+ border-radius: 0.25em;
43
+ }
44
+
45
+ .md-iphone-5 .md-front-camera {
46
+ width: 0.875em;
47
+ height: 0.875em;
48
+ margin: 0 auto;
49
+ position: relative;
50
+ border-radius: 100%;
51
+ }
52
+ .md-iphone-5 .md-front-camera:after {
53
+ content: "";
54
+ display: block;
55
+ width: 0.375em;
56
+ height: 0.375em;
57
+ position: relative;
58
+ top: 0.25em;
59
+ left: 0.25em;
60
+ background-color: #8c8091;
61
+ border-radius: 100%;
62
+ }
63
+
64
+ .md-iphone-5.md-glare:before {
65
+ content: "";
66
+ display: block;
67
+ width: 50%;
68
+ height: 80%;
69
+ position: absolute;
70
+ top: 0.75em;
71
+ right: 0em;
72
+ border-radius: 0 3.125em 0 0;
73
+ background: -webkit-linear-gradient(bottom left, rgba(255, 255, 255, 0) 50%, rgba(247, 248, 240, 0.025) 50%, rgba(250, 245, 252, 0.08));
74
+ background: -moz-linear-gradient(bottom left, rgba(255, 255, 255, 0) 50%, rgba(247, 248, 240, 0.025) 50%, rgba(250, 245, 252, 0.08));
75
+ background: -o-linear-gradient(bottom left, rgba(255, 255, 255, 0) 50%, rgba(247, 248, 240, 0.025) 50%, rgba(250, 245, 252, 0.08));
76
+ background: linear-gradient(to top right, rgba(255, 255, 255, 0) 50%, rgba(247, 248, 240, 0.025) 50%, rgba(250, 245, 252, 0.08));
77
+ z-index: 100;
78
+ }
79
+
80
+ .md-iphone-5:after {
81
+ content: "";
82
+ display: block;
83
+ width: 3.3125em;
84
+ height: 0.1875em;
85
+ position: absolute;
86
+ right: 3.625em;
87
+ top: -0.1875em;
88
+ border-radius: 0.125em 0.125em 0 0;
89
+ }
90
+
91
+ .md-iphone-5 {
92
+ width: 22.8125em;
93
+ height: 49em;
94
+ position: relative;
95
+ }
96
+ .md-iphone-5 .md-front-camera {
97
+ top: 1.25em;
98
+ }
99
+ .md-iphone-5 .md-top-speaker {
100
+ width: 3.75em;
101
+ height: 0.875em;
102
+ margin: 0 auto;
103
+ position: relative;
104
+ top: 2.25em;
105
+ border-radius: 3.125em;
106
+ }
107
+ .md-iphone-5 .md-top-speaker:after {
108
+ content: "";
109
+ display: block;
110
+ width: 3.25em;
111
+ height: 0.375em;
112
+ margin: 0 auto;
113
+ position: relative;
114
+ top: 0.25em;
115
+ background-color: #4b414a;
116
+ border-radius: 3.125em;
117
+ }
118
+ .md-iphone-5 .md-screen {
119
+ width: 20em;
120
+ height: 35.5em;
121
+ top: 3.75em;
122
+ }
123
+ .md-iphone-5 .md-home-button {
124
+ bottom: -5.9375em;
125
+ }
126
+ .md-iphone-5 .md-buttons {
127
+ width: 0.1875em;
128
+ height: 1.875em;
129
+ position: absolute;
130
+ left: -0.5em;
131
+ top: 5.9375em;
132
+ border-radius: 0.125em 0 0 0.125em;
133
+ }
134
+ .md-iphone-5 .md-buttons:after, .md-iphone-5 .md-buttons:before {
135
+ content: "";
136
+ display: block;
137
+ position: absolute;
138
+ width: 0.1875em;
139
+ height: 1.5625em;
140
+ border-radius: 0.125em 0 0 0.125em;
141
+ }
142
+ .md-iphone-5 .md-buttons:after {
143
+ top: 3.125em;
144
+ }
145
+ .md-iphone-5 .md-buttons:before {
146
+ top: 6.25em;
147
+ }
148
+ .md-iphone-5.md-landscape {
149
+ -webkit-transform: rotateZ(90deg);
150
+ -moz-transform: rotateZ(90deg);
151
+ -ms-transform: rotateZ(90deg);
152
+ -o-transform: rotateZ(90deg);
153
+ transform: rotateZ(90deg);
154
+ }
155
+ .md-iphone-5.md-landscape.md-glare:before {
156
+ -webkit-transform: rotateY(180deg);
157
+ -moz-transform: rotateY(180deg);
158
+ -ms-transform: rotateY(180deg);
159
+ -o-transform: rotateY(180deg);
160
+ transform: rotateY(180deg);
161
+ left: 0.625em;
162
+ top: 0.625em;
163
+ }
164
+
165
+ .md-white-device .md-front-camera, .md-white-device .md-top-speaker, .md-white-device .md-home-button {
166
+ background: -webkit-linear-gradient(#d0d0c5, #eeeeea);
167
+ background: -moz-linear-gradient(#d0d0c5, #eeeeea);
168
+ background: -o-linear-gradient(#d0d0c5, #eeeeea);
169
+ background: linear-gradient(#d0d0c5, #eeeeea);
170
+ }
171
+
172
+ .md-black-device .md-front-camera, .md-black-device .md-top-speaker, .md-black-device .md-home-button {
173
+ background: -webkit-linear-gradient(#141917, #202623);
174
+ background: -moz-linear-gradient(#141917, #202623);
175
+ background: -o-linear-gradient(#141917, #202623);
176
+ background: linear-gradient(#141917, #202623);
177
+ }
178
+
179
+ .md-white-device.md-landscape .home-button, .md-white-device.md-landscape .front-camera, .md-white-device.md-landscape .top-speaker {
180
+ background: -webkit-linear-gradient(left, #d0d0c5, #eeeeea);
181
+ background: -moz-linear-gradient(left, #d0d0c5, #eeeeea);
182
+ background: -o-linear-gradient(left, #d0d0c5, #eeeeea);
183
+ background: linear-gradient(to right, #d0d0c5, #eeeeea);
184
+ }
185
+
186
+ .md-black-device.md-landscape .home-button, .md-black-device.md-landscape .front-camera, .md-black-device.md-landscape .top-speaker {
187
+ background: -webkit-linear-gradient(left, #141917, #202623);
188
+ background: -moz-linear-gradient(left, #141917, #202623);
189
+ background: -o-linear-gradient(left, #141917, #202623);
190
+ background: linear-gradient(to right, #141917, #202623);
191
+ }
192
+
193
+ .md-white-device .md-body {
194
+ background-color: #ebebe4;
195
+ border-color: #f1f2eb;
196
+ }
197
+ .md-white-device .md-buttons {
198
+ background-color: #ebebe4;
199
+ }
200
+ .md-white-device .md-buttons:after, .md-white-device .md-buttons:before {
201
+ background-color: #ebebe4;
202
+ }
203
+ .md-white-device .md-front-camera:after {
204
+ background-color: #8c8091;
205
+ }
206
+ .md-white-device .md-top-speaker:after {
207
+ background-color: #4b414a;
208
+ }
209
+ .md-white-device .md-home-button:after {
210
+ border-color: #eff1e6;
211
+ }
212
+ .md-white-device:after {
213
+ background: #ebebe4;
214
+ }
215
+
216
+ .md-black-device .md-body {
217
+ background-color: #1b211e;
218
+ border-color: #282e2b;
219
+ }
220
+ .md-black-device .md-buttons {
221
+ background-color: #1b211e;
222
+ }
223
+ .md-black-device .md-buttons:after, .md-black-device .md-buttons:before {
224
+ background-color: #1b211e;
225
+ }
226
+ .md-black-device .md-front-camera:after {
227
+ background-color: #2c292f;
228
+ }
229
+ .md-black-device .md-top-speaker:after {
230
+ background-color: #191616;
231
+ }
232
+ .md-black-device .md-home-button:after {
233
+ border-color: #444a45;
234
+ }
235
+ .md-black-device:after {
236
+ background: #1b211e;
237
+ }