commit 7867b1fe4150791bafc0cdd5045c60f30a53615f
parent fbe8a9cfa1df9e3dd34ef54359a54f1e9678e0ee
Author: markseu <mark2011@mayberg.se>
Date: Tue, 26 May 2015 15:55:39 +0200
Core update (no interface remix)
Diffstat:
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/system/core/core-webinterface.css b/system/core/core-webinterface.css
@@ -6,15 +6,17 @@
.yellow-bar-right a { margin-left:1em; }
.yellow-bar-right #yellow-pane-create-link { padding:0 0.5em; }
.yellow-bar-right #yellow-pane-delete-link { padding:0 0.5em; }
-.yellow-body-modal-open { overflow:hidden; background-color:rgba(128, 128, 128, 0.1); transition:background-color 100ms; }
+.yellow-body-modal-open { overflow:hidden; }
+.yellow-body-modal-open .page { display:none; }
.yellow-pane {
position:absolute; display:none; z-index:100;
margin:10px 0px; padding:10px;
- background-color:#fff; color:#000;
+ background-color:#fff; color:#000;
border:1px solid #bbb;
border-radius:4px; box-shadow:2px 4px 10px rgba(0, 0, 0, 0.2);
}
+.yellow-pane h1 { color:#000; }
.yellow-pane p { margin:0.5em; }
.yellow-pane ul { list-style:none; margin:0 0.5em; padding:0; }
.yellow-pane div { overflow:hidden; }
@@ -88,12 +90,12 @@
.yellow-btn-delete:hover, .yellow-btn-delete:focus, .yellow-btn-delete:active { color:#ffffff; }
#yellow-pane-login { text-align:center; }
-#yellow-pane-login h1 { margin:0 0.5em; color:#000; font-size:2em; }
-#yellow-pane-login p { margin:1em 0.5em; }
+#yellow-pane-login h1 { margin:0 1em; font-size:2em; }
#yellow-pane-login-fields { width:12em; text-align:left; margin:0 auto; }
#yellow-pane-login input { width:12em; box-sizing:border-box; }
+#yellow-pane-login .yellow-btn { margin:0.5em 0; }
#yellow-pane-edit { }
-#yellow-pane-edit h1 { margin:0 0 10px 0; color:#000; font-size:1.5em; }
+#yellow-pane-edit h1 { margin:0 0 10px 0; font-size:1.5em; }
#yellow-pane-edit-page { padding:5px; outline:none; resize:none; }
#yellow-pane-edit-buttons { margin-top:5px; }
#yellow-pane-edit-buttons input { margin-right:10px; }
diff --git a/system/core/core-webinterface.js b/system/core/core-webinterface.js
@@ -82,7 +82,6 @@ yellow.webinterface =
elementBar.setAttribute("id", id);
if(normal)
{
- var location = yellow.config.serverBase+yellow.config.pluginLocation;
elementBar.innerHTML =
"<div class=\"yellow-bar-left\">"+
"<a href=\"#\" onclick=\"yellow.action('edit'); return false;\" id=\"yellow-pane-edit-link\">"+this.getText("Edit")+"</a>"+
@@ -301,7 +300,7 @@ yellow.webinterface =
yellow.toolbox.setOuterHeight(document.getElementById("yellow-pane-edit-page"), height1 - height2 + height3);
var elementLink = document.getElementById("yellow-pane-"+this.paneType+"-link");
var position = yellow.toolbox.getOuterLeft(elementLink) + yellow.toolbox.getOuterWidth(elementLink)/2;
- position -= yellow.toolbox.getOuterLeft(document.getElementById("yellow-pane-edit"));
+ position -= yellow.toolbox.getOuterLeft(document.getElementById("yellow-pane-edit")) + 1;
yellow.toolbox.setOuterLeft(document.getElementById("yellow-pane-edit-arrow"), position);
}
if(yellow.toolbox.isVisible(document.getElementById("yellow-pane-user")))