Chromium Code Reviews| 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 .menu-button { | 6 .menu-button { |
| 7 position: relative; | 7 position: relative; |
| 8 } | 8 } |
| 9 | 9 |
| 10 .menu-button-activator + ul { | 10 .menu-button-activator + ul { |
| 11 visibility: hidden; | 11 display: none; |
|
Jamie
2014/07/18 01:37:18
visibility: hidden doesn't allow for verification
kelvinp
2014/07/18 18:47:39
I think either way is fine. Personally, I prefer
Jamie
2014/07/18 19:46:12
As discussed in person, since showing or hiding th
| |
| 12 position: absolute; | 12 position: absolute; |
| 13 } | 13 } |
| 14 | 14 |
| 15 .menu-button-activator + ul:not(.right-align) { | 15 .menu-button-activator + ul:not(.right-align) { |
| 16 left: 1px; | 16 left: 1px; |
| 17 } | 17 } |
| 18 | 18 |
| 19 .menu-button-activator + ul.right-align { | 19 .menu-button-activator + ul.right-align { |
| 20 right: 1px; | 20 right: 1px; |
| 21 } | 21 } |
| 22 | 22 |
| 23 .menu-button-activator.active + ul { | 23 .menu-button-activator.active + ul { |
| 24 visibility: visible; | 24 display: block; |
| 25 } | 25 } |
| 26 | 26 |
| 27 .menu-button-activator.active { | 27 .menu-button-activator.active { |
| 28 background-color: #EEE; | 28 background-color: #EEE; |
| 29 background-image: -webkit-gradient(linear, left top, left bottom, | 29 background-image: -webkit-gradient(linear, left top, left bottom, |
| 30 from(#EEE), to(#E0E0E0)); | 30 from(#EEE), to(#E0E0E0)); |
| 31 box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.1); | 31 box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.1); |
| 32 border: 1px solid #CCC; | 32 border: 1px solid #CCC; |
| 33 color: #333; | 33 color: #333; |
| 34 } | 34 } |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 80 } | 80 } |
| 81 | 81 |
| 82 .help-icon:hover, .help-icon.active { | 82 .help-icon:hover, .help-icon.active { |
| 83 opacity: 0.5; | 83 opacity: 0.5; |
| 84 } | 84 } |
| 85 | 85 |
| 86 #help-feedback-toolbar { | 86 #help-feedback-toolbar { |
| 87 margin-left: 8px; | 87 margin-left: 8px; |
| 88 margin-top: 4px; | 88 margin-top: 4px; |
| 89 } | 89 } |
| OLD | NEW |