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. */
42 /* list.css sets a z-index of up to 2, this is set to 3 to ensure that the
43 * header is in front of the selected list item. */
47 html
[dir
='rtl'] body
.uber-frame header
{
52 body
.uber-frame header
> .search-field-container
,
53 body
.uber-frame header
> .header-extras
,
54 body
.uber-frame header
> button
{
60 html
[dir
='rtl'] body
.uber-frame header
> .search-field-container
,
61 html
[dir
='rtl'] body
.uber-frame header
> .header-extras
,
62 html
[dir
='rtl'] body
.uber-frame header
> button
{
67 body
.uber-frame header input
[type
='search'],
68 body
.uber-frame header input
[type
='text'],
69 body
.uber-frame header button
{
73 body
.uber-frame header
> h1
{
78 /* Create a border under the h1 (but before anything that gets appended
79 * to the end of the header). */
80 body
.uber-frame header
> h1::after
{
81 -webkit-margin-end: 20px;
82 background-color: #eee;
90 body
.uber-frame footer
{
91 border-top: 1px solid
#eee;
93 /* min-width and max-width should match the header */
99 /* Sections are used in options pages, help page and history page. This defines
100 * the section metrics to match the header metrics above. */
101 body
.uber-frame section
{
102 -webkit-padding-start: 18px;
108 body
.uber-frame
section:last-of-type
{
112 body
.uber-frame section
> h3
{
113 -webkit-margin-start: -18px;
116 body
.uber-frame section
> div:only-of-type
{