mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
574 lines
14 KiB
CSS
574 lines
14 KiB
CSS
/* ***** BEGIN LICENSE BLOCK *****
|
|
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
*
|
|
* The contents of this file are subject to the Mozilla Public License Version
|
|
* 1.1 (the "License"); you may not use this file except in compliance with
|
|
* the License. You may obtain a copy of the License at
|
|
* http://www.mozilla.org/MPL/
|
|
*
|
|
* Software distributed under the License is distributed on an "AS IS" basis,
|
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
* for the specific language governing rights and limitations under the
|
|
* License.
|
|
*
|
|
* The Original Code is Mozilla Mobile Browser.
|
|
*
|
|
* The Initial Developer of the Original Code is
|
|
* Mozilla Corporation.
|
|
* Portions created by the Initial Developer are Copyright (C) 2008
|
|
* the Initial Developer. All Rights Reserved.
|
|
*
|
|
* Contributor(s):
|
|
* Mark Finkle <mfinkle@mozilla.com>
|
|
* Kantha Kanchiraju <kkanchir@sta.samsung.com>
|
|
*
|
|
* Alternatively, the contents of this file may be used under the terms of
|
|
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
* in which case the provisions of the GPL or the LGPL are applicable instead
|
|
* of those above. If you wish to allow use of your version of this file only
|
|
* under the terms of either the GPL or the LGPL, and not to allow others to
|
|
* use your version of this file under the terms of the MPL, indicate your
|
|
* decision by deleting the provisions above and replace them with the notice
|
|
* and other provisions required by the GPL or the LGPL. If you do not delete
|
|
* the provisions above, a recipient may use your version of this file under
|
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
|
*
|
|
* ***** END LICENSE BLOCK ***** */
|
|
|
|
@import url("chrome://browser/skin/browser-high.css");
|
|
@import url("chrome://browser/skin/browser-low.css");
|
|
|
|
/* browser area -------------------------------------------------- */
|
|
#tile-container {
|
|
background-image: url("chrome://browser/content/checkerboard.png");
|
|
}
|
|
|
|
/* main toolbar (URL bar) -------------------------------------------------- */
|
|
#toolbar-main {
|
|
-moz-appearance: none;
|
|
-moz-box-align: center;
|
|
padding: 1.1mm; /* core spacing */
|
|
border: none;
|
|
}
|
|
|
|
#toolbar-moveable-container {
|
|
display: block;
|
|
}
|
|
|
|
#toolbar-moveable-container[top="0"] {
|
|
position: fixed;
|
|
left: 0;
|
|
z-index: 1000;
|
|
}
|
|
|
|
/* main toolbar buttons */
|
|
toolbarbutton.urlbar-button {
|
|
/* space out the buttons a bit horizontally */
|
|
margin-left: 1.1mm; /* core spacing */
|
|
}
|
|
|
|
/* URL bar cap buttons */
|
|
toolbarbutton.urlbar-cap-button {
|
|
margin: 0;
|
|
padding: 0;
|
|
min-width: 0 !important;
|
|
min-height: 0 !important;
|
|
}
|
|
|
|
#urlbar-icons[mode="loading"] > #tool-go,
|
|
#urlbar-icons[mode="loading"] > #tool-reload {
|
|
visibility: collapse;
|
|
}
|
|
|
|
#urlbar-icons[mode="view"] > #tool-go,
|
|
#urlbar-icons[mode="view"] > #tool-stop {
|
|
visibility: collapse;
|
|
}
|
|
|
|
#urlbar-icons[mode="edit"] > #tool-reload,
|
|
#urlbar-icons[mode="edit"] > #tool-stop {
|
|
visibility: collapse;
|
|
}
|
|
|
|
/* URL bar ----------------------------------------------------------------- */
|
|
#urlbar-container {
|
|
color: #000;
|
|
-moz-box-align: center;
|
|
}
|
|
|
|
#urlbar-edit {
|
|
-moz-appearance: none !important;
|
|
padding: 0px !important;
|
|
border: none !important;
|
|
color: #000;
|
|
background-color: #fff;
|
|
}
|
|
|
|
/* right toolbar (browser controls) ---------------------------------------- */
|
|
#browser-controls {
|
|
-moz-box-align: start;
|
|
padding: 0 1.1mm; /* core spacing + tiny bit for a rounding issue? */
|
|
border-left: 3px solid #262629; /* keep pixels */
|
|
}
|
|
|
|
toolbarbutton.browser-control-button,
|
|
toolbarbutton.panel-button,
|
|
toolbarbutton.page-button {
|
|
/* space out the buttons a bit vertically */
|
|
margin-bottom: 1.1mm; /* core spacing */
|
|
}
|
|
|
|
/* browser tools panel UI ------------------------------------------------ */
|
|
@media (orientation: landscape) {
|
|
#panel-container {
|
|
-moz-box-orient: horizontal;
|
|
}
|
|
|
|
#panel-controls {
|
|
-moz-box-orient: vertical;
|
|
-moz-box-ordinal-group: 1;
|
|
-moz-box-pack: end;
|
|
}
|
|
|
|
#tool-panel-close {
|
|
-moz-box-ordinal-group: 1000;
|
|
}
|
|
}
|
|
|
|
@media (orientation: portrait) {
|
|
#panel-container {
|
|
-moz-box-orient: vertical;
|
|
}
|
|
|
|
#panel-controls {
|
|
-moz-box-orient: horizontal;
|
|
-moz-box-ordinal-group: 1000;
|
|
-moz-box-pack: start;
|
|
padding-top: 1.1mm; /* core spacing */
|
|
}
|
|
|
|
#tool-panel-close {
|
|
-moz-box-ordinal-group: 1;
|
|
}
|
|
}
|
|
|
|
#panel-controls {
|
|
/* match #browser-controls end padding */
|
|
padding-left: 1.1mm; /* core spacing */
|
|
padding-right: 1.1mm; /* core spacing */
|
|
-moz-box-align: end;
|
|
}
|
|
|
|
.panel-header {
|
|
padding: 1.1mm; /* core spacing */
|
|
}
|
|
|
|
/* downloads panel UI ---------------------------------------------------- */
|
|
@media (orientation: landscape) {
|
|
#downloads-subheader {
|
|
-moz-box-orient: horizontal;
|
|
-moz-box-align: center;
|
|
}
|
|
}
|
|
|
|
@media (orientation: portrait) {
|
|
#downloads-subheader {
|
|
-moz-box-orient: vertical;
|
|
-moz-box-pack: center;
|
|
}
|
|
}
|
|
|
|
/* addons panel UI ------------------------------------------------------- */
|
|
@media (orientation: landscape) {
|
|
#addons-repo {
|
|
-moz-box-orient: horizontal;
|
|
-moz-box-align: center;
|
|
}
|
|
}
|
|
|
|
@media (orientation: portrait) {
|
|
#addons-repo {
|
|
-moz-box-orient: vertical;
|
|
-moz-box-pack: center;
|
|
}
|
|
}
|
|
|
|
/* console panel UI ------------------------------------------------------ */
|
|
@media (orientation: landscape) {
|
|
#console-filter-warnings,
|
|
#console-filter-messages {
|
|
visibility: visible;
|
|
}
|
|
}
|
|
|
|
@media (orientation: portrait) {
|
|
#console-filter-warnings,
|
|
#console-filter-messages {
|
|
visibility: collapse;
|
|
}
|
|
}
|
|
|
|
/* bookmark list panel UI ------------------------------------------------ */
|
|
#bookmarklist-container {
|
|
padding: 0;
|
|
}
|
|
|
|
#bookmarklist-header, #folder-header {
|
|
color: rgb(255,255,255);
|
|
-moz-box-align: center;
|
|
padding: 1.1mm; /* core spacing */
|
|
}
|
|
|
|
#folder-header {
|
|
height: 10.7mm; /* fake the height of the URLbar: 8.5mm + 1.1mm + 1.1mm */
|
|
}
|
|
|
|
#bookmark-items, #folder-items {
|
|
-moz-appearance: none !important;
|
|
background-color: rgb(255,255,255);
|
|
padding: 0;
|
|
}
|
|
|
|
.place-list-parents {
|
|
background-color: rgb(207,207,207);
|
|
padding: 0.25mm;
|
|
}
|
|
|
|
.place-list-children {
|
|
-moz-appearance: none;
|
|
border: none !important;
|
|
padding: 0;
|
|
}
|
|
|
|
.bookmark-folder, .bookmark-item {
|
|
padding: 0.25mm 0.1mm;
|
|
border-bottom: 0.05mm solid rgb(207,207,207);
|
|
min-height: 7.2mm; /* row size */
|
|
-moz-box-align: center;
|
|
}
|
|
|
|
.bookmark-folder textbox[readonly="true"], .bookmark-item textbox[readonly="true"] {
|
|
-moz-appearance: none !important;
|
|
background-color: transparent;
|
|
border: none !important;
|
|
-moz-user-select: none !important;
|
|
}
|
|
|
|
placelabel.bookmark-folder {
|
|
border-bottom: 0.05mm solid rgb(255,255,255);
|
|
}
|
|
|
|
.bookmark-item-image, .bookmark-folder-image {
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
|
|
/* control the manage controls */
|
|
.bookmark-manage-controls, .bookmark-folder-new {
|
|
visibility: collapse;
|
|
}
|
|
|
|
placelist[ui="manage"] .bookmark-manage-controls,
|
|
placelist[ui="manage"] .bookmark-folder-new,
|
|
placeitem[ui="manage"] .bookmark-manage-controls {
|
|
visibility: visible;
|
|
}
|
|
|
|
placeitem[ui="manage"] .bookmark-item-image {
|
|
visibility: collapse;
|
|
}
|
|
|
|
/* be consistent with the size of placeitem */
|
|
placelabel {
|
|
min-height: 7.2mm; /* row size */
|
|
-moz-box-align: center;
|
|
}
|
|
|
|
/* use a smaller font size for the manage buttons */
|
|
placeitem .button-text {
|
|
font-size: 9pt !important;
|
|
}
|
|
|
|
.searchengine {
|
|
-moz-box-orient: horizontal;
|
|
}
|
|
|
|
#autocomplete_navbuttons {
|
|
margin: 1.1mm; /* core spacing */
|
|
min-height: 7.2mm; /* row size */
|
|
}
|
|
|
|
.autocomplete-items {
|
|
background-color: white;
|
|
}
|
|
|
|
autocompleteresult {
|
|
padding: 0.25mm 0.1mm;
|
|
border-bottom: 0.05mm solid rgb(207,207,207);
|
|
min-height: 7.2mm; /* row size */
|
|
}
|
|
|
|
.autocompleteresult-selected {
|
|
color: white;
|
|
background-color: grey !important;
|
|
}
|
|
|
|
.autocomplete-item-desc {
|
|
color: blue;
|
|
white-space: pre;
|
|
font-size: 8pt !important;
|
|
}
|
|
|
|
.autocomplete-item-desc:first-line {
|
|
color: black;
|
|
font-size: 9pt !important;
|
|
}
|
|
|
|
.autocomplete-item-tags {
|
|
font-size: 8pt !important;
|
|
font-weight: lighter;
|
|
}
|
|
|
|
.autocomplete-item-tags[favorite=true]:after {
|
|
content: url(images/star-24.png);
|
|
margin: 1.6mm 2mm 0mm 1.5mm;
|
|
}
|
|
|
|
.autocomplete-item-image {
|
|
max-height: 16px;
|
|
max-width: 16px;
|
|
margin: 1.6mm 1.5mm 0mm 2mm;
|
|
}
|
|
|
|
/* special "no results" and "all bookmarks" items */
|
|
autocompleteresult.noresults > .autocomplete-item-desc {
|
|
text-align: center;
|
|
}
|
|
|
|
autocompleteresult.noresults > .autocomplete-item-desc:first-line {
|
|
color: grey;
|
|
}
|
|
|
|
autocompleteresult.noresults > .autocomplete-item-image,
|
|
autocompleteresult.noresults > .autocomplete-item-tags {
|
|
visibility: hidden;
|
|
}
|
|
|
|
autocompleteresult.noresults {
|
|
font-style: italic;
|
|
border-bottom: none;
|
|
}
|
|
|
|
autocompleteresult.allbookmarks {
|
|
color: black;
|
|
background-color: #E9E9E9;
|
|
}
|
|
|
|
autocompleteresult.allbookmarks > .autocomplete-item-desc {
|
|
color: black;
|
|
font-size: 9pt !important;
|
|
}
|
|
|
|
autocompleteresult.allbookmarks > .autocomplete-item-image {
|
|
margin: 0 1.5mm;
|
|
}
|
|
|
|
autocompleteresult.allbookmarks > .autocomplete-item-tags:after {
|
|
/* this image works fine for both -high and -low */
|
|
content: url(images/arrowright-16.png);
|
|
-moz-margin-end: 1.1mm;
|
|
}
|
|
|
|
/* Left sidebar (tabs) ---------------------------------------------------- */
|
|
#tabs-container {
|
|
-moz-padding-start: 0.6mm; /* allow the thumbnails to get close to the edge */
|
|
-moz-padding-end: 1.1mm; /* core spacing */
|
|
padding-bottom: 1.1mm; /* core spacing */
|
|
border-right: 3px solid #262629; /* keep pixels */
|
|
}
|
|
|
|
#tabs {
|
|
-moz-appearance: none;
|
|
-moz-user-focus: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: transparent;
|
|
}
|
|
|
|
#tabs-controls {
|
|
margin-top: 1.1mm; /* core spacing */
|
|
-moz-box-pack: start;
|
|
}
|
|
|
|
richlistitem[type="documenttab"] {
|
|
-moz-appearance: none;
|
|
padding: 0;
|
|
border: none;
|
|
}
|
|
|
|
richlistitem[type="documenttab"] .documenttab-canvas {
|
|
/* keep the unselected thumbnails aligned with the selected one */
|
|
border: 1.0mm solid transparent;
|
|
}
|
|
|
|
richlistitem[type="documenttab"][selected="true"] {
|
|
background-color: transparent;
|
|
}
|
|
|
|
richlistitem[type="documenttab"][selected="true"] .documenttab-canvas {
|
|
border: 1.0mm solid #262629;
|
|
-moz-border-radius: 4px;
|
|
}
|
|
|
|
vbox:first-child > richlistitem[type="documenttab"]:only-child .documenttab-close {
|
|
display: none;
|
|
}
|
|
|
|
/* findbar --------------------------------------------------------------- */
|
|
findbar {
|
|
background: rgba(128, 128, 128, 0.75);
|
|
}
|
|
|
|
/* bookmark editor ------------------------------------------------------- */
|
|
#bookmark-container {
|
|
padding: 1.1mm; /* core spacing */
|
|
}
|
|
|
|
#bookmark-form {
|
|
background-color: #fff;
|
|
padding: 1.1mm; /* core spacing */
|
|
}
|
|
|
|
/* Identity popup -------------------------------------------------------- */
|
|
#identity-container {
|
|
padding: 1.1mm; /* core spacing */
|
|
}
|
|
|
|
/* Popup Body Text */
|
|
#identity-popup-content-box {
|
|
-moz-padding-start: 1.1mm; /* core spacing */
|
|
}
|
|
|
|
#identity-popup-content-box.unknownIdentity > hbox > #identity-popup-connectedToLabel,
|
|
#identity-popup-content-box.unknownIdentity > hbox > #identity-popup-runByLabel,
|
|
#identity-popup-content-box.unknownIdentity > hbox > #identity-popup-content-host,
|
|
#identity-popup-content-box.unknownIdentity > hbox > #identity-popup-content-owner,
|
|
#identity-popup-content-box.verifiedIdentity > hbox > #identity-popup-connectedToLabel2,
|
|
#identity-popup-content-box.verifiedDomain > hbox > #identity-popup-connectedToLabel2 {
|
|
display: none;
|
|
}
|
|
|
|
#identity-popup-content-box > hbox > description,
|
|
#identity-popup-content-box > hbox > label {
|
|
font-size: 9pt !important;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
#identity-popup-encryption-label,
|
|
#identity-popup-content-verifier {
|
|
font-size: 8pt !important;
|
|
}
|
|
|
|
#identity-popup-content-host,
|
|
#identity-popup-content-owner {
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Preferences window ---------------------------------------------------- */
|
|
/* XXX should be a richlistitem */
|
|
richpref {
|
|
background-color: white;
|
|
color: black;
|
|
}
|
|
|
|
/* XXX should be a richlistitem.section-header */
|
|
.prefsection {
|
|
font-weight: bold;
|
|
color: #000;
|
|
background-color: lightgray;
|
|
padding: 0.25mm;
|
|
}
|
|
|
|
/* XXX should be a richlistitem */
|
|
.prefbox {
|
|
padding: 0.25mm 1.1mm;
|
|
border-bottom: 0.05mm solid rgb(207,207,207);
|
|
min-height: 7.2mm; /* row size */
|
|
}
|
|
|
|
/* XXX should be a richlistitem description.title */
|
|
.preftitle {
|
|
font-size: 9pt !important;
|
|
}
|
|
|
|
/* XXX should be a richlistitem description.normal */
|
|
.prefdesc {
|
|
font-size: 8pt !important;
|
|
color: grey;
|
|
background-color: white;
|
|
}
|
|
|
|
/* alerts popup ----------------------------------------------------------- */
|
|
#alerts-container {
|
|
color: #000;
|
|
background-color: #fff;
|
|
border: 0.25mm solid gray;
|
|
-moz-border-radius: 1.0mm;
|
|
padding: 1.1mm; /* core spacing */
|
|
-moz-box-shadow: black 0.25mm 0.25mm 0.5mm;
|
|
}
|
|
|
|
#alerts-text {
|
|
font-size: 85% !important;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
/* helperapp (save-as) popup ----------------------------------------------- */
|
|
#helperapp-target {
|
|
font-size: 8pt !important;
|
|
}
|
|
|
|
/* select popup ------------------------------------------------------------ */
|
|
#select-container {
|
|
border: 0.5mm solid #36373b;
|
|
-moz-border-radius: 1.0mm;
|
|
padding-top: 1.1mm; /* core spacing */
|
|
}
|
|
|
|
#select-list > option {
|
|
color: #000;
|
|
background-color: #fff;
|
|
padding: 5px;
|
|
border-bottom: 1px solid rgb(207,207,207);
|
|
min-height: 7.2mm; /* row size */
|
|
-moz-box-align: center;
|
|
}
|
|
|
|
#select-list > option[selected="true"] {
|
|
color: #fff;
|
|
background-color: grey;
|
|
}
|
|
|
|
#select-list > option.optgroup {
|
|
font-weight: bold;
|
|
font-style: italic;
|
|
}
|
|
|
|
#select-list > option.optgroup > image {
|
|
display: none;
|
|
}
|
|
|
|
#select-list > option.in-optgroup {
|
|
-moz-padding-start: 4.4mm;
|
|
}
|
|
|
|
#select-buttons {
|
|
padding: 0.55mm 1.1mm; /* row size & core spacing */
|
|
-moz-box-pack: center;
|
|
}
|
|
|
|
#select-list > option > image {
|
|
min-width: 30px;
|
|
}
|