Rev3372, Cosmetic changes on open site directory button
This commit is contained in:
parent
a454f3de6e
commit
c3b146611b
6 changed files with 14 additions and 9 deletions
|
@ -352,9 +352,11 @@ class Sidebar extends Class
|
|||
@updateHtmlTag()
|
||||
return false
|
||||
|
||||
|
||||
# Open site directory
|
||||
@tag.find("#button-directory").off("click touchend").on "click touchend", =>
|
||||
@tag.find("#link-directory").off("click touchend").on "click touchend", =>
|
||||
@wrapper.ws.cmd "serverShowdirectory", ["site", @wrapper.site_info.address]
|
||||
return false
|
||||
|
||||
# Sign and publish content.json
|
||||
$(document).on "click touchend", =>
|
||||
|
|
|
@ -11,6 +11,9 @@
|
|||
#inner-iframe { transition: 0.3s ease-in-out; transform-origin: left; outline: 1px solid transparent; }
|
||||
.body-sidebar iframe { transform: rotateY(5deg); opacity: 0.8; pointer-events: none } /* translateX(-200px) scale(0.95)*/
|
||||
|
||||
.sidebar .link-right { color: white; text-decoration: none; border-bottom: 1px solid #666; text-transform: uppercase; float: right; margin-right: 7px; margin-top: 1px; }
|
||||
.sidebar .link-right:hover { border-color: #CCC; }
|
||||
.sidebar .link-right:active { background-color: #444 }
|
||||
/* SIDEBAR */
|
||||
|
||||
.sidebar-container { width: 100%; height: 100%; overflow: hidden; position: fixed; }
|
||||
|
|
|
@ -90,6 +90,9 @@
|
|||
#inner-iframe { -webkit-transition: 0.3s ease-in-out; -moz-transition: 0.3s ease-in-out; -o-transition: 0.3s ease-in-out; -ms-transition: 0.3s ease-in-out; transition: 0.3s ease-in-out ; transform-origin: left; outline: 1px solid transparent; }
|
||||
.body-sidebar iframe { -webkit-transform: rotateY(5deg); -moz-transform: rotateY(5deg); -o-transform: rotateY(5deg); -ms-transform: rotateY(5deg); transform: rotateY(5deg) ; opacity: 0.8; pointer-events: none } /* translateX(-200px) scale(0.95)*/
|
||||
|
||||
.sidebar .link-right { color: white; text-decoration: none; border-bottom: 1px solid #666; text-transform: uppercase; float: right; margin-right: 7px; margin-top: 1px; }
|
||||
.sidebar .link-right:hover { border-color: #CCC; }
|
||||
.sidebar .link-right:active { background-color: #444 }
|
||||
/* SIDEBAR */
|
||||
|
||||
.sidebar-container { width: 100%; height: 100%; overflow: hidden; position: fixed; }
|
||||
|
|
|
@ -691,9 +691,10 @@ window.initScrollable = function () {
|
|||
return false;
|
||||
};
|
||||
})(this));
|
||||
this.tag.find("#button-directory").off("click touchend").on("click touchend", (function(_this) {
|
||||
this.tag.find("#link-directory").off("click touchend").on("click touchend", (function(_this) {
|
||||
return function() {
|
||||
return _this.wrapper.ws.cmd("serverShowdirectory", ["site", _this.wrapper.site_info.address]);
|
||||
_this.wrapper.ws.cmd("serverShowdirectory", ["site", _this.wrapper.site_info.address]);
|
||||
return false;
|
||||
};
|
||||
})(this));
|
||||
$(document).on("click touchend", (function(_this) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue