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 body { | 5 body { |
6 position: relative; | 6 position: relative; |
7 } | 7 } |
8 | 8 |
9 #main-content { | 9 #main-content { |
10 display: -webkit-box; | 10 display: -webkit-box; |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 position: absolute; | 93 position: absolute; |
94 right: 18px; | 94 right: 18px; |
95 top: 18px; | 95 top: 18px; |
96 } | 96 } |
97 | 97 |
98 html[dir="rtl"] .search-field-container { | 98 html[dir="rtl"] .search-field-container { |
99 left: 18px; | 99 left: 18px; |
100 right: auto; | 100 right: auto; |
101 } | 101 } |
102 | 102 |
| 103 /* TODO(csilv): M19 Move this styling to a shared location for all webui. */ |
103 #search-field { | 104 #search-field { |
104 -webkit-appearance: none; | 105 -webkit-appearance: none; |
105 -webkit-margin-end: 18px; | 106 -webkit-margin-end: 18px; |
106 border: 1px solid rgba(0, 0, 0, 0.25); | 107 border: 1px solid rgba(0, 0, 0, 0.25); |
107 border-radius: 2px; | 108 border-radius: 2px; |
108 font: normal 12px 'Open Sans'; | 109 font: inherit; |
109 margin: 0; | 110 margin: 0; |
110 /* NOTE: Keep a relatively high min-width for this so we don't obscure the end | 111 /* NOTE: Keep a relatively high min-width for this so we don't obscure the end |
111 * of the default text in relatively spacious languages (i.e. German). */ | 112 * of the default text in relatively spacious languages (i.e. German). */ |
112 min-width: 160px; | 113 min-width: 160px; |
113 } | 114 } |
114 | 115 |
115 /* | 116 /* |
116 * Add padding to increase the touchable area of search box. Use original font | 117 * Add padding to increase the touchable area of search box. Use original font |
117 * size to avoid the width of search box exceeding the width of navbar. | 118 * size to avoid the width of search box exceeding the width of navbar. |
118 */ | 119 */ |
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
732 url('chrome://theme/IDR_CONTROLLED_SETTING_RECOMMENDED_LARGE'); | 733 url('chrome://theme/IDR_CONTROLLED_SETTING_RECOMMENDED_LARGE'); |
733 } | 734 } |
734 | 735 |
735 html[dir='rtl'] .controlled-setting-bubble-text { | 736 html[dir='rtl'] .controlled-setting-bubble-text { |
736 background-position: right top; | 737 background-position: right top; |
737 } | 738 } |
738 | 739 |
739 .controlled-setting-bubble-action { | 740 .controlled-setting-bubble-action { |
740 padding: 0 !important; | 741 padding: 0 !important; |
741 } | 742 } |
OLD | NEW |