blob: 74c8bb148391207718a4966140b02603e384f141 [file] [log] [blame]
body {
-webkit-user-select: none;
cursor: default;
font-size: 100%;
}
#settings-title {
-webkit-padding-end: 24px;
color: #53637d;
font-size: 200%;
font-weight: normal;
margin: 0;
padding-bottom: 14px;
padding-top: 13px;
text-align: end;
}
#main-content {
display: -webkit-box;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
.overlay {
position: fixed;
left: 0;
right: 0;
background: rgba(0, 0, 0, .2);
top: 0;
bottom: 0;
z-index: 10;
padding: 20px;
display: -webkit-box;
-webkit-box-align: center;
-webkit-box-pack: center;
}
#close-overlay {
position: relative;
top: -20px;
width: 20px;
height: 20px;
}
html[dir='ltr'] #close-overlay {
float: right;
right: -20px;
}
html[dir='rtl'] #close-overlay {
float: left;
left: -20px;
}
html[hide-menu=true] .close-subpage {
display: none
}
.action-area {
-webkit-box-orient: horizontal;
-webkit-box-align: center;
padding: 12px;
position: absolute;
right: 0px;
bottom: 0px;
display: -webkit-box;
}
.button-strip {
-webkit-box-orient: horizontal;
display: -webkit-box;
}
html[toolkit=views] .button-strip {
-webkit-box-direction: reverse;
}
.button-strip > button {
-webkit-margin-start: 4px;
display: block;
}
.overlay > div {
-webkit-box-shadow: 3px 3px 3px #666;
background: white;
border-radius: 5px;
padding: 15px;
border: 1px solid #666;
padding-bottom: 50px;
position: relative;
}
#navbar {
margin: 0;
}
#navbar-container {
-webkit-border-end: 1px solid #c6c9ce;
background: -webkit-gradient(linear,
left top,
left bottom,
from(rgba(234, 238, 243, 0)),
to(#eaeef3)),
-webkit-gradient(linear,
left top,
right top,
from(#eaeef3),
color-stop(0.97, #eaeef3),
to(#d3d7db));
bottom: 0;
cursor: pointer;
display: none;
left: 0;
position: fixed;
top: 0;
width: 250px;
z-index: 2;
}
html[dir='rtl'] #navbar-container {
background: -webkit-gradient(linear,
left top,
left bottom,
from(rgba(255, 255, 255, 0)),
color-stop(0.7, rgba(255, 255, 255, 0)),
to(white)),
-webkit-gradient(linear,
right top,
left top,
from(white),
color-stop(0.8, white),
to(#f3f3f3));
left: auto;
right: 0;
}
html[hide-menu=false] #navbar-container {
display: block;
}
#navbar-container > hr {
-webkit-margin-start: 35%;
background-color: #dbdbdb;
border: 0;
height: 1px;
width: 65%;
}
#navbar-container > ul {
list-style-type: none;
margin: 0;
padding: 0;
}
.navbar-item, .navbar-item2 {
color: #426dc9;
display: block;
font-size: 105%;
outline: none;
padding: 7px 0;
text-align: end;
-webkit-padding-end: 24px;
}
.navbar-item-selected {
background: #bbcee9;
border-bottom: 1px solid #8faad9;
border-top: 1px solid #8faad9;
color: black;
font-weight: bold;
}
.navbar-item-normal {
background-color: #dfdfdf;
}
#mainview {
-webkit-box-align: stretch;
-webkit-padding-start: 251px;
margin: 0;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
z-index: 1;
}
html[hide-menu=true] #mainview {
-webkit-padding-start: 0;
}
#mainview-content {
box-sizing: border-box;
min-height: 100%;
padding: 0 24px;
position: relative;
width: 600px;
}
#subpage-sheet-container {
box-sizing: border-box;
height: 100%;
padding: 8px;
-webkit-padding-start: 60px;
position: absolute;
top: 0;
left: 0;
width: 748px;
}
#subpage-sheet {
-webkit-box-shadow: #666 0px 3px 5px;
background-color: white;
border: 1px solid #b8b8b8;
border-radius: 2px;
box-sizing: border-box;
min-height: 100%;
padding: 0px 20px;
width: 100%;
}
#managed-prefs-banner {
background: -webkit-gradient(linear,
left top,
left bottom,
from(#fff2b7),
color-stop(0.97, #fae691),
to(#878787));
height: 31px;
width: 100%;
}
#managed-prefs-banner {
margin: 0;
padding: 0;
vertical-align: middle;
}
#managed-prefs-icon {
background-image: url("chrome://theme/IDR_WARNING");
background-repeat: no-repeat;
background-position:center;
display: inline-block;
padding: 5px;
height: 21px;
vertical-align: middle;
width: 24px;
}
#managed-prefs-text {
vertical-align: middle;
}
.page > h1 {
-webkit-padding-end: 24px;
border-bottom: 1px solid #eeeeee;
color: #53637d;
font-size: 200%;
font-weight: normal;
margin: 0;
padding-bottom: 4px;
padding-top: 13px;
}
#subpage-sheet .page > h1 {
padding-top: 7px;
}
section {
-webkit-box-orient: horizontal;
border-bottom: 1px solid #eeeeee;
display: -webkit-box;
margin-top: 17px;
padding-bottom: 20px;
}
section:last-child {
border-bottom: none;
}
section > h3 {
font-size: 105%;
font-weight: bold;
margin: 0;
vertical-align: middle;
width: 140px;
}
section > div:only-of-type {
-webkit-box-flex: 1;
}
.option {
margin-top: 0;
}
.option-control-table, section > div:only-of-type {
-webkit-padding-start: 10px;
border-spacing: 0 0;
}
/* TODO(stuartmorgan): make this less specific once all pages
* are converted to the non-table style.
*/
section > div:only-of-type label {
display: block;
margin: 5px 0;
}
.hidden {
display: none;
}
.touch-slider {
-webkit-appearance: slider-horizontal;
}
select {
margin: 0px;
}
.link-button {
background-color: transparent;
border: none;
color: blue;
cursor: pointer;
text-decoration: underline;
}
.text-button {
background-color: transparent;
border-color: transparent;
}
#contentSettingsPage :invalid {
background-color: pink;
}
list > .heading {
color: #666666;
}
list > .heading:hover {
background-color: transparent;
border-color: transparent;
}
.left-side-table {
display: -webkit-box;
}
.left-side-table > div:first-child {
-webkit-box-flex: 1;
}
.left-side-table > :last-child {
-webkit-padding-start: 20px;
}
.left-side-table > :last-child button {
width: 100%;
}
.option-name {
padding-right: 5px;
}
html[dir=rtl].option-name {
padding-left: 5px;
}
.favicon-cell {
-webkit-padding-start: 20px;
background-position: left;
background-repeat: no-repeat;
}
html[dir=rtl] .favicon-cell {
background-position: right;
}
html[enable-background-mode=false] #background-mode-section {
display: none;
}
html[enable-cloud-print-proxy=false] #cloud-print-proxy-section {
display: none;
}
html[enable-cloud-print-proxy=true] #cloudPrintProxyManageButton {
display: none;
}
input[type=checkbox],
input[type=radio],
button {
margin-left: 0;
margin-right: 0;
}
/* Checkbox and radio buttons have different sizes on different platforms. The
* following rules have platform specific tweaks.
* TODO(arv): Test the vertical position on Linux and CrOS as well.
*/
/*
* Webkit does not move the absolute positioned input element properly and
* filed bug 48348 to track the problem.
* https://bugs.webkit.org/show_bug.cgi?id=48348
* In the mean time, mark the outer label element 'relative' so that webkit
* aligns the input element properly.
*/
label.checkbox,
label.radio {
position: relative;
}
label.checkbox > input,
label.radio > input {
margin-top: 1px;
position: absolute;
}
label.checkbox > span,
label.radio > span,
.suboption {
-webkit-margin-start: 16px;
display: block;
}
html[os=mac] label.checkbox > input,
html[os=mac] label.radio > input {
margin-top: 2px;
}