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 body
.uber-frame section
> div:only-of-type
{
122 body
.uber-frame
.section-header
{
123 -webkit-margin-start: -18px;
124 margin-bottom: 0.8em;
128 body
.uber-frame
.section-header
> h3
{
132 /* Styles for a hideable notification banner at the top of a page. */
133 .page.showing-banner {
138 background-color: white
;
143 .page:not(.showing-banner) .page-banner {
147 .page-banner-gradient {
148 background: -webkit-linear-gradient
(rgb
(255, 242, 183),
150 border: 1px solid rgb
(201, 189, 141);
152 margin: 9px 9px 0 9px;
156 .page-banner .page-banner-gradient {
157 -webkit-margin-end: 20px;
158 -webkit-margin-start: 0;
163 -webkit-padding-end: 8px;
164 -webkit-padding-start: 26px;
165 background-image: url
('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY');
166 background-position: 5px center
;
167 background-repeat: no-repeat
;
168 background-size: 16px;
174 .page-banner.clickable:active .page-banner-text {
175 background: -webkit-linear-gradient
(rgb
(250, 230, 145),