mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 06:05:44 +00:00
143 lines
2.6 KiB
CSS
143 lines
2.6 KiB
CSS
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
%filter substitution
|
|
%include defines.inc
|
|
|
|
html {
|
|
font-family: "Clear Sans",sans-serif;
|
|
font-size: 14px;
|
|
background-color: @color_about_background@;
|
|
-moz-text-size-adjust: none;
|
|
--icon-size: 1.8em;
|
|
--icon-margin: 1.35em;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
}
|
|
|
|
.header {
|
|
color: #363B40;
|
|
font-size: 1.1em;
|
|
font-weight: bold;
|
|
border-bottom: 2px solid;
|
|
-moz-border-bottom-colors: #ff9100 #f27900;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
}
|
|
|
|
.header > div {
|
|
flex: 1;
|
|
padding: 1em;
|
|
-moz-padding-start: 1.5em;
|
|
}
|
|
|
|
#header-button {
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
background-size: 33px 33px;
|
|
flex: 0;
|
|
height: 100%;
|
|
}
|
|
|
|
.list {
|
|
padding: 0px;
|
|
margin: 0px;
|
|
width: 100%;
|
|
}
|
|
|
|
.list-item {
|
|
color: #363B40;
|
|
background-color: @color_about_item@;
|
|
border-bottom: 1px solid @color_about_item_border@;
|
|
position: relative;
|
|
list-style-type: none;
|
|
list-style-image: none;
|
|
margin: 0px;
|
|
padding: 0px;
|
|
min-height: calc(var(--icon-size) + var(--icon-margin) * 2);
|
|
}
|
|
|
|
.list-item:active {
|
|
background-color: #eeeeee;
|
|
}
|
|
|
|
.list-item[isDisabled="true"] {
|
|
color: #999999;
|
|
}
|
|
|
|
.inner {
|
|
-moz-margin-start: calc(var(--icon-size) + var(--icon-margin) * 2 - 1em);
|
|
padding: 1em;
|
|
}
|
|
|
|
.icon {
|
|
border: none;
|
|
width: var(--icon-size);
|
|
height: var(--icon-size);
|
|
top: var(--icon-margin);
|
|
-moz-margin-start: var(--icon-margin);
|
|
position: absolute;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.list-item[isDisabled="true"] .favicon {
|
|
opacity: 0.3;
|
|
}
|
|
|
|
/* Buttons */
|
|
.buttons {
|
|
display: flex;
|
|
flex-direction: row;
|
|
width: 100%;
|
|
}
|
|
|
|
.buttons > button {
|
|
-moz-appearance: none;
|
|
font-size: 1em;
|
|
border: 1px solid transparent;
|
|
border-top-color: @color_about_item_border@;
|
|
-moz-border-start-color: @color_about_item_border@;
|
|
background-color: @color_about_item@;
|
|
flex: 1;
|
|
padding: 0.75em 0.5em;
|
|
}
|
|
|
|
.buttons > button:active {
|
|
background-color: #eeeeee;
|
|
}
|
|
|
|
.buttons > button[disabled="true"] {
|
|
color: #b5b5b5;
|
|
}
|
|
|
|
.buttons > button[hidden="true"] {
|
|
display: none;
|
|
}
|
|
|
|
.buttons:first-child {
|
|
-moz-border-start-color: transparent;
|
|
}
|
|
|
|
.row {
|
|
display: flex;
|
|
width: 100%;
|
|
}
|
|
|
|
.title {
|
|
font-weight: bold;
|
|
overflow: hidden;
|
|
flex: 1;
|
|
}
|
|
|
|
#browse-title {
|
|
margin: 0.5em 0;
|
|
background-image: url("chrome://browser/skin/images/chevron.png");
|
|
background-size: 8px 20px;
|
|
background-position: right;
|
|
background-repeat: no-repeat;
|
|
}
|