Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 * Use of this source code is governed by a BSD-style license that can be | |
| 3 * found in the LICENSE file. | |
| 4 */ | |
| 5 | |
| 6 .toolbar-container { | |
| 7 position: absolute; | |
| 8 top: -46px; | |
| 9 width: 640px; | |
| 10 left: 50%; | |
| 11 margin-left: -320px; | |
| 12 -webkit-transition: top 0.2s linear; | |
| 13 -webkit-transition-delay: 0.7s; | |
| 14 } | |
| 15 | |
| 16 .toolbar-container:hover { | |
| 17 top: -8px; | |
| 18 -webkit-transition-delay: 0s; | |
| 19 } | |
| 20 | |
| 21 .toolbar-container div { | |
| 22 margin-left: auto; | |
| 23 margin-right: auto; | |
| 24 } | |
| 25 | |
| 26 .toolbar-stub { | |
| 27 width: 134px; /* Needs to match the width of the 'stub' img */ | |
| 28 } | |
| 29 | |
| 30 .toolbar-border { | |
| 31 border-radius: 7px; | |
| 32 border: 3px solid #4695ff; | |
| 33 width: 640px; | |
| 34 padding: 10px 5px 5px 5px; | |
| 35 background-color: #e9e9e9; | |
| 36 -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5); | |
| 37 } | |
| 38 | |
| 39 /* Ensure that the 'connected to' string doesn't make the tool-bar overflow */ | |
| 40 /* TODO(jamiewalch): This only works if there are no spaces in the string */ | |
|
awong
2011/07/15 20:40:29
Is this because we need to disable word wrapping?
Jamie
2011/07/15 20:52:20
Yes! You rock!
awong
2011/07/15 20:57:37
Yay!
Comment is now stale btw..
| |
| 41 #connected-to { | |
| 42 display: inline-block; | |
| 43 max-width: 240px; | |
| 44 overflow: hidden; | |
| 45 margin-right: 1em; | |
| 46 } | |
| 47 | |
| 48 .right-align { | |
| 49 float: right; | |
| 50 } | |
| OLD | NEW |