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: 23px;
7 color: rgb
(48, 57, 66);
11 -webkit-margin-start: 155px;
14 html
[dir
='rtl'] body
.uber-frame
{
15 /* Enable vertical scrollbar at all times in RTL to avoid visual glitches when
16 * showing sub-pages that vertically overflow. */
20 /* TODO(dbeam): Remove .page class from overlays in settings so the junk below
22 body #extension-settings
.page
,
23 body #mainview-content
.page
,
24 body
.subpage-sheet-container
.page
,
26 -webkit-margin-end: 24px;
33 background-image: -webkit-linear-gradient
(white
,
35 rgba
(255, 255, 255, 0.92));
37 /* <section>s in options currently amount to 638px total, broken up into
38 * 600px max-width + 18px -webkit-padding-start + 20px -webkit-margin-end
39 * so we mirror this value here so the headers match width and horizontal
40 * alignment when scrolling sideways.
41 * other-devices.css' .device width depends on this, please keep in sync.
48 /* list.css sets a z-index of up to 2, this is set to 3 to ensure that the
49 * header is in front of the selected list item. */
53 body
.uber-frame header
{
57 html
[dir
='rtl'] body header
{
62 html
[dir
='rtl'] body
.uber-frame header
{
66 body header
> .search-field-container
,
67 body header
> .header-extras
,
68 body header
> button
{
74 html
[dir
='rtl'] body header
> .search-field-container
,
75 html
[dir
='rtl'] body header
> .header-extras
,
76 html
[dir
='rtl'] body header
> button
{
81 body header input
[type
='search'],
82 body header input
[type
='text'],
92 /* Create a border under the h1 (but before anything that gets appended
93 * to the end of the header). */
94 body header
> h1::after
{
95 -webkit-margin-end: 20px;
96 background-color: #eee;
105 border-top: 1px solid
#eee;
107 /* min-width and max-width should match the header */
113 /* Sections are used in options pages, help page and history page. This defines
114 * the section metrics to match the header metrics above. */
116 -webkit-padding-start: 18px;
122 body
section:last-of-type
{
127 -webkit-margin-start: -18px;
130 body section
> div:only-of-type
{
134 body
.section-header
{
135 -webkit-margin-start: -18px;
136 margin-bottom: 0.8em;
140 body
.section-header
> h3
{
144 /* Styles for a hideable notification banner at the top of a page. */
145 .page.showing-banner {
150 background-color: white
;
155 .page:not(.showing-banner) .page-banner {
159 .page-banner-gradient {
160 background: -webkit-linear-gradient
(rgb
(255, 242, 183),
162 border: 1px solid rgb
(201, 189, 141);
164 margin: 9px 9px 0 9px;
168 .page-banner .page-banner-gradient {
169 -webkit-margin-end: 20px;
170 -webkit-margin-start: 0;
175 -webkit-padding-end: 8px;
176 -webkit-padding-start: 26px;
177 background-image: url
(chrome://theme
/IDR_CONTROLLED_SETTING_MANDATORY
);
178 background-position: 5px center
;
179 background-repeat: no-repeat
;
180 background-size: 16px;
186 .page-banner.clickable:active .page-banner-text {
187 background: -webkit-linear-gradient
(rgb
(250, 230, 145),