gecko-dev/themes/modern/global/global.css

198 lines
4.5 KiB
CSS
Raw Normal View History

2000-05-01 23:36:58 +00:00
/** 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.
**/
/* import the widget style sheets */
2000-05-11 02:54:03 +00:00
/* all localizable skin settings shall live here */
@import url(chrome://global/locale/intl.css);
2000-05-01 23:36:58 +00:00
@import url(chrome://global/skin/box.css);
@import url(chrome://global/skin/button.css);
@import url(chrome://global/skin/checkbox.css);
@import url(chrome://global/skin/radio.css);
@import url(chrome://global/skin/tree.css);
2000-05-02 08:10:42 +00:00
@import url(chrome://global/skin/splitter.css);
@import url(chrome://global/skin/radio.css);
2000-05-01 23:36:58 +00:00
@import url(chrome://global/skin/menubutton.css);
@import url(chrome://global/skin/menulist.css);
2000-05-02 08:10:42 +00:00
@import url(chrome://global/skin/menu.css);
2000-05-01 23:36:58 +00:00
@import url(chrome://global/skin/formatting.css);
@import url(chrome://global/skin/textfield.css);
2000-05-03 19:31:21 +00:00
@import url(chrome://global/skin/tabcontrol.css);
2000-05-01 23:36:58 +00:00
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/TR/REC-html40");
/**
2000-05-13 00:40:39 +00:00
* XXX-DEBUG: HTML namespace/titledbutton striping.
**/
html|*
{
border : 1px solid green !important;
}
html|form
{
border : none !important;
}
titledbutton
{
border : 1px solid purple !important;
}
2000-05-01 23:36:58 +00:00
2000-05-13 00:40:39 +00:00
/**
* XUL <window> element
**/
window
{
background-color : #FFFFFF;
padding : 0px;
}
window[wait-cursor]
{
cursor : wait !important;
}
window.dialog
{
background-color : #CCCCCC;
padding : 7px 5px 5px 5px;
}
2000-05-01 23:36:58 +00:00
/**
2000-05-13 00:40:39 +00:00
* XUL <box> debugging
**/
:-moz-horizontal-box-debug
{
border : 2px solid blue;
border-top-width : 10px;
padding : 2px;
margin : 2px;
color : white;
}
:-moz-vertical-box-debug
{
border : 2px solid red;
border-left-width : 10px;
padding : 2px;
margin : 2px;
color : white;
}
2000-05-01 23:36:58 +00:00
/**
2000-05-13 00:40:39 +00:00
* Utility icons (used for alert dialogs, etc)
**/
.message-icon
{
list-style-image : url("chrome://global/skin/message-icon.gif");
}
2000-05-01 23:36:58 +00:00
2000-05-13 00:40:39 +00:00
.alert-icon
{
list-style-image : url("chrome://global/skin/alert-icon.gif");
}
.error-icon
{
list-style-image : url("chrome://global/skin/error-icon.gif");
}
.question-icon
{
list-style-image : url("chrome://global/skin/question-icon.gif");
}
2000-05-01 23:36:58 +00:00
/**
* status-bar
*/
2000-05-13 00:40:39 +00:00
#status-bar
{
border-top : 1px solid #003366;
background-color : #CCCCCC;
user-focus : ignore;
overflow : hidden
}
2000-05-01 23:36:58 +00:00
/**
2000-05-13 00:40:39 +00:00
* html|iframe default sizing
**/
html|iframe
{
min-width : 10px;
min-height : 10px;
width : 100px;
height : 100px;
border : none;
}
2000-05-01 23:36:58 +00:00
2000-05-13 00:40:39 +00:00
/**
* XUL <progressmeter>
**/
2000-05-01 23:36:58 +00:00
progressmeter[mode="undetermined"] > .progressmeter-internal-box
{
background-image : url(chrome://global/skin/progressmeter-busy.gif);
}
2000-05-15 09:42:26 +00:00
progressmeter[mode="undetermined"] > .progressmeter-internal-box > .progressmeter-stack > .progressmeter-progressbar {
visibility: collapse;
}
2000-05-01 23:36:58 +00:00
progressmeter
{
min-width : 100px;
2000-05-01 23:36:58 +00:00
margin : 0px 4px 0px 4px;
border : 1px inset #CCCCCC;
max-height : 1.5em;
}
progressmeter > .progressmeter-internal-box
{
border : 1px solid #000000;
}
/* progress indicators */
.progress-bar
{
background-color : #6699cc;
border-right : 1px outset #6699cc;
}
.progress-remainder
{
background-color : #999999;
}
/** XUL <scrollbar> element **/
scrollbar
{
user-focus : ignore;
}
/* XUL <colorpicker> pieces */
.colorpickertile
{
width : 20px;
height : 20px;
margin : 1px;
border : 1px inset #CCCCCC;
}
.colorpickertile:hover
{
border : 1px solid #FFFFFF;
}
.colorpickertile[selected="true"]
{
border : 1px solid #000000;
}