From eca1e3a7e194ae1bb356c38b1e483ee9288bfb3c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 7 Jan 2013 17:57:39 +0100 Subject: [PATCH] Look: Minor fix in themes --- htdocs/.gitignore | 1 + htdocs/core/class/html.formfile.class.php | 2 +- htdocs/theme/amarok/graph-color.php | 10 ++--- htdocs/theme/amarok/img/vmenu.png | Bin 914 -> 923 bytes htdocs/theme/amarok/style.css.php | 42 +++++++++------------ htdocs/theme/eldy/style.css.php | 43 +++++++++++----------- 6 files changed, 46 insertions(+), 52 deletions(-) diff --git a/htdocs/.gitignore b/htdocs/.gitignore index dfa990ed38c..8c416b1e28c 100644 --- a/htdocs/.gitignore +++ b/htdocs/.gitignore @@ -2,3 +2,4 @@ /custom* /bootstrap /multicompany +/skincoloreditor diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php index d541808ae36..15ea8b2cc2c 100644 --- a/htdocs/core/class/html.formfile.class.php +++ b/htdocs/core/class/html.formfile.class.php @@ -378,7 +378,7 @@ class FormFile $out.= ''; $out.= '
'.$titletoshow.'
'; - $out.= ''; + $out.= '
'; $out.= ''; diff --git a/htdocs/theme/amarok/graph-color.php b/htdocs/theme/amarok/graph-color.php index f0a27c30243..12662b3bdc6 100755 --- a/htdocs/theme/amarok/graph-color.php +++ b/htdocs/theme/amarok/graph-color.php @@ -22,10 +22,10 @@ * \ingroup core */ -global $theme_bordercolor, $theme_datacolor, $theme_bgcolor, $theme_bgcoloronglet; -$theme_bordercolor = array(235,235,224); -$theme_datacolor = array(array(101,191,112), array(164,206,230), array(248,128,128), array(252,245,184), array(190,190,190)); -$theme_bgcolor = array(hexdec('F4'),hexdec('F4'),hexdec('F4')); -$theme_bgcoloronglet = array(hexdec('DE'),hexdec('E7'),hexdec('EC')); +global $theme_bordercolor, $theme_datacolor, $theme_bgcolor, $theme_bgcoloronglet; +$theme_bordercolor = array(235,235,224); +$theme_datacolor = array(array(125,135,150), array(200,160,180), array(190,190,220), array(170,140,190), array(190,190,170)); +$theme_bgcolor = array(hexdec('F4'),hexdec('F4'),hexdec('F4')); +$theme_bgcoloronglet = array(hexdec('DE'),hexdec('E7'),hexdec('EC')); ?> diff --git a/htdocs/theme/amarok/img/vmenu.png b/htdocs/theme/amarok/img/vmenu.png index 386261c83ae08ac563886ac291433ebdb8b9e423..74d696bf6b227ee93b616258f5ba111fd84d3309 100755 GIT binary patch delta 900 zcmV-~1AF|E2b%|wB!2{HLqkwWLqi}?a&Km7Y-Iodc-oDV%WoT16vlsJkEfLqvB9*( zs?ZgSHbO}>eW*=@Xluu=l{Oe_niMBOswU%Wd&tdrdS{$I)CKB>9W97G;vrW20Tt?k zT~{cTs)CRz)>H^osi+%N%)*bEmOweHbHDSQ?|k=MUC4dvhJT^T2-pl_?Nm#mvAQO9 z{X~XWnV`Ug>qTL)US9%m!%*>$c=7`Vz`dEB>;D-OO&NJ$>;}5c$lCC-E~6c~l8o#l6dJz$jl zcyW1%H-h!rI|IJ)!AAG2Gvs{Tl;sLA4aV(g>s)2Tx!PH%4LQHO@1Cgx1u*^!PR##d=vtQDkTI}Bmoc6_;_@wqv?)WZ61!R7wI7pIGm?+v(TGLRIcj_zPEkj z(KFrM)RZ=o06CsgO`Rh)#>^SQMB&c0+xrrY`{u3p?oHmgMiGUgjbsyvPk|g(7NA2f!R7}m61UtHyC{|HphdZ-; z6h12i_*_DwiEvQ_TtTFFG3qv7GY^@I=A1c?Fi)DN%oAqWoHO4vmqrY$VwJ5T!g|A+ zw+>lntYUH#>!4M(=BHC7 z`|VCF4%_x|Q4B*R#bV&iP77Blq5XCzj)azx)LXJSOJj9S48G%I2LmwnY$sU!HoWya zWbY=}S`WU7VDHfcn<~I7pTVtTUQcfg|F>a$4^ivL;lXLL1i7F4{l^Dj*C+7w<9`3o zFMay`r(Z($0eq+a2B{+o*2Yf+eE1BCpW2a*SnB!3=hLqkwWLqi}?a&Km7Y-Iodcmah}-)qxQ6#m*}ov`7HI%g3H zK4_6{WK(oQoVIIMy3JbZHn$;2o2G4Cn#LsUey|7Gi*Gu`cku^4`3DTygKvA14aO8< z_^gN`O!gwPo|`mHCsPBt_q*Tu?l~vtd#()tZ$I5%3%!zLYh@BH>w}XODA7?mkV}ap}jU$$3G&Mk)3Bm`(LOM&hKscCb;PVaG&VdxT{kd6Mw!v>uJs^jnfT zR@>X;&88#6#CK6Y14u%GjvQnt;E_TMVVYyas`yM686rxg(rI*5d9paxJ1CQu?HosV z$zKk*UKaIRvbgr(`<~q;*N(gug~hj{*ir4Zf$6%k6Pg=;bz!BWZs9k%<(nIAs|yHG z{)*+XNPk{s%1?q(*L61LkW-iZbqmijlRkTFAAoxUVZoQgT}+E5E826uw%=Hgs0*9V@v z%w6I7xd^Q;awCqy7xhJaA@II4zCK^KZ-`;1+kd{(Wb30bTI;*hk-DO>dX$gbC-yy# zsuLNqvA(f>RtPJ!qGM`Gvvf}Y10`)vm-7Xa?-7Ixe2A_siI1ydSCCID3U8SVUY86> zuSnT0use_K1GZDvUFK3M8di%+LhEXsY0)spRwrpI-005Ij1*niq RSXTf5002ovPDHLkV1nDvsL22T diff --git a/htdocs/theme/amarok/style.css.php b/htdocs/theme/amarok/style.css.php index 23b030249ca..3202f868356 100755 --- a/htdocs/theme/amarok/style.css.php +++ b/htdocs/theme/amarok/style.css.php @@ -303,23 +303,6 @@ td.showDragHandle {cursor:move;} .tdlineupdown {white-space:nowrap;} -/* ============================================================================== */ -/* Styles de positionnement des zones */ -/* ============================================================================== */ - -td.vmenu { - - margin-right:2px; - padding:0px; - width:170px; - -} - -div.fiche { - padding:8px 12px 10px; -} - - /* ============================================================================== */ /* Menu top et 1ère ligne tableau */ /* ============================================================================== */ @@ -424,7 +407,6 @@ div.vmenu { display:none; width:170px; - background-color:#dde2e9; } @@ -632,8 +614,18 @@ a.tabTitle img { /* Styles de positionnement des zones */ /* ============================================================================== */ +td.vmenu { + + margin-right:2px; + padding:0px; + width:170px; + /* border-right: 1px solid #666666; */ + +} + div.fiche { - margin-: browser->phone) || empty($conf->global->MAIN_MENU_USE_JQUERY_LAYOUT))?'20':'24'; ?>px; + padding:8px 12px 10px; + margin-: browser->phone) || empty($conf->global->MAIN_MENU_USE_JQUERY_LAYOUT))?'16':'24'; ?>px; margin-: browser->phone)?'12':'6'; ?>px; } @@ -670,9 +662,9 @@ div.ficheaddleft { /* ============================================================================== */ /* boutons : */ -.button, .butAction {background: #999;border: solid 1px #666;} -.butActionRefused {background: #eaeaea; color:rgba(0,0,0,0.6)} -.butActionDelete {background: #b33c37;border:solid 1px #8d2f2b;} +.button, .butAction {background: #999; border: solid 1px #888; font-weight: normal; } +.butActionRefused {background: #eaeaea; color:rgba(0,0,0,0.6); font-weight: normal;} +.butActionDelete {background: #b33c37; border:solid 1px #8d2f2b; font-weight: normal;} .button, .butAction, .butActionRefused, .butActionDelete { padding:2px; @@ -701,9 +693,9 @@ border-left: solid 1px rgba(0,0,0,.3); ); } -.button, a.butAction{color:black;} +.button, a.butAction {color: white; font-weight: normal !important;} -.butActionDelete{color:white;} +.butAction, .butActionDelete {color:white;} td.formdocbutton {padding-top:6px;} @@ -720,6 +712,7 @@ td.formdocbutton {padding-top:6px;} color-stop(1, rgba(255,255,255,.3)), color-stop(0, rgba(0,0,0,.3)) ); + color:white; } /* ============================================================================== */ @@ -873,6 +866,7 @@ tr.liste_titre, tr.box_titre { color-stop(0, rgba(255,255,255,.3)), color-stop(1, rgba(0,0,0,.3)) ); + height: 22px; } tr.box_titre td.boxclose { diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index aa3e808366b..c0cb4ed479b 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -108,7 +108,7 @@ if (empty($conf->global->THEME_ELDY_ENABLE_PERSONALIZED)) { $conf->global->THEME_ELDY_TOPMENU_BACK1='180,196,216'; // topmenu $conf->global->THEME_ELDY_TOPMENU_BACK2='190,206,226'; - $conf->global->THEME_ELDY_VERMENU_BACK1='246,248,250'; // vmenu + $conf->global->THEME_ELDY_VERMENU_BACK1='253,253,253'; // vmenu $conf->global->THEME_ELDY_VERMENU_BACK1b='226,228,230'; // vmenu (not menu) $conf->global->THEME_ELDY_VERMENU_BACK2='220,224,227'; $conf->global->THEME_ELDY_BACKTITLE1='140,160,185'; // title of arrays @@ -397,12 +397,9 @@ div#tmenu_tooltip { ?> background: rgb(); background: rgb(); - /* background: #305582; *//* 2C68A3 */ @@ -419,7 +416,6 @@ div.tmenudiv { border-top: 0px solid #D3E5EC; border-: 0px; border-: 0px solid #555555; - border-bottom: 1px solid #FFFFFF; padding: 0px 0px 0px 0px; /* t r b l */ margin: 0px 0px 0px 0px; /* t r b l */ font-size: 13px; @@ -433,8 +429,11 @@ div.tmenudiv { /* background-image: -ms-linear-gradient(bottom, rgb() 75%, rgb() 100%);*/ /* background-image: linear-gradient(bottom, rgb() 75%, rgb() 100%); */ background: url() 50% 0% repeat-x; + border-bottom: 1px solid rgb(); + box-shadow: 0 0 6px rgba(0, 0, 0, .4) !important; - background-image: url(); + border-bottom: 1px solid #DDDDDD; + background-image: url(); background-position:top; background-repeat:repeat-x; @@ -840,11 +839,12 @@ div.blockvmenupair, div.blockvmenuimpair, div.blockvmenubookmarks margin: 1px 0px 8px 2px; - background-image: -o-linear-gradient(bottom, rgb() 85%, rgb() 100%); - background-image: -moz-linear-gradient(bottom, rgb() 85%, rgb() 100%); - background-image: -webkit-linear-gradient(bottom, rgb() 85%, rgb() 100%); - background-image: -ms-linear-gradient(bottom, rgb() 85%, rgb() 100%); - background-image: linear-gradient(bottom, rgb() 85%, rgb() 100%); + background-image: -o-linear-gradient(bottom, rgb() 80%, rgb() 100%); + background-image: -moz-linear-gradient(bottom, rgb() 90%, rgb() 100%); +/* background-image: -webkit-linear-gradient(bottom, rgb() 20px, rgb() 100%); */ + background-image: -webkit-linear-gradient(top, rgb() 0px, rgb() 10px); + background-image: -ms-linear-gradient(bottom, rgb() 90%, rgb() 100%); + background-image: linear-gradient(bottom, rgb() 90%, rgb() 100%); background-image: url(); background-position:top; @@ -858,7 +858,6 @@ div.blockvmenupair, div.blockvmenuimpair, div.blockvmenubookmarks -moz-box-shadow: 4px 4px 4px #CCC; -webkit-box-shadow: 4px 4px 4px #CCC; box-shadow: 4px 4px 4px #CCC; - } div.blockvmenusearch @@ -876,11 +875,11 @@ div.blockvmenusearch background: #E3E6E8; - background-image: -o-linear-gradient(bottom, rgb() 85%, rgb() 100%); - background-image: -moz-linear-gradient(bottom, rgb() 85%, rgb() 100%); - background-image: -webkit-linear-gradient(bottom, rgb() 85%, rgb() 100%); - background-image: -ms-linear-gradient(bottom, rgb() 85%, rgb() 100%); - background-image: linear-gradient(bottom, rgb() 85%, rgb() 100%); + background-image: -o-linear-gradient(bottom, rgb() 90%, rgb() 100%); + background-image: -moz-linear-gradient(bottom, rgb() 90%, rgb() 100%); + background-image: -webkit-linear-gradient(bottom, rgb() 90%, rgb() 100%); + background-image: -ms-linear-gradient(bottom, rgb() 90%, rgb() 100%); + background-image: linear-gradient(bottom, rgb() 90%, rgb() 100%); border-left: 1px solid #CCCCCC; @@ -910,11 +909,11 @@ div.blockvmenubookmarksold background: #E3E6E8; - background-image: -o-linear-gradient(bottom, rgb() 85%, rgb() 100%); - background-image: -moz-linear-gradient(bottom, rgb() 85%, rgb() 100%); - background-image: -webkit-linear-gradient(bottom, rgb() 85%, rgb() 100%); - background-image: -ms-linear-gradient(bottom, rgb() 85%, rgb() 100%); - background-image: linear-gradient(bottom, rgb() 85%, rgb() 100%); + background-image: -o-linear-gradient(bottom, rgb() 90%, rgb() 100%); + background-image: -moz-linear-gradient(bottom, rgb() 90%, rgb() 100%); + background-image: -webkit-linear-gradient(bottom, rgb() 90%, rgb() 100%); + background-image: -ms-linear-gradient(bottom, rgb() 90%, rgb() 100%); + background-image: linear-gradient(bottom, rgb() 90%, rgb() 100%); border-left: 1px solid #CCCCCC;