Minor CSS fixes

master
William Toohey 10 years ago
parent bd5bd40605
commit 57be46270d
  1. 4
      src/css/hues-editor.css
  2. 7
      src/js/HuesSettings.js

@ -70,6 +70,7 @@
align-items: center; align-items: center;
position: absolute; position: absolute;
margin-top: 4px; margin-top: 4px;
margin-left: -4px;
} }
#edit-timelock:before { #edit-timelock:before {
@ -92,10 +93,9 @@
#edit-timelock > .hues-button { #edit-timelock > .hues-button {
/* because of the pseudo element this one can't be transparent */ /* because of the pseudo element this one can't be transparent */
background-color: rgb(171,171,171) !important; background-color: rgb(171,171,171) !important;
} }
#edit-timelock:hover > .hues-button { #edit-timelock > .hues-button:hover {
background-color: rgb(236,236,236) !important; background-color: rgb(236,236,236) !important;
} }

@ -261,12 +261,13 @@ HuesSettings.prototype.connectCore = function(core) {
}; };
HuesSettings.prototype.show = function() { HuesSettings.prototype.show = function() {
if(this.core) if(this.core) {
this.core.hideLists(); this.core.hideLists();
this.window.style.display = "-webkit-flex";
this.window.style.display = "flex";
if(this.core.editor) if(this.core.editor)
this.core.editor.resize(); this.core.editor.resize();
}
this.window.style.display = "-webkit-flex";
this.window.style.display = "flex";
}; };
HuesSettings.prototype.hide = function() { HuesSettings.prototype.hide = function() {

Loading…
Cancel
Save