Bug 303491 - Groupbox caption styling cleanup. r=mstange, ui-r=faaborg

This commit is contained in:
Dão Gottwald 2009-07-21 12:12:01 +02:00
parent 63b764f9ee
commit a2dd011f85
4 changed files with 19 additions and 17 deletions

View File

@ -160,8 +160,9 @@ tabpanels {
} }
caption { caption {
border-bottom: 1px solid #ECECEC; -moz-padding-start: 5px;
padding: 4px 4px 0px 0px !important; padding-top: 4px;
padding-bottom: 2px;
} }
#paneMain description, #paneMain description,

View File

@ -57,9 +57,9 @@ caption {
font-weight: bold; font-weight: bold;
} }
/* !important is needed to override label in global.css */
.caption-text { .caption-text {
margin-top: 0; margin-top: 0 !important;
margin-bottom: 0; margin-bottom: 0 !important;
-moz-margin-start: 1px; -moz-margin-start: 1px !important;
-moz-margin-end: 2px;
} }

View File

@ -45,25 +45,26 @@
/* ::::: groupbox ::::: */ /* ::::: groupbox ::::: */
groupbox { groupbox {
padding: 5px 1px 1px 0px; padding: 5px 1px 1px;
-moz-padding-start: 0;
margin: 6px; margin: 6px;
} }
.groupbox-body { .groupbox-body {
-moz-appearance: groupbox; -moz-appearance: groupbox;
padding: 8px 8px 3px 8px; padding: 8px 8px 3px;
margin: 0px; margin: 0;
} }
caption { caption {
padding: 0px 2px 1px 4px !important; -moz-padding-start: 4px;
padding-bottom: 1px;
font: caption; font: caption;
} }
/* !important is needed to override label in global.css */
.caption-text { .caption-text {
margin-top: 0; margin-top: 0 !important;
margin-bottom: 0; margin-bottom: 0 !important;
-moz-margin-start: 1px; -moz-margin-start: 1px !important;
-moz-margin-end: 2px;
} }

View File

@ -48,7 +48,7 @@ groupbox {
border: 2px groove ThreeDFace; border: 2px groove ThreeDFace;
-moz-border-radius: 3px; -moz-border-radius: 3px;
margin: 3px; margin: 3px;
padding: 3px 3px 6px 3px; padding: 3px 3px 6px;
} }
.groupbox-body { .groupbox-body {
@ -56,7 +56,7 @@ groupbox {
} }
caption { caption {
margin: 0px 6px 0px 6px; margin: 0 6px;
background-color: -moz-Dialog; background-color: -moz-Dialog;
} }