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 /* ----------------------------------------------------------------------------- | 5 /* ----------------------------------------------------------------------------- |
6 General Styles | 6 General Styles |
7 ----------------------------------------------------------------------------- */ | 7 ----------------------------------------------------------------------------- */ |
8 | 8 |
9 html { | 9 html { |
10 /* It's necessary to put this here instead of in body in order to get the | 10 /* It's necessary to put this here instead of in body in order to get the |
(...skipping 17 matching lines...) Expand all Loading... | |
28 padding: 0; | 28 padding: 0; |
29 } | 29 } |
30 | 30 |
31 /* [hidden] does display:none, but its priority is too low in some cases. */ | 31 /* [hidden] does display:none, but its priority is too low in some cases. */ |
32 [hidden] { | 32 [hidden] { |
33 display: none !important; | 33 display: none !important; |
34 } | 34 } |
35 | 35 |
36 #notification-container { | 36 #notification-container { |
37 -webkit-transition: opacity 200ms; | 37 -webkit-transition: opacity 200ms; |
38 position: absolute; | 38 height: 18px; |
39 padding: 10px 0; | |
39 } | 40 } |
40 | 41 |
41 #notification-container.inactive { | 42 #notification-container.inactive { |
Dan Beam
2012/12/14 05:15:14
why not just $('notification-container').hidden fr
pedro (no code reviews)
2012/12/14 05:49:58
Done.
| |
42 -webkit-transition: opacity 200ms; | 43 -webkit-transition: opacity 200ms; |
Dan Beam
2012/12/14 05:15:14
nit: why is this necessary? is this when .inactiv
pedro (no code reviews)
2012/12/14 05:49:58
You're right, this is not necessary anymore. We mi
| |
44 display: none; | |
43 opacity: 0; | 45 opacity: 0; |
Dan Beam
2012/12/14 05:15:14
nit: why opacity: 0; if display: none;?
pedro (no code reviews)
2012/12/14 05:49:58
This CSS rule has been removed.
| |
44 } | 46 } |
45 | 47 |
46 #notification { | 48 #notification { |
47 display: inline-block; | 49 display: inline-block; |
48 font-weight: bold; | 50 font-weight: bold; |
49 white-space: nowrap; | 51 white-space: nowrap; |
50 } | 52 } |
51 | 53 |
52 #notification > div > div, | 54 #notification > div > div, |
53 #notification > div { | 55 #notification > div { |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
96 #bottom-panel-footer, | 98 #bottom-panel-footer, |
97 #bottom-panel-toolbar { | 99 #bottom-panel-toolbar { |
98 margin: 0 auto; | 100 margin: 0 auto; |
99 text-align: center; | 101 text-align: center; |
100 } | 102 } |
101 | 103 |
102 #bottom-panel-header { | 104 #bottom-panel-header { |
103 padding: 10px 0 20px; | 105 padding: 10px 0 20px; |
104 } | 106 } |
105 | 107 |
106 #bottom-panel-toolbar { | |
107 height: 18px; | |
108 padding: 10px 0; | |
109 } | |
110 | |
111 #bookmark-bar-spacer { | 108 #bookmark-bar-spacer { |
112 height: 48px; | 109 height: 48px; |
113 } | 110 } |
114 | 111 |
115 #promo-bubble-anchor { | 112 #promo-bubble-anchor { |
116 bottom: 50px; | 113 bottom: 50px; |
117 height: 10px; | 114 height: 10px; |
118 left: 0; | 115 left: 0; |
119 position: absolute; | 116 position: absolute; |
120 width: 90px; | 117 width: 90px; |
(...skipping 27 matching lines...) Expand all Loading... | |
148 text-align: right; | 145 text-align: right; |
149 } | 146 } |
150 | 147 |
151 #attribution > span { | 148 #attribution > span { |
152 display: block; | 149 display: block; |
153 } | 150 } |
154 | 151 |
155 .starting-up * { | 152 .starting-up * { |
156 -webkit-transition: none !important; | 153 -webkit-transition: none !important; |
157 } | 154 } |
OLD | NEW |