editor: dim Save button when not modified

This commit is contained in:
tophf 2017-04-25 14:16:22 +03:00
parent 5a9930c608
commit 6000bb33ab

View File

@ -101,6 +101,14 @@
#url:not([href^="http"]) { #url:not([href^="http"]) {
display: none; display: none;
} }
#save-button {
opacity: .5;
pointer-events: none;
}
.dirty #save-button {
opacity: 1;
pointer-events: all;
}
.svg-icon { .svg-icon {
cursor: pointer; cursor: pointer;
vertical-align: middle; vertical-align: middle;