OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 The Chromium Authors. All rights reserved. | 2 * Copyright 2015 The Chromium Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 .service-workers-view { | 7 .service-workers-view { |
8 overflow: auto; | 8 overflow: auto; |
9 } | 9 } |
10 | 10 |
(...skipping 12 matching lines...) Expand all Loading... |
23 } | 23 } |
24 | 24 |
25 .service-workers-origin-title { | 25 .service-workers-origin-title { |
26 font-size: 20px; | 26 font-size: 20px; |
27 } | 27 } |
28 | 28 |
29 .service-workers-registration { | 29 .service-workers-registration { |
30 padding: 5px; | 30 padding: 5px; |
31 } | 31 } |
32 | 32 |
| 33 .service-workers-registration-header { |
| 34 display: flex; |
| 35 } |
| 36 |
33 .service-workers-registration-title { | 37 .service-workers-registration-title { |
34 font-size: 15px; | 38 font-size: 18px; |
35 } | 39 } |
36 | 40 |
37 .service-workers-versions-table { | 41 .service-workers-versions-table { |
38 border-left: 1px solid #e1e1e1; | 42 border-left: 1px solid #e1e1e1; |
39 border-right: 1px solid #e1e1e1; | 43 border-right: 1px solid #e1e1e1; |
40 border-top: 1px solid #e1e1e1; | 44 border-top: 1px solid #e1e1e1; |
41 margin: 5px; | 45 margin: 5px; |
42 } | 46 } |
43 | 47 |
44 .service-workers-version-mode-row { | 48 .service-workers-version-mode-row { |
45 border-bottom: 1px solid #e1e1e1; | 49 border-bottom: 1px solid #e1e1e1; |
46 display: flex; | 50 display: flex; |
47 } | 51 } |
48 | 52 |
49 .service-workers-version-mode-row-installing { | 53 .service-workers-version-mode-row-installing { |
50 background-color: #eee; | 54 background-color: #eee; |
51 } | 55 } |
52 | 56 |
53 .service-workers-version-mode-row-active { | 57 .service-workers-version-mode-row-active { |
54 background-color: #eee; | 58 background-color: #eee; |
55 } | 59 } |
56 | 60 |
| 61 .service-workers-version-mode { |
| 62 display: flex; |
| 63 flex: 1; |
| 64 font-weight: bold; |
| 65 overflow: hidden; |
| 66 position: relative; |
| 67 text-overflow: ellipsis; |
| 68 } |
| 69 |
| 70 .service-workers-version-mode-text { |
| 71 position: absolute; |
| 72 top: 50%; |
| 73 transform: translate(3px,-50%); |
| 74 } |
| 75 |
| 76 .service-workers-versions { |
| 77 display: flex; |
| 78 flex: 6; |
| 79 } |
| 80 |
57 .service-workers-version-row { | 81 .service-workers-version-row { |
58 display: flex; | 82 display: flex; |
59 height: 30px; | 83 min-height: 30px; |
60 } | 84 width: 100%; |
61 | |
62 .service-workers-version-mode { | |
63 font-weight: bold; | |
64 overflow: hidden; | |
65 text-overflow: ellipsis; | |
66 width: 70px; | |
67 } | 85 } |
68 | 86 |
69 .service-workers-version-status { | 87 .service-workers-version-status { |
70 border-left: 1px solid #e1e1e1; | 88 border-left: 1px solid #e1e1e1; |
| 89 display: flex; |
| 90 flex: 0.7; |
71 overflow: hidden; | 91 overflow: hidden; |
| 92 position: relative; |
72 text-overflow: ellipsis; | 93 text-overflow: ellipsis; |
73 width: 70px; | 94 } |
| 95 |
| 96 .service-workers-version-status-text { |
| 97 position: absolute; |
| 98 top: 50%; |
| 99 transform: translate(3px,-50%); |
74 } | 100 } |
75 | 101 |
76 .service-workers-version-running-status { | 102 .service-workers-version-running-status { |
77 border-left: 1px solid #e1e1e1; | 103 border-left: 1px solid #e1e1e1; |
| 104 display: flex; |
| 105 flex: 1; |
78 overflow: hidden; | 106 overflow: hidden; |
| 107 position: relative; |
79 text-overflow: ellipsis; | 108 text-overflow: ellipsis; |
80 width: 70px; | 109 } |
| 110 |
| 111 .service-workers-version-running-status-text { |
| 112 position: absolute; |
| 113 top: 50%; |
| 114 transform: translate(30px,-50%); |
| 115 } |
| 116 |
| 117 .service-workers-version-running-status-button { |
| 118 position: absolute; |
| 119 top: 50%; |
| 120 transform: translate(0,-50%); |
81 } | 121 } |
82 | 122 |
83 .service-workers-version-script-url { | 123 .service-workers-version-script-url { |
84 border-left: 1px solid #e1e1e1; | 124 border-left: 1px solid #e1e1e1; |
| 125 display: block; |
| 126 flex: 3; |
85 overflow: hidden; | 127 overflow: hidden; |
86 text-overflow: ellipsis; | 128 text-overflow: ellipsis; |
87 width: 200px; | |
88 } | 129 } |
| 130 |
| 131 .service-workers-version-inspect { |
| 132 color: #00e; |
| 133 cursor: pointer; |
| 134 text-decoration: underline; |
| 135 } |
| 136 |
| 137 .service-workers-start-button { |
| 138 -webkit-mask-position: -64px -48px; |
| 139 } |
| 140 |
| 141 .service-workers-stop-button { |
| 142 -webkit-mask-position: -96px -48px; |
| 143 } |
| 144 |
| 145 .service-workers-unregister-button { |
| 146 -webkit-mask-position: -128px -24px; |
| 147 } |
| 148 |
| 149 .service-workers-button { |
| 150 -webkit-mask-image: url(Images/statusbarButtonGlyphs.png); |
| 151 -webkit-mask-size: 320px 144px; |
| 152 background-color: rgba(0, 0, 0, 0.75); |
| 153 height: 24px; |
| 154 opacity: 0.8; |
| 155 width: 30px; |
| 156 border: 0; |
| 157 padding: 0; |
| 158 } |
| 159 |
| 160 @media (-webkit-min-device-pixel-ratio: 1.5) { |
| 161 .service-workers-button { |
| 162 -webkit-mask-image: url(Images/statusbarButtonGlyphs_2x.png); |
| 163 } |
| 164 } /* media */ |
| 165 |
| 166 .service-workers-button:hover { |
| 167 opacity: 1; |
| 168 } |
| 169 |
| 170 .service-workers-button:active { |
| 171 opacity: 0.8; |
| 172 } |
OLD | NEW |