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 */
52html , body {
63 padding : 0 ;
74 margin : 0 ;
85 width : 100% ;
96 height : 100% ;
107}
118
9+ /* Common styles for icons */
1210.icon {
1311 user-select : none;
1412 display : inline-block;
1513}
1614
15+ /* Online icon */
1716.icon-online {
1817 content : -webkit-image-set (
1918 url (assets/default_100_percent/100-error-online.png) 1x ,
@@ -22,12 +21,12 @@ html, body {
2221 position : relative;
2322}
2423
24+ /* Hidden class */
2525.hidden {
2626 display : none;
2727}
2828
29- /* Offline page */
30-
29+ /* Offline page styles */
3130.offline .interstitial-wrapper {
3231 color : # 6b3b3b ;
3332 font-size : 1.2em ;
@@ -38,7 +37,8 @@ html, body {
3837 width : 90% ;
3938}
4039
41- .offline .runner-container {
40+ .offline .runner-container ,
41+ .offline .runner-canvas {
4242 height : 120px ;
4343 max-width : 800px ;
4444 overflow : hidden;
@@ -48,12 +48,7 @@ html, body {
4848}
4949
5050.offline .runner-canvas {
51- height : 120px ;
52- max-width : 800px ;
5351 opacity : 0.9 ;
54- overflow : hidden;
55- position : absolute;
56- top : 0 ;
5752 z-index : 2 ;
5853}
5954
@@ -67,15 +62,19 @@ html, body {
6762 z-index : 1 ;
6863}
6964
65+ /* Offline resources */
7066# offline-resources {
7167 display : block;
7268}
7369
70+ /* Responsive styles for small screens */
7471@media (max-width : 480px ) {
75- .suggested-left > # control-buttons , .suggested-right > # control-buttons {
72+ .suggested-left > # control-buttons ,
73+ .suggested-right > # control-buttons {
7674 float : left;
7775 }
78-
76+
77+ /* Snackbar styles */
7978 .snackbar {
8079 position : fixed;
8180 left : 0 ;
0 commit comments