Consistent selector order in style rules b=257280 p=gautheri@noos.fr r+sr=me

This commit is contained in:
neil%parkwaycc.co.uk 2005-01-04 14:24:04 +00:00
parent 4781787c1d
commit fbbc66a55b
3 changed files with 9 additions and 12 deletions

View File

@ -98,7 +98,7 @@ button[default="true"] {
-moz-border-radius: 3px;
}
button:hover:active[default="true"],
button[default="true"]:hover:active,
button[open="true"][default="true"],
button[checked="true"][default="true"] {
-moz-border-top-colors: #000000 #CCCCCC #AAAAAA #000000 #454545 #555555;

View File

@ -65,24 +65,24 @@ tab:hover:active > .tab-image-right {
/* when a tab is selected this is how it should look */
tab:hover:active[selected="true"] {
tab[selected="true"]:hover:active {
color : #000000;
}
tab[selected="true"] > .tab-image-left,
tab:hover:active[selected="true"] > .tab-image-left {
tab[selected="true"]:hover:active > .tab-image-left {
background : url(chrome://global/skin/tabbox/tab-select-left.gif) no-repeat;
}
tab[selected="true"] > .tab-image-middle,
tab:hover:active[selected="true"] > .tab-image-middle {
tab[selected="true"]:hover:active > .tab-image-middle {
background-color: #EEEEEE;
-moz-border-top-colors: #000000 #CCCCCC #FFFFFF;
-moz-border-bottom-colors: #EEEEEE;
}
tab[selected="true"] > .tab-image-right,
tab:hover:active[selected="true"] > .tab-image-right {
tab[selected="true"]:hover:active > .tab-image-right {
background : url(chrome://global/skin/tabbox/tab-select-right.gif) no-repeat;
}
@ -158,19 +158,19 @@ tabs {
/* when a tab is selected this is how it should look */
.tab-bottom[selected="true"] > .tab-image-left,
.tab-bottom:hover:active[selected="true"] > .tab-image-left {
.tab-bottom[selected="true"]:hover:active > .tab-image-left {
background : url(chrome://global/skin/tabbox/tab-sm-bot-sel-left.gif) no-repeat;
}
.tab-bottom[selected="true"] > .tab-image-middle,
.tab-bottom:hover:active[selected="true"] > .tab-image-middle {
.tab-bottom[selected="true"]:hover:active > .tab-image-middle {
background-color: #EEEEEE;
-moz-border-top-colors: #EEEEEE;
-moz-border-bottom-colors: #000000 #CCCCCC #FFFFFF;
}
.tab-bottom[selected="true"] > .tab-image-right,
.tab-bottom:hover:active[selected="true"] > .tab-image-right {
.tab-bottom[selected="true"]:hover:active > .tab-image-right {
background : url(chrome://global/skin/tabbox/tab-sm-bot-sel-right.gif) no-repeat;
}
@ -256,4 +256,3 @@ tabpanels {
padding: 5px;
background-color : #EEEEEE;
}

View File

@ -109,7 +109,7 @@ tab:hover:active {
/* ..... selected state ..... */
tab[selected="true"],
tab:hover:active[selected="true"] {
tab[selected="true"]:hover:active {
-moz-border-top-colors: #000000 #DFE2E6 #D0D7DD;
-moz-border-right-colors: #000000 #BAC2CD #C1C9D3;
-moz-border-bottom-colors: transparent;
@ -165,5 +165,3 @@ tab:focus {
border-top: 1px solid #000000;
border-bottom: none;
}