mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 14:15:30 +00:00
230 lines
2.9 KiB
CSS
230 lines
2.9 KiB
CSS
/** this should only contain XUL dialog and document window widget defaults. Defaults for widgets of
|
|
a particular application should be in that application's style sheet.
|
|
For example style definitions for navigator can be found in navigator.css
|
|
|
|
THIS FILE IS LOCKED DOWN. YOU ARE NOT ALLOWED TO MODIFY IT WITHOUT FIRST HAVING YOUR
|
|
CHANGES REVIEWED BY hyatt@netscape.com.
|
|
**/
|
|
|
|
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); /* set default namespace to XUL */
|
|
|
|
/**
|
|
* All elements that have no visual representation
|
|
*/
|
|
commands, commandset, command {
|
|
display: none;
|
|
}
|
|
|
|
broadcasterset, broadcaster {
|
|
display: none;
|
|
}
|
|
|
|
observes {
|
|
display: none;
|
|
}
|
|
|
|
template {
|
|
display: none;
|
|
}
|
|
|
|
/**********************************
|
|
* Window
|
|
**********************************/
|
|
|
|
window {
|
|
display: block;
|
|
overflow: hidden;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
/**********************************
|
|
* XUL widgets
|
|
**********************************/
|
|
|
|
|
|
/******** Box *******/
|
|
|
|
box {
|
|
display: block;
|
|
}
|
|
|
|
|
|
/**
|
|
* Used as a space between things in boxes
|
|
*/
|
|
spring {
|
|
display: block;
|
|
}
|
|
|
|
/******* ToolBox & ToolBar *******/
|
|
|
|
toolbox {
|
|
display: block;
|
|
}
|
|
|
|
|
|
toolbar, menubar {
|
|
display:block;
|
|
}
|
|
|
|
toolbar[collapsed="true"] {
|
|
display:none;
|
|
}
|
|
toolbar[hidden="true"] {
|
|
display:none;
|
|
}
|
|
|
|
/****** Progress Meter ********/
|
|
|
|
progressmeter {
|
|
display: inline;
|
|
}
|
|
|
|
/********* XP Menus ***********/
|
|
|
|
menubar[collapsed="true"] {
|
|
display:none;
|
|
}
|
|
menubar[hidden="true"] {
|
|
display:none;
|
|
}
|
|
|
|
menu {
|
|
display: block;
|
|
}
|
|
|
|
menuitem {
|
|
display: block;
|
|
}
|
|
|
|
popupset {
|
|
display: block;
|
|
}
|
|
|
|
menupopup {
|
|
display: none;
|
|
}
|
|
|
|
popup {
|
|
display: none;
|
|
}
|
|
|
|
menupopup[menugenerated="true"] {
|
|
display: block;
|
|
}
|
|
|
|
popup[menugenerated="true"] {
|
|
display: block;
|
|
}
|
|
|
|
menupopup, popup {
|
|
visibility: hidden;
|
|
}
|
|
|
|
menupopup[menuactive="true"] {
|
|
visibility: visible;
|
|
}
|
|
|
|
popup[menuactive="true"] {
|
|
visibility: visible;
|
|
}
|
|
|
|
menuseparator {
|
|
display: block;
|
|
}
|
|
|
|
/******** Titled buttons **********/
|
|
|
|
titledbutton {
|
|
display: inline;
|
|
}
|
|
|
|
/******** Tree widget **********/
|
|
|
|
tree {
|
|
display: table;
|
|
table-layout: fixed;
|
|
}
|
|
|
|
treeitem {
|
|
display: table-row-group;
|
|
}
|
|
|
|
treerow {
|
|
display: table-row;
|
|
}
|
|
|
|
treehead {
|
|
display: table-header-group;
|
|
}
|
|
|
|
treechildren {
|
|
display: table-row-group;
|
|
}
|
|
|
|
treecell {
|
|
display: table-cell;
|
|
}
|
|
|
|
treeitem > treechildren {
|
|
visibility: collapse;
|
|
}
|
|
|
|
treeitem[open="true"] > treechildren {
|
|
visibility: visible;
|
|
}
|
|
|
|
treecol {
|
|
display: table-column;
|
|
}
|
|
|
|
/********** Tab widget *********/
|
|
|
|
tab {
|
|
display: inline;
|
|
}
|
|
|
|
tab:active {
|
|
display: inline;
|
|
}
|
|
|
|
tabbox {
|
|
display: block;
|
|
}
|
|
|
|
tabcontrol {
|
|
display: block;
|
|
}
|
|
|
|
:-moz-deck-hidden {
|
|
visibility: hidden;
|
|
}
|
|
|
|
/********* XP Scrollbar *********/
|
|
|
|
thumb {
|
|
display: block;
|
|
}
|
|
|
|
slider {
|
|
display: block;
|
|
}
|
|
|
|
scrollbarbutton {
|
|
display: inline;
|
|
}
|
|
|
|
scrollbar[value="hidden"] {
|
|
visibility: hidden;
|
|
}
|
|
|
|
splitter {
|
|
display: block;
|
|
}
|
|
|
|
grippy {
|
|
display: block;
|
|
}
|
|
|