File tree Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change 1
- /* Reset CSS */
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
+
5
+ /* Resetting default styles for HTML and body */
2
6
html , body {
3
7
padding : 0 ;
4
8
margin : 0 ;
5
9
width : 100% ;
6
10
height : 100% ;
7
11
}
8
12
9
- /* Common styles for icons */
13
+ /* Styling for reusable icon class */
10
14
.icon {
11
15
user-select : none;
12
16
display : inline-block;
13
17
}
14
18
15
- /* Online icon */
19
+ /* Online status icon with responsive image set */
16
20
.icon-online {
17
21
content : -webkit-image-set (
18
22
url (assets/default_100_percent/100-error-online.png) 1x ,
@@ -21,12 +25,13 @@ html, body {
21
25
position : relative;
22
26
}
23
27
24
- /* Hidden class */
28
+ /* Utility class to hide elements */
25
29
.hidden {
26
30
display : none;
27
31
}
28
32
29
- /* Offline page styles */
33
+ /* Styling for the offline page */
34
+
30
35
.offline .interstitial-wrapper {
31
36
color : # 6b3b3b ;
32
37
font-size : 1.2em ;
@@ -49,6 +54,9 @@ html, body {
49
54
50
55
.offline .runner-canvas {
51
56
opacity : 0.9 ;
57
+ overflow : hidden;
58
+ position : absolute;
59
+ top : 0 ;
52
60
z-index : 2 ;
53
61
}
54
62
@@ -62,7 +70,7 @@ html, body {
62
70
z-index : 1 ;
63
71
}
64
72
65
- /* Offline resources */
73
+ /* Offline resources display */
66
74
# offline-resources {
67
75
display : block;
68
76
}
@@ -74,7 +82,7 @@ html, body {
74
82
float : left;
75
83
}
76
84
77
- /* Snackbar styles */
85
+ /* Snackbar styling for mobile view */
78
86
.snackbar {
79
87
position : fixed;
80
88
left : 0 ;
You can’t perform that action at this time.
0 commit comments