all repos — litestore @ 450b2b829444001ce5033cd46cbe90f5bcc19004

A minimalist nosql document store.

Fixed CSS problems (exported + re-imported app).
h3rald h3rald@h3rald.com
Fri, 09 Oct 2015 21:28:24 +0200
commit

450b2b829444001ce5033cd46cbe90f5bcc19004

parent

e6ab33868a686452d8cb647fb2969fb2b2f160af

64 files changed, 18 insertions(+), 6 deletions(-)

jump to
M admin/js/components/guide.jsadmin/js/components/guide.js

@@ -10,7 +10,7 @@ var vm = this;

vm.id = m.prop(m.route.param("id")); vm.content = Page.get(vm.id()).then(function(content){return content}, vm.flashError); vm.edit = function(){ - m.route("/document/edit/"+app.system.directory+"/md/"+vm.id()+".md"); + m.route("/document/edit/admin/md/"+vm.id()+".md"); }; vm.links = app.system.read_only ? m.prop([]) : m.prop([{action: vm.edit, title: "Edit", icon: "edit"}]); };

@@ -23,4 +23,4 @@ };

u.layout(app.guide); -}()); +}());
M admin/js/models.jsadmin/js/models.js

@@ -4,7 +4,7 @@ window.Info = {};

window.Doc = {}; var app = window.LS || (window.LS = {}); var u = app.utils; - app.host = 'http://localhost:9500'; + app.host = ""; //'http://localhost:9500'; var host = location.origin === app.host ? "" : app.host;
M admin/styles/elements.lessadmin/styles/elements.less

@@ -1,9 +1,13 @@

main { max-width: 850px; - margin: auto; + margin: 10px auto; margin-top: 60px; } +article { + padding-left: 5px; + padding-right: 5px; +} /* Blocks */

@@ -125,6 +129,7 @@

span.tag-label { margin: auto 2px; font-weight: normal; + display: inline-block; &:hover { } a {

@@ -142,4 +147,5 @@ }

.search-result { margin: 5px 0; -} + word-break: break-word; +}
M admin/styles/litestore.cssadmin/styles/litestore.css

@@ -1660,8 +1660,12 @@ border-radius: 0px;

} main { max-width: 850px; - margin: auto; + margin: 10px auto; margin-top: 60px; +} +article { + padding-left: 5px; + padding-right: 5px; } /* Blocks */ blockquote {

@@ -1870,6 +1874,7 @@ }

span.tag-label { margin: auto 2px; font-weight: normal; + display: inline-block; } span.tag-label a { color: #efefef;

@@ -1883,6 +1888,7 @@ margin: 5px 0;

} .search-result { margin: 5px 0; + word-break: break-word; } .note { -moz-background-clip: padding;