Bug 560562 - Increase contrast between active and background tabs. r=gavin

This commit is contained in:
Dão Gottwald 2010-04-28 07:54:51 +02:00
Родитель fc06e8e63b
Коммит 5f14765214
2 изменённых файлов: 10 добавлений и 9 удалений

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

@ -49,7 +49,7 @@
background-color: white;
}
.tabbrowser-tab:not(:-moz-lwtheme),
.tabbrowser-tab:not(:-moz-lwtheme):not([selected="true"]),
.tabs-newtab-button:not(:-moz-lwtheme) {
background-image: -moz-linear-gradient(left, transparent, transparent 1px,
rgba(255,255,255,.4) 1px, rgba(255,255,255,.4));
@ -62,11 +62,6 @@
rgba(255,255,255,.6) 1px, rgba(255,255,255,.6));
}
.tabbrowser-tab[selected="true"]:not(:-moz-lwtheme) {
background-image: -moz-linear-gradient(left, transparent, transparent 1px,
white 1px, white);
}
#allTabs-panel,
#ctrlTab-panel {
background: transparent;

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

@ -970,7 +970,7 @@ richlistitem[type="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-i
.tabs-newtab-button {
-moz-appearance: none;
background: -moz-linear-gradient(left, transparent, transparent 1px,
rgba(255,255,255,.15) 1px, rgba(255,255,255,.15));
rgba(50%,50%,50%,.1) 1px, rgba(50%,50%,50%,.1));
background-position: -6px 0;
-moz-background-size: 200%;
margin: 0;
@ -1010,10 +1010,16 @@ richlistitem[type="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-i
}
.tabbrowser-tab[selected="true"] {
background-image: -moz-linear-gradient(left, transparent, transparent 1px,
rgba(255,255,255,.4) 1px, rgba(255,255,255,.4)),
background-image: -moz-linear-gradient(left, transparent, transparent 1px, white 1px, white);
color: black;
}
#navigator-toolbox[tabsontop="true"] > #TabsToolbar > #tabbrowser-tabs > .tabbrowser-tab[selected="true"] {
background-image: -moz-radial-gradient(center top, white, rgba(255,255,255,0) 60%),
-moz-linear-gradient(left, transparent, transparent 1px,
-moz-dialog 1px, -moz-dialog);
background-position: center center, -6px 0;
color: -moz-dialogText;
}
.tabbrowser-tab:-moz-lwtheme[selected="true"] {