From 360e5228b74791c69654b40be35492067938a3b9 Mon Sep 17 00:00:00 2001 From: devin Date: Tue, 10 Apr 2012 17:44:36 +0800 Subject: [PATCH] custom theme settings --- app/assets/images/miniColors/circle.gif | Bin 0 -> 78 bytes app/assets/images/miniColors/gradient.png | Bin 0 -> 10355 bytes app/assets/images/miniColors/line.gif | Bin 0 -> 1104 bytes app/assets/images/miniColors/rainbow.png | Bin 0 -> 2702 bytes app/assets/images/miniColors/trigger.png | Bin 0 -> 1406 bytes app/assets/javascripts/desktop.js | 1 + .../javascripts/jquery.miniColors.min.js | 9 + app/assets/javascripts/orbitdesktop.js | 42 ++- app/assets/stylesheets/desktop.css | 2 + app/assets/stylesheets/desktopmain.css | 42 ++- app/assets/stylesheets/desktopmedia.css | 10 + app/assets/stylesheets/jquery.miniColors.css | 59 ++++ app/views/desktop/app_manager.html.erb | 332 +++++++++--------- app/views/desktop/desktop.html.erb | 160 ++++----- app/views/desktop/sections.html.erb | 318 ++++++++--------- app/views/desktop/settings.html.erb | 60 +++- public/desktop_themes/default/css/default.css | 2 +- 17 files changed, 610 insertions(+), 427 deletions(-) create mode 100755 app/assets/images/miniColors/circle.gif create mode 100755 app/assets/images/miniColors/gradient.png create mode 100755 app/assets/images/miniColors/line.gif create mode 100755 app/assets/images/miniColors/rainbow.png create mode 100755 app/assets/images/miniColors/trigger.png create mode 100755 app/assets/javascripts/jquery.miniColors.min.js create mode 100644 app/assets/stylesheets/desktopmedia.css create mode 100755 app/assets/stylesheets/jquery.miniColors.css diff --git a/app/assets/images/miniColors/circle.gif b/app/assets/images/miniColors/circle.gif new file mode 100755 index 0000000000000000000000000000000000000000..599f7f13a6854d198f501588948ffcf97bf9f365 GIT binary patch literal 78 zcmZ?wbhEHbij|08)1sO8@`> literal 0 HcmV?d00001 diff --git a/app/assets/images/miniColors/gradient.png b/app/assets/images/miniColors/gradient.png new file mode 100755 index 0000000000000000000000000000000000000000..561cdd9c59a498b499cbfd1295dc4d2037e235ff GIT binary patch literal 10355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=$4az1EpD6Crj~$IeNBAHSHM$w4a55-Y6S017aXgOj{rm&aG&_v zbbKlo;)1psubrvz&B0s&mx^f1;4BRErLrH%ycnUr}i1xc5&CUZIL!(hh2Q% zVF85G$M?@|k?AL{c>H{+ImGMXwj@$S=VZlAuSDZz>MOkG?7UARP-F?H8dhbST)uG< z!K%^C=xT3K)>BF8i_z#$*_L=tD-o(3rHb2TQLIjdRp13+D1+sl!FqSlDp%v5IX1KR zE?#KMWB2aZOo25Spwjj?2I^fftq$5!4|=7?T)FV8`(!$;3Z&1t5Em}EcrwM}0M5Ww z-e&^BrF~uiYbyeJ`Q(WrcWTO3Cq^s)!3r0Of5txavt8_lKMNF-lT|rk)oAr81HO2o ztKQCk%draku>xSNOf71K!B`oTPaB*n9lUv!RxZM~$7%(XD-rkIv9hSU;RTQC-7E9m z_pA)~3P9g^PYW!Us@AN$Z{?y`0Y+$hym$e&j0)cY$}1;-^=h&guB=zD$d|} z_Zb(`yU}a`yg3zq62Mlt+}<6q&m6or<-uo2fw#utm5BUF(Xb9ITHWv9)mH{ug#2>Z zK&9)+K9#}q#er=r|KDVMK0T561VDQ6b7#P6U)~Mxt5@GENx_@c^yydbzcHKqvw^g1 zGZjC#ed)b_`TzOP{2K~q RdwKu>002ovPDHLkV1myV#+d*B literal 0 HcmV?d00001 diff --git a/app/assets/images/miniColors/line.gif b/app/assets/images/miniColors/line.gif new file mode 100755 index 0000000000000000000000000000000000000000..9eb198378801682aa692f0986c9f6caec062a987 GIT binary patch literal 1104 zcmZ?wbhEHblwx3JXkcLY|NlP&1B2p!?g-xi1((Eh+i z#(Mch>H3D2mX;thjEr=FDs+o0^GXscbn}XpVJ5hw7AF^F7L;V>=P7_pOiaozEwNPs zx)kDt+yc0H{644~kf%h=vIPQxAvNJFPuMj_RQ&1Cr=zdcJ#>M zLkAD+-?w+q?p-@~Y~QwZ%jQiRH>_W`cFpQlD_1OEwsgtjMGF_qpEq~T>{&BsOrJJ& z%H&BCC-nFA_H=i3cC@#(wlp_2Hq_VE)>KzjR+N{OmJ}Bi7UbvU=45AOW~8U3rX(jN zCd9|Z#zaR&Mudljh6D!%2Kf8=`gnVJdbqo}x;Q&II@sIU+E`mzT9})eniv}avy`5$ zj<%MjhPs-nin5ZTg1nrpjI@-bgt(Zfh_H~L06!lu4>uPl2Rj=p3o{cVux$9r0xTgI b7<51csMKI!;%@0*DfO0rarBmXObpfls+oe~ literal 0 HcmV?d00001 diff --git a/app/assets/images/miniColors/rainbow.png b/app/assets/images/miniColors/rainbow.png new file mode 100755 index 0000000000000000000000000000000000000000..8d6c71bf95def6736de95f345b4424add36f9a67 GIT binary patch literal 2702 zcmaJ@dpwi-A7AKl3YAL|vPLRlH`lebFw3f$+!gY$#~QoYX6ABmNDLi0q&n`W+i7xH z*$xROjY6%Y5aN(fQ72AG(fLiMI=?@D{hrtBdA^^|_w|0iKi5AVk-OV&jg=c#LLd+g zk}JVOdFm+N{1qz7@BUo8NO|b@a>bzy%?WRCWjmB{2aS=m7%Mn8-E|3xTM@ z=w5z&Kk`0ID4S^oEMlyLOpcNbfnf1M4iFjv@}VIhjn2ZsUe!0jpmZt@=4(SnkU7ra zVY+K97xavE^9qfP2z8*s@H?ScAx0^{1o;3|$Yij17$FY!Nf)EE7q8(k=qCt20tfpi zDL=A1)S1l%p*B_s%TRvZ}KAp{iE-C^c>?l4Crp)x85}2H?vMk=`HYpnh7XlnO(h9Ly(ib3^{Qsd$=2tY2 z?*aas@Bb9$dBt!*xCh8%M{z@yg9|fR48_4Xb3uU5=6bQ&j4xeuKg{N{d575?sI#XH zlnjK@S&RNBJeiCkv3Pud6$+9FIG9qwicY6u>>QmP>`+8&w6&uP66u1lx3P965|k#w z0cGugCVb%%*r8EOkj4MPrT)vc`6hR96_^}lWCF;g3qUH7%Vt79m5iZ(I~UY9^*(c{ z-_8a7O)gxS41960|260@SIX^KG{3H`()qghAWOOJT;*EFx9k1}fh<=c5gfgQeTDx0 z+k<+TyS+HCIPe5xcZXD(I2s^7-x>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%{lDUr2hQxeOrsX<*;_oRw}xW1jmb=~-1f4{$; z8ZOaKB}hQC9a6*O+16Xcg9#efzk9JICDQ-W2mhxn`&8ch)3Qv6FR34oR*0iI3Mqez z)eD~yOGKD7_G_}dK51wFgLCGO^SX|%h>vxT{i8D+J=J|J-%+jtD(;Fwp9)F=;&XY~A2BQ^l)`20>Mn;Wm7p xw_jbxV2-I%{K8$^X#33@IEI@Vo+mC@23h!^avAAwwD_M1A-T8_DxHFp{{sgmqmTdq literal 0 HcmV?d00001 diff --git a/app/assets/images/miniColors/trigger.png b/app/assets/images/miniColors/trigger.png new file mode 100755 index 0000000000000000000000000000000000000000..8c169fd6053009030232ef865a61876992b68589 GIT binary patch literal 1406 zcmeAS@N?(olHy`uVBq!ia0vp^Vj#@H1|*Mc$*~4fk|nMYCBgY=CFO}lsSJ)O`AMk? zp1FzXsX?iUDV2pMQ*9U+n3Xa^B1$5BeXNr6bM+EIYV;~{3xK*A7;Nk-3KEmEQ%e+* zQqwc@Y?a>c-mj#PnPRIHZt82`Ti~3Uk?B!Ylp0*+7m{3+ootz+WN)WnQ(*-(AUCxn zQK2F?C$HG5!d3}vt`(3C64qBz04piUwpD^SD#ABF!8yMuRl!uxKsVXI%s|1+P|wiV z#N6CmN5ROz&_Lh7NZ-&%*U;R`*vQJjKmiJrfVLH-q*(>IxIyg#@@$ndN=gc>^!3Zj z%k|2Q_413-^$jg8EkR}&8R-I5=oVMzl_XZ^<`pZ$OmImpPAEg{v+u2}(t{7puX=A(aKG z`a!A1`K3k4z=%sz23b{L-^Aq1JP;qO z-q+X4Gq1QLF)umQ)5TT^Xo6m5W{Q=Ysky7Esj-oY45WOi_+yd2$+aLNs$LND17Ac}(Lcr7mV#1RxkONQnsd>QEUIa?kr@s7UU|{^@ z>Eaktacj*~$E-sRB5mp?BgD7u(%yAKHs;l})P)a3cWG2{e-&!7?th>gvs+vwW{XHj z&V_A;GfVy@#?3g=p?UVeXVt^i_y7Df_FMC?;Kvz>>^EOen!6;zabwilu;g6^dl-e>WDmLJGs&^yJ4ueh&55');trigger.insertAfter(input);input.addClass('miniColors').data('original-maxlength',input.attr('maxlength')||null).data('original-autocomplete',input.attr('autocomplete')||null).data('letterCase','uppercase').data('trigger',trigger).data('hsb',hsb).data('change',o.change?o.change:null).attr('maxlength',7).attr('autocomplete','off').val('#'+convertCase(color,o.letterCase));if(o.readonly)input.prop('readonly',true);if(o.disabled)disable(input);trigger.bind('click.miniColors',function(event){event.preventDefault();if(input.val()==='')input.val('#');show(input)});input.bind('focus.miniColors',function(event){if(input.val()==='')input.val('#');show(input)});input.bind('blur.miniColors',function(event){var hex=expandHex(input.val());input.val(hex?'#'+convertCase(hex,input.data('letterCase')):'')});input.bind('keydown.miniColors',function(event){if(event.keyCode===9)hide(input)});input.bind('keyup.miniColors',function(event){setColorFromInput(input)});input.bind('paste.miniColors',function(event){setTimeout(function(){setColorFromInput(input)},5)})};var destroy=function(input){hide();input=$(input);input.data('trigger').remove();input.attr('autocomplete',input.data('original-autocomplete')).attr('maxlength',input.data('original-maxlength')).removeData().removeClass('miniColors').unbind('.miniColors');$(document).unbind('.miniColors')};var enable=function(input){input.prop('disabled',false).data('trigger').css('opacity',1)};var disable=function(input){hide(input);input.prop('disabled',true).data('trigger').css('opacity',0.5)};var show=function(input){if(input.prop('disabled'))return false;hide();var selector=$('
');selector.append('
').append('
').css({top:input.is(':visible')?input.offset().top+input.outerHeight():input.data('trigger').offset().top+input.data('trigger').outerHeight(),left:input.is(':visible')?input.offset().left:input.data('trigger').offset().left,display:'none'}).addClass(input.attr('class'));var hsb=input.data('hsb');selector.find('.miniColors-colors').css('backgroundColor','#'+hsb2hex({h:hsb.h,s:100,b:100}));var colorPosition=input.data('colorPosition');if(!colorPosition)colorPosition=getColorPositionFromHSB(hsb);selector.find('.miniColors-colorPicker').css('top',colorPosition.y+'px').css('left',colorPosition.x+'px');var huePosition=input.data('huePosition');if(!huePosition)huePosition=getHuePositionFromHSB(hsb);selector.find('.miniColors-huePicker').css('top',huePosition.y+'px');input.data('selector',selector).data('huePicker',selector.find('.miniColors-huePicker')).data('colorPicker',selector.find('.miniColors-colorPicker')).data('mousebutton',0);$('BODY').append(selector);selector.fadeIn(100);selector.bind('selectstart',function(){return false});$(document).bind('mousedown.miniColors touchstart.miniColors',function(event){input.data('mousebutton',1);if($(event.target).parents().andSelf().hasClass('miniColors-colors')){event.preventDefault();input.data('moving','colors');moveColor(input,event)}if($(event.target).parents().andSelf().hasClass('miniColors-hues')){event.preventDefault();input.data('moving','hues');moveHue(input,event)}if($(event.target).parents().andSelf().hasClass('miniColors-selector')){event.preventDefault();return}if($(event.target).parents().andSelf().hasClass('miniColors'))return;hide(input)});$(document).bind('mouseup.miniColors touchend.miniColors',function(event){event.preventDefault();input.data('mousebutton',0).removeData('moving')}).bind('mousemove.miniColors touchmove.miniColors',function(event){event.preventDefault();if(input.data('mousebutton')===1){if(input.data('moving')==='colors')moveColor(input,event);if(input.data('moving')==='hues')moveHue(input,event)}})};var hide=function(input){if(!input)input='.miniColors';$(input).each(function(){var selector=$(this).data('selector');$(this).removeData('selector');$(selector).fadeOut(100,function(){$(this).remove()})});$(document).unbind('.miniColors')};var moveColor=function(input,event){var colorPicker=input.data('colorPicker');colorPicker.hide();var position={x:event.pageX,y:event.pageY};if(event.originalEvent.changedTouches){position.x=event.originalEvent.changedTouches[0].pageX;position.y=event.originalEvent.changedTouches[0].pageY}position.x=position.x-input.data('selector').find('.miniColors-colors').offset().left-5;position.y=position.y-input.data('selector').find('.miniColors-colors').offset().top-5;if(position.x<=-5)position.x=-5;if(position.x>=144)position.x=144;if(position.y<=-5)position.y=-5;if(position.y>=144)position.y=144;input.data('colorPosition',position);colorPicker.css('left',position.x).css('top',position.y).show();var s=Math.round((position.x+5)*0.67);if(s<0)s=0;if(s>100)s=100;var b=100-Math.round((position.y+5)*0.67);if(b<0)b=0;if(b>100)b=100;var hsb=input.data('hsb');hsb.s=s;hsb.b=b;setColor(input,hsb,true)};var moveHue=function(input,event){var huePicker=input.data('huePicker');huePicker.hide();var position={y:event.pageY};if(event.originalEvent.changedTouches){position.y=event.originalEvent.changedTouches[0].pageY}position.y=position.y-input.data('selector').find('.miniColors-colors').offset().top-1;if(position.y<=-1)position.y=-1;if(position.y>=149)position.y=149;input.data('huePosition',position);huePicker.css('top',position.y).show();var h=Math.round((150-position.y-1)*2.4);if(h<0)h=0;if(h>360)h=360;var hsb=input.data('hsb');hsb.h=h;setColor(input,hsb,true)};var setColor=function(input,hsb,updateInput){input.data('hsb',hsb);var hex=hsb2hex(hsb);if(updateInput)input.val('#'+convertCase(hex,input.data('letterCase')));input.data('trigger').css('backgroundColor','#'+hex);if(input.data('selector'))input.data('selector').find('.miniColors-colors').css('backgroundColor','#'+hsb2hex({h:hsb.h,s:100,b:100}));if(input.data('change')){if(hex===input.data('lastChange'))return;input.data('change').call(input.get(0),'#'+hex,hsb2rgb(hsb));input.data('lastChange',hex)}};var setColorFromInput=function(input){input.val('#'+cleanHex(input.val()));var hex=expandHex(input.val());if(!hex)return false;var hsb=hex2hsb(hex);var currentHSB=input.data('hsb');if(hsb.h===currentHSB.h&&hsb.s===currentHSB.s&&hsb.b===currentHSB.b)return true;var colorPosition=getColorPositionFromHSB(hsb);var colorPicker=$(input.data('colorPicker'));colorPicker.css('top',colorPosition.y+'px').css('left',colorPosition.x+'px');input.data('colorPosition',colorPosition);var huePosition=getHuePositionFromHSB(hsb);var huePicker=$(input.data('huePicker'));huePicker.css('top',huePosition.y+'px');input.data('huePosition',huePosition);setColor(input,hsb);return true};var convertCase=function(string,letterCase){if(letterCase==='lowercase')return string.toLowerCase();if(letterCase==='uppercase')return string.toUpperCase();return string};var getColorPositionFromHSB=function(hsb){var x=Math.ceil(hsb.s/0.67);if(x<0)x=0;if(x>150)x=150;var y=150-Math.ceil(hsb.b/0.67);if(y<0)y=0;if(y>150)y=150;return{x:x-5,y:y-5}};var getHuePositionFromHSB=function(hsb){var y=150-(hsb.h/2.4);if(y<0)h=0;if(y>150)h=150;return{y:y-1}};var cleanHex=function(hex){return hex.replace(/[^A-F0-9]/ig,'')};var expandHex=function(hex){hex=cleanHex(hex);if(!hex)return null;if(hex.length===3)hex=hex[0]+hex[0]+hex[1]+hex[1]+hex[2]+hex[2];return hex.length===6?hex:null};var hsb2rgb=function(hsb){var rgb={};var h=Math.round(hsb.h);var s=Math.round(hsb.s*255/100);var v=Math.round(hsb.b*255/100);if(s===0){rgb.r=rgb.g=rgb.b=v}else{var t1=v;var t2=(255-s)*v/255;var t3=(t1-t2)*(h%60)/60;if(h===360)h=0;if(h<60){rgb.r=t1;rgb.b=t2;rgb.g=t2+t3}else if(h<120){rgb.g=t1;rgb.b=t2;rgb.r=t1-t3}else if(h<180){rgb.g=t1;rgb.r=t2;rgb.b=t2+t3}else if(h<240){rgb.b=t1;rgb.r=t2;rgb.g=t1-t3}else if(h<300){rgb.b=t1;rgb.g=t2;rgb.r=t2+t3}else if(h<360){rgb.r=t1;rgb.g=t2;rgb.b=t1-t3}else{rgb.r=0;rgb.g=0;rgb.b=0}}return{r:Math.round(rgb.r),g:Math.round(rgb.g),b:Math.round(rgb.b)}};var rgb2hex=function(rgb){var hex=[rgb.r.toString(16),rgb.g.toString(16),rgb.b.toString(16)];$.each(hex,function(nr,val){if(val.length===1)hex[nr]='0'+val});return hex.join('')};var hex2rgb=function(hex){hex=parseInt(((hex.indexOf('#')>-1)?hex.substring(1):hex),16);return{r:hex>>16,g:(hex&0x00FF00)>>8,b:(hex&0x0000FF)}};var rgb2hsb=function(rgb){var hsb={h:0,s:0,b:0};var min=Math.min(rgb.r,rgb.g,rgb.b);var max=Math.max(rgb.r,rgb.g,rgb.b);var delta=max-min;hsb.b=max;hsb.s=max!==0?255*delta/max:0;if(hsb.s!==0){if(rgb.r===max){hsb.h=(rgb.g-rgb.b)/delta}else if(rgb.g===max){hsb.h=2+(rgb.b-rgb.r)/delta}else{hsb.h=4+(rgb.r-rgb.g)/delta}}else{hsb.h=-1}hsb.h*=60;if(hsb.h<0){hsb.h+=360}hsb.s*=100/255;hsb.b*=100/255;return hsb};var hex2hsb=function(hex){var hsb=rgb2hsb(hex2rgb(hex));if(hsb.s===0)hsb.h=360;return hsb};var hsb2hex=function(hsb){return rgb2hex(hsb2rgb(hsb))};switch(o){case'readonly':$(this).each(function(){if(!$(this).hasClass('miniColors'))return;$(this).prop('readonly',data)});return $(this);case'disabled':$(this).each(function(){if(!$(this).hasClass('miniColors'))return;if(data){disable($(this))}else{enable($(this))}});return $(this);case'value':if(data===undefined){if(!$(this).hasClass('miniColors'))return;var input=$(this),hex=expandHex(input.val());return hex?'#'+convertCase(hex,input.data('letterCase')):null}$(this).each(function(){if(!$(this).hasClass('miniColors'))return;$(this).val(data);setColorFromInput($(this))});return $(this);case'destroy':$(this).each(function(){if(!$(this).hasClass('miniColors'))return;destroy($(this))});return $(this);default:if(!o)o={};$(this).each(function(){if($(this)[0].tagName.toLowerCase()!=='input')return;if($(this).data('trigger'))return;create($(this),o,data)});return $(this)}}})})(jQuery); \ No newline at end of file diff --git a/app/assets/javascripts/orbitdesktop.js b/app/assets/javascripts/orbitdesktop.js index c8db9a44..e68a448c 100755 --- a/app/assets/javascripts/orbitdesktop.js +++ b/app/assets/javascripts/orbitdesktop.js @@ -145,7 +145,7 @@ var orbitDesktop = function(dom){ } }); - $('#holder').tinyscrollbar({ axis: 'x'}); + $('.tinycanvas').tinyscrollbar({ axis: 'x'}); $("div.scrollbar").hover(function(){ $(this).removeClass('op01'); }, function(){ @@ -221,7 +221,7 @@ var orbitDesktop = function(dom){ $(".group_search").html(allApps); return false; }) - $('#holder').tinyscrollbar({ axis: 'x'}); + $('.tinycanvas').tinyscrollbar({ axis: 'x'}); } if(!o.desktopData[o.currentface]){ $(o.contentHolder).empty().load("/desktop/"+target,function(){ @@ -265,7 +265,7 @@ var orbitDesktop = function(dom){ $(this).find('span.tile').addClass('op06'); } }); - $('#holder').tinyscrollbar({ axis: 'x'}); + $('.tinycanvas').tinyscrollbar({ axis: 'x'}); var $sdm = $('.sdm'); if( !$sdm.children('.sdm_o') ){ @@ -295,7 +295,41 @@ var orbitDesktop = function(dom){ $("select#change_theme").change(function(){ o.changeTheme($(this).val()); }); - $('#panel_r').tinyscrollbar({ axis: 'y'}); + + $('.tinycanvas').each(function(){ + var h = $(this).parent().height(), + sh = $(this).siblings('.s_tab').height(); + $(this).css({'height': h-sh-24}).tinyscrollbar({ axis: 'y'}); + + }); + + // simple tab navgation + var $anchor = $('.s_tab a[href*=#]'), + $tabcontent = $('.st_c'); + + $anchor.each(function(){ + $(this).click(function(){ + var target = $(this).attr('href'); + + $anchor + .removeClass('thmc2 thmtxt admtxt') + .addClass('admtxt'); + $(this).toggleClass('thmc2 thmtxt admtxt'); + $tabcontent.hide(); + $(target).show(); + $('.tinycanvas').tinyscrollbar_update(); + + return false; + }); + }); + + // simple menu + + // miniColors + $('.color-picker').miniColors({ + + }); + } if(!o.desktopData[o.currentface]){ $(o.contentHolder).empty().load("/desktop/"+target,function(){ diff --git a/app/assets/stylesheets/desktop.css b/app/assets/stylesheets/desktop.css index 1864ab8e..70a9b4b0 100644 --- a/app/assets/stylesheets/desktop.css +++ b/app/assets/stylesheets/desktop.css @@ -5,5 +5,7 @@ *= require style *= require bootstrap *= require bootstrap-orbit + *= require jquery.miniColors *= require desktopmain + *= require desktopmedia */ \ No newline at end of file diff --git a/app/assets/stylesheets/desktopmain.css b/app/assets/stylesheets/desktopmain.css index 09a1061d..545d69cc 100644 --- a/app/assets/stylesheets/desktopmain.css +++ b/app/assets/stylesheets/desktopmain.css @@ -60,6 +60,7 @@ body { background-color: #000; } a, a:hover { text-decoration: none; } +a:focus { outline: none; } /* desktop layout */ #container { margin: 48px 0 0 156px; @@ -160,7 +161,7 @@ a, a:hover { text-decoration: none; } line-height: 30px; overflow: hidden; cursor: default; - z-index: 2; + z-index: 3; } .w1.h1 .appname { text-align: center; } .w2.h2 .appname { font-size: 21px; } @@ -243,11 +244,27 @@ a, a:hover { text-decoration: none; } .s_tab { font-size: 15px; line-height: 36px; } .stb_h {} .stb_v {} -.s_tab li { display: inline-block; } +.s_tab ul { overflow: hidden; } +.s_tab li { float: left; } .s_tab a { display: block; } .st_c { display: none; } .st_c:first-child { display: block; } +/* Setting Page */ +.theme_preview { width: 528px; height: 150px; line-height: 36px; font-size: 15px; } +.theme_plate { overflow: hidden; } +.theme_plate > div { float: left; margin-right: 12px; } +.theme_plate > div:first-child { margin-right: 48px;} +.s_title { font-size: 15px; line-height: 60px; text-align: left; } +.s_action { padding: 24px 0; overflow: hidden; } +#theme_submit { + display: block; + float: right; + font-size: 15px; + line-height: 36px; + text-align: center; +} + /* theme color opacity */ .op10 { opacity: 1; } .op09 { opacity: 0.9; } @@ -269,7 +286,7 @@ a, a:hover { text-decoration: none; } .wh2 { width: 36px; } .wh3 { width: 60px; } .w100 { width: 100%; } -.pw { width: 572px; } +.pw { width: 540px; } .h1 { height: 96px; } .h2 { height: 228px; } @@ -309,15 +326,16 @@ a, a:hover { text-decoration: none; } .clear { clear: both; } /* tiny scrollbar */ -#holder .viewport { width: auto; height: 516px; overflow: hidden; position: relative; } -#holder .overview { position: absolute; left: 0; top: 0; } -#holder .scrollbar { position: absolute; } -#holder .scrollbar.sb_h { left: 0; bottom: 0; height: 12px; } -#holder .scrollbar.sb_v { right: 0; top: 0; width: 12px; } -#holder .track { height: 100%; width: 12px; position: relative; } -#holder .thumb { height: 12px; width: 12px; cursor: pointer; overflow: hidden; position: absolute; top: 0; } -#holder .thumb .end { overflow: hidden; height: 12px; width: 12px; } -#holder .disable{ display: none; } +.tinycanvas { overflow: hidden; position: relative; height: 100%; } +.tinycanvas .viewport { width: auto; height: 100%; overflow: hidden; position: relative; } +.tinycanvas .overview { position: absolute; left: 0; top: 0; } +.tinycanvas .scrollbar { position: absolute; z-index: 9; } +.tinycanvas .scrollbar.sb_h { left: 0; bottom: 0; height: 12px; } +.tinycanvas .scrollbar.sb_v { right: 0; top: 0; width: 12px; } +.tinycanvas .track { height: 100%; width: 12px; position: relative; } +.tinycanvas .thumb { height: 12px; width: 12px; cursor: pointer; overflow: hidden; position: absolute; top: 0; } +.tinycanvas .thumb .end { overflow: hidden; height: 12px; width: 12px; } +.tinycanvas .disable{ display: none; } /* Orbit Notification */ #orbitnote { diff --git a/app/assets/stylesheets/desktopmedia.css b/app/assets/stylesheets/desktopmedia.css new file mode 100644 index 00000000..3102590b --- /dev/null +++ b/app/assets/stylesheets/desktopmedia.css @@ -0,0 +1,10 @@ +@media only screen and (min-width: 1200px){ + + #panel_r.pw { width: 800px; } + +} +@media only screen and (min-width: 1900px){ + + #panel_r.pw { width: 1560px; } + +} \ No newline at end of file diff --git a/app/assets/stylesheets/jquery.miniColors.css b/app/assets/stylesheets/jquery.miniColors.css new file mode 100755 index 00000000..bfc06d39 --- /dev/null +++ b/app/assets/stylesheets/jquery.miniColors.css @@ -0,0 +1,59 @@ +.miniColors-trigger { + height: 36px; + width: 36px; + border: solid 3px #e8e8e8; + vertical-align: middle; + margin: 0 6px 0 0; + display: inline-block; + outline: none; +} + +.miniColors-selector { + position: absolute; + width: 175px; + height: 150px; + background: #FFF; + border: solid 1px #BBB; + padding: 5px; + z-index: 999999; +} + +.miniColors-selector.black { + background: #000; + border-color: #000; +} + +.miniColors-colors { + position: absolute; + top: 5px; + left: 5px; + width: 150px; + height: 150px; + background: url(miniColors/gradient.png) center no-repeat; + cursor: crosshair; +} + +.miniColors-hues { + position: absolute; + top: 5px; + left: 160px; + width: 20px; + height: 150px; + background: url(miniColors/rainbow.png) center no-repeat; + cursor: crosshair; +} + +.miniColors-colorPicker { + position: absolute; + width: 11px; + height: 11px; + background: url(miniColors/circle.gif) center no-repeat; +} + +.miniColors-huePicker { + position: absolute; + left: -3px; + width: 26px; + height: 3px; + background: url(miniColors/line.gif) center no-repeat; +} \ No newline at end of file diff --git a/app/views/desktop/app_manager.html.erb b/app/views/desktop/app_manager.html.erb index 030b072f..fdbe9236 100755 --- a/app/views/desktop/app_manager.html.erb +++ b/app/views/desktop/app_manager.html.erb @@ -13,170 +13,172 @@
-
-
-
- - - -
-
-
+
+
+
+
+ + + +
+
+
+
diff --git a/app/views/desktop/desktop.html.erb b/app/views/desktop/desktop.html.erb index 691425c5..53d3db45 100755 --- a/app/views/desktop/desktop.html.erb +++ b/app/views/desktop/desktop.html.erb @@ -13,87 +13,89 @@
-
-
-
-
-
    -
  • - -

    MyCourseTimeTable

    -
    test content
    -
  • -
  • - - -

    名人名言

    -
  • -
  • - -

    Weather

    -
    -
    -
  • -
  • - -

    Clock

    -
    test content
    -
  • -
  • - -

    School Events

    -
    test content
    -
  • -
  • - - -

    每日英文

    -
  • -
-
-
-
    -
  • -

    Garage Band

    -
  • -

    Aperture

    -
  • -
  • -

    Aperture

    -
  • -
  • -

    Aperture

    -
  • -

    Aperture

    -
  • -

    Aperture

    -
  • -

    Garage Band

    -
  • -

    Aperture

    -
  • -

    Aperture

    -
  • -

    Aperture

    -
  • -

    Aperture

    -
  • -

    Aperture

    -
  • -

    Garage Band

    -
  • -

    Aperture

    -
  • -

    Aperture

    -
  • -

    Aperture

    -
  • -
-
-
+
+
+
+
+
+
    +
  • + +

    MyCourseTimeTable

    +
    test content
    +
  • +
  • + + +

    名人名言

    +
  • +
  • + +

    Weather

    +
    +
    +
  • +
  • + +

    Clock

    +
    test content
    +
  • +
  • + +

    School Events

    +
    test content
    +
  • +
  • + + +

    每日英文

    +
  • +
+
+
+
    +
  • +

    Garage Band

    +
  • +

    Aperture

    +
  • +
  • +

    Aperture

    +
  • +
  • +

    Aperture

    +
  • +

    Aperture

    +
  • +

    Aperture

    +
  • +

    Garage Band

    +
  • +

    Aperture

    +
  • +

    Aperture

    +
  • +

    Aperture

    +
  • +

    Aperture

    +
  • +

    Aperture

    +
  • +

    Garage Band

    +
  • +

    Aperture

    +
  • +

    Aperture

    +
  • +

    Aperture

    +
  • +
+
+
-
+
+
diff --git a/app/views/desktop/sections.html.erb b/app/views/desktop/sections.html.erb index 9762c8fa..bcb7b3c7 100644 --- a/app/views/desktop/sections.html.erb +++ b/app/views/desktop/sections.html.erb @@ -5,169 +5,171 @@
-
-
-
-
-
-
+
-
-
-
-
try
-
test
+
+
+
+
+
try
+
+
Preview
+
+
Theme Text1
+
+
+
Theme Text2
+
+
Theme Text
+
+
+
+ + + + + + + + + + + + + +
Theme ColorLine ColorText ColorBackground Color
+ + + + + + + + + + +
+
+ Confirm +
+
+
+
+
diff --git a/public/desktop_themes/default/css/default.css b/public/desktop_themes/default/css/default.css index b7859795..cfbd430d 100755 --- a/public/desktop_themes/default/css/default.css +++ b/public/desktop_themes/default/css/default.css @@ -30,7 +30,7 @@ apply to: /* Theme Text Color */ -.thmtxt { color: #fff; } +.thmtxt, .thmtxt:hover { color: #fff; } .thmtxth { color: #fff; } /* Group Seprate Color */