gecko-dev/themes/modern/communicator/bookmarks/bookmarksToolbar.css

136 строки
4.0 KiB
CSS

/*
* The contents of this file are subject to the Netscape 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/NPL/
*
* 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 Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Ben Goodger <ben@netscape.com>
* Josh Soref <timeless@mac.com>
*/
/* ===== bookmarksToolbar.css ===========================================
== Styles specific to bookmark items in a toolbar.
======================================================================= */
@import url("chrome://communicator/skin/bookmarks/bookmarks.css");
/* ::::: bookmark toolbar buttons ::::: */
/* ..... bookmark items ..... */
toolbarbutton.bookmark-item {
cursor: pointer;
max-width: 10em;
}
toolbarbutton.bookmark-item:hover {
text-decoration: underline;
}
toolbarbutton.bookmark-item[container="true"],
toolbarbutton.bookmark-item[container="true"]:hover {
cursor: default;
text-decoration: none;
}
toolbarbutton.bookmark-item:not([container="true"]):hover,
toolbarbutton.bookmark-item:not([container="true"]):hover:active {
border: 1px solid transparent;
}
toolbarbutton.bookmark-item[disabled="true"],
toolbarbutton.bookmark-item[disabled="true"]:hover,
toolbarbutton.bookmark-item[disabled="true"]:hover:active
{
color : #9399AB;
text-decoration : none;
list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item-disabled.gif");
cursor : default;
}
toolbarbutton.bookmark-item[disabled="true"][container="true"],
toolbarbutton.bookmark-item[disabled="true"][container="true"]:hover,
toolbarbutton.bookmark-item[disabled="true"][container="true"]:hover:active
{
border : 1px solid transparent !important;
list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-disabled.gif");
}
.menuitem-iconic.bookmark-item[disabled="true"]
{
list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item-disabled.gif");
}
.menu-iconic.bookmark-item[disabled="true"][container="true"]
{
list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-disabled.gif");
}
.bookmark-item > .toolbarbutton-box > .toolbarbutton-dropmarker {
display: none;
}
/* ..... drag and drop styles ..... */
toolbarbutton.bookmark-item[dragover-left="true"] {
border-left: 1px solid #000000;
}
toolbarbutton.bookmark-item[dragover-right="true"] {
border-right: 1px solid #000000;
}
toolbarbutton.bookmark-item[dragover-top="true"] {
border-top: 1px solid #7681A2;
border-right: 1px solid #D5DAE5;
border-bottom: 1px solid #D5DAE5;
border-left: 1px solid #7681A2;
}
/* ::::: drag and drop styles for bookmark menus ::::: */
menuitem[dragover-top="true"].bookmark-item {
border-top: 1px solid ThreeDDarkShadow !important;
}
menu[dragover-top="true"].bookmark-item {
border-top: 1px solid ThreeDDarkShadow !important;
}
menuitem.bookmark-item {
border-top: 1px solid transparent !important;
border-bottom: 1px solid transparent !important;
}
menu.bookmark-item {
border-top: 1px solid transparent !important;
border-bottom: 1px solid transparent !important;
}
menu[dragover="true"].bookmark-item {
background: 1px solid Highlight !important;
color: HighlightText !important;
}
menuitem[dragover-bottom="true"].bookmark-item {
border-bottom: 1px solid ThreeDDarkShadow !important;
}
menu[dragover-bottom="true"].bookmark-item {
border-bottom: 1px solid ThreeDDarkShadow !important;
}