mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-10 01:40:17 +01:00
330 lines
7.3 KiB
CSS
330 lines
7.3 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.org code.
|
|
*
|
|
* The Initial Developer of the Original Code is
|
|
* Netscape Communications Corporation.
|
|
* Portions created by the Initial Developer are Copyright (C) 1998
|
|
* the Initial Developer. All Rights Reserved.
|
|
*
|
|
* Contributor(s):
|
|
* Pete Collins
|
|
* Ben Goodger
|
|
* Joe Hewitt <hewitt@netscape.com>
|
|
*
|
|
* Alternatively, the contents of this file may be used under the terms of
|
|
* either of 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 ***** */
|
|
|
|
/* ==== EditorDialog.css ====================================================
|
|
== Styles used by all dialog boxes in the Editor application.
|
|
==
|
|
== THIS FILE IS LOCKED DOWN. YOU ARE NOT ALLOWED TO MODIFY IT WITHOUT
|
|
== FIRST HAVING YOUR CHANGES REVIEWED BY cmanske@netscape.com.
|
|
========================================================================== */
|
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
|
|
/* ::::: common styles ::::: */
|
|
|
|
.MinWidth5em {
|
|
min-width: 5em;
|
|
}
|
|
|
|
.MinWidth10em {
|
|
min-width: 10em;
|
|
}
|
|
|
|
.MinWidth15em {
|
|
min-width: 15em;
|
|
}
|
|
|
|
.MinWidth20em {
|
|
min-width: 20em;
|
|
}
|
|
|
|
.bold {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.italic {
|
|
font-style: italic;
|
|
}
|
|
|
|
.larger {
|
|
font-size: 120%;
|
|
}
|
|
|
|
.narrow {
|
|
width: 3em;
|
|
}
|
|
|
|
.wrap {
|
|
width: 1em;
|
|
}
|
|
|
|
.menuitem-highlight-1 {
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* ::::: common buttons ::::: */
|
|
|
|
#MoreFewerButton[more="0"] {
|
|
list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
|
|
min-width: 12em;
|
|
}
|
|
|
|
#MoreFewerButton[more="1"] {
|
|
list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
|
|
min-width: 12em;
|
|
}
|
|
|
|
/* ::::: table properties dialog ::::: */
|
|
|
|
#PreviousButton {
|
|
list-style-image: url("chrome://global/skin/arrow/arrow-lft.gif");
|
|
}
|
|
|
|
#NextButton {
|
|
list-style-image: url("chrome://global/skin/arrow/arrow-rit.gif");
|
|
}
|
|
|
|
#PreviousButton[type="row"] {
|
|
list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
|
|
}
|
|
|
|
#NextButton[type="row"] {
|
|
list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
|
|
}
|
|
|
|
/* ::::: spelling dialog ::::: */
|
|
|
|
#MisspelledWord {
|
|
font-weight: bold;
|
|
}
|
|
|
|
#ReplaceWordInput {
|
|
min-width: 16em;
|
|
width: 16em;
|
|
}
|
|
|
|
.spell-check {
|
|
min-width: 8em;
|
|
}
|
|
|
|
/* ::::: spacers ::::: */
|
|
|
|
.smallspacer {
|
|
width: 3px;
|
|
height: 3px;
|
|
min-width: 3px;
|
|
min-height: 3px;
|
|
}
|
|
|
|
.spacer {
|
|
width: 5px;
|
|
height: 5px;
|
|
min-width: 5px;
|
|
min-height: 5px;
|
|
}
|
|
|
|
.bigspacer {
|
|
width: 10px;
|
|
height: 10px;
|
|
min-width: 10px;
|
|
min-height: 10px;
|
|
}
|
|
|
|
/* These should be the width of the checkbox and radio button images + margin + padding
|
|
Used to indent below those to the level of the text label next to image
|
|
*/
|
|
.checkbox-spacer {
|
|
width: 20px;
|
|
min-width: 20px;
|
|
}
|
|
|
|
.radio-spacer {
|
|
width: 20px;
|
|
min-width: 20px;
|
|
}
|
|
|
|
/* ::::: widget adjustments ::::: */
|
|
|
|
/* The defaults are WAY to big! */
|
|
groupbox {
|
|
margin: 2px 5px 4px 5px;
|
|
padding-top: 2px;
|
|
padding-bottom: 4px;
|
|
}
|
|
|
|
/* temporary -- we need a simple box-based list defined in XBL */
|
|
tree.list {
|
|
/* same as in menulist.css */
|
|
margin: 1px 5px 2px 5px;
|
|
border: 1px inset #B4C3D4;
|
|
/* use rows="#" in XUL to define height */
|
|
}
|
|
|
|
/* ::::: color picker button ::::: */
|
|
|
|
.color-button {
|
|
/* override larger default values */
|
|
min-width: 0px;
|
|
margin: 2px;
|
|
}
|
|
|
|
.color-well {
|
|
border: 1px inset #B4C3D4;
|
|
width: 20px;
|
|
height: 12px;
|
|
}
|
|
|
|
.color-well[default="true"] {
|
|
border: 1px solid transparent;
|
|
background-color: inherit;
|
|
}
|
|
|
|
/* ::::: color picker dialog ::::: */
|
|
|
|
#ColorPicker {
|
|
-moz-user-focus: normal;
|
|
}
|
|
|
|
#ColorPickerSwatch {
|
|
margin: 0px 3px 0px 0px;
|
|
border: 2px outset #B4C3D4;
|
|
width: 25px;
|
|
height: 20px;
|
|
}
|
|
|
|
#ColorPickerSwatch[default="true"] {
|
|
border: 2px solid transparent;
|
|
background-color: inherit;
|
|
}
|
|
|
|
#LastPickedColor {
|
|
margin: 2px 2px 2px 8px;
|
|
border: 1px inset #B4C3D4;
|
|
width: 17px;
|
|
height: 13px;
|
|
}
|
|
|
|
|
|
/* ::::: Image Properties dialog ::::: */
|
|
|
|
.align-menu[value="top"] {
|
|
list-style-image: url("chrome://editor/skin/icons/img-align-top.gif") !important;
|
|
}
|
|
|
|
.align-menu[value="top"]:hover {
|
|
list-style-image: url("chrome://editor/skin/icons/img-align-top-sel.gif") !important;
|
|
}
|
|
|
|
.align-menu[value="middle"] {
|
|
list-style-image: url("chrome://editor/skin/icons/img-align-mid.gif") !important;
|
|
}
|
|
|
|
.align-menu[value="middle"]:hover {
|
|
list-style-image: url("chrome://editor/skin/icons/img-align-mid-sel.gif") !important;
|
|
}
|
|
|
|
.align-menu[value="bottom"] {
|
|
list-style-image: url("chrome://editor/skin/icons/img-align-btm.gif") !important;
|
|
}
|
|
|
|
.align-menu[value="bottom"]:hover {
|
|
list-style-image: url("chrome://editor/skin/icons/img-align-btm-sel.gif") !important;
|
|
}
|
|
|
|
.align-menu[value="right"] {
|
|
list-style-image: url("chrome://editor/skin/icons/img-align-rit.gif") !important;
|
|
}
|
|
|
|
.align-menu[value="left"] {
|
|
list-style-image: url("chrome://editor/skin/icons/img-align-lft.gif") !important;
|
|
}
|
|
|
|
/* Don't change width/height of these without changing values in
|
|
GetOriginalWidth(), EdImageProps.js */
|
|
#preview-image-box {
|
|
margin: 6px 5px 6px 5px;
|
|
border: 1px inset #B4C3D4;
|
|
width: 82px;
|
|
height: 52px;
|
|
min-width: 82px;
|
|
min-height: 52px;
|
|
max-width: 82px;
|
|
max-height: 52px;
|
|
overflow: -moz-hidden-unscrollable;
|
|
}
|
|
|
|
#preview-image-holder {
|
|
padding: 0px;
|
|
margin: 0px;
|
|
}
|
|
|
|
/* :::::: Advanced Edit dialog ::::: */
|
|
|
|
#tagLabel {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.AttributesTree {
|
|
min-width: 200px;
|
|
min-height: 200px;
|
|
}
|
|
|
|
/* ::::: Editor pref panels ::::: */
|
|
|
|
#ColorPreview {
|
|
margin-left: 10px;
|
|
border: 1px inset #B4C3D4;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
min-width: 100px;
|
|
min-height: 50px;
|
|
}
|
|
|
|
/* ::::: select edit dialog ::::: */
|
|
|
|
#SelectTreeChildren::-moz-tree-cell(SelectSelCol, checked-false) {
|
|
background: url("chrome://global/skin/checkbox/cbox.gif") 50% 50% no-repeat;
|
|
}
|
|
|
|
#SelectTreeChildren::-moz-tree-cell(SelectSelCol, checked-true) {
|
|
background: url("chrome://global/skin/checkbox/cbox-check.gif") 50% 50% no-repeat;
|
|
}
|
|
|
|
/* ::::: Publishing Progress ::::: */
|
|
|
|
.progressitem[progress="busy"] {
|
|
list-style-image: url("chrome://editor/skin/icons/progress-busy.gif");
|
|
}
|
|
.progressitem[progress="done"] {
|
|
list-style-image: url("chrome://editor/skin/icons/progress-done.gif");
|
|
}
|
|
.progressitem[progress="failed"] {
|
|
list-style-image: url("chrome://editor/skin/icons/progress-failed.gif");
|
|
}
|