OLD | NEW |
---|---|
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
4 | 4 |
5 html, body { | 5 html, body { |
6 -webkit-user-select: none; | 6 -webkit-user-select: none; |
7 font-family: sans-serif; | 7 font-family: sans-serif; |
8 height: 100%; | 8 height: 100%; |
9 margin: 0; | 9 margin: 0; |
10 overflow: hidden; | 10 overflow: hidden; |
(...skipping 23 matching lines...) Expand all Loading... | |
34 align-items: center; | 34 align-items: center; |
35 border: 1px black solid; | 35 border: 1px black solid; |
36 box-sizing: border-box; | 36 box-sizing: border-box; |
37 display: flex; | 37 display: flex; |
38 height: 100%; | 38 height: 100%; |
39 justify-content: center; | 39 justify-content: center; |
40 position: absolute; | 40 position: absolute; |
41 width: 100%; | 41 width: 100%; |
42 } | 42 } |
43 | 43 |
44 #inner { | |
tommycli
2015/10/28 21:02:01
probably not needed
cbiesinger
2015/10/28 21:13:14
ok, removed -- added this one more just to be safe
| |
45 min-height: 0; | |
46 min-width: 0; | |
47 } | |
48 | |
44 #close { | 49 #close { |
45 background-image: -webkit-image-set( | 50 background-image: -webkit-image-set( |
46 url(../../../../ui/resources/default_100_percent/close_2.png) 1x, | 51 url(../../../../ui/resources/default_100_percent/close_2.png) 1x, |
47 url(../../../../ui/resources/default_200_percent/close_2.png) 2x); | 52 url(../../../../ui/resources/default_200_percent/close_2.png) 2x); |
48 background-position: right top; | 53 background-position: right top; |
49 background-repeat: no-repeat; | 54 background-repeat: no-repeat; |
50 cursor: pointer; | 55 cursor: pointer; |
51 height: 14px; | 56 height: 14px; |
52 position: absolute; | 57 position: absolute; |
53 right: 3px; | 58 right: 3px; |
(...skipping 12 matching lines...) Expand all Loading... | |
66 background-image: -webkit-image-set( | 71 background-image: -webkit-image-set( |
67 url(../../../../ui/resources/default_100_percent/close_2_hover.png) 1x, | 72 url(../../../../ui/resources/default_100_percent/close_2_hover.png) 1x, |
68 url(../../../../ui/resources/default_200_percent/close_2_hover.png) 2x); | 73 url(../../../../ui/resources/default_200_percent/close_2_hover.png) 2x); |
69 } | 74 } |
70 | 75 |
71 #close:active { | 76 #close:active { |
72 background-image: -webkit-image-set( | 77 background-image: -webkit-image-set( |
73 url(../../../../ui/resources/default_100_percent/close_2_pressed.png) 1x, | 78 url(../../../../ui/resources/default_100_percent/close_2_pressed.png) 1x, |
74 url(../../../../ui/resources/default_200_percent/close_2_pressed.png) 2x); | 79 url(../../../../ui/resources/default_200_percent/close_2_pressed.png) 2x); |
75 } | 80 } |
OLD | NEW |