gecko-dev/minimo/chrome/skin/minimo.css

322 строки
6.8 KiB
CSS
Executable File

/* ***** 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 JSIRC Library.
*
* The Initial Developer of the Original Code is
* New Dimensions Consulting, Inc.
* Portions created by the Initial Developer are Copyright (C) 1999
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Robert Ginda, rginda@ndcico.com, original author
*
* 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 ***** */
/* background-position:0px 100%; */
#urlbar input {
background-repeat:no-repeat;
background-image:url(chrome://minimo/skin/transfer.jpg);
padding:0px;
margin:0px;
margin-left:2px ! important;
border:0px ! important
}
#urlbar {
padding:1px;
border:0px ! important;
}
#urlbar * {
background-color:white;
}
/* Homebar max icons */
#browserleftbar .toolbarbutton-icon {
width:16px;
height:16px;
}
/* Hack to remove the resizer icon */
.statusbar-resizerpanel {
display:none;
}
.statusbarpanel-text {
padding:.3em ! important;
}
/* This should be placed in with Toolbars section */
#toolbar-download-tag input {
background-repeat:no-repeat;
background-image:url(chrome://minimo/skin/transfer.gif);
padding:0px;
margin:0px;
border:1px solid black;
}
/* This CSS rule has to be here because JS code shall access it via DOM StyleSheet */
toolbar *, #appcontent *, * {
font-size: 10px;
padding: 0px ! important;
margin: 0px ! important;
}
/* Tab browser stuff */
.tabs-closebutton-box{
list-style-image: url("chrome://minimo/skin/close-12px.png");
}
#content tabpanels {
border-left:1px solid white;
}
#content .tabbrowser-strip {
margin-top:1px ! important;
margin-left:2px ! important;
}
#content .tabs-closebutton-box {
margin-right:3px ! important;
}
/* Lock... */
#lock-icon.security-na {
}
#lock-icon.security-broken {
margin-left:2px;
list-style-image: url("chrome://minimo/skin/security-broken.png");
}
#lock-icon.security-notbroken {
margin-left:2px;
list-style-image: url("chrome://minimo/skin/security-notbroken.png");
}
.button-close {
list-style-image: url("chrome://minimo/skin/close-12px.png");
margin-right:4px ! important;
margin-top:0px ! important;
}
.button-border {
border:1px outset #bbbbbb;
background-color: #cccccc;
margin-left:2px ! important;
padding-left:2px ! important;
padding-right:2px ! important;
}
/* this is used by toolbars, prefs, everything */
.box-floatoptions {
margin:2px ! important;
border:1px solid #eeeeee;
background-color:#eeeeee;
padding:8px;
}
caption {
-moz-border-radius:4px;
border:1px solid #eeeeee;
background-color:#eeeeee;
}
/* Disabled this seems like affects the popup contextAreaContextMenu causing font to be bigger
* {
font-size: small ! important;
font-family: sans-serif ! important;
}
*/
.menu-button
{
background: url("chrome://minimo/skin/m-color.png") no-repeat 50% 50%;
width:15px !important;
height:15px !important;
}
.back-button
{
list-style-image : url("chrome://minimo/skin/back-color.png");
margin-left:2px;
}
.forward-button
{
list-style-image : url("chrome://minimo/skin/forward-color.png");
}
.stop-button
{
list-style-image : url("chrome://minimo/skin/stop-color.png");
}
.go-button
{
list-style-image : url("chrome://minimo/skin/go-color.png");
}
.reload-button
{
list-style-image : url("chrome://minimo/skin/reload-color.png");
}
#back-button[disabled="true"]
{
list-style-image : url("chrome://minimo/skin/back-gray.png");
margin-left:2px;
}
#forward-button[disabled="true"]
{
list-style-image : url("chrome://minimo/skin/forward-gray.png");
}
.separator-menu {
border-top:1px solid black;
}
#uizoomplusitem {
list-style-image: url("chrome://minimo/skin/up.png");
}
#uizoomminusitem {
list-style-image: url("chrome://minimo/skin/down.png");
}
#zoomplusitem {
list-style-image: url("chrome://minimo/skin/up.png");
}
#zoomminusitem {
list-style-image: url("chrome://minimo/skin/down.png");
}
/* Feed icon - not reviewed yet, TOOK from the browser code */
#feed-button, #feed-button > .button-box,
#feed-button:hover:active > .button-box {
padding: 0px;
margin: 0px;
border: 0px;
background-color: transparent;
}
#feed-button .button-menu-dropmarker,
#feed-button .button-text {
display: none;
}
#feed-button {
-moz-binding: url("chrome://global/content/bindings/button.xml#menu");
-moz-appearance: none;
min-width: 0px;
height:16px;
margin-right: 1px !important;
}
#feed-button[feeds] {
list-style-image: url("chrome://minimo/skin/rssfavicon.png");
}
#feed-button[chromedir="rtl"][feeds] {
list-style-image: url("chrome://minimo/skin/rssfavicon.png");
}
/*
* urlbar selector icons, these are extensions
* and should be placed somewhere else.
*/
#urlbar-deck {
list-style-image: url("chrome://minimo/skin/extensions/icon-urlbar.png");
}
#urlbar-deck.sb {
list-style-image: url("chrome://minimo/skin/extensions/icon-delicious.png");
}
#urlbar-deck.search {
list-style-image: url("chrome://minimo/skin/extensions/icon-google.png");
}
/*
* popup for urlmore
*/
#urlbarModeSelector {
padding:.3em ! important;
}
#menu_MainPopup {
padding:.3em ! important;
}
#menu_NavPopup {
padding:.3em ! important;
}
#MenuTabsContainer {
padding:.3em ! important;
}
#browserleftbar {
padding:2px ! important;
display:none;
}
#browserrightbar {
padding:2px ! important;
display:none;
}
/*
* This should not exist...
*/
window { width: 240px ; height: 320px; }