| 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 tabbox { | 5 tabbox { |
| 6 -webkit-box-orient: vertical; | 6 -webkit-box-orient: vertical; |
| 7 display: -webkit-box; | 7 display: -webkit-box; |
| 8 } | 8 } |
| 9 | 9 |
| 10 tabs { | 10 tabs { |
| 11 -webkit-padding-start: 8px; | 11 -webkit-padding-start: 8px; |
| 12 background: -webkit-linear-gradient(white, rgb(243, 243, 243)); | 12 background: -webkit-linear-gradient(white, rgb(243, 243, 243)); |
| 13 border-bottom: 1px solid rgb(160, 160, 160); | 13 border-bottom: 1px solid rgb(160, 160, 160); |
| 14 display: -webkit-box; | 14 display: -webkit-box; |
| 15 margin: 0; | 15 margin: 0; |
| 16 } | 16 } |
| 17 | 17 |
| 18 /* New users of tabs.css should add 'new-style-tabs' to the class list of any | 18 /* New users of tabs.css should add 'new-style-tabs' to the class list of any |
| 19 * 'tabs' or 'tabpanels' elements. | 19 * 'tabs' or 'tabpanels' elements. |
| 20 * | 20 * |
| 21 * TODO(rfevang): Remove when all users are converted to the new style. | 21 * TODO(rfevang): Remove when all users are converted to the new style. |
| 22 * (crbug.com/247772). | 22 * (crbug.com/247772). */ |
| 23 */ | |
| 24 tabs.new-style-tabs { | 23 tabs.new-style-tabs { |
| 25 -webkit-padding-start: 9px; | 24 -webkit-padding-start: 9px; |
| 26 background: #fbfbfb; | 25 background: #fbfbfb; |
| 27 border-bottom: 1px solid #c8c8c8; | 26 border-bottom: 1px solid #c8c8c8; |
| 28 padding-top: 14px; | 27 padding-top: 14px; |
| 29 } | 28 } |
| 30 | 29 |
| 31 tabs > * { | 30 tabs > * { |
| 32 -webkit-margin-start: 5px; | 31 -webkit-margin-start: 5px; |
| 33 -webkit-transition: border-color 150ms, background-color 150ms; | 32 -webkit-transition: border-color 150ms, background-color 150ms; |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 } | 110 } |
| 112 | 111 |
| 113 tabpanels > * { | 112 tabpanels > * { |
| 114 -webkit-box-flex: 1; | 113 -webkit-box-flex: 1; |
| 115 display: none; | 114 display: none; |
| 116 } | 115 } |
| 117 | 116 |
| 118 tabpanels > [selected] { | 117 tabpanels > [selected] { |
| 119 display: block; | 118 display: block; |
| 120 } | 119 } |
| OLD | NEW |