From 4054800adb5b23bc92956e949f79a39633283e10 Mon Sep 17 00:00:00 2001 From: benweet Date: Wed, 27 Mar 2013 20:19:12 +0000 Subject: [PATCH] Upload to gdrive support --- css/main.css | 85 ++++++++++++++++++++++++++----------------------- img/gdrive.png | Bin 0 -> 741 bytes index.html | 28 ++++++++-------- js/gdrive.js | 81 ++++++++++++++++++++++++++++++++++++++++++++++ js/main.js | 77 ++++---------------------------------------- 5 files changed, 147 insertions(+), 124 deletions(-) create mode 100644 img/gdrive.png create mode 100644 js/gdrive.js diff --git a/css/main.css b/css/main.css index b8c82ede..c9c48ccf 100644 --- a/css/main.css +++ b/css/main.css @@ -1,6 +1,6 @@ body { background-image: url(../img/honeycomb.png); - background-repeat: repeat; + background-repeat: repeat; } #navbar { @@ -15,13 +15,13 @@ body { margin-left: 20px; } -#wmd-input, #wmd-preview { - position: absolute; +#wmd-input,#wmd-preview { + position: absolute; } #wmd-input { font-family: "Courier New", Courier, monospace; - resize: none; + resize: none; } #wmd-preview { @@ -65,19 +65,26 @@ body { } .icon-code { - background-position: -384px -168px; + background-position: -384px -168px; } .icon-numbered-list { - background-position: -408px -168px; + background-position: -408px -168px; } .icon-hr { - background-position: -432px -168px; + background-position: -432px -168px; } .icon-undo { - background-position: -456px -168px; + background-position: -456px -168px; +} + +.icon-gdrive { + background-image: url("../img/gdrive.png") !important; + width: 16px; + height: 16px; + background-position: 0 0; } .ui-layout-toggler-north { @@ -91,48 +98,46 @@ body { } .ui-layout-toggler-south .caret { - margin-top: 6px; + margin-top: 6px; } -.ui-layout-toggler-north-open .caret, -.ui-layout-toggler-south-closed .caret { - border-bottom: 5px solid #525252; - border-right: 5px solid transparent; - border-left: 5px solid transparent; - border-top: 0; +.ui-layout-toggler-north-open .caret,.ui-layout-toggler-south-closed .caret + { + border-bottom: 5px solid #525252; + border-right: 5px solid transparent; + border-left: 5px solid transparent; + border-top: 0; } -.ui-layout-toggler-north-closed .caret, -.ui-layout-toggler-south-open .caret { - border-top: 5px solid #525252; - border-right: 5px solid transparent; - border-left: 5px solid transparent; - border-bottom: 0; +.ui-layout-toggler-north-closed .caret,.ui-layout-toggler-south-open .caret + { + border-top: 5px solid #525252; + border-right: 5px solid transparent; + border-left: 5px solid transparent; + border-bottom: 0; } - .ui-layout-toggler-east { - margin-left: 3px !important; - width: 18px !important; + margin-left: 3px !important; + width: 18px !important; } -.ui-layout-toggler-east .caret, -.ui-layout-toggler-west .caret { - margin-top: 40px; +.ui-layout-toggler-east .caret,.ui-layout-toggler-west .caret { + margin-top: 40px; } -.ui-layout-toggler-east-open .caret, -.ui-layout-toggler-west-closed .caret { - border-bottom: 5px solid transparent; - border-top: 5px solid transparent; - border-left: 5px solid #525252; - border-right: 0; +.ui-layout-toggler-east-open .caret,.ui-layout-toggler-west-closed .caret + { + border-bottom: 5px solid transparent; + border-top: 5px solid transparent; + border-left: 5px solid #525252; + border-right: 0; } -.ui-layout-toggler-east-closed .caret, -.ui-layout-toggler-west-opened .caret { - border-bottom: 5px solid transparent; - border-top: 5px solid transparent; - border-right: 5px solid #525252; - border-left: 0; -} +.ui-layout-toggler-east-closed .caret,.ui-layout-toggler-west-opened .caret + { + border-bottom: 5px solid transparent; + border-top: 5px solid transparent; + border-right: 5px solid #525252; + border-left: 0; +} \ No newline at end of file diff --git a/img/gdrive.png b/img/gdrive.png new file mode 100644 index 0000000000000000000000000000000000000000..6346fb2bd64c604a41a95fadb369f623a288d858 GIT binary patch literal 741 zcmVGy&-44uc-UOT^w#$_1M`{BFz{TCFMPnu zGF&?NpPoEh)HBmG4_-@Wc3xloV%y(@D58p>AR-VGs;Q~>Uw$zFpgKGCo#!}qf7cy4 zrl=aIA_7GGSnt1lDruoI$4ibVSxRZgrE~6+c`+HNC}x6+qEc4>nwpz<_FZdN_WjYc zWqZkmekbUpASGXr`iJR7QF%vIMFmi2$I9gT)rXmj+!?TGk3N|0ln ziItC#ZU?RU8=FND+kl`7v3b?(@;9%qNIf$RU_s>Z`+H*hoq^Q-9;r%H$*9awQL;O2 z&a}BiX +