Bug 921222 - Make App Manager disabled buttons look disabled. r=paul

This commit is contained in:
J. Ryan Stinnett 2013-09-27 11:36:20 -05:00
Родитель b8f38b37a1
Коммит 18a7b40ae9
2 изменённых файлов: 32 добавлений и 0 удалений

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

@ -85,6 +85,12 @@ button {
display: none; display: none;
} }
.app-buttons > button[disabled] {
background-color: transparent;
opacity: 0.4;
pointer-events: none;
}
.app[running="false"] > .app-buttons > .button-start, .app[running="false"] > .app-buttons > .button-start,
.app[running="true"] > .app-buttons > .button-stop, .app[running="true"] > .app-buttons > .button-stop,
.app[running="true"] > .app-buttons > .button-debug { .app[running="true"] > .app-buttons > .button-debug {
@ -100,6 +106,10 @@ button {
color: #FFF; color: #FFF;
} }
.button-debug[disabled] {
color: #3498DB;
}
.button-start { .button-start {
color: #18BC9C color: #18BC9C
} }
@ -109,6 +119,10 @@ button {
color: #FFF; color: #FFF;
} }
.button-start[disabled] {
color: #18BC9C
}
.button-stop { .button-stop {
color: #E74C3C; color: #E74C3C;
} }
@ -118,6 +132,10 @@ button {
color: #FFF; color: #FFF;
} }
.button-stop[disabled] {
color: #E74C3C;
}
/***************** PERMISSIONS *****************/ /***************** PERMISSIONS *****************/

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

@ -345,6 +345,12 @@ strong {
text-transform: uppercase; text-transform: uppercase;
} }
.project-buttons > button[disabled] {
background-color: transparent;
opacity: 0.4;
pointer-events: none;
}
.project-buttons > button:first-child { .project-buttons > button:first-child {
border-left-width: 1px; border-left-width: 1px;
} }
@ -358,6 +364,10 @@ strong {
color: #FFF; color: #FFF;
} }
.project-button-debug[disabled] {
color: #3498DB;
}
.project-button-update { .project-button-update {
color: #777; color: #777;
} }
@ -367,6 +377,10 @@ strong {
color: #FFF; color: #FFF;
} }
.project-button-update[disabled] {
color: #777;
}
/********* ERRORS AND WARNINGS ***********/ /********* ERRORS AND WARNINGS ***********/