From d98d872e9878efbbb70fd5b952f010df78409244 Mon Sep 17 00:00:00 2001 From: benweet Date: Sat, 4 May 2013 01:05:58 +0100 Subject: [PATCH] Added sharing links --- LICENSE.txt | 9 ---- css/main.css | 31 +++++++++++- index.html | 23 ++++----- js/blogger-provider.js | 2 + js/config.js | 9 +--- js/core.js | 14 +++++- js/dropbox-helper.js | 9 ++-- js/dropbox-provider.js | 28 +++++++---- js/file-manager.js | 59 +++++++++++++--------- js/gdrive-provider.js | 35 ++++++++----- js/gist-provider.js | 11 +++- js/github-helper.js | 37 +++++++++++++- js/github-provider.js | 2 + js/google-helper.js | 47 ++++++++++------- js/publisher.js | 21 ++++---- js/sharing.js | 111 ++++++++++++++++++++++++++++++----------- js/storage.js | 4 ++ js/synchronizer.js | 10 ++-- js/tumblr-provider.js | 2 + viewer.html | 18 ++++--- 20 files changed, 332 insertions(+), 150 deletions(-) diff --git a/LICENSE.txt b/LICENSE.txt index ba52dcf0..11630608 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -2,12 +2,3 @@ StackEdit - The Markdown editor powered by PageDown. Copyright 2013 Benoit Schweblin (http://www.benoitschweblin.com) Licensed under an Apache License (http://www.apache.org/licenses/LICENSE-2.0) - -Includes: -jQuery - http://jquery.com/ -Bootstrap - http://twitter.github.com/bootstrap/ -RequireJS - http://requirejs.org/ -PageDown - https://code.google.com/p/pagedown/ -UI Layout - http://layout.jquery-dev.net/ -jGrowl - https://github.com/stanlemon/jGrowl/ -GLYPHICONS - http://glyphicons.com/ \ No newline at end of file diff --git a/css/main.css b/css/main.css index 8783c82e..2748d509 100644 --- a/css/main.css +++ b/css/main.css @@ -80,6 +80,15 @@ textarea, background-color: #eee; } +.nav .dropdown-toggle .caret { + border-top-color: #000; + border-bottom-color: #000; +} + +.navbar .nav.hide { + display: none; +} + .navbar-inner .btn.disabled, .navbar-inner .btn[disabled] { color: #333333; @@ -102,10 +111,15 @@ textarea, background-color: #777; } -input[disabled], select[disabled], textarea[disabled], input[readonly], select[readonly], textarea[readonly], .input-append .add-on { +input[disabled], select[disabled], textarea[disabled], .input-prepend .add-on { background-color: #f5f5f5; } +input[readonly], select[readonly], textarea[readonly] { + background-color: transparent; + cursor: text; +} + .btn-primary:hover, .btn-primary:focus, .btn-primary:active, @@ -232,7 +246,6 @@ hr { div.dropdown-menu { padding: 5px 20px; - width: 300px; white-space: normal; } @@ -241,6 +254,20 @@ div.dropdown-menu blockquote { margin: 10px 0; } +div.dropdown-menu i { + margin-right: 0; +} + +.internal-link { + text-decoration: underline; + font-weight: 600; + cursor: pointer; +} + +#link-container .link-list { + margin-top: 10px; +} + .icon-link { background-position: -72px -168px; } diff --git a/index.html b/index.html index 6a0e20ea..7144d586 100644 --- a/index.html +++ b/index.html @@ -1,12 +1,10 @@ -StackEdit +StackEdit - Markdown editor - @@ -32,7 +30,7 @@ -