From cbdbcbda4ac4c324d13c8fd277305f5ae110d328 Mon Sep 17 00:00:00 2001 From: benweet Date: Thu, 2 May 2013 01:02:57 +0100 Subject: [PATCH] Add sharing support --- css/main.css | 27 ++++++++++ index.html | 40 ++++++++++----- js/config.js | 4 +- js/core.js | 117 +----------------------------------------- js/file-manager.js | 37 +++++++++---- js/gdrive-provider.js | 7 +-- js/gist-provider.js | 2 +- js/publisher.js | 12 +++-- js/synchronizer.js | 8 +-- viewer.html | 17 ++++++ 10 files changed, 118 insertions(+), 153 deletions(-) diff --git a/css/main.css b/css/main.css index 07aec0ac..8783c82e 100644 --- a/css/main.css +++ b/css/main.css @@ -218,6 +218,33 @@ hr { font-weight: bold; } +.dropdown-menu .divider.with-text { + height: auto; + margin-bottom: 2px; + background-color: transparent; + border-top: 1px solid #e5e5e5; + color: #ccc; + font-variant: small-caps; + font-weight: bold; + padding-left: 20px; + cursor: default; +} + +div.dropdown-menu { + padding: 5px 20px; + width: 300px; + white-space: normal; +} + +div.dropdown-menu p, +div.dropdown-menu blockquote { + margin: 10px 0; +} + +.icon-link { + background-position: -72px -168px; +} + .icon-code { width: 15px; background-position: -384px -168px; diff --git a/index.html b/index.html index d795d0f5..6a0e20ea 100644 --- a/index.html +++ b/index.html @@ -34,13 +34,25 @@