From 2258c55dcb04851939670f68180f9091b7081f9c Mon Sep 17 00:00:00 2001 From: Ryan Wachtl Date: Sat, 5 Jan 2013 13:11:04 -0600 Subject: [PATCH] ENHANCEMENT: Adapt the Widgets Editor CMS UI to fit SS 3.0 --- .gitignore | 1 + config.rb | 15 +++++ css/WidgetAreaEditor.css | 89 +++++----------------------- images/add-bg-hover.png | Bin 621 -> 0 bytes images/add-bg.png | Bin 578 -> 0 bytes images/delete.gif | Bin 356 -> 0 bytes images/handled-bg.png | Bin 9922 -> 0 bytes scss/WidgetAreaEditor.scss | 106 ++++++++++++++++++++++++++++++++++ scss/_settings.scss | 4 ++ templates/WidgetAreaEditor.ss | 4 +- templates/WidgetEditor.ss | 8 ++- 11 files changed, 147 insertions(+), 80 deletions(-) create mode 100644 .gitignore create mode 100644 config.rb delete mode 100644 images/add-bg-hover.png delete mode 100644 images/add-bg.png delete mode 100644 images/delete.gif delete mode 100644 images/handled-bg.png create mode 100644 scss/WidgetAreaEditor.scss create mode 100644 scss/_settings.scss diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9ba470d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.sass-cache \ No newline at end of file diff --git a/config.rb b/config.rb new file mode 100644 index 0000000..2f50304 --- /dev/null +++ b/config.rb @@ -0,0 +1,15 @@ +# Require any additional compass plugins here. + +project_type = :stand_alone +# Set this to the root of your project when deployed: +http_path = "/" +css_dir = "css" +sass_dir = "scss" +images_dir = "images" +javascripts_dir = "javascript" +output_style = :compact +line_comments = false +# To enable relative paths to assets via compass helper functions. Uncomment: +# relative_assets = true + +asset_cache_buster = :none \ No newline at end of file diff --git a/css/WidgetAreaEditor.css b/css/WidgetAreaEditor.css index e746a62..c51dfbb 100644 --- a/css/WidgetAreaEditor.css +++ b/css/WidgetAreaEditor.css @@ -1,81 +1,20 @@ -div.availableWidgetsHolder { - width: 30%; -} +@charset "UTF-8"; +.WidgetAreaEditor p { margin-bottom: 15px; } -div.usedWidgetsHolder { - width: 66%; - max-width: 745px; -} +.Widget { padding: 0 7px 7px 7px; margin: 16px 0 16px 0; color: #1f1f1f; background-color: #b0bec7; background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2IwYmVjNyIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzkyYTViMiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=="); background-size: 100%; background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #b0bec7), color-stop(100%, #92a5b2)); background-image: -webkit-linear-gradient(#b0bec7, #92a5b2); background-image: -moz-linear-gradient(#b0bec7, #92a5b2); background-image: -o-linear-gradient(#b0bec7, #92a5b2); background-image: linear-gradient(#b0bec7, #92a5b2); border-top: 1px solid #c2cdd4; border-bottom: 1px solid #748d9d; -webkit-border-radius: 3px; -moz-border-radius: 3px; -ms-border-radius: 3px; -o-border-radius: 3px; border-radius: 3px; } +.Widget h3 { margin: 0; padding: 0; line-height: 40px; text-shadow: #bfcad2 1px 1px 0; -webkit-transition-property: background-image; -moz-transition-property: background-image; -o-transition-property: background-image; transition-property: background-image; -webkit-transition-duration: 0.2s; -moz-transition-duration: 0.2s; -o-transition-duration: 0.2s; transition-duration: 0.2s; -webkit-transition-timing-function: ease-out; -moz-transition-timing-function: ease-out; -o-transition-timing-function: ease-out; transition-timing-function: ease-out; } +.Widget .widgetDescription { background: #eceff1; padding: 5px 5px 1px 5px; margin: 0; -webkit-border-radius: 3px; -moz-border-radius: 3px; -ms-border-radius: 3px; -o-border-radius: 3px; border-radius: 3px; } +.Widget .widgetFields { background: #eceff1; padding: 5px; margin: 7px 0 0 0; -webkit-border-radius: 3px; -moz-border-radius: 3px; -ms-border-radius: 3px; -o-border-radius: 3px; border-radius: 3px; } -div.availableWidgetsHolder { - float: left; -} +.availableWidgetsHolder { width: 38%; float: left; } -div.usedWidgetsHolder { - float: right; -} +.availableWidgets .Widget h3 { cursor: pointer; background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABR0RVh0Q3JlYXRpb24gVGltZQAxLzUvMTOqzuI/AAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAA8tJREFUSImdlk1MHGUYx38zO7u4s18sC10DBItFEEttUAmaTtFTJ34c9MBc/Iw99qDRHjx6682D9lBvatJotibGaGrWg4k6mgBWuggWKA1oKcm2wLJfs7A7s+OB3XRZ2Q/4n2ae9//+/8/zJu/zvAIHQCSqB4CHAAtY0VQl22iPbdsACE2Iq8C7wGkBCpIkLQOCaZpduxLEgE+Bq5qqGAc2ikT1l4GPXE5pqzscynaHQ49LDoe/kmNaVmo1vjGzGt/w5AumG/gQ+EZTlXxDo0hUDwMXREF4buiRnlR7q/9ko6oB1rdSsblbt12WVZwEzmuqsl7TKBLVZeA7n+x2Dg/2nqyuoBlMzS7paSNXAF7QVGW7bCRWmDiBz3yy2zUy1Hf6MCYAI0N9ik92O4GPI1HdU46LFZyzDlEcGhnqU+oJpTLGYipjLDYyczhEBXitHHOUqnkQiDw5+PBOi8sZqiWwdi8xMXPzn561ewlZEIRrrT5PTy1uONSaX41vPPP3rdtfHT/Wky1X9JZPds/7vXJ/vUwTyXQO+B7Qs8a2WY/rbnF1+WT3KjAO94/ujYGjneF6Gw+Dgd7OI8CbAGIkqocFONKomgpsAwaCYDci+j3ygCgIgSs//iaLwBNOp/RvMw5504LdTjCTL5gNuwqAJDkywAkJOBH0eZLVhLV7iYmF5dVjNnhLIQtIAj8ArkQqo/w0+ZdB6fgFyA70di11drSNVuoEfZ5kfDM5LAEd+2WSSKZzNnyuqcr5Gsm+WPkTiepXNpOZ9s6Otv24XglI7bcSDHjd8c3ke5Go/k4pVASmNVV5OhLVu4DLwAggldYdbQHvHzWSuisB1xPp7CvVK50dbaOl7MpCTM8vb0ei+jkgGPR7GX60V67aNlr1TyKd9QMxCZgsmFZXjUz2wCk5bGAMcLp2vxvCNK0AcFPUVCVu2/adRm2l2rMZUipjLBZtOz1+5pRRvrBfLKysxQ9g1BQWVtbuAp/A/c7wZdrIHW1UVVvA6waeB8Y88gNSPW5uJ38nbeT6ga+hYh5FovpZhyi+/+xTxwfrCZSTadRJfr42N2dZxYvjZ05dqqwI4LJVLE5MzS7p9QT8Xrm/kcnU7JJuWcVfNFW5VI7tN8q/9cnu4GEmrGlZqekby7G0kdsCXtdUJfm/CVuBt9NGbkH/88b6+lYq1qzJ+lYq9vv1+eW0kZsAXtVUZU9bq/cKegm44HJKO93hUC4cau11t7j23LeqV5AEfKCpytVKzkHedWPAOUAB2l1Oac62oWCajwEbgA5c1FTl1/32l43+A2DVjDi0+ffsAAAAAElFTkSuQmCC"); background-position: center right; background-repeat: no-repeat; } +.availableWidgets .Widget h3:hover { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABR0RVh0Q3JlYXRpb24gVGltZQAxLzUvMTOqzuI/AAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAABANJRE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muAryFrHnlUbe90KtXR+eae2lwBMsnk6yTdJ84OlppMJ3duaz6VXRFAb0lpqbe9q0fLFSAUGK3JJ9Le1aOVmkw/KbJ0KmNbaJR/Fw4FVyxnwprMlsjrHZ0+h+i8C+xWZGnyfxM2C3scovPGoaMf33G5632Firjc9b7O908EHKLTC+xSZGlOW8v1C3oWOByLRlJ9l9Xk9au/VE7cHp/z3kxmS0Tasq2/eYtstdnLjMDbiixdzOYs5V/XCuwHJGBVLBoZFAQBq83uAiYADTipyNLPC/lnhP4FKHOWW0c+c/gAAAAASUVORK5CYII="); } -div.usedWidgets .ui-state-highlight { - background: #EEEEEE; - border: 1px solid #DDDDDD; - width: 98%; - margin-bottom: 5px; -} +.usedWidgetsHolder { width: 60%; float: right; } -.NoWidgets { - padding: 50px; /* Make this nice and big and easily 'droppable' */ -} +.usedWidgets .Widget h3 { cursor: move; } +.usedWidgets .Widget .deleteWidget { text-align: right; padding-top: 11px; margin-bottom: 3px; } -div.usedWidgets div.Widget, -div.availableWidgets div.Widget { - width: 98%; - border: 1px solid #ddd; - border-top: none; - margin-bottom: 10px; - background: #F0F3F4; -} - -div.widgetDescription{ - padding: 10px 0; -} -div.widgetDescription p, -div.widgetFields { - padding: 0 8px; - color: #666; - font-size: 11px; -} - -p.deleteWidget { - margin: 0 0 4px; - height: 22px; - line-height: 2.2; - font-size: 12px; -} -span.widgetDelete { - padding-left: 20px; - margin-right: 8px; - float: right; - background: url(../images/delete.gif) no-repeat left center; - cursor: pointer; -} -div.usedWidgets div.Widget h3, -div.availableWidgets div.Widget h3 { - font-size: 12px; - color: #fff; - line-height: 1.8; - padding: 0 5px; - margin: 0; -} - div.usedWidgets div.Widget h3 { - cursor: move; - background: #000 url(../images/handled-bg.png) right top; - } - div.availableWidgets div.Widget h3 { - cursor: pointer; - color: #444; - padding-right: 25px; - background: #ccc url(../images/add-bg.png) right center; - } - div.availableWidgets div.Widget h3:hover { - background: #ccc url(../images/add-bg-hover.png) right center; - } \ No newline at end of file +@media only screen and (max-width: 1279px) { .availableWidgetsHolder { width: 100%; float: none; margin-bottom: 20px; } + .usedWidgetsHolder { width: 100%; float: none; } } diff --git a/images/add-bg-hover.png b/images/add-bg-hover.png deleted file mode 100644 index 161876e56efbc60dae953cffa6e7729755f7fe43..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 621 zcmeAS@N?(olHy`uVBq!ia0y~yV0sB;YjH3E$wt?pd>|!R;u=vBoS#-wo>-L1;Fyx1 zl&avFo0y&&l$w}QS$Hzl2B?eQ)5S5Q;?|oxyR(B6B@R4P%bZg-{EGd&Jw5IR=UXc0mW6|1sKobu1 zUE?i$Klyy>_3QiY?ArU|*V*4|pC6xncG+4+hLu~rMOp>E*QXzUGgIIi^UlfeAlLJzIa1ok6Bgt-m>QhFUfyC7t7FKvi0`dh5z^6?KyPN z`S-cGwkv^RvMPPf<}LBtXKqwEa&n#1!&_Iij~@Qb{(LLQc7dvom;T-~^xRbK|L~F1 z%NrM!>t|orV{q8@_S54#s-BZNYyN#|{dwumn`@tef#eZvXFqfHj5+#e=gqUWv$g$t z{-@8L-0;`{2l|0>MmC19)>ZSl{X1iT>4(A7)z4*}Q$iB}#{Chr diff --git a/images/add-bg.png b/images/add-bg.png deleted file mode 100644 index b350dd2a0724b80b8ab97354b6ab63d817ca9122..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 578 zcmeAS@N?(olHy`uVBq!ia0y~yV0sB;YjH3E$wt?pd>|!R;u=vBoS#-wo>-L1;Fyx1 zl&avFo0y&&l$w}QS$HzlhJk_ciKmNWNX4x;ch34>W{^1WFz+?fW3}67T^ipwAKe_c zXXcOc>JLhsEV5R;0>V$7ZBO!*bd!xnBJwT6M=f*u3IEmj~E#=wvv&cN`N2}o&!(BY5+hig2 zcE7Al?LQ;A^zi4-+RO}IQ=a~`n0;9zeffR=^K~|Fa<|TU4RmjWh^J8hq8Gd3zkj>G zzv7<{&@J6czLzcLeXh7@p*`!Y_1<^a;;(N7nQf!5c3fUu@86G2n{HM7dQ!N0Yh7s^ zP<^V_vhyDC^ZZvW-T3Q;E5~buJo3)`FXJD)(v7; zvi6=!+rBq){q_Hr@i%YY+-l0OKis4%RlQfe7|}5jv~V*9)@eqs?(h94#_foymIN8 z8p9cBrbD6(mt+{0vN6nIV_3t>uvwVn>FTAY)~-F|<1x+BWMg~#yNeh9xQM+!w*R^s z=dRxFE6VJr6*!LdcfMG+?B0?kmzrDeX|O+BzGQ;E&5Fv(RW=4E#2MB*n_ikQ;e|TG zq5Q%=28M|Y4Etml7V>dCpIE<)i(#)M$Gyye{}${$cDDbG8UFwO&wvdm{$ycfV6b4& z0ZD@V#K6|*FsHynhbwtYzo7f7mbR_Y41sf0cnqc*6i*In6=plYu#khZ{hbK=s|5^3 z(t>w==eYH`xx_8u4`bzHsBz0+=4Ng7c49JZXXRDx?lte{5o&RsVy-VH%~LgVHfIr+ pT(Uq*U{DK}F&n?GxKkkGObad{emylODNPw~2_>EGV-}7K)&R_9cl!VU diff --git a/images/handled-bg.png b/images/handled-bg.png deleted file mode 100644 index b7c440b533ad2b595138122f436dc8931e8d1344..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9922 zcmV;zCOz4SP)FNlI6Ab%b4B zYg=4tYixT`Q(#O^TV-f>Sz2dta)DG;Vr_1HV`g|Sik5SA zfPH_8b$5e%eTa^aoq~jpl$D}ZSY<~_R&Q{BOix>7X?J61bxKWHU}SPeNmWo%UTJK3 zWMy+sP+W0zfmvH;QdD4TZhM7>lW}r=ZE$^5R$^OSX-P|0ba#YZUu$@KhKrAzc6o$} zjhTpxm~?l7j*pyseTRpNm2-7}l$D@@gpFQbYjt*nRaRn0N>@rvT4QH+TwQ51Gc$dE ziE?v+T3ct7l%RrxjcRLoQ&eD4QeJFrdrweYU}SSfNmfcrS7m8=(ij`((cuh`RWMp(oN?3P!go=%sR#;|PS!Z!^fl*OkYHE5? zQeZMNGHYvlPfuM=PF!eccvV$nZf<>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ObU+h`H}98lG!0^3h1M2f3S9F^g@<3e0=^!wwSNuWCPZnDN61*^8gCz++> zp0BdWnbNB$Qne{;kka_cFX>bLr7x|j{`FN~N~~|axqf}wdUJw^Yw*j$@Yb6e)GCIu*4Fj*sHyCx7_cb=e(U2CpK|BaP!W2|d zTgx0*L4YU^!ES1lrnD--w3aRlVP%w3w=n=Mx&Eedu}~ODnfo$0)u5`Po%Ngod^|$x zo2~1;;LS2r(RlRI+FBM60fcje(hANTVHqb4Fci3XQ_rN13TkaFGpaYsoGt85sqE%W z6Go*WYO4~LS5g33w%(P+IrxDN0#GUfkKa*i32!jOKPSQWr_I7oNp5g{KoFIvJ{2PzbUYOw zi%rk!ck0~0=PUnq@mKVbpsy@moJb@NC-59Td>H?*cL%=iNiox58Np_$AwHJE<6%pP zY9(U+!|}47n^N4s15`jcoX*mRLt(IpV;wd@6DesiB8k+DsC=ZlM;}gcM=eKlh)WP0 zaUsGXmJ($gj{D-`rAqlq%;Cf@$r9a%SHj|8hrNdsa=)CCFnLo)6ee;w8g^*-)h7#2 zB5_KVti)5@WHs)YGRNjpWmWy^(_zvpXf=n9?aHYGX~X$uL6IB`W}&$}+et?<0}O zI_0fqB^=yzREh}zJVhAWPH5?;S*}AO0TLRh>X zPdQ2-P8Qohf_0|y;u40&$wPHXoXX-a>;DTd02**)2tKwXh5!Hn07*qoM6N<$f<%hl A9RL6T diff --git a/scss/WidgetAreaEditor.scss b/scss/WidgetAreaEditor.scss new file mode 100644 index 0000000..8123a32 --- /dev/null +++ b/scss/WidgetAreaEditor.scss @@ -0,0 +1,106 @@ +@import "settings"; + +// root widget area editor container +.WidgetAreaEditor { + h2 { + + } + p { + margin-bottom: 15px; + } +} + +// base styles for a widget +.Widget { + padding: 0 7px 7px 7px; + margin: 16px 0 16px 0; + color: #1f1f1f; + background-color: #b0bec7; + background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2IwYmVjNyIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzkyYTViMiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=='); + background-size: 100%; + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #b0bec7), color-stop(100%, #92a5b2)); + background-image: -webkit-linear-gradient(#b0bec7, #92a5b2); + background-image: -moz-linear-gradient(#b0bec7, #92a5b2); + background-image: -o-linear-gradient(#b0bec7, #92a5b2); + background-image: linear-gradient(#b0bec7, #92a5b2); + border-top: 1px solid #c2cdd4; + border-bottom: 1px solid #748d9d; + @include border-radius(3px); + h3 { + margin: 0; + padding: 0; + line-height: 40px; + text-shadow: #bfcad2 1px 1px 0; + @include transition-property(background-image); + @include transition-duration(0.2s); + @include transition-timing-function(ease-out); + } + .widgetDescription { + background: #eceff1; + padding: 5px 5px 1px 5px; + margin: 0; + @include border-radius(3px); + } + .widgetFields { + background: #eceff1; + padding: 5px; + margin: 7px 0 0 0; + @include border-radius(3px); + } +} + +// container for available widgets +.availableWidgetsHolder { + width: 38%; + float: left; +} + +.availableWidgets { + .Widget { + h3 { + cursor: pointer; + background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALE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+5pRRvrBfLKysxQ9g1BQWVtbuAp/A/c7wZdrIHW1UVVvA6waeB8Y88gNSPW5uJ38nbeT6ga+hYh5FovpZhyi+/+xTxwfrCZSTadRJfr42N2dZxYvjZ05dqqwI4LJVLE5MzS7p9QT8Xrm/kcnU7JJuWcVfNFW5VI7tN8q/9cnu4GEmrGlZqekby7G0kdsCXtdUJfm/CVuBt9NGbkH/88b6+lYq1qzJ+lYq9vv1+eW0kZsAXtVUZU9bq/cKegm44HJKO93hUC4cau11t7j23LeqV5AEfKCpytVKzkHedWPAOUAB2l1Oac62oWCajwEbgA5c1FTl1/32l43+A2DVjDi0+ffsAAAAAElFTkSuQmCC'); + background-position: center right; + background-repeat: no-repeat; + &:hover { + background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABR0RVh0Q3JlYXRpb24gVGltZQAxLzUvMTOqzuI/AAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAABANJREFUSImdlltsVFUUhr8znbZzbUO4VDPJcZqWSgfqxCalNT1tuEQOXh6UyHkQUQvEmKCxoTwY2wcSW4khEESiQIIXTKMZRGM0mMMDJHpqHILiNG0tnTYzGZwYCjV0rp3ScnxwJkxrOzPt/7bX/tf619rZe60tsAR4VK0ceASYBYKKLMXz+ei6DoBQQHAZaAdadF2/l4jHAoBgsdocgiAA+IDTwEVFlhJLFvKo2nPAsVg0crfvshrXLl96bCqZKMvmmMyWSPPmJ/ulrdutNnuZGTgEfKvI0nReIY+qVQCHZ2dmNp07/UFkyPe7O1/VAC53ve/FfftLSktNV4GDiizdWVTIo2oW4PtwKFh86miPe34FhaC9q0dziM57wNOKLE1lhAxZIsXAZ+FQsOR4d2fLckQAjnd3SuFQsBg44VE1a8ZuyOLsnU6lNhzv7pRyBRIrq0fEyuqRfGKp1JQEvJSxFaWreQjwfHTk3dTk3X9WLhZgo7TJ2/ZGh9jYstlyf3b2t4D/hrgY13ft12lp6/YnhsZufrW+SoxnKno1HAoOhwKjNbkyramtSwI/ANrDDnEmF3fi9rgjHAr+BeyEB0f38je9n1bkclwOLvR+sgZ4BcDgUbUKXdfX5KsmC1NAQid9nXLgZmDs0dmZmfLzl/osBqA+HouGClGw2O3wXyfot9rL8nYVgGQyEQPqjEDd2PDQ5HzCRmmT94Xd+6oEQbClTbPAJPAjULJ23XrpyJneBOnj13U9fuGLs6Ne7Upjdpyx4aFJd0PT40Zg9UKZ1NTWJQVB+FyRpYOLJPtM9sKjaufXujas8mpXFuLajEBkoR3/nwNmd0PTAY+qvZU23QeuK7LU5FE1B9ALNADG9H6Rf2jg2iJJjRuBP6rWuZ6fv+PVrjSms8sE4rUD70x5VG0/sMI/PMiZY+9Z5rk1zltTtc5VBviMwFWL1eZYJJM5SMSiOtAKFCei0by3DsBstpQDfoMiS7cMBkM4X1uZh+JCSGJl9UiR0Rjdua05kXmw53bsaru1BKGCsGNX2zjwITzoDF86RKczX1X+oQEz8BTQ+nc4ZMzFXbl6TdghOmuAryFrHnlUbe90KtXR+eae2lwBMsnk6yTdJ84OlppMJ3duaz6VXRFAb0lpqbe9q0fLFSAUGK3JJ9Le1aOVmkw/KbJ0KmNbaJR/Fw4FVyxnwprMlsjrHZ0+h+i8C+xWZGnyfxM2C3scovPGoaMf33G5632Firjc9b7O908EHKLTC+xSZGlOW8v1C3oWOByLRlJ9l9Xk9au/VE7cHp/z3kxmS0Tasq2/eYtstdnLjMDbiixdzOYs5V/XCuwHJGBVLBoZFAQBq83uAiYADTipyNLPC/lnhP4FKHOWW0c+c/gAAAAASUVORK5CYII='); + } + } + } +} + +// container for used widgets +.usedWidgetsHolder { + width: 60%; + float: right; +} + +.usedWidgets { + .Widget { + h3 { + cursor: move; + } + .deleteWidget { + text-align: right; + padding-top: 11px; + margin-bottom: 3px; + } + } +} + +.noWidgets { + +} + +// one column layout when space is limited +@media only screen and (max-width: 1279px) { + .availableWidgetsHolder { + width: 100%; + float: none; + margin-bottom: 20px; + } + .usedWidgetsHolder { + width: 100%; + float: none; + } +} \ No newline at end of file diff --git a/scss/_settings.scss b/scss/_settings.scss new file mode 100644 index 0000000..167b5c5 --- /dev/null +++ b/scss/_settings.scss @@ -0,0 +1,4 @@ +@charset "UTF-8"; + +@import "compass/css3/border-radius"; +@import "compass/css3/transition"; \ No newline at end of file diff --git a/templates/WidgetAreaEditor.ss b/templates/WidgetAreaEditor.ss index 6e3854e..db649c8 100644 --- a/templates/WidgetAreaEditor.ss +++ b/templates/WidgetAreaEditor.ss @@ -2,7 +2,7 @@

<% _t('AVAILABLE', 'Available Widgets') %>

-

<% _t('AVAILWIDGETS', 'Click a widget title below to use it on this page.') %>

+

<% _t('AVAILWIDGETS', 'Click a widget title below to use it on this page.') %>

<% if AvailableWidgets %> <% control AvailableWidgets %> @@ -17,7 +17,7 @@

<% _t('INUSE', 'Widgets currently used') %>

-

<% _t('TOSORT', 'To sort currently used widgets on this page, drag them up and down.') %>

+

<% _t('TOSORT', 'To sort currently used widgets on this page, drag them up and down.') %>

<% if UsedWidgets %> diff --git a/templates/WidgetEditor.ss b/templates/WidgetEditor.ss index 0075b76..6b48143 100644 --- a/templates/WidgetEditor.ss +++ b/templates/WidgetEditor.ss @@ -3,10 +3,12 @@

$Description

+ <% if $CMSEditor %>
$CMSEditor - -
-

<% _t('DELETE', 'Delete') %>

+ <% end_if %> + + +

<% _t('DELETE', 'Delete') %>

\ No newline at end of file