Bug 1296861 - [control center] Don't hardcode colors for the permission status and permission removal button. r=paolo

This commit is contained in:
Dão Gottwald 2016-08-22 13:31:21 +02:00
Родитель 5825cf9416
Коммит 4754dbc094
1 изменённых файлов: 6 добавлений и 5 удалений

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

@ -397,7 +397,7 @@ description#identity-popup-content-verifier,
.identity-popup-permission-state-label { .identity-popup-permission-state-label {
margin-inline-end: 5px; margin-inline-end: 5px;
text-align: end; text-align: end;
opacity: 0.6; color: graytext;
} }
.identity-popup-permission-remove-button { .identity-popup-permission-remove-button {
@ -421,21 +421,22 @@ description#identity-popup-content-verifier,
height: 16px; height: 16px;
list-style-image: url(chrome://browser/skin/panel-icons.svg#cancel); list-style-image: url(chrome://browser/skin/panel-icons.svg#cancel);
filter: url(chrome://browser/skin/filters.svg#fill); filter: url(chrome://browser/skin/filters.svg#fill);
fill: #999; fill: graytext;
} }
.identity-popup-permission-remove-button > .button-box > .button-text { .identity-popup-permission-remove-button > .button-box > .button-text {
display: none; display: none;
} }
/* swap foreground / background colors on hover */
.identity-popup-permission-remove-button:hover { .identity-popup-permission-remove-button:hover {
background-color: #999; background-color: graytext;
} }
.identity-popup-permission-remove-button:hover > .button-box > .button-icon { .identity-popup-permission-remove-button:hover > .button-box > .button-icon {
fill: #fff; fill: -moz-field;
} }
.identity-popup-permission-remove-button:hover:active { .identity-popup-permission-remove-button:hover:active {
background-color: #808080; background-color: -moz-fieldtext;
} }