OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 } | 127 } |
128 | 128 |
129 .source-frame-infobar-icon { | 129 .source-frame-infobar-icon { |
130 background-image: url(Images/statusbarButtonGlyphs.png); | 130 background-image: url(Images/statusbarButtonGlyphs.png); |
131 background-size: 320px 144px; | 131 background-size: 320px 144px; |
132 width: 11px; | 132 width: 11px; |
133 height: 10px; | 133 height: 10px; |
134 margin-right: 4px; | 134 margin-right: 4px; |
135 display: inline-block; | 135 display: inline-block; |
136 margin-top: 1px; | 136 margin-top: 1px; |
| 137 flex: none; |
137 } | 138 } |
138 | 139 |
139 .source-frame-infobar-info .source-frame-infobar-icon { | 140 .source-frame-infobar-info .source-frame-infobar-icon { |
140 background-position: -212px -107px; | 141 background-position: -212px -107px; |
141 } | 142 } |
142 | 143 |
143 .source-frame-infobar-warning .source-frame-infobar-icon { | 144 .source-frame-infobar-warning .source-frame-infobar-icon { |
144 background-position: -202px -107px; | 145 background-position: -202px -107px; |
145 } | 146 } |
146 | 147 |
147 .source-frame-infobar-error .source-frame-infobar-icon { | 148 .source-frame-infobar-error .source-frame-infobar-icon { |
148 background-position: -202px -96px; | 149 background-position: -202px -96px; |
149 } | 150 } |
150 | 151 |
151 .source-frame-infobar-main-row { | 152 .source-frame-infobar-main-row { |
152 display: flex; | 153 display: flex; |
153 flex: 0 0 17px; | 154 min-height: 17px; |
154 overflow: hidden; | 155 overflow: hidden; |
155 margin: 5px 10px 0px; | 156 margin: 5px 10px 0px; |
156 } | 157 } |
157 | 158 |
158 .source-frame-infobar-details-container { | 159 .source-frame-infobar-details-container { |
159 display: flex; | 160 display: flex; |
160 flex-direction: column; | 161 flex-direction: column; |
161 padding: 5px 0; | 162 padding: 5px 0; |
162 } | 163 } |
163 | 164 |
164 .source-frame-infobar-details-row { | 165 .source-frame-infobar-details-row { |
165 display: flex; | 166 display: flex; |
166 flex: none; | 167 flex: none; |
167 margin: 3px 10px; | 168 margin: 3px 10px; |
168 } | 169 } |
169 | 170 |
170 .source-frame-infobar-row-message { | 171 .source-frame-infobar-row-message { |
171 flex: 0 1 auto; | 172 flex: 0 1 auto; |
| 173 margin-bottom: 4px; |
| 174 } |
| 175 |
| 176 .source-frame-infobar-main-row .close-button { |
| 177 flex: none; |
172 } | 178 } |
173 | 179 |
174 .source-frame-infobar-toggle { | 180 .source-frame-infobar-toggle { |
175 flex: auto; | 181 flex: 1 0 auto; |
176 padding: 0 4px; | 182 padding: 0 4px; |
177 -webkit-user-select: none; | 183 -webkit-user-select: none; |
178 } | 184 } |
179 | 185 |
180 .source-frame-infobar-link { | 186 .source-frame-infobar-link { |
181 text-decoration: underline; | 187 text-decoration: underline; |
182 color: rgb(50, 50, 200); | 188 color: rgb(50, 50, 200); |
183 cursor: pointer; | 189 cursor: pointer; |
184 } | 190 } |
185 | 191 |
186 .source-frame-infobar-details-url { | 192 .source-frame-infobar-details-url { |
187 flex: 0 1000 auto; | 193 flex: 0 1000 auto; |
188 color: rgb(50, 50, 200); | 194 color: rgb(50, 50, 200); |
189 } | 195 } |
OLD | NEW |