From 9687c33bc2f598c7de77b0f43b626b902161e9d3 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 12 Apr 2015 16:04:56 +0200 Subject: [PATCH] loading message, bigger default window size --- lib/oschtmlgui.js | 2 +- lib/oschtmlgui.py | 2 +- lib/oschtmlgui.pyc | Bin 9046 -> 9046 bytes lib/style.css | 22 ++++++++++++++++++++++ 4 files changed, 24 insertions(+), 2 deletions(-) diff --git a/lib/oschtmlgui.js b/lib/oschtmlgui.js index 182d08a9..1eafcd77 100644 --- a/lib/oschtmlgui.js +++ b/lib/oschtmlgui.js @@ -409,7 +409,7 @@ receiveOsc = function(argsPack){ $('[path="'+argsPack[0]+'"]').removeClass('locked'); } - +$('body').addClass('loaded'); }// END INIT }); diff --git a/lib/oschtmlgui.py b/lib/oschtmlgui.py index 9a2250e7..f1933843 100644 --- a/lib/oschtmlgui.py +++ b/lib/oschtmlgui.py @@ -92,7 +92,7 @@ class oscHtmlGui(object): self.browser.open(self.html) - self.window.set_default_size(400, 600) + self.window.set_default_size(800, 600) self.window.show_all() self.window.connect("destroy", gtk.main_quit) diff --git a/lib/oschtmlgui.pyc b/lib/oschtmlgui.pyc index 2fd16c65442fc54da41640a6b6729c9965b606a0..2947763dad6cdc8bd9a510bcc78e15f722faaf8b 100644 GIT binary patch delta 24 fcmccScFm2Q`7&2!R;pj0C!agRR910 diff --git a/lib/style.css b/lib/style.css index a2844cea..06183536 100644 --- a/lib/style.css +++ b/lib/style.css @@ -25,7 +25,29 @@ input::-webkit-selection{ html, body { height:100%; + position:relative; } + + +body:not(.loaded):after { + content:"LOADING"; + font-family:sans; + color:#1A1A1A; + text-shadow:0 1px 0 #444; + font-size:14px; + font-weight:bold; + position:absolute; + text-align:center; + top:50%; + left:50%; + width:100px; + height:20px; + line-height:20px; + margin:-10px 0 0 -50px; +} + + + #__container__ { font-size:13px; line-height:12px;