зеркало из https://github.com/mozilla/pjs.git
Use visibility-collapse instead of display-none for the hide attribute
r=hyatt
This commit is contained in:
Родитель
86762c4728
Коммит
83a0915abf
|
@ -34,9 +34,12 @@ box.header-part1 { background-color: #EEEEEE; border: none; }
|
||||||
box.header-part2 { background-color: #CCCCCC; border: none; }
|
box.header-part2 { background-color: #CCCCCC; border: none; }
|
||||||
box.header-part3 { background-color: #CCCCCC; border: none; }
|
box.header-part3 { background-color: #CCCCCC; border: none; }
|
||||||
|
|
||||||
[hide] {
|
/* visibility: collapse ONLY works for things inside of boxes, if it isn't in a box, it won't
|
||||||
display: none;
|
work. Use hideNonBox for objects which aren't in a box such as the titlebutton for showing
|
||||||
}
|
more or fewer email addresses
|
||||||
|
*/
|
||||||
|
[hide] { visibility: collapse; }
|
||||||
|
[hideNonBox] { display: none;}
|
||||||
|
|
||||||
#addToAddressBookButton {
|
#addToAddressBookButton {
|
||||||
list-style-image:url("chrome://messenger/skin/addcard.gif");
|
list-style-image:url("chrome://messenger/skin/addcard.gif");
|
||||||
|
@ -46,6 +49,7 @@ box.header-part3 { background-color: #CCCCCC; border: none; }
|
||||||
#attachmentButton {
|
#attachmentButton {
|
||||||
list-style-image:url("chrome://messenger/skin/attach.gif");
|
list-style-image:url("chrome://messenger/skin/attach.gif");
|
||||||
min-height: 20px;
|
min-height: 20px;
|
||||||
|
margin: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
titledbutton.showMoreAddressesButton {
|
titledbutton.showMoreAddressesButton {
|
||||||
|
@ -56,12 +60,6 @@ titledbutton.showFewerAddressesButton {
|
||||||
list-style-image:url("chrome://messenger/skin/less.gif");
|
list-style-image:url("chrome://messenger/skin/less.gif");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* For printing/HTML display...
|
|
||||||
*/
|
|
||||||
html|table[name=header-part1] { background-color: #EFEFEF; border: 0px solid #EFEFEF; border-left-width: 4px; }
|
|
||||||
html|table[name=header-part2] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; }
|
|
||||||
html|table[name=header-part3] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; }
|
|
||||||
html|div.headerdisplayname { font-weight: bold; margin-right: .5em; margin-left: .5em; }
|
html|div.headerdisplayname { font-weight: bold; margin-right: .5em; margin-left: .5em; }
|
||||||
html|div.headerValue { white-space: normal; min-width: 50px; }
|
html|div.headerValue { white-space: normal; min-width: 50px; }
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче