OLD | NEW |
(Empty) | |
| 1 /* |
| 2 Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 3 Use of this source code is governed by a BSD-style license that can be |
| 4 found in the LICENSE file. |
| 5 */ |
| 6 .tab-switcher-view * { |
| 7 font-family: sans-serif; |
| 8 } |
| 9 |
| 10 .tab-switcher-view ul { |
| 11 list-style: none; |
| 12 padding: 0; |
| 13 margin: 0; |
| 14 } |
| 15 |
| 16 .tab-switcher-view { |
| 17 border-bottom: 1px solid #555; |
| 18 background: #aaa; |
| 19 overflow: hidden; |
| 20 } |
| 21 |
| 22 .tab-switcher-view li { |
| 23 float: left; |
| 24 -webkit-margin-start: 5px; |
| 25 } |
| 26 |
| 27 .tab-switcher-view a { |
| 28 text-decoration: none; |
| 29 text-align: center; |
| 30 display: inline-block; |
| 31 margin-top: 4px; |
| 32 padding: 5px 10px 3px 10px; |
| 33 border-top-right-radius: 8px; |
| 34 border-top-left-radius: 8px; |
| 35 background-clip: border-box; |
| 36 background: #ccc; |
| 37 } |
| 38 |
| 39 .tab-switcher-view a:hover { |
| 40 background: #eee; |
| 41 } |
| 42 |
| 43 |
| 44 .tab-switcher-view a:visited, |
| 45 .tab-switcher-view a { |
| 46 color: blue; |
| 47 } |
| 48 |
| 49 .tab-switcher-view .selected { |
| 50 background: white; |
| 51 } |
| 52 |
| 53 .tab-switcher-view a.selected { |
| 54 position: relative; |
| 55 top: 3px; |
| 56 color: black; |
| 57 } |
OLD | NEW |