From 40d8b0321c54771f5aab419e185533a86c4c082e Mon Sep 17 00:00:00 2001 From: cobbspur Date: Sun, 9 Jun 2013 19:04:34 +0100 Subject: [PATCH] implements #38 html and scss for uploader - Fixed broken html - Added file input to html - Styling for hidden file input button - Styling for progress bar and loading - Added javascript classes for hooking file upload - Added loading image (cat) --- core/admin/assets/img/loadingcat.gif | Bin 0 -> 20207 bytes .../lib/showdown/extensions/ghostdown.js | 11 +++- core/admin/assets/sass/modules/global.scss | 60 ++++++++++++++---- 3 files changed, 56 insertions(+), 15 deletions(-) create mode 100644 core/admin/assets/img/loadingcat.gif diff --git a/core/admin/assets/img/loadingcat.gif b/core/admin/assets/img/loadingcat.gif new file mode 100644 index 0000000000000000000000000000000000000000..014d484414ff95b222e61e3d0d270ecb0e0b9740 GIT binary patch literal 20207 zcmds(d#JgnY44hM4H_JSXmZfD4HN|eqQMCe0jmH70ks&!0uid11Y{@> z5C;?$6%`eS7;H^aD%z;TU^HqHlc1uliBY3=T2JS6-wkC*I_cQy^IUW8x&GsS@aXS* z-?i5Jt#3~b4)hss(F00g8vwNJYPs}b_px^m_1*64KHGWi^Gk;gw>^1uulsao=jmhD zKDl)0K-;y;mpb1)_T>J(OXs`$KEHPC@S*R%eR61T+oj9h_wL{8KHvG|+b3;%TaLYZ z?B17s*FL{?=?zasCTu0+L=`0tJMNCc*JL4H(L+g$r=?t z^6(>&2X^&cco+kyE~s#M8}L{bXHk|4ayfELdqov}K~633}2 zmR1?CSX9c)U4b^H*2&f<%9jZx(JP>`yiK|sMn#B`P=Ixrhl(Lgxk8H=1S~P7Yg>WD zu$gbgKt`&v`9hLDhVc#zf)XR|9rovm`WXN#k~n^kDbJuHh_CL&kc$_1btHedXWp6& z`Q>8Y08^pgtIvY$cj8tu53K}DPil2lOt1o&5bLaMK67*>$;)i+DK?67s2vZZ4h$c9 z*byp>>vZ}u$Z4$PSu+q2qwJJ2h(`ChR-kGZm@aO+m#Xmm~^l6~a#NdIT&%xlC zpz+fOf<6uOn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TfDzCa3Zg63mH55-3C*07t-wT?rya9lEHYPH?ZdE)<&1TXgc5;;|LG} zokMper~3)gm^$2XbEMVBd7+FkUiz)z4}#W<07sdM@nDZ!D1*cVX$c@y^&t<#w4 z{{1Io8ZGyKzBfETeQ;9y4VpM{fwClUK`gJcYODzYMxkj{t&wafIHk{BtWNMvR$qiSYmimLS7SWK#155SuQ z8Dz$GWSN9po(aP%vJg;3;-Gq;Q2>F_E8Z%>1>_1%mW+d{!R?tu@l0H^r}YFwuf3G1 zUZ4z@Xqi;V7ZUxI>#?G305eju=OK*L1D{Wm2z#@Sg!zFQpmLq3z;=5!K34O|m~UJ? zt1zt?#FM=D=m3Fn_(Nt-LTrGC_E~cRbmpc5WsS@{(v{FK`BjhgBahzQ1`qWb3PCwa zf%&s~G-Gt{S0^_+I)4YDp-B+T3{pt$!h1wWt8|1p9aOj&8> z?u=$o??2q33`B4=@Ru!icOOUJp@?Hi#emDdQpfY1zLq8*+(P$pT>8^ye*5XNUTM4g zFcepem9K~tDU`I{`AVK8lCeBjs(@mpw98Y<+}O0}ST@GX!kjThF<>Rdh(%C*LlU%! zV#Pq)Go&FYJT7hXr5PIf<5o%KGUU0cr5GE8iFHn7?M(a}(8|Mv z%~zeDqDGO10J+8rO0@e{64AwueDov
Add image of ' + alt + '
'; + return source.replace(/\n?!image\[([\d\w\s]*)\]/gi, function (match, alt, a) { + return '
' + + '' + + '
Add image of ' + alt + '
' + + '' + + '' + + '' + + '' + + '
'; }); } } diff --git a/core/admin/assets/sass/modules/global.scss b/core/admin/assets/sass/modules/global.scss index e4ea78216b..5e14bda16a 100644 --- a/core/admin/assets/sass/modules/global.scss +++ b/core/admin/assets/sass/modules/global.scss @@ -302,11 +302,11 @@ table { th, td { - padding: 8px; - line-height: 20px; - text-align: left; - vertical-align: top; - border-top: 1px solid $lightbrown; + padding: 8px; + line-height: 20px; + text-align: left; + vertical-align: top; + border-top: 1px solid $lightbrown; } th { color: $brown; } @@ -317,7 +317,7 @@ table { colgroup + thead tr:first-child td, thead:first-child tr:first-child th, thead:first-child tr:first-child td { - border-top: 0; + border-top: 0; } tbody + tbody { border-top: 2px solid $lightbrown; } @@ -391,7 +391,7 @@ nav { .navbar { - height: 40px; + height: 40px; font-size: 0.85em; background: $darkgrey; @include breakpoint($netbook) {font-weight:normal} @@ -988,6 +988,7 @@ main { @include box-sizing(border-box); @include baseline; position: relative; + overflow:hidden; padding: 55px 60px 65px 60px; border: $lightbrown 3px dashed; width: 100%; @@ -996,11 +997,6 @@ main { color: $brown; background: #F9F8F5; - &:hover { //HAHA THIS IS A HACK - //TODO: REMOVE THIS FUCKING HACK - cursor: pointer; - } - a { color: $brown; text-decoration: none; @@ -1040,6 +1036,44 @@ main { color: $brown; text-decoration: none; } + + .fileupload { + position: absolute; + right: 0; + margin: 0; + opacity: 0; + @include transform-origin(right); + @include transform( scale(14)); + font-size: 23px; + direction: ltr; + cursor: pointer; + } + + .progress { + position: relative; + top: -39px; + margin: auto; + margin-bottom: -12px; + display: block; + overflow: hidden; + @include linear-gradient(to bottom, #f5f5f5, #f9f9f9); + border-radius: 12px; + box-shadow: (rgba(0,0,0,0.1) 0 1px 2px inset); + } + + .fileupload-loading { + display: block; + top: 50%; + width: 35px; + height: 28px; + margin: -28px auto 0; + background-size: contain; + } + + .bar { + height: 12px; + background: $blue; + } } @@ -1049,7 +1083,7 @@ main { //Simple .wrapper { - position:relative; + position:relative; } .palette {