1
- /* Copyright 2013 The Chromium Authors. All rights reserved.
2
- * Use of this source code is governed by a BSD-style license that can be
3
- * found in the LICENSE file. */
4
-
1
+ /* Reset CSS */
5
2
html , body {
6
3
padding : 0 ;
7
4
margin : 0 ;
8
5
width : 100% ;
9
6
height : 100% ;
10
7
}
11
8
9
+ /* Common styles for icons */
12
10
.icon {
13
11
user-select : none;
14
12
display : inline-block;
15
13
}
16
14
15
+ /* Online icon */
17
16
.icon-online {
18
17
content : -webkit-image-set (
19
18
url (assets/default_100_percent/100-error-online.png) 1x ,
@@ -22,12 +21,12 @@ html, body {
22
21
position : relative;
23
22
}
24
23
24
+ /* Hidden class */
25
25
.hidden {
26
26
display : none;
27
27
}
28
28
29
- /* Offline page */
30
-
29
+ /* Offline page styles */
31
30
.offline .interstitial-wrapper {
32
31
color : # 6b3b3b ;
33
32
font-size : 1.2em ;
@@ -38,7 +37,8 @@ html, body {
38
37
width : 90% ;
39
38
}
40
39
41
- .offline .runner-container {
40
+ .offline .runner-container ,
41
+ .offline .runner-canvas {
42
42
height : 120px ;
43
43
max-width : 800px ;
44
44
overflow : hidden;
@@ -48,12 +48,7 @@ html, body {
48
48
}
49
49
50
50
.offline .runner-canvas {
51
- height : 120px ;
52
- max-width : 800px ;
53
51
opacity : 0.9 ;
54
- overflow : hidden;
55
- position : absolute;
56
- top : 0 ;
57
52
z-index : 2 ;
58
53
}
59
54
@@ -67,15 +62,19 @@ html, body {
67
62
z-index : 1 ;
68
63
}
69
64
65
+ /* Offline resources */
70
66
# offline-resources {
71
67
display : block;
72
68
}
73
69
70
+ /* Responsive styles for small screens */
74
71
@media (max-width : 480px ) {
75
- .suggested-left > # control-buttons , .suggested-right > # control-buttons {
72
+ .suggested-left > # control-buttons ,
73
+ .suggested-right > # control-buttons {
76
74
float : left;
77
75
}
78
-
76
+
77
+ /* Snackbar styles */
79
78
.snackbar {
80
79
position : fixed;
81
80
left : 0 ;
0 commit comments