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 xhtml[dir=rtl] .tab-switcher-view li { |
| 28 float: right; |
| 29 } |
| 30 |
| 31 .tab-switcher-view a { |
| 32 text-decoration: none; |
| 33 text-align: center; |
| 34 display: inline-block; |
| 35 margin-top: 4px; |
| 36 padding: 5px 10px 3px 10px; |
| 37 border-top-right-radius: 8px; |
| 38 border-top-left-radius: 8px; |
| 39 background-clip: border-box; |
| 40 background: #ccc; |
| 41 } |
| 42 |
| 43 .tab-switcher-view a:hover { |
| 44 background: #eee; |
| 45 } |
| 46 |
| 47 |
| 48 .tab-switcher-view a:visited, |
| 49 .tab-switcher-view a { |
| 50 color: blue; |
| 51 } |
| 52 |
| 53 .tab-switcher-view .selected { |
| 54 background: white; |
| 55 } |
| 56 |
| 57 .tab-switcher-view a.selected { |
| 58 position: relative; |
| 59 top: 3px; |
| 60 color: black; |
| 61 } |
OLD | NEW |