Referenced the xul.css, removed styles handled by xul.css. Added some real styles used within the address book XUL.

This commit is contained in:
hangas%netscape.com 1999-05-15 00:16:37 +00:00
Родитель 192ea572d0
Коммит faebe5195d
1 изменённых файлов: 18 добавлений и 198 удалений

Просмотреть файл

@ -1,205 +1,25 @@
/** this should only contain XUL 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
**/
/* Address Book specific style */
box {
display: block;
/* CardEdit styles - used in the Card Edit View */
box[class="CardEdit"] {
margin: 5px;
padding: 5px;
border: 2px groove white;
}
box[debug] box {
border: 5px solid blue;
margin: 1px;
padding: 1px;
input[class="CardEdit"] {
height : 22px;
width : 190px;
margin-left : 0px;
margin-right : 0px;
margin-top : 1px;
margin-bottom: 1px;
}
box[debug] box[align="vertical"] {
border: 5px solid red;
/* General styles */
spring[class="PromptEditSpacing"] {
width: 5px;
}
spring {
display: block;
}
box[debug] spring {
background-color: green;
}
toolbar {
display:block;
background-color: #CCCCCC;
border-bottom: solid darkGray 1px;
border-top: solid white 1px;
border-left: solid white 1px;
border-right: solid darkGray 1px;
font: 10pt sans-serif;
min-height: 20px;
}
toolbar[collapsed="true"] {
display:none;
}
toolbar[hidden="true"] {
display:none;
}
toolbox {
background-color:darkgray;
display: block;
}
:toolbox-normal {
background-color: #666699;
background-image: url("resource:/res/toolbar/TB_Tab.gif");
background-repeat: no-repeat;
color: lightgray;
border-bottom: solid darkGray 1px;
border-top: solid white 0px;
border-left: solid white 0px;
border-right: solid darkGray 1px;
}
:toolbox-rollover {
background-color: #ccccff;
background-image: url("resource:/res/toolbar/TB_Tab_mo.gif");
background-repeat: no-repeat;
color: green;
border-bottom: solid darkGray 1px;
border-top: solid white 0px;
border-left: solid white 0px;
border-right: solid darkGray 1px;
}
window {
background-color:#CCCCCC;
display: block;
overflow: hidden;
}
broadcaster {
display: none;
}
observes {
display: none;
}
menubar {
display: none;
}
menu {
display: none;
}
menuitem {
display: none;
}
progressmeter {
display:inline;
border: 1px #666699;
color : #9999CC;
}
:progressmeter-stripe {
color: #BBBBCC;
}
titledbutton {
display: inline;
}
toolbar titledbutton {
display: inline;
color:black;
padding: 2px;
margin: 2px;
font: 2.5mm sans-serif;
}
toolbar titledbutton[pseudoclass~="hover"] {
border: 1px outset white;
color:blue;
//text-decoration:underline;
padding: 1px;
}
toolbar titledbutton[pseudoclass~="hover"]:-moz-outline {
border : 1px solid black;
}
toolbar titledbutton[pseudoclass~="active"] {
text-decoration:none;
border: 1px inset;
padding-left: 2px;
padding-right: 0px;
padding-top: 2px;
padding-bottom: 0px;
}
toolbar titledbutton[pseudoclass~="active"]:-moz-outline {
border : 1px solid black;
}
toolbar titledbutton[disabled] {
opacity: 0.5;
}
titledbutton[class=push] {
display: inline;
vertical-align: bottom;
cursor: default;
border: 2px outset rgb(156, 154, 156);
background-color: rgb(206, 207, 206);
color:black;
padding: 1px;
}
titledbutton[class=push][pseudoclass~="active"] {
border-style: inset;
padding-left: 2px;
padding-right: 0px;
padding-top: 2px;
padding-bottom: 0px;
}
titledbutton[class=push][pseudoclass~="hover"] {
}
titledbutton[class=push][pseudoclass~="active"]:-moz-outline {
border : 1px solid black;
}
titledbutton[class=push][pseudoclass~="hover"]:-moz-outline {
border : 1px solid black;
}
titledbutton[class=push][disabled] {
border-style: solid;
}
titledbutton[class=push]:-moz-focus-inner {
padding-left : 2px;
padding-right : 2px;
padding-top : 1px;
padding-bottom: 1px;
margin: 0px;
}
titledbutton[class=push][pseudoclass~="focus"]:-moz-focus-inner {
padding-left : 1px;
padding-right : 1px;
padding-top : 0px;
padding-bottom: 0px;
margin: 0px;
border : 1px dotted black;
}