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
3 * found in the LICENSE file. */
6 -webkit-margin-start: 155px;
7 color: rgb(48, 57, 66);
10 html[dir='rtl'] body.uber-frame {
11 /* Enable vertical scrollbar at all times in RTL to avoid visual glitches when
12 * showing sub-pages that vertically overflow. */
16 /* TODO(dbeam): Remove .page class from overlays in settings so the junk below
18 body.uber-frame #extension-settings.page,
19 body.uber-frame #mainview-content .page,
20 body.uber-frame .subpage-sheet-container .page,
21 body.uber-frame > .page {
22 -webkit-margin-end: 24px;
28 body.uber-frame header {
29 background-image: -webkit-linear-gradient(white,
31 rgba(255, 255, 255, 0.92));
33 /* <section>s in options currently amount to 638px total, broken up into
34 * 600px max-width + 18px -webkit-padding-start + 20px -webkit-margin-end
35 * so we mirror this value here so the headers match width and horizontal
36 * alignment when scrolling sideways.
37 * other-devices.css' .device width depends on this, please keep in sync.
44 /* list.css sets a z-index of up to 2, this is set to 3 to ensure that the
45 * header is in front of the selected list item. */
49 html[dir='rtl'] body.uber-frame header {
54 body.uber-frame header > .search-field-container,
55 body.uber-frame header > .header-extras,
56 body.uber-frame header > button {
62 html[dir='rtl'] body.uber-frame header > .search-field-container,
63 html[dir='rtl'] body.uber-frame header > .header-extras,
64 html[dir='rtl'] body.uber-frame header > button {
69 body.uber-frame header input[type='search'],
70 body.uber-frame header input[type='text'],
71 body.uber-frame header button {
75 body.uber-frame header > h1 {
80 /* Create a border under the h1 (but before anything that gets appended
81 * to the end of the header). */
82 body.uber-frame header > h1::after {
83 -webkit-margin-end: 20px;
84 background-color: #eee;
92 body.uber-frame footer {
93 border-top: 1px solid #eee;
95 /* min-width and max-width should match the header */
101 /* Sections are used in options pages, help page and history page. This defines
102 * the section metrics to match the header metrics above. */
103 body.uber-frame section {
104 -webkit-padding-start: 18px;
110 body.uber-frame section:last-of-type {
114 body.uber-frame section > h3 {
115 -webkit-margin-start: -18px;
118 @media(pointer:coarse) {
119 /* TODO(kevers): Remove the extra padding once the following bug is fixed:
120 * https://bugs.webkit.org/show_bug.cgi?id=95204
121 * In the interim, the added padding makes it less likely that a touch will
122 * span the boundary of the navigation bar, which results in poor touch
124 body.uber-frame section {
125 -webkit-padding-start: 28px;
127 body.uber-frame section > h3 {
128 -webkit-margin-start: -28px;
132 body.uber-frame section > div:only-of-type {
136 /* Styles for a hideable notification banner at the top of a page. */
137 .page.showing-banner {
142 background-color: white;
147 .page:not(.showing-banner) .page-banner {
151 .page-banner-gradient {
152 background: -webkit-linear-gradient(rgb(255, 242, 183),
154 border: 1px solid rgb(201, 189, 141);
156 margin: 9px 9px 0 9px;
160 .page-banner .page-banner-gradient {
161 -webkit-margin-end: 20px;
162 -webkit-margin-start: 0;
167 -webkit-padding-end: 8px;
168 -webkit-padding-start: 26px;
169 background-image: url('chrome://theme/IDR_MANAGED');
170 background-position: 5px center;
171 background-repeat: no-repeat;
172 background-size: 16px;
178 .page-banner.clickable:active .page-banner-text {
179 background: -webkit-linear-gradient(rgb(250, 230, 145),