style.css.php 137 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579
  1. <?php
  2. /* Copyright (C) 2004-2015 Laurent Destailleur <eldy@users.sourceforge.net>
  3. * Copyright (C) 2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
  4. * Copyright (C) 2007-2012 Regis Houssin <regis.houssin@capnetworks.com>
  5. * Copyright (C) 2011 Philippe Grand <philippe.grand@atoo-net.com>
  6. * Copyright (C) 2012 Juanjo Menent <jmenent@2byte.es>
  7. * Copyright (C) 2015 Alexandre Spangaro <aspangaro.dolibarr@gmail.com>
  8. *
  9. * This program is free software; you can redistribute it and/or modify
  10. * it under the terms of the GNU General Public License as published by
  11. * the Free Software Foundation; either version 3 of the License, or
  12. * (at your option) any later version.
  13. *
  14. * This program is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. * GNU General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU General Public License
  20. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  21. */
  22. /**
  23. * \file htdocs/theme/md/style.css.php
  24. * \brief File for CSS style sheet Md (Material Design)
  25. */
  26. //if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); // Not disabled because need to load personalized language
  27. //if (! defined('NOREQUIREDB')) define('NOREQUIREDB','1'); // Not disabled to increase speed. Language code is found on url.
  28. if (! defined('NOREQUIRESOC')) define('NOREQUIRESOC','1');
  29. //if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1'); // Not disabled because need to do translations
  30. if (! defined('NOCSRFCHECK')) define('NOCSRFCHECK',1);
  31. if (! defined('NOTOKENRENEWAL')) define('NOTOKENRENEWAL',1);
  32. if (! defined('NOLOGIN')) define('NOLOGIN',1); // File must be accessed by logon page so without login
  33. //if (! defined('NOREQUIREMENU')) define('NOREQUIREMENU',1); // We need top menu content
  34. if (! defined('NOREQUIREHTML')) define('NOREQUIREHTML',1);
  35. if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1');
  36. session_cache_limiter(FALSE);
  37. require_once '../../main.inc.php';
  38. require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
  39. // Load user to have $user->conf loaded (not done into main because of NOLOGIN constant defined)
  40. if (empty($user->id) && ! empty($_SESSION['dol_login'])) $user->fetch('',$_SESSION['dol_login']);
  41. // Define css type
  42. header('Content-type: text/css');
  43. // Important: Following code is to avoid page request by browser and PHP CPU at each Dolibarr page access.
  44. if (empty($dolibarr_nocache)) header('Cache-Control: max-age=3600, public, must-revalidate');
  45. else header('Cache-Control: no-cache');
  46. // On the fly GZIP compression for all pages (if browser support it). Must set the bit 3 of constant to 1.
  47. if (isset($conf->global->MAIN_OPTIMIZE_SPEED) && ($conf->global->MAIN_OPTIMIZE_SPEED & 0x04)) { ob_start("ob_gzhandler"); }
  48. if (GETPOST('lang')) $langs->setDefaultLang(GETPOST('lang')); // If language was forced on URL
  49. if (GETPOST('theme')) $conf->theme=GETPOST('theme'); // If theme was forced on URL
  50. $langs->load("main",0,1);
  51. $right=($langs->trans("DIRECTION")=='rtl'?'left':'right');
  52. $left=($langs->trans("DIRECTION")=='rtl'?'right':'left');
  53. $path=''; // This value may be used in future for external module to overwrite theme
  54. $theme='md'; // Value of theme
  55. if (! empty($conf->global->MAIN_OVERWRITE_THEME_RES)) { $path='/'.$conf->global->MAIN_OVERWRITE_THEME_RES; $theme=$conf->global->MAIN_OVERWRITE_THEME_RES; }
  56. // Define image path files and other constants
  57. $fontlist='roboto,arial,tahoma,verdana,helvetica'; //$fontlist='verdana,helvetica,arial,sans-serif';
  58. $img_head='';
  59. $img_button=dol_buildpath($path.'/theme/'.$theme.'/img/button_bg.png',1);
  60. $dol_hide_topmenu=$conf->dol_hide_topmenu;
  61. $dol_hide_leftmenu=$conf->dol_hide_leftmenu;
  62. $dol_optimize_smallscreen=$conf->dol_optimize_smallscreen;
  63. $dol_no_mouse_hover=$conf->dol_no_mouse_hover;
  64. //$conf->global->THEME_ELDY_ENABLE_PERSONALIZED=0;
  65. //$user->conf->THEME_ELDY_ENABLE_PERSONALIZED=0;
  66. //var_dump($user->conf->THEME_ELDY_RGB);
  67. // Colors
  68. $colorbackhmenu1='90,50,120'; // topmenu
  69. $colorbackvmenu1='255,255,255'; // vmenu
  70. $colortopbordertitle1=''; // top border of tables-lists title. not defined = default to colorbackhmenu1
  71. $colorbacktitle1='230,230,230'; // title of tables-lists
  72. $colorbacktabcard1='255,255,255'; // card
  73. $colorbacktabactive='234,234,234';
  74. $colorbacklineimpair1='255,255,255'; // line impair
  75. $colorbacklineimpair2='255,255,255'; // line impair
  76. $colorbacklinepair1='250,250,250'; // line pair
  77. $colorbacklinepair2='248,248,248'; // line pair
  78. $colorbacklinepairhover='244,244,244'; // line pair
  79. $colorbackbody='248,248,248';
  80. $colortexttitlenotab='90,90,90';
  81. $colortexttitle='20,20,20';
  82. $colortext='0,0,0';
  83. $colortextlink='0,0,120';
  84. $fontsize='13';
  85. $fontsizesmaller='11';
  86. $usegradient=0;
  87. $useboldtitle=(isset($conf->global->THEME_ELDY_USEBOLDTITLE)?$conf->global->THEME_ELDY_USEBOLDTITLE:1);
  88. $borderwith=2;
  89. // Case of option always editable
  90. if (! isset($conf->global->THEME_ELDY_BACKBODY)) $conf->global->THEME_ELDY_BACKBODY=$colorbackbody;
  91. if (! isset($conf->global->THEME_ELDY_TOPMENU_BACK1)) $conf->global->THEME_ELDY_TOPMENU_BACK1='90,50,120';
  92. if (! isset($conf->global->THEME_ELDY_BACKTITLE1)) $conf->global->THEME_ELDY_BACKTITLE1=$colorbacktitle1;
  93. if (! isset($conf->global->THEME_ELDY_USE_HOVER)) $conf->global->THEME_ELDY_USE_HOVER=='238,246,252';
  94. if (! isset($conf->global->THEME_ELDY_TEXTTITLENOTAB)) $conf->global->THEME_ELDY_TEXTTITLENOTAB=$colortexttitlenotab;
  95. if (! isset($conf->global->THEME_ELDY_TEXTLINK)) $conf->global->THEME_ELDY_TEXTLINK=$colortextlink;
  96. // Case of option editable only if option THEME_ELDY_ENABLE_PERSONALIZED is on
  97. if (empty($conf->global->THEME_ELDY_ENABLE_PERSONALIZED))
  98. {
  99. // 90A4AE, 607D8B, 455A64, 37474F
  100. $conf->global->THEME_ELDY_VERMENU_BACK1='255,255,255'; // vmenu
  101. $conf->global->THEME_ELDY_BACKTABCARD1='255,255,255'; // card
  102. $conf->global->THEME_ELDY_BACKTABACTIVE='234,234,234';
  103. $conf->global->THEME_ELDY_LINEIMPAIR1='255,255,255';
  104. $conf->global->THEME_ELDY_LINEIMPAIR2='255,255,255';
  105. $conf->global->THEME_ELDY_LINEPAIR1='250,250,250';
  106. $conf->global->THEME_ELDY_LINEPAIR2='248,248,248';
  107. $conf->global->THEME_ELDY_LINEPAIRHOVER='238,246,252';
  108. $conf->global->THEME_ELDY_USE_HOVER='238,246,252';
  109. $conf->global->THEME_ELDY_TEXT='0,0,0';
  110. $conf->global->THEME_ELDY_FONT_SIZE1='13';
  111. $conf->global->THEME_ELDY_FONT_SIZE2='11';
  112. }
  113. // Case of option availables only if THEME_ELDY_ENABLE_PERSONALIZED is on
  114. $colorbackhmenu1 =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_TOPMENU_BACK1)?$colorbackhmenu1:$conf->global->THEME_ELDY_TOPMENU_BACK1) :(empty($user->conf->THEME_ELDY_TOPMENU_BACK1)?$colorbackhmenu1:$user->conf->THEME_ELDY_TOPMENU_BACK1);
  115. $colorbackvmenu1 =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_VERMENU_BACK1)?$colorbackvmenu1:$conf->global->THEME_ELDY_VERMENU_BACK1) :(empty($user->conf->THEME_ELDY_VERMENU_BACK1)?$colorbackvmenu1:$user->conf->THEME_ELDY_VERMENU_BACK1);
  116. $colortopbordertitle1=empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_TOPBORDER_TITLE1)?$colortopbordertitle1:$conf->global->THEME_ELDY_TOPBORDER_TITLE1) :(empty($user->conf->THEME_ELDY_TOPBORDER_TITLE1)?$colortopbordertitle1:$user->conf->THEME_ELDY_TOPBORDER_TITLE1);
  117. $colorbacktitle1 =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_BACKTITLE1) ?$colorbacktitle1:$conf->global->THEME_ELDY_BACKTITLE1) :(empty($user->conf->THEME_ELDY_BACKTITLE1)?$colorbacktitle1:$user->conf->THEME_ELDY_BACKTITLE1);
  118. $colorbacktabcard1 =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_BACKTABCARD1) ?$colorbacktabcard1:$conf->global->THEME_ELDY_BACKTABCARD1) :(empty($user->conf->THEME_ELDY_BACKTABCARD1)?$colorbacktabcard1:$user->conf->THEME_ELDY_BACKTABCARD1);
  119. $colorbacktabactive =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_BACKTABACTIVE)?$colorbacktabactive:$conf->global->THEME_ELDY_BACKTABACTIVE):(empty($user->conf->THEME_ELDY_BACKTABACTIVE)?$colorbacktabactive:$user->conf->THEME_ELDY_BACKTABACTIVE);
  120. $colorbacklineimpair1=empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_LINEIMPAIR1) ?$colorbacklineimpair1:$conf->global->THEME_ELDY_LINEIMPAIR1):(empty($user->conf->THEME_ELDY_LINEIMPAIR1)?$colorbacklineimpair1:$user->conf->THEME_ELDY_LINEIMPAIR1);
  121. $colorbacklineimpair2=empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_LINEIMPAIR2) ?$colorbacklineimpair2:$conf->global->THEME_ELDY_LINEIMPAIR2):(empty($user->conf->THEME_ELDY_LINEIMPAIR2)?$colorbacklineimpair2:$user->conf->THEME_ELDY_LINEIMPAIR2);
  122. $colorbacklinepair1 =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_LINEPAIR1) ?$colorbacklinepair1:$conf->global->THEME_ELDY_LINEPAIR1) :(empty($user->conf->THEME_ELDY_LINEPAIR1)?$colorbacklinepair1:$user->conf->THEME_ELDY_LINEPAIR1);
  123. $colorbacklinepair2 =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_LINEPAIR2) ?$colorbacklinepair2:$conf->global->THEME_ELDY_LINEPAIR2) :(empty($user->conf->THEME_ELDY_LINEPAIR2)?$colorbacklinepair2:$user->conf->THEME_ELDY_LINEPAIR2);
  124. $colorbacklinepairhover =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_LINEPAIRHOVER) ?$colorbacklinepairhover:$conf->global->THEME_ELDY_LINEPAIRHOVER) :(empty($user->conf->THEME_ELDY_LINEPAIRHOVER)?$colorbacklinepairhover:$user->conf->THEME_ELDY_LINEPAIRHOVER);
  125. $colorbackbody =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_BACKBODY) ?$colorbackbody:$conf->global->THEME_ELDY_BACKBODY) :(empty($user->conf->THEME_ELDY_BACKBODY)?$colorbackbody:$user->conf->THEME_ELDY_BACKBODY);
  126. $colortexttitlenotab =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_TEXTTITLENOTAB)?$colortexttitlenotab:$conf->global->THEME_ELDY_TEXTTITLENOTAB) :(empty($user->conf->THEME_ELDY_TEXTTITLENOTAB)?$colortexttitlenotab:$user->conf->THEME_ELDY_TEXTTITLENOTAB);
  127. $colortexttitle =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_TEXTTITLE) ?$colortext:$conf->global->THEME_ELDY_TEXTTITLE) :(empty($user->conf->THEME_ELDY_TEXTTITLE)?$colortexttitle:$user->conf->THEME_ELDY_TEXTTITLE);
  128. $colortext =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_TEXT) ?$colortext:$conf->global->THEME_ELDY_TEXT) :(empty($user->conf->THEME_ELDY_TEXT)?$colortext:$user->conf->THEME_ELDY_TEXT);
  129. $colortextlink =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_TEXTLINK) ?$colortext:$conf->global->THEME_ELDY_TEXTLINK) :(empty($user->conf->THEME_ELDY_TEXTLINK)?$colortextlink:$user->conf->THEME_ELDY_TEXTLINK);
  130. $fontsize =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_FONT_SIZE1) ?$fontsize:$conf->global->THEME_ELDY_FONT_SIZE1) :(empty($user->conf->THEME_ELDY_FONT_SIZE1)?$fontsize:$user->conf->THEME_ELDY_FONT_SIZE1);
  131. $fontsizesmaller =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_FONT_SIZE2) ?$fontsize:$conf->global->THEME_ELDY_FONT_SIZE2) :(empty($user->conf->THEME_ELDY_FONT_SIZE2)?$fontsize:$user->conf->THEME_ELDY_FONT_SIZE2);
  132. // Hover color
  133. $colorbacklinepairhover=((! isset($conf->global->THEME_ELDY_USE_HOVER) || (string) $conf->global->THEME_ELDY_USE_HOVER === '0')?'':($conf->global->THEME_ELDY_USE_HOVER === '1'?'edf4fb':$conf->global->THEME_ELDY_USE_HOVER));
  134. if (! empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED))
  135. {
  136. $colorbacklinepairhover=((! isset($user->conf->THEME_ELDY_USE_HOVER) || $user->conf->THEME_ELDY_USE_HOVER === '0')?'':($user->conf->THEME_ELDY_USE_HOVER === '1'?'edf4fb':$user->conf->THEME_ELDY_USE_HOVER));
  137. }
  138. if (empty($colortopbordertitle1)) $colortopbordertitle1=$colorbackhmenu1;
  139. // Set text color to black or white
  140. $tmppart=explode(',',$colorbackhmenu1);
  141. $tmpval=(! empty($tmppart[1]) ? $tmppart[1] : '')+(! empty($tmppart[2]) ? $tmppart[2] : '')+(! empty($tmppart[3]) ? $tmppart[3] : '');
  142. if ($tmpval <= 360) $colortextbackhmenu='FFFFFF';
  143. else $colortextbackhmenu='000000';
  144. $tmppart=explode(',',$colorbackvmenu1);
  145. $tmpval=(! empty($tmppart[1]) ? $tmppart[1] : '')+(! empty($tmppart[2]) ? $tmppart[2] : '')+(! empty($tmppart[3]) ? $tmppart[3] : '');
  146. if ($tmpval <= 360) { $colortextbackvmenu='FFFFFF'; }
  147. else { $colortextbackvmenu='000000'; }
  148. $tmppart=explode(',',$colorbacktitle1);
  149. if ($colortexttitle == '')
  150. {
  151. $tmpval=(! empty($tmppart[1]) ? $tmppart[1] : '')+(! empty($tmppart[2]) ? $tmppart[2] : '')+(! empty($tmppart[3]) ? $tmppart[3] : '');
  152. if ($tmpval <= 260) { $colortexttitle='FFFFFF'; $colorshadowtitle='888888'; }
  153. else { $colortexttitle='101010'; $colorshadowtitle='FFFFFF'; }
  154. }
  155. $tmppart=explode(',',$colorbacktabcard1);
  156. $tmpval=(! empty($tmppart[1]) ? $tmppart[1] : '')+(! empty($tmppart[2]) ? $tmppart[2] : '')+(! empty($tmppart[3]) ? $tmppart[3] : '');
  157. if ($tmpval <= 340) { $colortextbacktab='FFFFFF'; }
  158. else { $colortextbacktab='111111'; }
  159. // Format color value to match expected format (may be 'FFFFFF' or '255,255,255')
  160. $colorbackhmenu1=join(',',colorStringToArray($colorbackhmenu1));
  161. $colorbackvmenu1=join(',',colorStringToArray($colorbackvmenu1));
  162. $colorbacktitle1=join(',',colorStringToArray($colorbacktitle1));
  163. $colorbacktabcard1=join(',',colorStringToArray($colorbacktabcard1));
  164. $colorbacktabactive=join(',',colorStringToArray($colorbacktabactive));
  165. $colorbacklineimpair1=join(',',colorStringToArray($colorbacklineimpair1));
  166. $colorbacklineimpair2=join(',',colorStringToArray($colorbacklineimpair2));
  167. $colorbacklinepair1=join(',',colorStringToArray($colorbacklinepair1));
  168. $colorbacklinepair2=join(',',colorStringToArray($colorbacklinepair2));
  169. if ($colorbacklinepairhover != '') $colorbacklinepairhover=join(',',colorStringToArray($colorbacklinepairhover));
  170. $colorbackbody=join(',',colorStringToArray($colorbackbody));
  171. $colortexttitlenotab=join(',',colorStringToArray($colortexttitlenotab));
  172. $colortexttitle=join(',',colorStringToArray($colortexttitle));
  173. $colortext=join(',',colorStringToArray($colortext));
  174. $colortextlink=join(',',colorStringToArray($colortextlink));
  175. $nbtopmenuentries=$menumanager->showmenu('topnb');
  176. print '/*'."\n";
  177. print 'colorbackbody='.$colorbackbody."\n";
  178. print 'colorbackvmenu1='.$colorbackvmenu1."\n";
  179. print 'colorbackhmenu1='.$colorbackhmenu1."\n";
  180. print 'colorbacktitle1='.$colorbacktitle1."\n";
  181. print 'colorbacklineimpair1='.$colorbacklineimpair1."\n";
  182. print 'colorbacklineimpair2='.$colorbacklineimpair2."\n";
  183. print 'colorbacklinepair1='.$colorbacklinepair1."\n";
  184. print 'colorbacklinepair2='.$colorbacklinepair2."\n";
  185. print 'colorbacklinepairhover='.$colorbacklinepairhover."\n";
  186. print '$colortexttitlenotab='.$colortexttitlenotab."\n";
  187. print '$colortexttitle='.$colortexttitle."\n";
  188. print '$colortext='.$colortext."\n";
  189. print '$colortextlink='.$colortextlink."\n";
  190. print '$colortextbackhmenu='.$colortextbackhmenu."\n";
  191. print '$colortextbackvmenu='.$colortextbackvmenu."\n";
  192. print 'dol_hide_topmenu='.$dol_hide_topmenu."\n";
  193. print 'dol_hide_leftmenu='.$dol_hide_leftmenu."\n";
  194. print 'dol_optimize_smallscreen='.$dol_optimize_smallscreen."\n";
  195. print 'dol_no_mouse_hover='.$dol_no_mouse_hover."\n";
  196. print 'dol_screenwidth='.$_SESSION['dol_screenwidth']."\n";
  197. print 'dol_screenheight='.$_SESSION['dol_screenheight']."\n";
  198. print 'fontsize='.$fontsize."\n";
  199. print 'nbtopmenuentries='.$nbtopmenuentries."\n";
  200. print '*/'."\n";
  201. ?>
  202. /* ============================================================================== */
  203. /* Default styles */
  204. /* ============================================================================== */
  205. body {
  206. <?php if (GETPOST("optioncss") == 'print') { ?>
  207. background-color: #FFFFFF;
  208. <?php } else { ?>
  209. background: rgb(<?php print $colorbackbody; ?>);
  210. <?php } ?>
  211. color: rgb(<?php echo $colortext; ?>);
  212. font-size: <?php print $fontsize ?>px;
  213. font-family: <?php print $fontlist ?>;
  214. margin-top: 0;
  215. margin-bottom: 0;
  216. margin-right: 0;
  217. margin-left: 0;
  218. <?php print 'direction: '.$langs->trans("DIRECTION").";\n"; ?>
  219. }
  220. th a, .thumbstat, a.tab { color: rgb(<?php print $colortexttitle; ?>) !important; font-weight: bold !important; }
  221. a.tab { font-weight: bold !important; }
  222. a:link, a:visited, a:hover, a:active { font-family: <?php print $fontlist ?>; font-weight: normal; color: rgb(<?php print $colortextlink; ?>); text-decoration: none; }
  223. a:hover { text-decoration: underline; color: rgb(<?php print $colortextlink; ?>); }
  224. input, input.flat, textarea, textarea.flat, form.flat select, select, select.flat, .dataTables_length label select {
  225. background-color: #FDFDFD;
  226. }
  227. input:focus, textarea:focus, button:focus, select:focus {
  228. box-shadow: 0 0 4px #8091BF;
  229. }
  230. textarea.cke_source:focus
  231. {
  232. box-shadow: none;
  233. }
  234. input, input.flat, textarea, textarea.flat, form.flat select, select, select.flat, .dataTables_length label select {
  235. font-size: <?php print $fontsize ?>px;
  236. font-family: <?php print $fontlist ?>;
  237. border: 1px solid #C0C0C0;
  238. margin: 0px 0px 0px 0px;
  239. }
  240. input, textarea, select {
  241. border-radius:2px;
  242. border:solid 1px rgba(0,0,0,.3);
  243. border-top:solid 1px rgba(0,0,0,.3);
  244. border-bottom:solid 1px rgba(0,0,0,.2);
  245. background-color: #FFF;
  246. /* box-shadow: 1px 1px 1px rgba(0,0,0,.2) inset;*/
  247. padding:4px;
  248. margin-left:1px;
  249. margin-bottom:1px;
  250. margin-top:1px;
  251. }
  252. input.removedassigned {
  253. padding: 2px !important;
  254. vertical-align: text-bottom;
  255. margin-bottom: -3px;
  256. }
  257. input.smallpadd { /* Used for timesheet input */
  258. padding-left: 1px !important;
  259. padding-right: 1px !important;
  260. }
  261. input.buttongen {
  262. vertical-align: middle;
  263. }
  264. span.timesheetalreadyrecorded input {
  265. /*font-size: smaller;*/
  266. border: none;
  267. /*background: transparent;*/
  268. }
  269. select.flat, form.flat select {
  270. font-weight: normal;
  271. }
  272. .optiongrey, .opacitymedium {
  273. opacity: 0.5;
  274. }
  275. .opacityhigh {
  276. opacity: 0.2;
  277. }
  278. .opacitytransp {
  279. opacity: 0;
  280. }
  281. select:invalid { color: gray; }
  282. input:disabled {
  283. background:#f4f4f4;
  284. }
  285. input.liste_titre {
  286. box-shadow: none !important;
  287. }
  288. .listactionlargetitle .liste_titre {
  289. line-height: 24px;
  290. }
  291. input.removedfile {
  292. padding: 0px !important;
  293. border: 0px !important;
  294. vertical-align: text-bottom;
  295. }
  296. textarea:disabled {
  297. background:#f4f4f4;
  298. }
  299. input[type=file ] { background-color: transparent; border-top: none; border-left: none; border-right: none; box-shadow: none; }
  300. input[type=checkbox] { background-color: transparent; border: none; box-shadow: none; }
  301. input[type=radio] { background-color: transparent; border: none; box-shadow: none; }
  302. input[type=image] { background-color: transparent; border: none; box-shadow: none; }
  303. input[type=text] { min-width: 20px; }
  304. input:-webkit-autofill {
  305. background-color: #FBFFEA !important;
  306. background-image:none !important;
  307. -webkit-box-shadow: 0 0 0 50px #FBFFEA inset;
  308. }
  309. ::-webkit-input-placeholder { color:#ccc; }
  310. :-moz-placeholder { color:#bbb; } /* firefox 18- */
  311. ::-moz-placeholder { color:#bbb; } /* firefox 19+ */
  312. :-ms-input-placeholder { color:#ccc; } /* ie */
  313. input:-moz-placeholder { color:#ccc; }
  314. fieldset { border: 1px solid #AAAAAA !important; }
  315. .button, sbmtConnexion {
  316. font-family: <?php print $fontlist ?>;
  317. border-color: #c5c5c5;
  318. border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
  319. display: inline-block;
  320. padding: 4px 14px;
  321. margin-bottom: 0;
  322. margin-top: 0;
  323. text-align: center;
  324. cursor: pointer;
  325. color: #333333;
  326. text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  327. background-color: #f5f5f5;
  328. background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  329. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  330. background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  331. background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  332. background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  333. background-repeat: repeat-x;
  334. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
  335. border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  336. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  337. filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  338. border: 1px solid #bbbbbb;
  339. border-bottom-color: #a2a2a2;
  340. -webkit-border-radius: 2px;
  341. -moz-border-radius: 2px;
  342. border-radius: 2px;
  343. -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  344. -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  345. box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  346. }
  347. .button:focus {
  348. -moz-box-shadow: 0px 0px 6px 1px rgba(0, 0, 60, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
  349. -webkit-box-shadow: 0px 0px 6px 1px rgba(0, 0, 60, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
  350. box-shadow: 0px 0px 6px 1px rgba(0, 0, 60, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
  351. }
  352. .button:hover {
  353. -moz-box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
  354. -webkit-box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
  355. box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
  356. }
  357. .button:disabled {
  358. opacity: 0.4;
  359. filter: alpha(opacity=40); /* For IE8 and earlier */
  360. box-shadow: none;
  361. -webkit-box-shadow: none;
  362. -moz-box-shadow: none;
  363. cursor: auto;
  364. }
  365. .buttonRefused {
  366. pointer-events: none;
  367. cursor: default;
  368. opacity: 0.4;
  369. filter: alpha(opacity=40); /* For IE8 and earlier */
  370. box-shadow: none;
  371. -webkit-box-shadow: none;
  372. -moz-box-shadow: none;
  373. }
  374. form {
  375. padding:0px;
  376. margin:0px;
  377. }
  378. div.float
  379. {
  380. float:<?php print $left; ?>;
  381. }
  382. div.floatright
  383. {
  384. float:<?php print $right; ?>;
  385. }
  386. .inline-block
  387. {
  388. display:inline-block;
  389. }
  390. th .button {
  391. -moz-box-shadow: none !important;
  392. -webkit-box-shadow: none !important;
  393. box-shadow: none !important;
  394. -moz-border-radius:0px !important;
  395. -webkit-border-radius:0px !important;
  396. border-radius:0px !important;
  397. }
  398. .maxwidthsearch { /* Max width of column with the search picto */
  399. width: 54px;
  400. }
  401. .valigntop {
  402. vertical-align: top;
  403. }
  404. .valignmiddle {
  405. vertical-align: middle;
  406. }
  407. .valignbottom {
  408. vertical-align: bottom;
  409. }
  410. .centpercent {
  411. width: 100%;
  412. }
  413. .quatrevingtpercent, .inputsearch {
  414. width: 80%;
  415. }
  416. .soixantepercent {
  417. width: 60%;
  418. }
  419. textarea.centpercent {
  420. width: 96%;
  421. }
  422. .center {
  423. text-align: center;
  424. margin: 0px auto;
  425. }
  426. .left {
  427. text-align: <?php print $left; ?>;
  428. }
  429. .right {
  430. text-align: <?php print $right; ?>;
  431. }
  432. .nowrap {
  433. white-space: <?php print ($dol_optimize_smallscreen?'normal':'nowrap'); ?>;
  434. }
  435. .nobold {
  436. font-weight: normal !important;
  437. }
  438. .nounderline {
  439. text-decoration: none;
  440. }
  441. .cursorpointer {
  442. cursor: pointer;
  443. }
  444. .badge {
  445. display: inline-block;
  446. min-width: 10px;
  447. padding: 2px 5px;
  448. font-size: 10px;
  449. font-weight: 700;
  450. line-height: 0.9em;
  451. color: #fff;
  452. text-align: center;
  453. white-space: nowrap;
  454. vertical-align: baseline;
  455. background-color: #777;
  456. border-radius: 10px;
  457. }
  458. .movable {
  459. cursor: move;
  460. }
  461. .borderrightlight
  462. {
  463. border-right: 1px solid #f4f4f4;
  464. }
  465. #formuserfile {
  466. margin-top: 4px;
  467. }
  468. #formuserfile_link {
  469. margin-left: 1px;
  470. }
  471. .listofinvoicetype {
  472. height: 28px;
  473. vertical-align: middle;
  474. }
  475. div.divsearchfield {
  476. float: <?php print $left; ?>;
  477. margin-<?php print $right; ?>: 12px;
  478. margin-<?php print $left; ?>: 2px;
  479. margin-top: 4px;
  480. margin-bottom: 4px;
  481. padding-left: 2px;
  482. }
  483. div.confirmmessage {
  484. padding-top: 6px;
  485. }
  486. div.myavailability {
  487. padding-top: 6px;
  488. }
  489. .googlerefreshcal {
  490. padding-top: 4px;
  491. padding-bottom: 4px;
  492. }
  493. .checkallactions {
  494. vertical-align: top;
  495. margin-top: 6px;
  496. margin-left: 4px;
  497. }
  498. .selectlimit, .marginrightonly {
  499. margin-right: 10px !important;
  500. }
  501. .strikefordisabled {
  502. text-decoration: line-through;
  503. }
  504. .tdoverflow {
  505. max-width: 0;
  506. overflow: hidden;
  507. text-overflow: ellipsis;
  508. white-space: nowrap;
  509. }
  510. .tdoverflowmax100 {
  511. max-width: 100px;
  512. overflow: hidden;
  513. text-overflow: ellipsis;
  514. white-space: nowrap;
  515. }
  516. .tdoverflowmax300 {
  517. max-width: 300px;
  518. overflow: hidden;
  519. text-overflow: ellipsis;
  520. white-space: nowrap;
  521. }
  522. .tdoverflowauto {
  523. max-width: 0;
  524. overflow: auto;
  525. }
  526. .tablelistofcalendars {
  527. margin-top: 25px !important;
  528. }
  529. .amountalreadypaid {
  530. }
  531. .amountpaymentcomplete {
  532. color: #008800;
  533. font-weight: bold;
  534. }
  535. .amountremaintopay {
  536. color: #880000;
  537. font-weight: bold;
  538. }
  539. .savingdocmask {
  540. margin-top: 6px;
  541. margin-bottom: 12px;
  542. }
  543. /* DOL_XXX for future usage (when left menu has been removed). If we do not use datatable */
  544. .table-responsive {
  545. width: calc(100% - 330px);
  546. margin-bottom: 15px;
  547. overflow-y: hidden;
  548. -ms-overflow-style: -ms-autohiding-scrollbar;
  549. }
  550. /* ============================================================================== */
  551. /* Styles to hide objects */
  552. /* ============================================================================== */
  553. .clearboth { clear:both; }
  554. .hideobject { display: none; }
  555. .minwidth50 { min-width: 50px; }
  556. /* rule to reduce top menu - 3rd reduction */
  557. @media only screen and (min-width: <?php echo round($nbtopmenuentries * $fontsize * 3.4, 0) + 7; ?>px)
  558. {
  559. .minwidth100 { min-width: 100px; }
  560. .minwidth200 { min-width: 200px; }
  561. .minwidth300 { min-width: 300px; }
  562. .minwidth400 { min-width: 400px; }
  563. .minwidth500 { min-width: 500px; }
  564. .minwidth50imp { min-width: 50px !important; }
  565. .minwidth100imp { min-width: 100px !important; }
  566. .minwidth200imp { min-width: 200px !important; }
  567. .minwidth300imp { min-width: 300px !important; }
  568. .minwidth400imp { min-width: 400px !important; }
  569. .minwidth500imp { min-width: 500px !important; }
  570. }
  571. .maxwidth50 { max-width: 50px; }
  572. .maxwidth75 { max-width: 75px; }
  573. .maxwidth100 { max-width: 100px; }
  574. .maxwidth150 { max-width: 150px; }
  575. .maxwidth200 { max-width: 200px; }
  576. .maxwidth300 { max-width: 300px; }
  577. .maxwidth400 { max-width: 400px; }
  578. .maxwidth500 { max-width: 500px; }
  579. .maxwidth50imp { max-width: 50px !important; }
  580. .minheight20 { min-height: 20px; }
  581. .minheight40 { min-height: 40px; }
  582. .titlefieldcreate { width: 20%; }
  583. .titlefield { width: 25%; }
  584. .titlefieldmiddle { width: 50%; }
  585. /* Force values for small screen 1400 */
  586. @media only screen and (max-width: 1400px)
  587. {
  588. .titlefield { width: 30% !important; }
  589. .titlefieldcreate { width: 30% !important; }
  590. .minwidth50imp { min-width: 50px !important; }
  591. .minwidth100imp { min-width: 100px !important; }
  592. .minwidth200imp { min-width: 200px !important; }
  593. .minwidth300imp { min-width: 300px !important; }
  594. .minwidth400imp { min-width: 300px !important; }
  595. .minwidth500imp { min-width: 300px !important; }
  596. }
  597. /* Force values for small screen 1000 */
  598. @media only screen and (max-width: 1000px)
  599. {
  600. .maxwidthonsmartphone { max-width: 100px; }
  601. .minwidth50imp { min-width: 50px !important; }
  602. .minwidth100imp { min-width: 50px !important; }
  603. .minwidth200imp { min-width: 100px !important; }
  604. .minwidth300imp { min-width: 100px !important; }
  605. .minwidth400imp { min-width: 100px !important; }
  606. .minwidth500imp { min-width: 100px !important; }
  607. }
  608. /* Force values for small screen 570 */
  609. @media only screen and (max-width: 570px)
  610. {
  611. .tdoverflowonsmartphone {
  612. max-width: 0;
  613. overflow: hidden;
  614. text-overflow: ellipsis;
  615. white-space: nowrap;
  616. }
  617. div.titre {
  618. line-height: 2em;
  619. }
  620. .border tbody tr, .border tbody tr td, div.tabBar table.border tr {
  621. height: 40px !important;
  622. }
  623. .quatrevingtpercent, .inputsearch {
  624. width: 95%;
  625. }
  626. input, input[type=text], input[type=password], select, textarea {
  627. min-width: 20px;
  628. min-height: 1.4em;
  629. line-height: 1.4em;
  630. padding: .4em .1em;
  631. border: 1px solid #BBB;
  632. /* max-width: inherit; why this */
  633. }
  634. .hideonsmartphone { display: none; }
  635. .noenlargeonsmartphone { width : 50px !important; display: inline !important; }
  636. .maxwidthonsmartphone { max-width: 100px; }
  637. .maxwidth50onsmartphone { max-width: 40px; }
  638. .maxwidth75onsmartphone { max-width: 50px; }
  639. .maxwidth100onsmartphone { max-width: 70px; }
  640. .maxwidth150onsmartphone { max-width: 120px; }
  641. .maxwidth200onsmartphone { max-width: 200px; }
  642. .maxwidth300onsmartphone { max-width: 300px; }
  643. .maxwidth400onsmartphone { max-width: 400px; }
  644. .minwidth50imp { min-width: 50px !important; }
  645. .minwidth100imp { min-width: 50px !important; }
  646. .minwidth200imp { min-width: 50px !important; }
  647. .minwidth300imp { min-width: 50px !important; }
  648. .minwidth400imp { min-width: 50px !important; }
  649. .minwidth500imp { min-width: 50px !important; }
  650. .titlefield { width: auto; }
  651. .titlefieldcreate { width: auto; }
  652. #tooltip {
  653. position: absolute;
  654. width: <?php print dol_size(300,'width'); ?>px;
  655. }
  656. /* intput, input[type=text], */
  657. select {
  658. width: 98%;
  659. min-width: 40px;
  660. }
  661. div.divphotoref {
  662. padding-right: 5px;
  663. }
  664. img.photoref, div.photoref {
  665. border: none;
  666. -moz-box-shadow: none;
  667. -webkit-box-shadow: none;
  668. box-shadow: none;
  669. padding: 4px;
  670. height: 20px;
  671. width: 20px;
  672. object-fit: contain;
  673. }
  674. }
  675. .linkobject { cursor: pointer; }
  676. <?php if (GETPOST("optioncss") == 'print') { ?>
  677. .hideonprint { display: none; }
  678. <?php } ?>
  679. /* ============================================================================== */
  680. /* Styles for dragging lines */
  681. /* ============================================================================== */
  682. .dragClass {
  683. color: #002255;
  684. }
  685. td.showDragHandle {
  686. cursor: move;
  687. }
  688. .tdlineupdown {
  689. white-space: nowrap;
  690. min-width: 10px;
  691. }
  692. /* ============================================================================== */
  693. /* Styles de positionnement des zones */
  694. /* ============================================================================== */
  695. #id-container {
  696. margin-top: 0px;
  697. margin-bottom: 0px;
  698. display: table;
  699. table-layout: fixed;
  700. width: 100%;
  701. }
  702. #id-right, #id-left {
  703. display: table-cell;
  704. float: none;
  705. vertical-align: top;
  706. }
  707. #id-top {
  708. }
  709. #id-left {
  710. min-height: 100%;
  711. position: relative;
  712. width: 213px;
  713. }
  714. #id-right { /* This must stay id-right and not be replaced with echo $right */
  715. width: 100%;
  716. padding-bottom: 10px;
  717. <?php if (GETPOST("optioncss") != 'print') { ?>
  718. padding-left: 229px;
  719. padding-top: 12px;
  720. <?php } ?>
  721. }
  722. .side-nav {
  723. <?php if (GETPOST("optioncss") == 'print') { ?>
  724. display: none;
  725. <?php } else { ?>
  726. background: #FFF;
  727. border-right: 1px solid rgba(0,0,0,0.2);
  728. bottom: 0;
  729. color: #333;
  730. display: block;
  731. font-family: "RobotoDraft","Roboto",sans-serif;
  732. left: 0;
  733. <?php if ((GETPOST('testmenuhider') || ! empty($conf->global->MAIN_TESTMENUHIDER)) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { ?>
  734. <?php } else { ?>
  735. position: fixed;
  736. top: 50px;
  737. <?php } ?>
  738. z-index: 200;
  739. -webkit-transform: translateZ(0);
  740. -moz-transform: translateZ(0);
  741. -ms-transform: translateZ(0);
  742. -o-transform: translateZ(0);
  743. transform: translateZ(0);
  744. -webkit-transform-style: preserve-3d;
  745. -moz-transform-style: preserve-3d;
  746. -ms-transform-style: preserve-3d;
  747. -o-transform-style: preserve-3d;
  748. transform-style: preserve-3d;
  749. -webkit-transition-delay: 0.1s;
  750. -moz-transition-delay: 0.1s;
  751. transition-delay: 0.1s;
  752. -webkit-transition-duration: 0.2s;
  753. -moz-transition-duration: 0.2s;
  754. transition-duration: 0.2s;
  755. -webkit-transition-property: -webkit-transform;
  756. -moz-transition-property: -moz-transform;
  757. transition-property: transform;
  758. -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  759. -moz-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  760. transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  761. -webkit-overflow-scrolling: touch;
  762. <?php if ((GETPOST('testmenuhider') || ! empty($conf->global->MAIN_TESTMENUHIDER)) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { ?>
  763. <?php } else { ?>
  764. overflow-x: hidden;
  765. overflow-y: auto;
  766. <?php } ?>
  767. <?php } ?>
  768. }
  769. .side-nav-vert {
  770. margin-left: 228px;
  771. }
  772. /* For smartphone (testmenuhider is on) */
  773. <?php if ((GETPOST('testmenuhider') || ! empty($conf->global->MAIN_TESTMENUHIDER)) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { ?>
  774. #id-container {
  775. width: 100%;
  776. }
  777. .side-nav-vert {
  778. margin-left: 0;
  779. }
  780. div.login_block {
  781. /* border-right: none ! important; */
  782. top: inherit !important;
  783. }
  784. .side-nav {
  785. <?php if ((GETPOST('testmenuhider') || ! empty($conf->global->MAIN_TESTMENUHIDER)) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { ?>
  786. <?php } else { ?>
  787. overflow-x: initial !important;
  788. overflow-y: scroll;
  789. <?php } ?>
  790. display: none;
  791. position: auto;
  792. top: auto;
  793. z-index: 200;
  794. }
  795. div.login_block {
  796. /* position: initial !important;*/
  797. display: none;
  798. }
  799. #id-right {
  800. padding-left: 0 ! important;
  801. }
  802. #id-left {
  803. z-index: 201;
  804. background: #FFF;
  805. border-right: 1px solid rgba(0,0,0,0.3);
  806. <?php if ((GETPOST('testmenuhider') || ! empty($conf->global->MAIN_TESTMENUHIDER)) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { ?>
  807. top: 50px ! important;
  808. <?php } else { ?>
  809. top: 60px ! important;
  810. <?php } ?>
  811. }
  812. div.fiche {
  813. margin-<?php print $left; ?>: 6px !important;
  814. margin-<?php print $right; ?>: 6px !important;
  815. }
  816. <?php } ?>
  817. div.fiche {
  818. margin-<?php print $left; ?>: <?php print (GETPOST("optioncss") == 'print'?6:($dol_hide_leftmenu?'4':'20')); ?>px;
  819. margin-<?php print $right; ?>: <?php print (GETPOST("optioncss") == 'print'?8:(empty($conf->dol_optimize_smallscreen)?'16':'4')); ?>px;
  820. <?php if (! empty($conf->dol_hide_leftmenu) && ! empty($conf->dol_hide_topmenu)) print 'margin-top: 4px;'; ?>
  821. margin-bottom: 15px;
  822. }
  823. div.fichecenter {
  824. width: 100%;
  825. clear: both; /* This is to have div fichecenter that are true rectangles */
  826. }
  827. div.fichecenterbis {
  828. margin-top: 8px;
  829. }
  830. div.fichethirdleft {
  831. <?php if ($conf->browser->layout != 'phone') { print "float: ".$left.";\n"; } ?>
  832. <?php if ($conf->browser->layout != 'phone') { print "width: 50%;\n"; } ?>
  833. <?php if ($conf->browser->layout == 'phone') { print "padding-bottom: 6px;\n"; } ?>
  834. }
  835. div.fichetwothirdright {
  836. <?php if ($conf->browser->layout != 'phone') { print "float: ".$right.";\n"; } ?>
  837. <?php if ($conf->browser->layout != 'phone') { print "width: 50%;\n"; } ?>
  838. <?php if ($conf->browser->layout == 'phone') { print "padding-bottom: 6px\n"; } ?>
  839. }
  840. div.fichehalfleft {
  841. <?php if ($conf->browser->layout != 'phone') { print "float: ".$left.";\n"; } ?>
  842. <?php if ($conf->browser->layout != 'phone') { print "width: 50%;\n"; } ?>
  843. }
  844. div.fichehalfright {
  845. <?php if ($conf->browser->layout != 'phone') { print "float: ".$right.";\n"; } ?>
  846. <?php if ($conf->browser->layout != 'phone') { print "width: 50%;\n"; } ?>
  847. }
  848. div.ficheaddleft {
  849. <?php if ($conf->browser->layout != 'phone') { print "padding-".$left.": 16px;\n"; }
  850. else print "margin-top: 10px;\n"; ?>
  851. }
  852. /* Force values on one colum for small screen */
  853. @media only screen and (max-width: 900px)
  854. {
  855. div.fiche {
  856. margin-<?php print $left; ?>: <?php print (GETPOST("optioncss") == 'print'?6:($dol_hide_leftmenu?'4':'20')); ?>px;
  857. margin-<?php print $right; ?>: <?php print (GETPOST("optioncss") == 'print'?8:16); ?>px;
  858. <?php if (! empty($conf->dol_hide_leftmenu) && ! empty($conf->dol_hide_topmenu)) print 'margin-top: 4px;'; ?>
  859. margin-bottom: 15px;
  860. }
  861. div.fichecenter {
  862. width: 100%;
  863. clear: both; /* This is to have div fichecenter that are true rectangles */
  864. }
  865. div.fichecenterbis {
  866. margin-top: 8px;
  867. }
  868. div.fichethirdleft {
  869. float: none;
  870. width: auto;
  871. padding-bottom: 6px;
  872. }
  873. div.fichetwothirdright {
  874. float: none;
  875. width: auto;
  876. padding-bottom: 6px;
  877. }
  878. div.fichehalfleft {
  879. float: none;
  880. width: auto;
  881. }
  882. div.fichehalfright {
  883. float: none;
  884. width: auto;
  885. }
  886. div.ficheaddleft {
  887. <?php print "padding-".$left.": 0px;\n"; ?>
  888. margin-top: 10px;
  889. }
  890. }
  891. /* For table into table into card */
  892. div.ficheaddleft tr.liste_titre:first-child td table.nobordernopadding td, div.nopadding {
  893. padding: 0 0 0 0;
  894. }
  895. div.nopadding {
  896. padding: 0 !important;
  897. }
  898. table.noborder tr.liste_titre td {
  899. padding: 3px !important;
  900. }
  901. .containercenter {
  902. display : table;
  903. margin : 0px auto;
  904. }
  905. #pictotitle {
  906. margin-<?php echo $right; ?>: 8px;
  907. margin-bottom: 4px;
  908. }
  909. .pictosubstatus {
  910. padding-left: 2px;
  911. padding-right: 2px;
  912. }
  913. .pictostatus {
  914. width: 15px;
  915. vertical-align: middle;
  916. margin-top: -3px
  917. }
  918. .pictowarning, .pictopreview {
  919. padding-<?php echo $left; ?>: 3px;
  920. }
  921. .colorthumb {
  922. padding-left: 1px !important;
  923. padding-right: 1px;
  924. padding-top: 1px;
  925. padding-bottom: 1px;
  926. width: 44px;
  927. }
  928. div.attacharea {
  929. padding-top: 10px;
  930. padding-bottom: 10px;
  931. }
  932. div.arearef {
  933. /*border-bottom: 1px solid #bbb;*/
  934. padding-top: 2px;
  935. padding-bottom: 5px;
  936. /*padding-right: 3px;
  937. padding-left: 2px;*/
  938. margin-bottom: 10px;
  939. }
  940. div.heightref {
  941. min-height: 80px;
  942. }
  943. div.divphotoref {
  944. padding-right: 20px;
  945. }
  946. div.statusref {
  947. float: right;
  948. padding-left: 12px;
  949. margin-top: 8px;
  950. margin-bottom: 10px;
  951. clear: both;
  952. }
  953. img.photoref, div.photoref {
  954. border: 1px solid #CCC;
  955. -moz-box-shadow: 3px 3px 4px #DDD;
  956. -webkit-box-shadow: 3px 3px 4px #DDD;
  957. box-shadow: 3px 3px 4px #DDD;
  958. padding: 4px;
  959. height: 80px;
  960. width: 80px;
  961. object-fit: contain;
  962. }
  963. div.photoref {
  964. display:table-cell;
  965. vertical-align:middle;
  966. text-align:center;
  967. }
  968. img.photorefnoborder {
  969. padding: 2px;
  970. height: 48px;
  971. width: 48px;
  972. object-fit: contain;
  973. border: 1px solid #CCC;
  974. }
  975. .underrefbanner {
  976. }
  977. .underbanner {
  978. border-bottom: <?php echo $borderwith; ?>px solid rgb(<?php echo $colortopbordertitle1 ?>);
  979. }
  980. /* ============================================================================== */
  981. /* Menu top et 1ere ligne tableau */
  982. /* ============================================================================== */
  983. <?php
  984. $minwidthtmenu=66; /* minimum width for one top menu entry */
  985. $heightmenu=48; /* height of top menu, part with image */
  986. $heightmenu2=48; /* height of top menu, ârt with login */
  987. $disableimages = 0;
  988. $maxwidthloginblock = 110;
  989. if (! empty($conf->global->THEME_TOPMENU_DISABLE_IMAGE)) { $heightmenu = 30; $disableimages = 1; $maxwidthloginblock = 180; $minwidthtmenu=0; }
  990. ?>
  991. div#tmenu_tooltip {
  992. <?php if (GETPOST("optioncss") == 'print') { ?>
  993. display:none;
  994. <?php } else { ?>
  995. background: rgb(<?php echo $colorbackhmenu1 ?>);
  996. /*
  997. background-image: linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(128,128,128,.3) 100%);
  998. background-image: -o-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(128,128,128,.3) 100%);
  999. background-image: -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(128,128,128,.3) 100%);
  1000. background-image: -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(128,128,128,.3) 100%);
  1001. background-image: -ms-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(128,128,128,.3) 100%);
  1002. background-image: -webkit-gradient( linear, left top, left bottom, color-stop(0, rgba(255,255,255,.3)), color-stop(1, rgba(128,128,128,.3)) );
  1003. */
  1004. <?php } ?>
  1005. }
  1006. div#tmenu_tooltip {
  1007. <?php if (GETPOST("optioncss") == 'print') { ?>
  1008. display:none;
  1009. <?php } else { ?>
  1010. /* padding-<?php echo $right; ?>: <?php echo ($maxwidthloginblock - 10); ?>px; */
  1011. <?php } ?>
  1012. }
  1013. div.tmenusep {
  1014. <?php if ($disableimages) { ?>
  1015. display: none;
  1016. <?php } ?>
  1017. }
  1018. div.tmenudiv {
  1019. <?php if (GETPOST("optioncss") == 'print') { ?>
  1020. display:none;
  1021. <?php } else { ?>
  1022. position: relative;
  1023. display: block;
  1024. white-space: nowrap;
  1025. border-top: 0px;
  1026. border-<?php print $left; ?>: 0px;
  1027. border-<?php print $right; ?>: 0px;
  1028. padding: 0px 0px 0px 0px; /* t r b l */
  1029. margin: 0px 0px 0px 0px; /* t r b l */
  1030. font-size: 13px;
  1031. font-weight: normal;
  1032. color: #000000;
  1033. text-decoration: none;
  1034. <?php } ?>
  1035. }
  1036. div.tmenudisabled, a.tmenudisabled {
  1037. opacity: 0.6;
  1038. }
  1039. a.tmenudisabled:link, a.tmenudisabled:visited, a.tmenudisabled:hover, a.tmenudisabled:active {
  1040. font-weight: normal;
  1041. padding: 0px 5px 0px 5px;
  1042. white-space: nowrap;
  1043. color: #<?php echo $colortextbackhmenu; ?>;
  1044. text-decoration: none;
  1045. cursor: not-allowed;
  1046. }
  1047. a.tmenu:link, a.tmenu:visited, a.tmenu:hover, a.tmenu:active {
  1048. font-weight: normal;
  1049. padding: 0px 5px 0px 5px;
  1050. white-space: nowrap;
  1051. /* text-shadow: 1px 1px 1px #000000; */
  1052. color: #<?php echo $colortextbackhmenu; ?>;
  1053. text-decoration: none;
  1054. }
  1055. a.tmenusel:link, a.tmenusel:visited, a.tmenusel:hover, a.tmenusel:active {
  1056. font-weight: normal;
  1057. padding: 0px 5px 0px 5px;
  1058. margin: 0px 0px 0px 0px;
  1059. white-space: nowrap;
  1060. color: #<?php echo $colortextbackhmenu; ?>;
  1061. text-decoration: none !important;
  1062. }
  1063. ul.tmenu { /* t r b l */
  1064. padding: 0px 0px 0px 0px;
  1065. margin: 0px 0px 0px 0px;
  1066. list-style: none;
  1067. display: table;
  1068. }
  1069. ul.tmenu li {
  1070. background: rgb(<?php echo $colorbackhmenu1 ?>);
  1071. /*
  1072. background-image: linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%);
  1073. background-image: -o-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%);
  1074. background-image: -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%);
  1075. background-image: -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%);
  1076. background-image: -ms-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%);
  1077. background-image: -webkit-gradient( linear, left top, left bottom, color-stop(0, rgba(255,255,255,.3)), color-stop(1, rgba(0,0,0,.3)) );
  1078. */
  1079. }
  1080. li.tmenu, li.tmenusel {
  1081. <?php print $minwidthtmenu?'min-width: '.$minwidthtmenu.'px;':''; ?>
  1082. text-align: center;
  1083. vertical-align: bottom;
  1084. <?php if (empty($conf->global->MAIN_MENU_INVERT)) { ?>
  1085. float: <?php print $left; ?>;
  1086. <?php if (! $disableimages) { ?>
  1087. height: <?php print $heightmenu; ?>px;
  1088. padding: 0px 0px 2px 0px;
  1089. <?php } else { ?>
  1090. padding: 0px 0px 0px 0px;
  1091. <?php } } ?>
  1092. position:relative;
  1093. display: block;
  1094. margin: 0px 0px 0px 0px;
  1095. font-weight: normal;
  1096. }
  1097. li.tmenusel, li.tmenu:hover {
  1098. /*
  1099. background-image: -o-linear-gradient(bottom, rgba(250,250,250,0.3) 0%, rgba(0,0,0,0.3) 100%) !important;
  1100. background-image: -moz-linear-gradient(bottom, rgba(0,0,0,0.5) 0%, rgba(250,250,250,0) 100%) !important;
  1101. background-image: -webkit-linear-gradient(bottom, rgba(0,0,0,0.3) 0%, rgba(250,250,250,0) 100%) !important;
  1102. background-image: -ms-linear-gradient(bottom, rgba(250,250,250,0.3) 0%, rgba(0,0,0,0.3) 100%) !important;
  1103. background-image: linear-gradient(bottom, rgba(250,250,250,0.3) 0%, rgba(0,0,0,0.3) 100%) !important;
  1104. background: rgb(<?php echo $colorbackhmenu1 ?>);
  1105. */
  1106. /* background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/nav-overlay3.png',1); ?>) 50% 0 repeat-x !important; Nicer but problem when menu wrap on 2 lines */
  1107. }
  1108. li.tmenusel, li.tmenu:hover {
  1109. opacity: .50; /* show only a slight shadow */
  1110. }
  1111. .tmenuend .tmenuleft { width: 0px; }
  1112. .tmenuend { display: none; }
  1113. div.tmenuleft
  1114. {
  1115. float: <?php print $left; ?>;
  1116. margin-top: 0px;
  1117. <?php if (empty($conf->dol_optimize_smallscreen)) { ?>
  1118. width: 5px;
  1119. <?php if (! $disableimages) { ?>
  1120. height: <?php print $heightmenu+4; ?>px;
  1121. <?php } ?>
  1122. /* background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menutab-r.png',1); ?>) 0 -6px no-repeat; */
  1123. <?php } ?>
  1124. }
  1125. div.tmenucenter
  1126. {
  1127. padding-left: 0px;
  1128. padding-right: 0px;
  1129. <?php if ($disableimages) { ?>
  1130. padding-top: 10px;
  1131. height: 26px;
  1132. <?php } else { ?>
  1133. padding-top: 2px;
  1134. height: <?php print $heightmenu; ?>px;
  1135. <?php } ?>
  1136. width: 100%;
  1137. }
  1138. div.menu_titre {
  1139. padding-bottom: 2px;
  1140. overflow: hidden;
  1141. text-overflow: ellipsis;
  1142. }
  1143. .mainmenuaspan
  1144. {
  1145. <?php if ($disableimages) { ?>
  1146. padding-left: 4px;
  1147. padding-right: 2px;
  1148. <?php } else { ?>
  1149. padding-right: 4px;
  1150. <?php } ?>
  1151. }
  1152. div.mainmenu {
  1153. position : relative;
  1154. background-repeat:no-repeat;
  1155. background-position:center top;
  1156. height: <?php echo ($heightmenu-19); ?>px;
  1157. margin-left: 0px;
  1158. min-width: 40px;
  1159. }
  1160. /* Do not load menu img if hidden to save bandwidth */
  1161. <?php if (empty($dol_hide_topmenu)) { ?>
  1162. div.mainmenu.home{
  1163. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/home.png',1) ?>);
  1164. background-position-x: center;
  1165. }
  1166. div.mainmenu.accountancy {
  1167. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/money.png',1) ?>);
  1168. }
  1169. div.mainmenu.agenda {
  1170. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/agenda.png',1) ?>);
  1171. }
  1172. div.mainmenu.bank {
  1173. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/bank.png',1) ?>);
  1174. }
  1175. div.mainmenu.cashdesk {
  1176. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/pointofsale.png',1) ?>);
  1177. }
  1178. div.mainmenu.companies {
  1179. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/company.png',1) ?>);
  1180. }
  1181. div.mainmenu.commercial {
  1182. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/commercial.png',1) ?>);
  1183. }
  1184. div.mainmenu.ecm {
  1185. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/ecm.png',1) ?>);
  1186. }
  1187. div.mainmenu.externalsite {
  1188. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/externalsite.png',1) ?>);
  1189. }
  1190. div.mainmenu.ftp {
  1191. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/tools.png',1) ?>);
  1192. }
  1193. div.mainmenu.hrm {
  1194. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/holiday.png',1) ?>);
  1195. }
  1196. div.mainmenu.members {
  1197. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/members.png',1) ?>);
  1198. }
  1199. div.mainmenu.menu {
  1200. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/menu.png',1) ?>);
  1201. top: 7px;
  1202. }
  1203. div.mainmenu.products {
  1204. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/products.png',1) ?>);
  1205. }
  1206. div.mainmenu.project {
  1207. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/project.png',1) ?>);
  1208. }
  1209. div.mainmenu.tools {
  1210. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/tools.png',1) ?>);
  1211. }
  1212. div.mainmenu.websites {
  1213. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/externalsite.png',1) ?>);
  1214. }
  1215. <?php
  1216. // Add here more div for other menu entries. moduletomainmenu=array('module name'=>'name of class for div')
  1217. $moduletomainmenu=array('user'=>'','syslog'=>'','societe'=>'companies','projet'=>'project','propale'=>'commercial','commande'=>'commercial',
  1218. 'produit'=>'products','service'=>'products','stock'=>'products',
  1219. 'don'=>'accountancy','tax'=>'accountancy','banque'=>'accountancy','facture'=>'accountancy','compta'=>'accountancy','accounting'=>'accountancy','adherent'=>'members','import'=>'tools','export'=>'tools','mailing'=>'tools',
  1220. 'contrat'=>'commercial','ficheinter'=>'commercial','deplacement'=>'commercial',
  1221. 'fournisseur'=>'companies',
  1222. 'barcode'=>'','fckeditor'=>'','categorie'=>'',
  1223. );
  1224. $mainmenuused='home';
  1225. foreach($conf->modules as $val)
  1226. {
  1227. $mainmenuused.=','.(isset($moduletomainmenu[$val])?$moduletomainmenu[$val]:$val);
  1228. }
  1229. //var_dump($mainmenuused);
  1230. $mainmenuusedarray=array_unique(explode(',',$mainmenuused));
  1231. $generic=1;
  1232. // Put here list of menu entries when the div.mainmenu.menuentry was previously defined
  1233. $divalreadydefined=array('home','companies','products','commercial','externalsite','accountancy','project','tools','members','agenda','ftp','holiday','hrm','bookmark','cashdesk','ecm','geoipmaxmind','gravatar','clicktodial','paypal','webservices','websites');
  1234. // Put here list of menu entries we are sure we don't want
  1235. $divnotrequired=array('multicurrency','salaries','margin','opensurvey','paybox','expensereport','incoterm','prelevement','propal','workflow','notification','supplier_proposal','cron','product','productbatch','expedition');
  1236. foreach($mainmenuusedarray as $val)
  1237. {
  1238. if (empty($val) || in_array($val,$divalreadydefined)) continue;
  1239. if (in_array($val,$divnotrequired)) continue;
  1240. //print "XXX".$val;
  1241. // Search img file in module dir
  1242. $found=0; $url='';
  1243. foreach($conf->file->dol_document_root as $dirroot)
  1244. {
  1245. if (file_exists($dirroot."/".$val."/img/".$val.".png"))
  1246. {
  1247. $url=dol_buildpath('/'.$val.'/img/'.$val.'.png', 1);
  1248. $found=1;
  1249. break;
  1250. }
  1251. }
  1252. // Img file not found
  1253. if (! $found)
  1254. {
  1255. $url=dol_buildpath($path.'/theme/'.$theme.'/img/menus/generic'.$generic.".png",1);
  1256. $found=1;
  1257. if ($generic < 4) $generic++;
  1258. print "/* A mainmenu entry was found but img file ".$val.".png not found (check /".$val."/img/".$val.".png), so we use a generic one */\n";
  1259. }
  1260. if ($found)
  1261. {
  1262. print "div.mainmenu.".$val." {\n";
  1263. print " background-image: url(".$url.");\n";
  1264. print "}\n";
  1265. }
  1266. }
  1267. // End of part to add more div class css
  1268. ?>
  1269. <?php
  1270. } // End test if $dol_hide_topmenu
  1271. ?>
  1272. .tmenuimage {
  1273. padding:0 0 0 0 !important;
  1274. margin:0 0px 0 0 !important;
  1275. <?php if ($disableimages) { ?>
  1276. display: none;
  1277. <?php } ?>
  1278. }
  1279. /* Login */
  1280. .bodylogin
  1281. {
  1282. background: #f0f0f0;
  1283. }
  1284. .login_vertical_align {
  1285. padding: 10px;
  1286. }
  1287. form#login {
  1288. margin-top: <?php echo $dol_optimize_smallscreen?'30':'60' ?>px;
  1289. margin-bottom: 30px;
  1290. font-size: 13px;
  1291. vertical-align: middle;
  1292. }
  1293. .login_table_title {
  1294. max-width: 530px;
  1295. color: #888888;
  1296. text-shadow: 1px 1px 1px #FFF;
  1297. }
  1298. .login_table label {
  1299. text-shadow: 1px 1px 1px #FFF;
  1300. }
  1301. .login_table {
  1302. margin: 0px auto; /* Center */
  1303. padding-left:6px;
  1304. padding-right:6px;
  1305. padding-top:16px;
  1306. padding-bottom:12px;
  1307. max-width: 560px;
  1308. background-color: #FFFFFF;
  1309. -moz-box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(60,60,60,0.15);
  1310. -webkit-box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(60,60,60,0.15);
  1311. box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(60,60,60,0.15);
  1312. /*-moz-box-shadow: 3px 2px 20px #CCC;
  1313. -webkit-box-shadow: 3px 2px 20px #CCC;
  1314. box-shadow: 3px 2px 20px #CCC;*/
  1315. border-radius: 4px;
  1316. border:solid 1px rgba(80,80,80,.4);
  1317. border-top:solid 1px f8f8f8;
  1318. }
  1319. .login_main_message {
  1320. text-align: center;
  1321. max-width: 560px;
  1322. margin-bottom: 10px;
  1323. }
  1324. .login_main_message .error {
  1325. border: 1px solid #caa;
  1326. padding: 10px;
  1327. }
  1328. div#login_left, div#login_right {
  1329. display: inline-block;
  1330. min-width: 245px;
  1331. padding-top: 10px;
  1332. padding-left: 16px;
  1333. padding-right: 16px;
  1334. text-align: center;
  1335. vertical-align: middle;
  1336. }
  1337. table.login_table tr td table.none tr td {
  1338. padding: 2px;
  1339. }
  1340. table.login_table_securitycode {
  1341. border-spacing: 0px;
  1342. }
  1343. table.login_table_securitycode tr td {
  1344. padding-left: 0px;
  1345. padding-right: 4px;
  1346. }
  1347. #securitycode {
  1348. min-width: 60px;
  1349. }
  1350. #img_securitycode {
  1351. border: 1px solid #f4f4f4;
  1352. }
  1353. #img_logo {
  1354. max-width: 200px;
  1355. max-height: 100px;
  1356. }
  1357. div.login_block {
  1358. border-right: 1px solid rgba(0,0,0,0.3);
  1359. padding-top: 5px;
  1360. padding-bottom: 3px;
  1361. <?php print $left; ?>: 0;
  1362. top: 0px;
  1363. <?php if ((GETPOST('testmenuhider') || ! empty($conf->global->MAIN_TESTMENUHIDER)) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { ?>
  1364. position: absolute;
  1365. <?php } else { ?>
  1366. position: fixed;
  1367. <?php } ?>
  1368. font-weight: bold;
  1369. z-index: 10;
  1370. text-align: center;
  1371. vertical-align: middle;
  1372. background: #FFF;
  1373. width: 228px;
  1374. height: 42px;
  1375. <?php if (GETPOST("optioncss") == 'print') { ?>
  1376. display: none;
  1377. <?php } ?>
  1378. }
  1379. div.login_block table {
  1380. display: inline;
  1381. }
  1382. div.login {
  1383. white-space:nowrap;
  1384. font-weight: bold;
  1385. float: right;
  1386. }
  1387. div.login a {
  1388. color: #<?php echo $colortextbackvmenu; ?>;
  1389. }
  1390. div.login a:hover {
  1391. color: #<?php echo $colortextbackvmenu; ?>;
  1392. text-decoration:underline;
  1393. }
  1394. div.login_block_user, div.login_block_other { clear: both; }
  1395. div.login_block_other { padding-top: 3px; }
  1396. .login_block_elem {
  1397. float: right;
  1398. vertical-align: top;
  1399. padding: 0px 0px 0px 4px !important;
  1400. height: 16px;
  1401. }
  1402. .login_block_elem_name {
  1403. margin-top: 5px;
  1404. }
  1405. .atoplogin, .atoplogin:hover {
  1406. color: #<?php echo $colortextbackvmenu; ?> !important;
  1407. font-weight: normal !important;
  1408. }
  1409. .alogin, .alogin:hover {
  1410. color: #888 !important;
  1411. font-weight: normal !important;
  1412. font-size: <?php echo $fontsizesmaller; ?>px !important;
  1413. }
  1414. .alogin:hover, .atoplogin:hover {
  1415. text-decoration:underline !important;
  1416. }
  1417. img.login, img.printer, img.entity {
  1418. /* padding: 0px 0px 0px 4px; */
  1419. /* margin: 0px 0px 0px 8px; */
  1420. text-decoration: none;
  1421. color: white;
  1422. font-weight: bold;
  1423. }
  1424. img.loginphoto {
  1425. border-radius: 5px;
  1426. margin-top: -4px;
  1427. width: 20px;
  1428. height: 20px;
  1429. }
  1430. .span-icon-user {
  1431. background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/object_user.png',1); ?>) no-repeat scroll 7px 7px;
  1432. }
  1433. .span-icon-password {
  1434. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/lock.png',1); ?>);
  1435. background-repeat: no-repeat;
  1436. }
  1437. /*
  1438. .span-icon-user input, .span-icon-password input {
  1439. margin-right: 30px;
  1440. }
  1441. */
  1442. /* ============================================================================== */
  1443. /* Menu gauche */
  1444. /* ============================================================================== */
  1445. div.vmenu, td.vmenu {
  1446. margin-<?php print $right; ?>: 2px;
  1447. position: relative;
  1448. float: left;
  1449. padding: 0px;
  1450. padding-bottom: 0px;
  1451. padding-top: 0px;
  1452. width: 222px;
  1453. }
  1454. .vmenu {
  1455. margin-left: 4px;
  1456. <?php if (GETPOST("optioncss") == 'print') { ?>
  1457. display: none;
  1458. <?php } ?>
  1459. }
  1460. .vmenusearchselectcombo {
  1461. width: 202px;
  1462. }
  1463. .menu_contenu {
  1464. padding-top: 4px;
  1465. padding-bottom: 3px;
  1466. overflow: hidden;
  1467. text-overflow: ellipsis;
  1468. }
  1469. #menu_contenu_logo { padding-right: 4px; }
  1470. .companylogo { padding-top: 4px; }
  1471. .searchform { padding-top: 8px; }
  1472. a.vmenu:link, a.vmenu:visited, a.vmenu:hover, a.vmenu:active { white-space: nowrap; font-size:<?php print $fontsize ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: bold; }
  1473. font.vmenudisabled { font-size:<?php print $fontsize ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: bold; color: #aaa; margin-left: 4px; }
  1474. a.vmenu:link, a.vmenu:visited { color: #<?php echo $colortextbackvmenu; ?>; }
  1475. a.vsmenu:link, a.vsmenu:visited, a.vsmenu:hover, a.vsmenu:active, span.vsmenu { font-size:<?php print $fontsize ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #202020; margin: 1px 1px 1px 8px; }
  1476. font.vsmenudisabled { font-size:<?php print $fontsize ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #aaa; }
  1477. a.vsmenu:link, a.vsmenu:visited { color: #<?php echo $colortextbackvmenu; ?>; white-space: nowrap; }
  1478. font.vsmenudisabledmargin { margin: 1px 1px 1px 8px; }
  1479. a.help:link, a.help:visited, a.help:hover, a.help:active { font-size:<?php print $fontsizesmaller ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #666666; text-decoration: none; }
  1480. div.blockvmenupair, div.blockvmenuimpair, div.blockvmenubookmarks
  1481. {
  1482. font-family: <?php print $fontlist ?>;
  1483. color: #000000;
  1484. text-align: <?php print $left; ?>;
  1485. text-decoration: none;
  1486. padding-left: 5px;
  1487. padding-right: 1px;
  1488. padding-top: 3px;
  1489. padding-bottom: 3px;
  1490. margin: 1px 0px 8px 0px;
  1491. padding-bottom: 10px;
  1492. border-bottom: 1px solid #e0e0e0;
  1493. }
  1494. a.vsmenu.addbookmarkpicto {
  1495. padding-right: 10px;
  1496. }
  1497. div.blockvmenusearch
  1498. {
  1499. font-family: <?php print $fontlist ?>;
  1500. color: #000000;
  1501. text-align: <?php print $left; ?>;
  1502. text-decoration: none;
  1503. padding-left: 5px;
  1504. padding-right: 1px;
  1505. padding-top: 3px;
  1506. padding-bottom: 3px;
  1507. margin: 1px 0px 8px 0px;
  1508. padding-bottom: 10px;
  1509. border-bottom: 1px solid #f4f4f4;
  1510. }
  1511. div.blockvmenusearchphone
  1512. {
  1513. border-bottom: none;
  1514. margin-bottom: 0px;
  1515. }
  1516. div.blockvmenuhelp
  1517. {
  1518. <?php if (empty($conf->dol_optimize_smallscreen)) { ?>
  1519. font-family: <?php print $fontlist ?>;
  1520. color: #000000;
  1521. text-align: center;
  1522. text-decoration: none;
  1523. padding-left: 0px;
  1524. padding-right: 8px;
  1525. padding-top: 3px;
  1526. padding-bottom: 3px;
  1527. margin: 4px 0px 0px 0px;
  1528. <?php } else { ?>
  1529. display: none;
  1530. <?php } ?>
  1531. }
  1532. td.barre {
  1533. border-right: 1px solid #000000;
  1534. border-bottom: 1px solid #000000;
  1535. background: #b3c5cc;
  1536. font-family: <?php print $fontlist ?>;
  1537. color: #000000;
  1538. text-align: <?php print $left; ?>;
  1539. text-decoration: none;
  1540. }
  1541. td.barre_select {
  1542. background: #b3c5cc;
  1543. color: #000000;
  1544. }
  1545. td.photo {
  1546. background: #F4F4F4;
  1547. color: #000000;
  1548. border: 1px solid #bbb;
  1549. }
  1550. /* ============================================================================== */
  1551. /* Panes for Main */
  1552. /* ============================================================================== */
  1553. /*
  1554. * PANES and CONTENT-DIVs
  1555. */
  1556. #mainContent, #leftContent .ui-layout-pane {
  1557. padding: 0px;
  1558. overflow: auto;
  1559. }
  1560. #mainContent, #leftContent .ui-layout-center {
  1561. padding: 0px;
  1562. position: relative; /* contain floated or positioned elements */
  1563. overflow: auto; /* add scrolling to content-div */
  1564. }
  1565. /* ============================================================================== */
  1566. /* Toolbar for ECM or Filemanager */
  1567. /* ============================================================================== */
  1568. .largebutton {
  1569. background-image: -o-linear-gradient(bottom, rgba(200,200,200,0.1) 0%, rgba(255,255,255,0.3) 120%) !important;
  1570. background-image: -moz-linear-gradient(bottom, rgba(200,200,200,0.1) 0%, rgba(255,255,255,0.3) 120%) !important;
  1571. background-image: -webkit-linear-gradient(bottom, rgba(200,200,200,0.1) 0%, rgba(255,255,255,0.3) 120%) !important;
  1572. background-image: -ms-linear-gradient(bottom, rgba(200,200,200,0.1) 0%, rgba(255,255,255,0.3) 120%) !important;
  1573. background-image: linear-gradient(bottom, rgba(200,200,200,0.1) 0%, rgba(255,255,255,0.3) 120%) !important;
  1574. background: #FFF;
  1575. background-repeat: repeat-x !important;
  1576. border: 1px solid #CCC !important;
  1577. -moz-border-radius: 2px 2px 2px 2px !important;
  1578. -webkit-border-radius: 2px 2px 2px 2px !important;
  1579. border-radius: 2px 2px 2px 2px !important;
  1580. -moz-box-shadow: 2px 2px 4px #f4f4f4;
  1581. -webkit-box-shadow: 2px 2px 4px #f4f4f4;
  1582. box-shadow: 2px 2px 4px #f4f4f4;
  1583. padding: 0 4px 0 4px !important;
  1584. min-height: 32px;
  1585. }
  1586. a.toolbarbutton {
  1587. margin-top: 0px;
  1588. margin-left: 4px;
  1589. margin-right: 4px;
  1590. height: 30px;
  1591. }
  1592. img.toolbarbutton {
  1593. margin-top: 1px;
  1594. height: 30px;
  1595. }
  1596. /* ============================================================================== */
  1597. /* Panes for ECM or Filemanager */
  1598. /* ============================================================================== */
  1599. #containerlayout .layout-with-no-border {
  1600. border: 0 !important;
  1601. border-width: 0 !important;
  1602. }
  1603. #containerlayout .layout-padding {
  1604. padding: 2px !important;
  1605. }
  1606. /*
  1607. * PANES and CONTENT-DIVs
  1608. */
  1609. #containerlayout .ui-layout-pane { /* all 'panes' */
  1610. background: #FFF;
  1611. border: 1px solid #BBB;
  1612. /* DO NOT add scrolling (or padding) to 'panes' that have a content-div,
  1613. otherwise you may get double-scrollbars - on the pane AND on the content-div
  1614. */
  1615. padding: 0px;
  1616. overflow: auto;
  1617. }
  1618. /* (scrolling) content-div inside pane allows for fixed header(s) and/or footer(s) */
  1619. #containerlayout .ui-layout-content {
  1620. padding: 10px;
  1621. position: relative; /* contain floated or positioned elements */
  1622. overflow: auto; /* add scrolling to content-div */
  1623. }
  1624. /*
  1625. * RESIZER-BARS
  1626. */
  1627. .ui-layout-resizer { /* all 'resizer-bars' */
  1628. width: <?php echo (empty($conf->dol_optimize_smallscreen)?'8':'24'); ?>px !important;
  1629. }
  1630. .ui-layout-resizer-hover { /* affects both open and closed states */
  1631. }
  1632. /* NOTE: It looks best when 'hover' and 'dragging' are set to the same color,
  1633. otherwise color shifts while dragging when bar can't keep up with mouse */
  1634. /*.ui-layout-resizer-open-hover ,*/ /* hover-color to 'resize' */
  1635. .ui-layout-resizer-dragging { /* resizer beging 'dragging' */
  1636. background: #f4f4f4;
  1637. width: <?php echo (empty($conf->dol_optimize_smallscreen)?'8':'24'); ?>px;
  1638. }
  1639. .ui-layout-resizer-dragging { /* CLONED resizer being dragged */
  1640. border-left: 1px solid #BBB;
  1641. border-right: 1px solid #BBB;
  1642. }
  1643. /* NOTE: Add a 'dragging-limit' color to provide visual feedback when resizer hits min/max size limits */
  1644. .ui-layout-resizer-dragging-limit { /* CLONED resizer at min or max size-limit */
  1645. background: #E1A4A4; /* red */
  1646. }
  1647. .ui-layout-resizer-closed {
  1648. background-color: #f4f4f4;
  1649. }
  1650. .ui-layout-resizer-closed:hover {
  1651. background-color: #EEDDDD;
  1652. }
  1653. .ui-layout-resizer-sliding { /* resizer when pane is 'slid open' */
  1654. opacity: .10; /* show only a slight shadow */
  1655. filter: alpha(opacity=10);
  1656. }
  1657. .ui-layout-resizer-sliding-hover { /* sliding resizer - hover */
  1658. opacity: 1.00; /* on-hover, show the resizer-bar normally */
  1659. filter: alpha(opacity=100);
  1660. }
  1661. /* sliding resizer - add 'outside-border' to resizer on-hover */
  1662. /* this sample illustrates how to target specific panes and states */
  1663. /*.ui-layout-resizer-north-sliding-hover { border-bottom-width: 1px; }
  1664. .ui-layout-resizer-south-sliding-hover { border-top-width: 1px; }
  1665. .ui-layout-resizer-west-sliding-hover { border-right-width: 1px; }
  1666. .ui-layout-resizer-east-sliding-hover { border-left-width: 1px; }
  1667. */
  1668. /*
  1669. * TOGGLER-BUTTONS
  1670. */
  1671. .ui-layout-toggler {
  1672. <?php if (empty($conf->dol_optimize_smallscreen)) { ?>
  1673. border-top: 1px solid #AAA; /* match pane-border */
  1674. border-right: 1px solid #AAA; /* match pane-border */
  1675. border-bottom: 1px solid #AAA; /* match pane-border */
  1676. background-color: #f4f4f4;
  1677. top: 5px !important;
  1678. <?php } else { ?>
  1679. diplay: none;
  1680. <?php } ?>
  1681. }
  1682. .ui-layout-toggler-open {
  1683. height: 54px !important;
  1684. width: <?php echo (empty($conf->dol_optimize_smallscreen)?'7':'22'); ?>px !important;
  1685. -moz-border-radius:0px 10px 10px 0px;
  1686. -webkit-border-radius:0px 10px 10px 0px;
  1687. border-radius:0px 10px 10px 0px;
  1688. }
  1689. .ui-layout-toggler-closed {
  1690. height: <?php echo (empty($conf->dol_optimize_smallscreen)?'54':'2'); ?>px !important;
  1691. width: <?php echo (empty($conf->dol_optimize_smallscreen)?'7':'22'); ?>px !important;
  1692. -moz-border-radius:0px 10px 10px 0px;
  1693. -webkit-border-radius:0px 10px 10px 0px;
  1694. border-radius:0px 10px 10px 0px;
  1695. }
  1696. .ui-layout-toggler .content { /* style the text we put INSIDE the togglers */
  1697. color: #666;
  1698. font-size: 12px;
  1699. font-weight: bold;
  1700. width: 100%;
  1701. padding-bottom: 0.35ex; /* to 'vertically center' text inside text-span */
  1702. }
  1703. /* hide the toggler-button when the pane is 'slid open' */
  1704. .ui-layout-resizer-sliding .ui-layout-toggler {
  1705. display: none;
  1706. }
  1707. .ui-layout-north {
  1708. height: <?php print (empty($conf->dol_optimize_smallscreen)?'54':'21'); ?>px !important;
  1709. }
  1710. /* ECM */
  1711. #containerlayout .ecm-layout-pane { /* all 'panes' */
  1712. background: #FFF;
  1713. border: 1px solid #BBB;
  1714. /* DO NOT add scrolling (or padding) to 'panes' that have a content-div,
  1715. otherwise you may get double-scrollbars - on the pane AND on the content-div
  1716. */
  1717. padding: 0px;
  1718. overflow: auto;
  1719. }
  1720. /* (scrolling) content-div inside pane allows for fixed header(s) and/or footer(s) */
  1721. #containerlayout .ecm-layout-content {
  1722. padding: 10px;
  1723. position: relative; /* contain floated or positioned elements */
  1724. overflow: auto; /* add scrolling to content-div */
  1725. }
  1726. .ecm-layout-toggler {
  1727. border-top: 1px solid #AAA; /* match pane-border */
  1728. border-right: 1px solid #AAA; /* match pane-border */
  1729. border-bottom: 1px solid #AAA; /* match pane-border */
  1730. background-color: #CCC;
  1731. }
  1732. .ecm-layout-toggler-open {
  1733. height: 48px !important;
  1734. width: 6px !important;
  1735. -moz-border-radius:0px 10px 10px 0px;
  1736. -webkit-border-radius:0px 10px 10px 0px;
  1737. border-radius:0px 10px 10px 0px;
  1738. }
  1739. .ecm-layout-toggler-closed {
  1740. height: 48px !important;
  1741. width: 6px !important;
  1742. }
  1743. .ecm-layout-toggler .content { /* style the text we put INSIDE the togglers */
  1744. color: #666;
  1745. font-size: 12px;
  1746. font-weight: bold;
  1747. width: 100%;
  1748. padding-bottom: 0.35ex; /* to 'vertically center' text inside text-span */
  1749. }
  1750. #ecm-layout-west-resizer {
  1751. width: 6px !important;
  1752. }
  1753. .ecm-layout-resizer { /* all 'resizer-bars' */
  1754. border: 1px solid #BBB;
  1755. border-width: 0;
  1756. }
  1757. .ecm-layout-resizer-closed {
  1758. }
  1759. .ecm-in-layout-center {
  1760. border-left: 1px !important;
  1761. border-right: 0px !important;
  1762. border-top: 0px !important;
  1763. }
  1764. .ecm-in-layout-south {
  1765. border-left: 0px !important;
  1766. border-right: 0px !important;
  1767. border-bottom: 0px !important;
  1768. padding: 4px 0 4px 4px !important;
  1769. }
  1770. /* ============================================================================== */
  1771. /* Onglets */
  1772. /* ============================================================================== */
  1773. div.tabs {
  1774. text-align: <?php print $left; ?>;
  1775. margin-left: 6px !important;
  1776. margin-right: 6px !important;
  1777. clear:both;
  1778. height:100%;
  1779. }
  1780. div.tabsElem { margin-top: 6px; } /* To avoid overlap of tabs when not browser */
  1781. div.tabBar {
  1782. color: #<?php echo $colortextbacktab; ?>;
  1783. padding-top: <?php echo ($dol_optimize_smallscreen?'4':'16'); ?>px;
  1784. padding-left: <?php echo ($dol_optimize_smallscreen?'4':'16'); ?>px;
  1785. padding-right: <?php echo ($dol_optimize_smallscreen?'4':'16'); ?>px;
  1786. padding-bottom: <?php echo ($dol_optimize_smallscreen?'4':'14'); ?>px;
  1787. margin: 0px 0px 14px 0px;
  1788. -moz-border-radius:3px;
  1789. -webkit-border-radius: 3px;
  1790. border-radius: 3px;
  1791. border-right: 1px solid #BBB;
  1792. border-bottom: 1px solid #BBB;
  1793. border-left: 1px solid #BBB;
  1794. border-top: 1px solid #CCC;
  1795. width: auto;
  1796. background: rgb(<?php echo $colorbacktabcard1; ?>);
  1797. /*
  1798. <?php if (empty($dol_optimize_smallscreen)) { ?>
  1799. -moz-box-shadow: 3px 3px 4px #f4f4f4;
  1800. -webkit-box-shadow: 3px 3px 4px #f4f4f4;
  1801. box-shadow: 3px 3px 4px #f4f4f4;
  1802. <?php } ?>
  1803. */
  1804. }
  1805. div.tabsAction {
  1806. margin: 20px 0em 10px 0em;
  1807. padding: 0em 0em;
  1808. text-align: right;
  1809. }
  1810. div.tabsAction > a {
  1811. margin-bottom: 16px !important;
  1812. }
  1813. div.popuptabset {
  1814. padding: 6px;
  1815. background: #fff;
  1816. border: 1px solid #888;
  1817. }
  1818. div.popuptab {
  1819. padding-top: 3px;
  1820. padding-bottom: 3px;
  1821. padding-left: 5px;
  1822. padding-right: 5px;
  1823. }
  1824. a.tabTitle {
  1825. /* background: #657090;
  1826. color: white;*/
  1827. color:rgba(0,0,0,.5);
  1828. margin-right:10px;
  1829. text-shadow:1px 1px 1px #ffffff;
  1830. font-family: <?php print $fontlist ?>;
  1831. font-weight: normal;
  1832. padding: 4px 6px 2px 6px;
  1833. margin: 0px 6px;
  1834. text-decoration: none;
  1835. white-space: nowrap;
  1836. }
  1837. a.tab:link, a.tab:visited, a.tab:hover, a.tab#active {
  1838. font-family: <?php print $fontlist ?>;
  1839. padding: 7px 9px 7px;
  1840. margin: 0em 0.2em;
  1841. text-decoration: none;
  1842. white-space: nowrap;
  1843. /*-moz-border-radius:3px 3px 0px 0px;
  1844. -webkit-border-radius:3px 3px 0px 0px;
  1845. border-radius:3px 3px 0px 0px;
  1846. -moz-box-shadow: 0 -1px 4px rgba(0,0,0,.1);
  1847. -webkit-box-shadow: 0 -1px 4px rgba(0,0,0,.1);
  1848. box-shadow: 0 -1px 4px rgba(0,0,0,.1);
  1849. border-bottom: none;
  1850. border-right: 1px solid #CCCCCC;
  1851. border-left: 1px solid #f4f4f4;
  1852. border-top: 1px solid #D8D8D8;
  1853. */
  1854. background-image: none !important;
  1855. }
  1856. .tabunactive { /* We add some border on tabunactive to avoid change of position of title when switching tabs (border of tabunactive = border of tabactive) */
  1857. border-right: 1px solid rgb(<?php echo $colorbackbody; ?>);
  1858. border-left: 1px solid rgb(<?php echo $colorbackbody; ?>);
  1859. }
  1860. .tabactive, a.tab#active {
  1861. color: #<?php echo $colortextbacktab; ?> !important;
  1862. background: rgb(<?php echo $colorbacktabcard1; ?>) !important;
  1863. border-right: 1px solid #AAA !important;
  1864. border-left: 1px solid #AAA !important;
  1865. border-top: 2px solid #111 !important;
  1866. /*
  1867. -moz-box-shadow: 0 -1px 4px rgba(0,0,0,.1);
  1868. -webkit-box-shadow: 0 -1px 4px rgba(0,0,0,.1);
  1869. box-shadow: 0 -1px 4px rgba(0,0,0,.1);
  1870. -moz-border-radius:3px 3px 0px 0px;
  1871. -webkit-border-radius:3px 3px 0px 0px;
  1872. border-radius:3px 3px 0px 0px;
  1873. */
  1874. }
  1875. a.tab:hover
  1876. {
  1877. /*
  1878. background: rgba(<?php echo $colorbacktabcard1; ?>, 0.5) url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/nav-overlay3.png',1); ?>) 50% 0 repeat-x;
  1879. color: #<?php echo $colortextbacktab; ?>;
  1880. */
  1881. text-decoration: underline;
  1882. }
  1883. a.tabimage {
  1884. color: #434956;
  1885. font-family: <?php print $fontlist ?>;
  1886. text-decoration: none;
  1887. white-space: nowrap;
  1888. }
  1889. td.tab {
  1890. background: #dee7ec;
  1891. }
  1892. span.tabspan {
  1893. background: #dee7ec;
  1894. color: #434956;
  1895. font-family: <?php print $fontlist ?>;
  1896. padding: 0px 6px;
  1897. margin: 0em 0.2em;
  1898. text-decoration: none;
  1899. white-space: nowrap;
  1900. -moz-border-radius:3px 3px 0px 0px;
  1901. -webkit-border-radius:3px 3px 0px 0px;
  1902. border-radius:3px 3px 0px 0px;
  1903. border-<?php print $right; ?>: 1px solid #555555;
  1904. border-<?php print $left; ?>: 1px solid #D8D8D8;
  1905. border-top: 1px solid #D8D8D8;
  1906. }
  1907. /* ============================================================================== */
  1908. /* Boutons actions */
  1909. /* ============================================================================== */
  1910. div.divButAction {
  1911. margin-bottom: 1.4em;
  1912. vertical-align: top;
  1913. }
  1914. span.butAction, span.butActionDelete {
  1915. cursor: pointer;
  1916. }
  1917. /* Prepare for bootstrap look */
  1918. .button, .butAction, .butActionDelete, .butActionRefused {
  1919. border-color: #c5c5c5;
  1920. border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
  1921. display: inline-block;
  1922. padding: 0.4em <?php echo ($dol_optimize_smallscreen?'0.4':'0.7'); ?>em;
  1923. margin: 0em <?php echo ($dol_optimize_smallscreen?'0.7':'0.9'); ?>em;
  1924. line-height: 20px;
  1925. text-align: center;
  1926. vertical-align: middle;
  1927. cursor: pointer;
  1928. color: #333333 !important;
  1929. text-decoration: none !important;
  1930. text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  1931. background-color: #f5f5f5;
  1932. background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  1933. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  1934. background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  1935. background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  1936. background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  1937. background-repeat: repeat-x;
  1938. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
  1939. border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  1940. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  1941. filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  1942. border: 1px solid #bbbbbb;
  1943. border-bottom-color: #a2a2a2;
  1944. -webkit-border-radius: 2px;
  1945. -moz-border-radius: 2px;
  1946. border-radius: 2px;
  1947. -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  1948. -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  1949. box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  1950. }
  1951. .button, .butAction {
  1952. color: #ffffff !important;
  1953. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  1954. background-color: #006dcc;
  1955. background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
  1956. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
  1957. background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
  1958. background-image: -o-linear-gradient(top, #0088cc, #0044cc);
  1959. background-image: linear-gradient(to bottom, #0088cc, #0044cc);
  1960. background-repeat: repeat-x;
  1961. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);
  1962. border-color: #0044cc #0044cc #002a80;
  1963. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  1964. filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  1965. }
  1966. .button:disabled, .butAction:disabled {
  1967. color: #666 !important;
  1968. text-shadow: none;
  1969. border-color: #555;
  1970. cursor: not-allowed;
  1971. background-color: #f5f5f5;
  1972. background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  1973. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  1974. background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  1975. background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  1976. background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  1977. background-repeat: repeat-x
  1978. }
  1979. .butActionDelete, .buttonDelete {
  1980. color: #ffffff !important;
  1981. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  1982. background-color: #cc6d00;
  1983. background-image: -moz-linear-gradient(top, #cc8800, #cc4400);
  1984. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#cc8800), to(#cc4400));
  1985. background-image: -webkit-linear-gradient(top, #cc8800, #cc4400);
  1986. background-image: -o-linear-gradient(top, #cc8800, #cc4400);
  1987. background-image: linear-gradient(to bottom, #cc8800, #cc4400);
  1988. background-repeat: repeat-x;
  1989. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffcc8800', endColorstr='#ffcc4400', GradientType=0);
  1990. border-color: #cc4400 #cc4400 #802a00;
  1991. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  1992. filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  1993. }
  1994. a.butAction:link, a.butAction:visited, a.butAction:hover, a.butAction:active {
  1995. color: #FFFFFF;
  1996. }
  1997. .butActionRefused {
  1998. color: #AAAAAA !important;
  1999. cursor: not-allowed !important;
  2000. }
  2001. a.butAction:hover, a.butActionDelete:hover, a.butActionRefused:hover {
  2002. text-decoration: none;
  2003. }
  2004. a.butAction:hover, a.butActionDelete:hover {
  2005. opacity: 0.9;
  2006. }
  2007. /* End bootstrap */
  2008. <?php if (! empty($conf->global->MAIN_BUTTON_HIDE_UNAUTHORIZED)) { ?>
  2009. .butActionRefused {
  2010. display: none;
  2011. }
  2012. <?php } ?>
  2013. /* ============================================================================== */
  2014. /* Tables */
  2015. /* ============================================================================== */
  2016. .allwidth {
  2017. width: 100%;
  2018. }
  2019. #undertopmenu {
  2020. background-repeat: repeat-x;
  2021. margin-top: <?php echo ($dol_hide_topmenu?'6':'0'); ?>px;
  2022. }
  2023. .paddingrightonly {
  2024. border-collapse: collapse;
  2025. border: 0px;
  2026. margin-left: 0px;
  2027. padding-<?php print $left; ?>: 0px !important;
  2028. padding-<?php print $right; ?>: 4px !important;
  2029. }
  2030. .nocellnopadd {
  2031. list-style-type:none;
  2032. margin: 0px !important;
  2033. padding: 0px !important;
  2034. }
  2035. tr.nocellnopadd td.nobordernopadding, tr.nocellnopadd td.nocellnopadd
  2036. {
  2037. border: 0px;
  2038. }
  2039. .notopnoleft {
  2040. border-collapse: collapse;
  2041. border: 0px;
  2042. padding-top: 0px;
  2043. padding-<?php print $left; ?>: 0px;
  2044. padding-<?php print $right; ?>: 16px;
  2045. padding-bottom: 4px;
  2046. margin-right: 0px 0px;
  2047. }
  2048. .notopnoleftnoright {
  2049. border-collapse: collapse;
  2050. border: 0px;
  2051. padding-top: 0px;
  2052. padding-left: 0px;
  2053. padding-right: 0px;
  2054. padding-bottom: 4px;
  2055. margin: 0px 0px 0px 0px;
  2056. }
  2057. table.border, table.dataTable, .table-border, .table-border-col, .table-key-border-col, .table-val-border-col, div.border {
  2058. <?php if (empty($noborderline)) { ?>
  2059. border: 1px solid #f4f4f4;
  2060. <?php } ?>
  2061. border-collapse: collapse !important;
  2062. padding: 1px 2px 1px 3px; /* t r b l */
  2063. }
  2064. table.borderplus {
  2065. border: 1px solid #BBB;
  2066. }
  2067. .border tbody tr, .border tbody tr td, div.tabBar table.border tr {
  2068. height: 20px;
  2069. }
  2070. table.border td, div.border div div.tagtd {
  2071. padding: 2px 2px 2px 2px;
  2072. border: 1px solid #f0f0f0;
  2073. border-collapse: collapse;
  2074. }
  2075. td.border, div.tagtable div div.border {
  2076. border-top: 1px solid #000000;
  2077. border-right: 1px solid #000000;
  2078. border-bottom: 1px solid #000000;
  2079. border-left: 1px solid #000000;
  2080. }
  2081. .table-key-border-col {
  2082. /* width: 25%; */
  2083. vertical-align:top;
  2084. }
  2085. .table-val-border-col {
  2086. width:auto;
  2087. }
  2088. /* Main boxes */
  2089. table.liste, table.noborder, table.formdoc, div.noborder {
  2090. width: 100%;
  2091. border-collapse: separate !important;
  2092. border-spacing: 0px;
  2093. border-top-width: <?php echo $borderwith ?>px;
  2094. border-top-color: rgb(<?php echo $colortopbordertitle1 ?>);
  2095. border-top-style: solid;
  2096. /* border-right-width: 1px;
  2097. border-right-color: #BBB;
  2098. border-right-style: solid;
  2099. border-left-width: 1px;
  2100. border-left-color: #BBB;
  2101. border-left-style: solid;
  2102. */
  2103. border-bottom-width: 1px;
  2104. border-bottom-color: #BBB;
  2105. border-bottom-style: solid;
  2106. margin: 0px 0px 8px 0px;
  2107. /*
  2108. -moz-box-shadow: 2px 2px 4px #CCC;
  2109. -webkit-box-shadow: 2px 2px 4px #CCC;
  2110. box-shadow: 2px 2px 4px #CCC;
  2111. */
  2112. /* box-shadow: 0 0 3px rgba(0,0,0,0.16); */
  2113. -moz-border-radius: 0.1em;
  2114. -webkit-border-radius: 0.1em;
  2115. border-radius: 0.1em;
  2116. }
  2117. /*
  2118. #tablelines tr.liste_titre:first-child td, form.formnoborder, tr.liste_titre.trnoborder td {
  2119. border-top-width: 1px;
  2120. border-top-color: rgb(<?php echo $colortopbordertitle1 ?>);
  2121. border-top-style: solid;
  2122. }*/
  2123. table.noborder tr, div.noborder form {
  2124. border-top-color: #FEFEFE;
  2125. border-right-width: 1px;
  2126. border-right-color: #BBBBBB;
  2127. border-right-style: solid;
  2128. border-left-width: 1px;
  2129. border-left-color: #BBBBBB;
  2130. border-left-style: solid;
  2131. min-height: 26px;
  2132. }
  2133. .liste_titre_add td, .liste_titre_add th, .liste_titre_add .tagtd
  2134. {
  2135. border-top-width: 2px;
  2136. border-top-color: rgb(<?php echo $colortopbordertitle1 ?>);
  2137. border-top-style: solid;
  2138. }
  2139. .liste_titre_add td, .liste_titre_add .tagtd
  2140. {
  2141. border-top-width: 1px;
  2142. border-top-color: rgb(<?php echo $colortopbordertitle1 ?>);
  2143. border-top-style: solid;
  2144. }
  2145. table.liste th, table.noborder th, table.noborder tr.liste_titre td {
  2146. padding: 8px 2px 8px 3px; /* t r b l */
  2147. }
  2148. table.noborder td, div.noborder form, div.noborder form div {
  2149. padding: 4px 2px 4px 3px; /* t r b l */
  2150. }
  2151. table.nobordernopadding {
  2152. border-collapse: collapse !important;
  2153. border: 0px;
  2154. }
  2155. table.nobordernopadding tr {
  2156. border: 0px !important;
  2157. padding: 0px 0px !important;
  2158. }
  2159. table.nobordernopadding tr td {
  2160. border: 0px;
  2161. padding: 0 3px 0 0;
  2162. }
  2163. table.border tr td table.nobordernopadding tr td {
  2164. padding-top: 0px;
  2165. padding-bottom: 0px;
  2166. }
  2167. td.borderright {
  2168. border: none; /* to erase value for table.nobordernopadding td */
  2169. border-right-width: 1px !important;
  2170. border-right-color: #BBB !important;
  2171. border-right-style: solid !important;
  2172. }
  2173. /* For table with no filter before */
  2174. table.listwithfilterbefore {
  2175. border-top: none !important;
  2176. }
  2177. .tagtable, .table-border { display: table; }
  2178. .tagtr, .table-border-row { display: table-row; }
  2179. .tagtd, .table-border-col, .table-key-border-col, .table-val-border-col { display: table-cell; }
  2180. /* Pagination */
  2181. div.refidpadding {
  2182. padding-top: 3px;
  2183. }
  2184. div.refid {
  2185. font-weight: bold;
  2186. color: #766;
  2187. font-size: 160%;
  2188. }
  2189. div.refidno {
  2190. padding-top: 2px;
  2191. font-weight: normal;
  2192. color: #444;
  2193. font-size: <?php print $fontsize ?>px;
  2194. line-height: 21px;
  2195. }
  2196. div.refidno form {
  2197. display: inline-block;
  2198. }
  2199. div.pagination {
  2200. float: right;
  2201. }
  2202. div.pagination a {
  2203. font-weight: normal;
  2204. }
  2205. div.pagination ul
  2206. {
  2207. list-style: none;
  2208. display: inline-block;
  2209. padding-left: 0px;
  2210. padding-right: 0px;
  2211. margin: 0;
  2212. }
  2213. div.pagination li {
  2214. display: inline-block;
  2215. padding-left: 0px;
  2216. padding-right: 0px;
  2217. padding-top: 6px;
  2218. padding-bottom: 5px;
  2219. }
  2220. .pagination {
  2221. display: inline-block;
  2222. padding-left: 0;
  2223. border-radius: 4px;
  2224. }
  2225. div.pagination li.pagination a,
  2226. div.pagination li.pagination span {
  2227. padding: 6px 12px;
  2228. margin-left: -1px;
  2229. line-height: 1.42857143;
  2230. color: #000;
  2231. text-decoration: none;
  2232. background-color: #f5f5f5;
  2233. background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  2234. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  2235. background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  2236. background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  2237. background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  2238. background-repeat: repeat-x;
  2239. }
  2240. div.pagination li.pagination span.inactive {
  2241. cursor: default;
  2242. color: #ccc;
  2243. }
  2244. div.pagination li.litext a {
  2245. border: none;
  2246. padding-right: 10px;
  2247. padding-left: 4px;
  2248. font-weight: bold;
  2249. }
  2250. div.pagination li.noborder a:hover {
  2251. border: none;
  2252. background-color: transparent;
  2253. }
  2254. div.pagination li a,
  2255. div.pagination li span {
  2256. background-color: #fff;
  2257. border: 1px solid #ddd;
  2258. }
  2259. div.pagination li:first-child a,
  2260. div.pagination li:first-child span {
  2261. margin-left: 0;
  2262. border-top-left-radius: 4px;
  2263. border-bottom-left-radius: 4px;
  2264. }
  2265. div.pagination li:last-child a,
  2266. div.pagination li:last-child span {
  2267. border-top-right-radius: 4px;
  2268. border-bottom-right-radius: 4px;
  2269. }
  2270. div.pagination li a:hover,
  2271. div.pagination li span:hover,
  2272. div.pagination li a:focus,
  2273. div.pagination li span:focus {
  2274. color: #000;
  2275. background-color: #eee;
  2276. border-color: #ddd;
  2277. }
  2278. div.pagination li .active a,
  2279. div.pagination li .active span,
  2280. div.pagination li .active a:hover,
  2281. div.pagination li .active span:hover,
  2282. div.pagination li .active a:focus,
  2283. div.pagination li .active span:focus {
  2284. z-index: 2;
  2285. color: #fff;
  2286. cursor: default;
  2287. background-color: <?php $colorbackhmenu1 ?>;
  2288. border-color: #337ab7;
  2289. }
  2290. div.pagination .disabled span,
  2291. div.pagination .disabled span:hover,
  2292. div.pagination .disabled span:focus,
  2293. div.pagination .disabled a,
  2294. div.pagination .disabled a:hover,
  2295. div.pagination .disabled a:focus {
  2296. color: #777;
  2297. cursor: not-allowed;
  2298. background-color: #fff;
  2299. border-color: #ddd;
  2300. }
  2301. div.pagination li.pagination .active {
  2302. text-decoration: underline;
  2303. }
  2304. div.pagination li.paginationafterarrows {
  2305. margin-left: 10px;
  2306. }
  2307. .paginationatbottom {
  2308. margin-top: 9px;
  2309. }
  2310. /* Prepare to remove class pair - impair
  2311. .noborder > tbody > tr:nth-child(even) td {
  2312. background: linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
  2313. background: -o-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
  2314. background: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
  2315. background: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
  2316. background: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
  2317. font-family: <?php print $fontlist ?>;
  2318. border: 0px;
  2319. margin-bottom: 1px;
  2320. color: #202020;
  2321. min-height: 18px;
  2322. }
  2323. .noborder > tbody > tr:nth-child(odd) td {
  2324. background: linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
  2325. background: -o-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
  2326. background: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
  2327. background: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
  2328. background: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
  2329. font-family: <?php print $fontlist ?>;
  2330. border: 0px;
  2331. margin-bottom: 1px;
  2332. color: #202020;
  2333. }
  2334. */
  2335. /* Set the color for hover lines */
  2336. .odd:hover, .impair:hover, .even:hover, .pair:hover, .even:hover, .pair:hover, table.dataTable tr.even:hover, table.dataTable tr.odd:hover, .box_pair:hover, .box_impair:hover
  2337. {
  2338. <?php if ($colorbacklinepairhover) { ?>
  2339. background: rgb(<?php echo $colorbacklinepairhover; ?>) !important;
  2340. <?php } ?>
  2341. }
  2342. .odd, .impair, .nohover .odd:hover, .nohover .impair:hover, tr.odd td.nohover, tr.impair td.nohover, tr.box_pair td.nohover, tr.box_impair td.nohover
  2343. {
  2344. font-family: <?php print $fontlist ?>;
  2345. border: 0px;
  2346. margin-bottom: 1px;
  2347. color: #202020;
  2348. min-height: 18px; /* seems to not be used */
  2349. background: #<?php echo colorArrayToHex(colorStringToArray($colorbacklineimpair1)); ?>;
  2350. }
  2351. #GanttChartDIV {
  2352. background: #<?php echo colorArrayToHex(colorStringToArray($colorbacklineimpair1)); ?>;
  2353. }
  2354. .even, .pair, .nohover .even:hover, .nohover .pair:hover, tr.even td.nohover, tr.pair td.nohover {
  2355. font-family: <?php print $fontlist ?>;
  2356. margin-bottom: 1px;
  2357. color: #202020;
  2358. background-color: #<?php echo colorArrayToHex(colorStringToArray($colorbacklinepair1)); ?>;
  2359. }
  2360. table.dataTable tr.odd {
  2361. background-color: #<?php echo colorArrayToHex(colorStringToArray($colorbacklinepair1)); ?> !important;
  2362. }
  2363. /* For no hover style */
  2364. table.nohover tr.impair, table.nohover tr.pair, table.nohover tr.impair td, table.nohover tr.pair td, tr.nohover td {
  2365. background-color: #<?php echo colorArrayToHex(colorStringToArray($colorbacklineimpair1)); ?> !important;
  2366. }
  2367. tr.nohoverpair td {
  2368. background-color: #<?php echo colorArrayToHex(colorStringToArray($colorbacklinepair1)); ?> !important;
  2369. }
  2370. table.dataTable td {
  2371. padding: 5px 2px 5px 3px !important;
  2372. }
  2373. tr.even td, tr.pair td, tr.odd td, tr.impair td, form.odd div.tagtd, form.impair div.tagtd, form.pair div.tagtd, div.impair div.tagtd, div.pair div.tagtd, div.liste_titre div.tagtd {
  2374. padding: 5px 2px 5px 3px;
  2375. border-bottom: 1px solid #eee;
  2376. }
  2377. tr.even:last-of-type td, tr.pair:last-of-type td, tr.odd:last-of-type td, tr.impair:last-of-type td {
  2378. border-bottom: 0px !important;
  2379. }
  2380. tr.even td .nobordernopadding tr td, tr.pair td .nobordernopadding tr td, tr.impair td .nobordernopadding tr td, tr.odd td .nobordernopadding tr td {
  2381. border-bottom: 0px !important;
  2382. }
  2383. td.nobottom, td.nobottom {
  2384. border-bottom: 0px !important;
  2385. }
  2386. div.liste_titre .tagtd {
  2387. vertical-align: middle;
  2388. }
  2389. div.liste_titre {
  2390. min-height: 26px !important; /* We cant use height because it's a div and it should be higher if content is more. but min-height doe not work either for div */
  2391. padding-top: 2px;
  2392. padding-bottom: 2px;
  2393. /*border-right-width: 1px;
  2394. border-right-color: #BBB;
  2395. border-right-style: solid;
  2396. border-left-width: 1px;
  2397. border-left-color: #BBB;
  2398. border-left-style: solid;*/
  2399. border-top-width: 1px;
  2400. border-top-color: #BBB;
  2401. border-top-style: solid;
  2402. }
  2403. div.liste_titre_bydiv {
  2404. border-top-width: <?php echo $borderwith ?>px;
  2405. border-top-color: rgb(<?php echo $colortopbordertitle1 ?>);
  2406. border-top-style: solid;
  2407. box-shadow: none;
  2408. border-collapse: collapse;
  2409. display: table;
  2410. padding: 2px 0px 2px 0;
  2411. width: 100%;
  2412. }
  2413. tr.liste_titre, tr.liste_titre_sel, form.liste_titre, form.liste_titre_sel, table.dataTable.tr
  2414. {
  2415. height: 26px !important;
  2416. }
  2417. div.liste_titre, tr.liste_titre, tr.liste_titre_sel, form.liste_titre, form.liste_titre_sel, table.dataTable thead tr
  2418. {
  2419. <?php if ($usegradient) { ?>
  2420. background-image: -o-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(250,250,250,0.3) 100%);
  2421. background-image: -moz-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(250,250,250,0.3) 100%);
  2422. background-image: -webkit-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(250,250,250,0.3) 100%);
  2423. background-image: -ms-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(250,250,250,0.3) 100%);
  2424. background-image: linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(250,250,250,0.3) 100%);
  2425. <?php } else { ?>
  2426. background: rgb(<?php echo $colorbacktitle1; ?>);
  2427. <?php } ?>
  2428. font-weight: <?php echo $useboldtitle?'bold':'normal'; ?>;
  2429. color: rgb(<?php echo $colortexttitle; ?>);
  2430. font-family: <?php print $fontlist ?>;
  2431. border-bottom: 1px solid #FDFFFF;
  2432. text-align: <?php echo $left; ?>;
  2433. }
  2434. tr.liste_titre th, tr.liste_titre td, th.liste_titre, form.liste_titre div, div.liste_titre
  2435. {
  2436. border-bottom: 1px solid #<?php echo ($colorbacktitle1 == '255,255,255'?'BBBBBB':'FDFFFF'); ?>;
  2437. }
  2438. tr.liste_titre th, th.liste_titre, tr.liste_titre td, td.liste_titre, form.liste_titre div, div.liste_titre
  2439. {
  2440. font-family: <?php print $fontlist ?>;
  2441. font-weight: <?php echo $useboldtitle?'bold':'normal'; ?>;
  2442. vertical-align: middle;
  2443. }
  2444. tr.liste_titre th a, th.liste_titre a, tr.liste_titre td a, td.liste_titre a, form.liste_titre div a, div.liste_titre a {
  2445. text-shadow: none !important;
  2446. }
  2447. tr.liste_titre_topborder td {
  2448. border-top-width: <?php echo $borderwith; ?>px;
  2449. border-top-color: rgb(<?php echo $colortopbordertitle1 ?>);
  2450. border-top-style: solid;
  2451. }
  2452. .liste_titre td a {
  2453. text-shadow: none !important;
  2454. color: rgb(<?php echo $colortexttitle; ?>);
  2455. }
  2456. .liste_titre td a.notasortlink {
  2457. color: rgb(<?php echo $colortextlink; ?>);
  2458. }
  2459. .liste_titre td a.notasortlink:hover {
  2460. background: transparent;
  2461. }
  2462. div.liste_titre {
  2463. padding-left: 3px;
  2464. }
  2465. tr.liste_titre_sel th, th.liste_titre_sel, tr.liste_titre_sel td, td.liste_titre_sel, form.liste_titre_sel div
  2466. {
  2467. font-family: <?php print $fontlist ?>;
  2468. font-weight: normal;
  2469. border-bottom: 1px solid #FDFFFF;
  2470. text-decoration: underline;
  2471. }
  2472. input.liste_titre {
  2473. background: transparent;
  2474. border: 0px;
  2475. }
  2476. .noborder tr.liste_total, .noborder tr.liste_total td, tr.liste_total, form.liste_total {
  2477. /* background: #F0F0F0; */
  2478. }
  2479. .noborder tr.liste_total td, tr.liste_total td, form.liste_total div {
  2480. /* border-top: 1px solid #f4f4f4; */
  2481. color: #332266;
  2482. font-weight: normal;
  2483. white-space: nowrap;
  2484. padding: 4px;
  2485. height: 20px;
  2486. }
  2487. tr.liste_sub_total, tr.liste_sub_total td {
  2488. border-bottom: 2px solid #aaa;
  2489. }
  2490. .tableforservicepart1 .impair, .tableforservicepart1 .pair, .tableforservicepart2 .impair, .tableforservicepart2 .pair {
  2491. background: #FFF;
  2492. }
  2493. .tableforservicepart1 tbody tr td, .tableforservicepart2 tbody tr td {
  2494. border-bottom: none;
  2495. }
  2496. .paymenttable, .margintable {
  2497. border-top-width: <?php echo $borderwith ?>px !important;
  2498. border-top-color: rgb(<?php echo $colortopbordertitle1 ?>) !important;
  2499. border-top-style: solid !important;
  2500. margin: 0px 0px 0px 0px !important;
  2501. }
  2502. .paymenttable tr td:first-child, .margintable tr td:first-child
  2503. {
  2504. padding-left: 2px;
  2505. }
  2506. .margintable td {
  2507. border: 0px !important;
  2508. }
  2509. /* Disable shadows */
  2510. .noshadow {
  2511. -moz-box-shadow: 0px 0px 0px #f4f4f4 !important;
  2512. -webkit-box-shadow: 0px 0px 0px #f4f4f4 !important;
  2513. box-shadow: 0px 0px 0px #f4f4f4 !important;
  2514. }
  2515. div.tabBar .noborder {
  2516. -moz-box-shadow: 0px 0px 0px #f4f4f4 !important;
  2517. -webkit-box-shadow: 0px 0px 0px #f4f4f4 !important;
  2518. box-shadow: 0px 0px 0px #f4f4f4 !important;
  2519. }
  2520. #tablelines tr.liste_titre td, .paymenttable tr.liste_titre td, .margintable tr.liste_titre td, .tableforservicepart1 tr.liste_titre td {
  2521. border-bottom: 1px solid #AAA !important;
  2522. }
  2523. /*
  2524. * Boxes
  2525. */
  2526. .boxstats {
  2527. <?php print "float: ".$left.";\n"; ?>
  2528. margin: 3px;
  2529. padding: 3px;
  2530. /*-moz-box-shadow: 3px 3px 4px #f4f4f4;
  2531. -webkit-box-shadow: 3px 3px 4px #f4f4f4;
  2532. box-shadow: 3px 3px 4px #f4f4f4;
  2533. margin-bottom: 8px !important;*/
  2534. border: 1px solid #CCC;
  2535. text-align: center;
  2536. border-radius: 2px;
  2537. min-height: 38px;
  2538. }
  2539. .boxstats:hover {
  2540. box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.20);
  2541. }
  2542. span.boxstatstext {
  2543. /* opacity: 0.9; Disabled. This make text on top of left menu in smartphone size */
  2544. line-height: 18px;
  2545. }
  2546. span.boxstatsindicator {
  2547. font-size: 110%;
  2548. font-weight: normal;
  2549. }
  2550. span.dashboardlineindicator, span.dashboardlineindicatorlate {
  2551. font-size: 120%;
  2552. font-weight: bold;
  2553. }
  2554. span.dashboardlineok {
  2555. color: #008800;
  2556. }
  2557. span.dashboardlineko {
  2558. color: #880000;
  2559. font-weight: bold;
  2560. }
  2561. .boxtable {
  2562. -moz-box-shadow: 3px 3px 4px #f4f4f4;
  2563. -webkit-box-shadow: 3px 3px 4px #f4f4f4;
  2564. box-shadow: 3px 3px 4px #f4f4f4;
  2565. margin-bottom: 8px !important;
  2566. }
  2567. .box {
  2568. padding-right: 0px;
  2569. padding-left: 0px;
  2570. padding-bottom: 12px;
  2571. }
  2572. tr.box_titre {
  2573. height: 26px !important;
  2574. /* TO MATCH BOOTSTRAP */
  2575. /*background: #ddd;
  2576. color: #000 !important; */
  2577. /* TO MATCH ELDY */
  2578. <?php if ($usegradient) { ?>
  2579. background-image: -o-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(250,250,250,0.3) 100%);
  2580. background-image: -moz-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(250,250,250,0.3) 100%);
  2581. background-image: -webkit-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(250,250,250,0.3) 100%);
  2582. background-image: -ms-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(250,250,250,0.3) 100%);
  2583. background-image: linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(250,250,250,0.3) 100%);
  2584. <?php } else { ?>
  2585. background: rgb(<?php echo $colorbacktitle1; ?>);
  2586. <?php } ?>
  2587. background-repeat: repeat-x;
  2588. color: rgb(<?php echo $colortexttitle; ?>);
  2589. font-family: <?php print $fontlist ?>, sans-serif;
  2590. font-weight: <?php echo $useboldtitle?'bold':'normal'; ?>;
  2591. border-bottom: 1px solid #FDFFFF;
  2592. white-space: nowrap;
  2593. }
  2594. tr.box_titre td.boxclose {
  2595. width: 30px;
  2596. }
  2597. tr.box_impair {
  2598. background: -o-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
  2599. background: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
  2600. background: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
  2601. background: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
  2602. background: linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
  2603. font-family: <?php print $fontlist ?>;
  2604. }
  2605. tr.box_pair {
  2606. font-family: <?php print $fontlist ?>;
  2607. background-color: #f9f9f9;
  2608. }
  2609. tr.box_pair td, tr.box_impair td {
  2610. padding: 4px;
  2611. }
  2612. tr.box_pair:not(:last-child) td, tr.box_impair:not(:last-child) td {
  2613. border-bottom: 1px solid #f4f4f4;
  2614. }
  2615. .noborderbottom {
  2616. border-bottom: none !important;
  2617. }
  2618. .formboxfilter {
  2619. vertical-align: middle;
  2620. margin-bottom: 6px;
  2621. }
  2622. .formboxfilter input[type=image]
  2623. {
  2624. top: 5px;
  2625. position: relative;
  2626. }
  2627. .boxfilter {
  2628. margin-bottom: 2px;
  2629. margin-right: 1px;
  2630. }
  2631. .prod_entry_mode_free, .prod_entry_mode_predef {
  2632. height: 26px !important;
  2633. vertical-align: middle;
  2634. }
  2635. /*
  2636. * Ok, Warning, Error
  2637. */
  2638. .ok { color: #114466; }
  2639. .warning { color: #887711; }
  2640. .error { color: #550000 !important; font-weight: bold; }
  2641. div.ok {
  2642. color: #114466;
  2643. }
  2644. /* Warning message */
  2645. div.warning {
  2646. color: #302020;
  2647. padding: 0.3em 0.3em 0.3em 0.3em;
  2648. margin: 0.5em 0em 0.5em 0em;
  2649. border: 1px solid #e0d0b0;
  2650. -moz-border-radius:3px;
  2651. -webkit-border-radius: 3px;
  2652. border-radius: 3px;
  2653. background: #EFDF9A;
  2654. text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  2655. }
  2656. /* Error message */
  2657. div.error {
  2658. color: #550000; font-weight: bold;
  2659. padding: 0.3em 0.3em 0.3em 0.3em;
  2660. margin: 0.5em 0em 0.5em 0em;
  2661. border: 1px solid #DC9CAB;
  2662. -moz-border-radius:3px;
  2663. -webkit-border-radius: 3px;
  2664. border-radius: 3px;
  2665. background: #EFCFCF;
  2666. }
  2667. /* Info admin */
  2668. div.info {
  2669. color: #302010;
  2670. padding: 0.4em 0.4em 0.4em 0.4em;
  2671. margin: 0.5em 0em 0.5em 0em;
  2672. border: 1px solid #DFBF9A;
  2673. -moz-border-radius:3px;
  2674. -webkit-border-radius: 3px;
  2675. border-radius:3px;
  2676. background: #EFCFAA;
  2677. text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  2678. }
  2679. div.warning a, div.info a, div.error a {
  2680. color: rgb(<?php echo $colortext; ?>);
  2681. }
  2682. /*
  2683. * Liens Payes/Non payes
  2684. */
  2685. a.normal:link { font-weight: normal }
  2686. a.normal:visited { font-weight: normal }
  2687. a.normal:active { font-weight: normal }
  2688. a.normal:hover { font-weight: normal }
  2689. a.impayee:link { font-weight: bold; color: #550000; }
  2690. a.impayee:visited { font-weight: bold; color: #550000; }
  2691. a.impayee:active { font-weight: bold; color: #550000; }
  2692. a.impayee:hover { font-weight: bold; color: #550000; }
  2693. /*
  2694. * Other
  2695. */
  2696. .product_line_stock_ok { color: #002200; }
  2697. .product_line_stock_too_low { color: #664400; }
  2698. .fieldrequired { font-weight: bold; color: #000055; }
  2699. .widthpictotitle { width: 40px; text-align: <?php echo $left; ?>; }
  2700. .dolgraphtitle { margin-top: 6px; margin-bottom: 4px; }
  2701. .dolgraphtitlecssboxes { margin: 0px; }
  2702. .legendColorBox, .legendLabel { border: none !important; }
  2703. div.dolgraph div.legend, div.dolgraph div.legend div { background-color: rgba(255,255,255,0) !important; }
  2704. div.dolgraph div.legend table tbody tr { height: auto; }
  2705. td.legendColorBox { padding: 2px 2px 2px 0 !important; }
  2706. td.legendLabel { padding: 2px 2px 2px 0 !important; }
  2707. .photo {
  2708. border: 0px;
  2709. }
  2710. .photowithmargin {
  2711. margin-bottom: 2px;
  2712. margin-top: 2px;
  2713. }
  2714. .photowithmargin {
  2715. /* -webkit-box-shadow: 0px 0px 3px #777;
  2716. -moz-box-shadow: 0px 0px 3px #777;
  2717. box-shadow: 0px 0px 3px #777;*/
  2718. }
  2719. .photointoolitp {
  2720. margin-top: 8px;
  2721. float: left;
  2722. /*text-align: center; */
  2723. }
  2724. .photodelete {
  2725. margin-top: 6px !important;
  2726. }
  2727. .logo_setup
  2728. {
  2729. content:url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/logo_setup.svg',1) ?>); /* content is used to best fit the container */
  2730. display: inline-block;
  2731. }
  2732. .nographyet
  2733. {
  2734. content:url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/nographyet.svg',1) ?>);
  2735. display: inline-block;
  2736. opacity: 0.1;
  2737. background-repeat: no-repeat;
  2738. }
  2739. .nographyettext
  2740. {
  2741. opacity: 0.5;
  2742. }
  2743. div.titre {
  2744. font-family: <?php print $fontlist ?>;
  2745. font-weight: bold;
  2746. color: rgb(<?php print $colortexttitlenotab; ?>);
  2747. text-decoration: none;
  2748. /* text-shadow: 1px 1px 2px #FFFFFF; */
  2749. <?php print (empty($conf->dol_optimize_smallscreen)?'':'margin-top: 4px;'); ?>
  2750. }
  2751. #dolpaymenttable { width: 600px; font-size: 13px; }
  2752. #tablepublicpayment { border: 1px solid #CCCCCC !important; width: 100%; }
  2753. #tablepublicpayment .CTableRow1 { background-color: #F0F0F0 !important; }
  2754. #tablepublicpayment tr.liste_total { border-bottom: 1px solid #CCCCCC !important; }
  2755. #tablepublicpayment tr.liste_total td { border-top: none; }
  2756. #divsubscribe { width: 700px; }
  2757. #tablesubscribe { width: 100%; }
  2758. /*
  2759. * Effect Postit
  2760. */
  2761. .effectpostit
  2762. {
  2763. position: relative;
  2764. }
  2765. .effectpostit:before, .effectpostit:after
  2766. {
  2767. z-index: -1;
  2768. position: absolute;
  2769. content: "";
  2770. bottom: 15px;
  2771. left: 10px;
  2772. width: 50%;
  2773. top: 80%;
  2774. max-width:300px;
  2775. background: #777;
  2776. -webkit-box-shadow: 0 15px 10px #777;
  2777. -moz-box-shadow: 0 15px 10px #777;
  2778. box-shadow: 0 15px 10px #777;
  2779. -webkit-transform: rotate(-3deg);
  2780. -moz-transform: rotate(-3deg);
  2781. -o-transform: rotate(-3deg);
  2782. -ms-transform: rotate(-3deg);
  2783. transform: rotate(-3deg);
  2784. }
  2785. .effectpostit:after
  2786. {
  2787. -webkit-transform: rotate(3deg);
  2788. -moz-transform: rotate(3deg);
  2789. -o-transform: rotate(3deg);
  2790. -ms-transform: rotate(3deg);
  2791. transform: rotate(3deg);
  2792. right: 10px;
  2793. left: auto;
  2794. }
  2795. /* ============================================================================== */
  2796. /* Formulaire confirmation (When Ajax JQuery is used) */
  2797. /* ============================================================================== */
  2798. .ui-dialog-titlebar {
  2799. }
  2800. .ui-dialog-content {
  2801. font-size: <?php print $fontsize; ?>px !important;
  2802. }
  2803. /* ============================================================================== */
  2804. /* Formulaire confirmation (When HTML is used) */
  2805. /* ============================================================================== */
  2806. table.valid {
  2807. border-top: solid 1px #E6E6E6;
  2808. border-<?php print $left; ?>: solid 1px #E6E6E6;
  2809. border-<?php print $right; ?>: solid 1px #444444;
  2810. border-bottom: solid 1px #555555;
  2811. padding-top: 0px;
  2812. padding-left: 0px;
  2813. padding-right: 0px;
  2814. padding-bottom: 0px;
  2815. margin: 0px 0px;
  2816. background: #D5BAA8;
  2817. }
  2818. .validtitre {
  2819. background: #D5BAA8;
  2820. font-weight: bold;
  2821. }
  2822. /* ============================================================================== */
  2823. /* Tooltips */
  2824. /* ============================================================================== */
  2825. #tooltip {
  2826. position: absolute;
  2827. width: <?php print dol_size(450,'width'); ?>px;
  2828. border-top: solid 1px #BBBBBB;
  2829. border-<?php print $left; ?>: solid 1px #BBBBBB;
  2830. border-<?php print $right; ?>: solid 1px #444444;
  2831. border-bottom: solid 1px #444444;
  2832. padding: 2px;
  2833. z-index: 3000;
  2834. background-color: #EFCFAA;
  2835. opacity: 1;
  2836. -moz-border-radius:0px;
  2837. -webkit-border-radius: 0px;
  2838. border-radius: 0px;
  2839. }
  2840. #tiptip_content {
  2841. -moz-border-radius:0px;
  2842. -webkit-border-radius: 0px;
  2843. border-radius: 0px;
  2844. background-color: rgb(255,255,255);
  2845. /* background-color: rgb(252,248,246);
  2846. background-color: rgba(252,248,246,0.95);*/
  2847. line-height: 1.4em;
  2848. min-width: 200px;
  2849. }
  2850. /* ============================================================================== */
  2851. /* Calendar */
  2852. /* ============================================================================== */
  2853. img.datecallink { padding-left: 2px !important; padding-right: 2px !important; }
  2854. .ui-datepicker-trigger {
  2855. vertical-align: middle;
  2856. cursor: pointer;
  2857. }
  2858. .bodyline {
  2859. -moz-border-radius: 4px;
  2860. -webkit-border-radius: 4px;
  2861. border-radius: 4px;
  2862. border: 1px #E4ECEC outset;
  2863. padding: 0px;
  2864. margin-bottom: 5px;
  2865. }
  2866. table.dp {
  2867. width: 180px;
  2868. background-color: #FFFFFF;
  2869. /*border-top: solid 2px #f4f4f4;
  2870. border-<?php print $left; ?>: solid 2px #f4f4f4;
  2871. border-<?php print $right; ?>: solid 1px #222222;
  2872. border-bottom: solid 1px #222222; */
  2873. padding: 0px;
  2874. border-spacing: 0px;
  2875. border-collapse: collapse;
  2876. }
  2877. .dp td, .tpHour td, .tpMinute td{padding:2px; font-size:10px;}
  2878. /* Barre titre */
  2879. .dpHead,.tpHead,.tpHour td:Hover .tpHead{
  2880. font-weight:bold;
  2881. background-color: #888;
  2882. color:white;
  2883. font-size:11px;
  2884. cursor:auto;
  2885. }
  2886. /* Barre navigation */
  2887. .dpButtons,.tpButtons {
  2888. text-align:center;
  2889. background-color: #888;
  2890. color:#FFFFFF;
  2891. font-weight:bold;
  2892. cursor:pointer;
  2893. }
  2894. .dpButtons:Active,.tpButtons:Active{border: 1px outset black;}
  2895. .dpDayNames td,.dpExplanation {background-color:#D9DBE1; font-weight:bold; text-align:center; font-size:11px;}
  2896. .dpExplanation{ font-weight:normal; font-size:11px;}
  2897. .dpWeek td{text-align:center}
  2898. .dpToday,.dpReg,.dpSelected{
  2899. cursor:pointer;
  2900. }
  2901. .dpToday{font-weight:bold; color:black; background-color:#f4f4f4;}
  2902. .dpReg:Hover,.dpToday:Hover{background-color:black;color:white}
  2903. /* Jour courant */
  2904. .dpSelected{background-color:#0B63A2;color:white;font-weight:bold; }
  2905. .tpHour{border-top:1px solid #f4f4f4; border-right:1px solid #f4f4f4;}
  2906. .tpHour td {border-left:1px solid #f4f4f4; border-bottom:1px solid #f4f4f4; cursor:pointer;}
  2907. .tpHour td:Hover {background-color:black;color:white;}
  2908. .tpMinute {margin-top:5px;}
  2909. .tpMinute td:Hover {background-color:black; color:white; }
  2910. .tpMinute td {background-color:#D9DBE1; text-align:center; cursor:pointer;}
  2911. /* Bouton X fermer */
  2912. .dpInvisibleButtons
  2913. {
  2914. border-style:none;
  2915. background-color:transparent;
  2916. padding:0px;
  2917. font-size:9px;
  2918. border-width:0px;
  2919. color: #eee;
  2920. vertical-align:middle;
  2921. cursor: pointer;
  2922. }
  2923. .datenowlink
  2924. {
  2925. color: rgb(<?php print $colortextlink; ?>);
  2926. }
  2927. .categtextwhite, .treeview .categtextwhite.hover {
  2928. color: #fff !important;
  2929. }
  2930. .categtextblack {
  2931. color: #000 !important;
  2932. }
  2933. /* ============================================================================== */
  2934. /* Afficher/cacher */
  2935. /* ============================================================================== */
  2936. div.visible {
  2937. display: block;
  2938. }
  2939. div.hidden {
  2940. display: none;
  2941. }
  2942. tr.visible {
  2943. display: block;
  2944. }
  2945. td.hidden {
  2946. display: none;
  2947. }
  2948. /* ============================================================================== */
  2949. /* Module website */
  2950. /* ============================================================================== */
  2951. .websitebar {
  2952. border-bottom: 1px solid #888;
  2953. background: #eee;
  2954. }
  2955. .websitebar .button, .websitebar .buttonDelete
  2956. {
  2957. padding: 2px 4px 2px 4px !important;
  2958. margin: 2px 4px 2px 4px !important;
  2959. line-height: normal;
  2960. }
  2961. .websiteselection {
  2962. display: inline-block;
  2963. padding-left: 10px;
  2964. vertical-align: middle;
  2965. line-height: 29px;
  2966. }
  2967. .websitetools {
  2968. float: right;
  2969. height: 28px;
  2970. }
  2971. .websiteinputurl {
  2972. display: inline-block;
  2973. vertical-align: top;
  2974. }
  2975. .websiteiframenoborder {
  2976. border: 0px;
  2977. }
  2978. a.websitebuttonsitepreview img {
  2979. width: 26px;
  2980. display: inline-block;
  2981. }
  2982. .websiteiframenoborder {
  2983. border: 0px;
  2984. }
  2985. /* ============================================================================== */
  2986. /* Module agenda */
  2987. /* ============================================================================== */
  2988. table.cal_month { border-spacing: 0px; }
  2989. table.cal_month td:first-child { border-left: 0px; }
  2990. table.cal_month td:last-child { border-right: 0px; }
  2991. .cal_current_month { border-top: 0; border-left: solid 1px #E0E0E0; border-right: 0; border-bottom: solid 1px #E0E0E0; }
  2992. .cal_current_month_peruserleft { border-top: 0; border-left: solid 2px #6C7C7B; border-right: 0; border-bottom: solid 1px #E0E0E0; }
  2993. .cal_current_month_oneday { border-right: solid 1px #E0E0E0; }
  2994. .cal_other_month { border-top: 0; border-left: solid 1px #C0C0C0; border-right: 0; border-bottom: solid 1px #C0C0C0; }
  2995. .cal_other_month_peruserleft { border-top: 0; border-left: solid 2px #6C7C7B !important; border-right: 0; }
  2996. .cal_current_month_right { border-right: solid 1px #E0E0E0; }
  2997. .cal_other_month_right { border-right: solid 1px #C0C0C0; }
  2998. .cal_other_month { opacity: 0.6; background: #EAEAEA; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
  2999. .cal_past_month { opacity: 0.6; background: #EEEEEE; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
  3000. .cal_current_month { background: #FFFFFF; border-left: solid 1px #E0E0E0; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
  3001. .cal_current_month_peruserleft { background: #FFFFFF; border-left: solid 2px #6C7C7B; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
  3002. .cal_today { background: #FDFDF0; border-left: solid 1px #E0E0E0; border-bottom: solid 1px #E0E0E0; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
  3003. .cal_today_peruser { background: #FDFDF0; border-right: solid 1px #E0E0E0; border-bottom: solid 1px #E0E0E0; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
  3004. .cal_today_peruser_peruserleft { background: #FDFDF0; border-left: solid 2px #6C7C7B; border-right: solid 1px #E0E0E0; border-bottom: solid 1px #E0E0E0; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
  3005. .cal_past { }
  3006. .cal_peruser { padding: 0px; }
  3007. .cal_impair { background: #F8F8F8; }
  3008. .cal_today_peruser_impair { background: #F8F8F0; }
  3009. .peruser_busy { background: #CC8888; }
  3010. .peruser_notbusy { background: #EEDDDD; opacity: 0.5; }
  3011. table.cal_event { border: none; border-collapse: collapse; margin-bottom: 1px; -webkit-border-radius: 3px; border-radius: 3px;
  3012. -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.25);
  3013. moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.25);
  3014. box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.25);
  3015. background: -webkit-gradient(linear, left top, left bottom, from(#006aac), to(#00438d));
  3016. min-height: 20px;
  3017. }
  3018. table.cal_event td { border: none; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 2px; padding-top: 0px; padding-bottom: 0px; }
  3019. table.cal_event td.cal_event { padding: 4px 4px !important; }
  3020. table.cal_event td.cal_event_right { padding: 4px 4px !important; }
  3021. ul.cal_event { padding-right: 2px; padding-top: 1px; border: none; list-style-type: none; margin: 0 auto; padding-left: 0px; padding-start: 0px; -khtml-padding-start: 0px; -o-padding-start: 0px; -moz-padding-start: 0px; -webkit-padding-start: 0px; }
  3022. li.cal_event { border: none; list-style-type: none; }
  3023. .cal_event a:link { color: #111111; font-size: 11px; font-weight: normal !important; }
  3024. .cal_event a:visited { color: #111111; font-size: 11px; font-weight: normal !important; }
  3025. .cal_event a:active { color: #111111; font-size: 11px; font-weight: normal !important; }
  3026. .cal_event a:hover { color: #111111; font-size: 11px; font-weight: normal !important; color:rgba(255,255,255,.75); }
  3027. .cal_event_busy { }
  3028. .cal_peruserviewname { max-width: 100px; height: 22px; }
  3029. .topmenuimage {
  3030. background-size: 28px auto;
  3031. }
  3032. /* ============================================================================== */
  3033. /* Ajax - Liste deroulante de l'autocompletion */
  3034. /* ============================================================================== */
  3035. .ui-widget-content { border: solid 1px rgba(0,0,0,.3); background: #fff !important; }
  3036. .ui-autocomplete-loading { background: white url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/working.gif',1) ?>) right center no-repeat; }
  3037. .ui-autocomplete {
  3038. position:absolute;
  3039. width:auto;
  3040. font-size: 1.0em;
  3041. background-color:white;
  3042. border:1px solid #888;
  3043. margin:0px;
  3044. /* padding:0px; This make combo crazy */
  3045. }
  3046. .ui-autocomplete ul {
  3047. list-style-type:none;
  3048. margin:0px;
  3049. padding:0px;
  3050. }
  3051. .ui-autocomplete ul li.selected { background-color: #D3E5EC;}
  3052. .ui-autocomplete ul li {
  3053. list-style-type:none;
  3054. display:block;
  3055. margin:0;
  3056. padding:2px;
  3057. height:18px;
  3058. cursor:pointer;
  3059. }
  3060. /* ============================================================================== */
  3061. /* jQuery - jeditable */
  3062. /* ============================================================================== */
  3063. .editkey_textarea, .editkey_ckeditor, .editkey_string, .editkey_email, .editkey_numeric, .editkey_select, .editkey_autocomplete {
  3064. background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/edit.png',1) ?>) right top no-repeat;
  3065. cursor: pointer;
  3066. }
  3067. .editkey_datepicker {
  3068. background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/calendar.png',1) ?>) right center no-repeat;
  3069. cursor: pointer;
  3070. }
  3071. .editval_textarea.active:hover, .editval_ckeditor.active:hover, .editval_string.active:hover, .editval_email.active:hover, .editval_numeric.active:hover, .editval_select.active:hover, .editval_autocomplete.active:hover, .editval_datepicker.active:hover {
  3072. background: white;
  3073. cursor: pointer;
  3074. }
  3075. .viewval_textarea.active:hover, .viewval_ckeditor.active:hover, .viewval_string.active:hover, .viewval_email.active:hover, .viewval_numeric.active:hover, .viewval_select.active:hover, .viewval_autocomplete.active:hover, .viewval_datepicker.active:hover {
  3076. background: white;
  3077. cursor: pointer;
  3078. }
  3079. .viewval_hover {
  3080. background: white;
  3081. }
  3082. /* ============================================================================== */
  3083. /* Admin Menu */
  3084. /* ============================================================================== */
  3085. /* CSS for treeview */
  3086. .treeview ul { background-color: transparent !important; margin-top: 0; }
  3087. .treeview li { background-color: transparent !important; padding: 0 0 0 16px !important; min-height: 20px; }
  3088. .treeview .hover { color: rgb(<?php print $colortextlink; ?>) !important; text-decoration: underline !important; }
  3089. /* ============================================================================== */
  3090. /* Show Excel tabs */
  3091. /* ============================================================================== */
  3092. .table_data
  3093. {
  3094. border-style:ridge;
  3095. border:1px solid;
  3096. }
  3097. .tab_base
  3098. {
  3099. background:#C5D0DD;
  3100. font-weight:bold;
  3101. border-style:ridge;
  3102. border: 1px solid;
  3103. cursor:pointer;
  3104. }
  3105. .table_sub_heading
  3106. {
  3107. background:#CCCCCC;
  3108. font-weight:bold;
  3109. border-style:ridge;
  3110. border: 1px solid;
  3111. }
  3112. .table_body
  3113. {
  3114. background:#F0F0F0;
  3115. font-weight:normal;
  3116. font-family:sans-serif;
  3117. border-style:ridge;
  3118. border: 1px solid;
  3119. border-spacing: 0px;
  3120. border-collapse: collapse;
  3121. }
  3122. .tab_loaded
  3123. {
  3124. background:#222222;
  3125. color:white;
  3126. font-weight:bold;
  3127. border-style:groove;
  3128. border: 1px solid;
  3129. cursor:pointer;
  3130. }
  3131. /* ============================================================================== */
  3132. /* CSS for color picker */
  3133. /* ============================================================================== */
  3134. A.color, A.color:active, A.color:visited {
  3135. position : relative;
  3136. display : block;
  3137. text-decoration : none;
  3138. width : 10px;
  3139. height : 10px;
  3140. line-height : 10px;
  3141. margin : 0px;
  3142. padding : 0px;
  3143. border : 1px inset white;
  3144. }
  3145. A.color:hover {
  3146. border : 1px outset white;
  3147. }
  3148. A.none, A.none:active, A.none:visited, A.none:hover {
  3149. position : relative;
  3150. display : block;
  3151. text-decoration : none;
  3152. width : 10px;
  3153. height : 10px;
  3154. line-height : 10px;
  3155. margin : 0px;
  3156. padding : 0px;
  3157. cursor : default;
  3158. border : 1px solid #b3c5cc;
  3159. }
  3160. .tblColor {
  3161. display : none;
  3162. }
  3163. .tdColor {
  3164. padding : 1px;
  3165. }
  3166. .tblContainer {
  3167. background-color : #b3c5cc;
  3168. }
  3169. .tblGlobal {
  3170. position : absolute;
  3171. top : 0px;
  3172. left : 0px;
  3173. display : none;
  3174. background-color : #b3c5cc;
  3175. border : 2px outset;
  3176. }
  3177. .tdContainer {
  3178. padding : 5px;
  3179. }
  3180. .tdDisplay {
  3181. width : 50%;
  3182. height : 20px;
  3183. line-height : 20px;
  3184. border : 1px outset white;
  3185. }
  3186. .tdDisplayTxt {
  3187. width : 50%;
  3188. height : 24px;
  3189. line-height : 12px;
  3190. font-family : <?php print $fontlist ?>;
  3191. font-size : 8pt;
  3192. color : black;
  3193. text-align : center;
  3194. }
  3195. .btnColor {
  3196. width : 100%;
  3197. font-family : <?php print $fontlist ?>;
  3198. font-size : 10pt;
  3199. padding : 0px;
  3200. margin : 0px;
  3201. }
  3202. .btnPalette {
  3203. width : 100%;
  3204. font-family : <?php print $fontlist ?>;
  3205. font-size : 8pt;
  3206. padding : 0px;
  3207. margin : 0px;
  3208. }
  3209. /* Style to overwrites JQuery styles */
  3210. .ui-menu .ui-menu-item a {
  3211. text-decoration:none;
  3212. display:block;
  3213. padding:.2em .4em;
  3214. line-height:1.5;
  3215. zoom:1;
  3216. font-weight: normal;
  3217. font-family:<?php echo $fontlist; ?>;
  3218. font-size:1em;
  3219. }
  3220. .ui-widget {
  3221. font-family:<?php echo $fontlist; ?>;
  3222. font-size:<?php echo $fontsize; ?>px;
  3223. }
  3224. .ui-button { margin-left: -2px; <?php print (preg_match('/chrome/',$conf->browser->name)?'padding-top: 1px;':''); ?> }
  3225. .ui-button-icon-only .ui-button-text { height: 8px; }
  3226. .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: 2px 0px 6px 0px; }
  3227. .ui-button-text
  3228. {
  3229. line-height: 1em !important;
  3230. }
  3231. .ui-autocomplete-input { margin: 0; padding: 4px; }
  3232. /* ============================================================================== */
  3233. /* CKEditor */
  3234. /* ============================================================================== */
  3235. .cke_editable
  3236. {
  3237. margin: 5px !important;
  3238. }
  3239. .cke_editor table, .cke_editor tr, .cke_editor td
  3240. {
  3241. border: 0px solid #FF0000 !important;
  3242. }
  3243. span.cke_skin_kama { padding: 0 !important; }
  3244. .cke_wrapper { padding: 4px !important; }
  3245. a.cke_dialog_ui_button
  3246. {
  3247. font-family: <?php print $fontlist ?> !important;
  3248. background-image: url(<?php echo $img_button ?>) !important;
  3249. background-position: bottom !important;
  3250. border: 1px solid #C0C0C0 !important;
  3251. -moz-border-radius:0px 2px 0px 2px !important;
  3252. -webkit-border-radius:0px 2px 0px 2px !important;
  3253. border-radius:0px 2px 0px 2px !important;
  3254. -moz-box-shadow: 3px 3px 4px #f4f4f4 !important;
  3255. -webkit-box-shadow: 3px 3px 4px #f4f4f4 !important;
  3256. box-shadow: 3px 3px 4px #f4f4f4 !important;
  3257. }
  3258. .cke_dialog_ui_hbox_last
  3259. {
  3260. vertical-align: bottom ! important;
  3261. }
  3262. .cke_editable
  3263. {
  3264. line-height: 1.4 !important;
  3265. margin: 6px !important;
  3266. }
  3267. a.cke_dialog_ui_button_ok span {
  3268. text-shadow: none !important;
  3269. color: #333 !important;
  3270. }
  3271. /* ============================================================================== */
  3272. /* File upload */
  3273. /* ============================================================================== */
  3274. .template-upload {
  3275. height: 72px !important;
  3276. }
  3277. /* ============================================================================== */
  3278. /* Holiday */
  3279. /* ============================================================================== */
  3280. #types .btn {
  3281. cursor: pointer;
  3282. }
  3283. #types .btn-primary {
  3284. font-weight: bold;
  3285. }
  3286. #types form {
  3287. padding: 20px;
  3288. }
  3289. #types label {
  3290. display:inline-block;
  3291. width:100px;
  3292. margin-right: 20px;
  3293. padding: 4px;
  3294. text-align: right;
  3295. vertical-align: top;
  3296. }
  3297. #types input.text, #types textarea {
  3298. width: 400px;
  3299. }
  3300. #types textarea {
  3301. height: 100px;
  3302. }
  3303. /* ============================================================================== */
  3304. /* JSGantt */
  3305. /* ============================================================================== */
  3306. div.scroll2 {
  3307. width: <?php print isset($_SESSION['dol_screenwidth'])?max($_SESSION['dol_screenwidth']-830,450):'450'; ?>px !important;
  3308. }
  3309. /* ============================================================================== */
  3310. /* jFileTree */
  3311. /* ============================================================================== */
  3312. .ecmfiletree {
  3313. width: 99%;
  3314. height: 99%;
  3315. background: #FFF;
  3316. padding-left: 2px;
  3317. font-weight: normal;
  3318. }
  3319. .fileview {
  3320. width: 99%;
  3321. height: 99%;
  3322. background: #FFF;
  3323. padding-left: 2px;
  3324. padding-top: 4px;
  3325. font-weight: normal;
  3326. }
  3327. div.filedirelem {
  3328. position: relative;
  3329. display: block;
  3330. text-decoration: none;
  3331. }
  3332. ul.filedirelem {
  3333. padding: 2px;
  3334. margin: 0 5px 5px 5px;
  3335. }
  3336. ul.filedirelem li {
  3337. list-style: none;
  3338. padding: 2px;
  3339. margin: 0 10px 20px 10px;
  3340. width: 160px;
  3341. height: 120px;
  3342. text-align: center;
  3343. display: block;
  3344. float: <?php print $left; ?>;
  3345. border: solid 1px #f4f4f4;
  3346. }
  3347. .ui-layout-north {
  3348. }
  3349. ul.ecmjqft {
  3350. line-height: 16px;
  3351. padding: 0px;
  3352. margin: 0px;
  3353. font-weight: normal;
  3354. }
  3355. ul.ecmjqft li {
  3356. list-style: none;
  3357. padding: 0px;
  3358. padding-left: 20px;
  3359. margin: 0px;
  3360. white-space: nowrap;
  3361. display: block;
  3362. }
  3363. ul.ecmjqft a {
  3364. line-height: 16px;
  3365. vertical-align: middle;
  3366. color: #333;
  3367. padding: 0px 0px;
  3368. font-weight:normal;
  3369. display: inline-block !important;
  3370. /* float: left;*/
  3371. }
  3372. ul.ecmjqft a:active {
  3373. font-weight: bold !important;
  3374. }
  3375. ul.ecmjqft a:hover {
  3376. text-decoration: underline;
  3377. }
  3378. div.ecmjqft {
  3379. vertical-align: middle;
  3380. display: inline-block !important;
  3381. text-align: right;
  3382. position:absolute;
  3383. right:4px;
  3384. }
  3385. /* Core Styles */
  3386. .ecmjqft LI.directory { font-weight:normal; background: url(<?php echo dol_buildpath($path.'/theme/common/treemenu/folder2.png',1); ?>) left top no-repeat; }
  3387. .ecmjqft LI.expanded { font-weight:normal; background: url(<?php echo dol_buildpath($path.'/theme/common/treemenu/folder2-expanded.png',1); ?>) left top no-repeat; }
  3388. .ecmjqft LI.wait { font-weight:normal; background: url(<?php echo dol_buildpath('/theme/'.$theme.'/img/working.gif',1); ?>) left top no-repeat; }
  3389. /* ============================================================================== */
  3390. /* jNotify */
  3391. /* ============================================================================== */
  3392. .jnotify-container {
  3393. position: fixed !important;
  3394. <?php if (! empty($conf->global->MAIN_JQUERY_JNOTIFY_BOTTOM)) { ?>
  3395. top: auto !important;
  3396. bottom: 4px !important;
  3397. <?php } ?>
  3398. text-align: center;
  3399. min-width: <?php echo $dol_optimize_smallscreen?'200':'480'; ?>px;
  3400. width: auto;
  3401. max-width: 1024px;
  3402. padding-left: 10px !important;
  3403. padding-right: 10px !important;
  3404. }
  3405. /* use or not ? */
  3406. div.jnotify-background {
  3407. opacity : 0.95 !important;
  3408. -moz-box-shadow: 2px 2px 4px #888 !important;
  3409. -webkit-box-shadow: 2px 2px 4px #888 !important;
  3410. box-shadow: 2px 2px 4px #888 !important;
  3411. }
  3412. /* ============================================================================== */
  3413. /* blockUI */
  3414. /* ============================================================================== */
  3415. /*div.growlUI { background: url(check48.png) no-repeat 10px 10px }*/
  3416. div.dolEventValid h1, div.dolEventValid h2 {
  3417. color: #567b1b;
  3418. background-color: #e3f0db;
  3419. padding: 5px 5px 5px 5px;
  3420. text-align: left;
  3421. }
  3422. div.dolEventError h1, div.dolEventError h2 {
  3423. color: #a72947;
  3424. background-color: #d79eac;
  3425. padding: 5px 5px 5px 5px;
  3426. text-align: left;
  3427. }
  3428. /* ============================================================================== */
  3429. /* Maps */
  3430. /* ============================================================================== */
  3431. .divmap, #google-visualization-geomap-embed-0, #google-visualization-geomap-embed-1, google-visualization-geomap-embed-2 {
  3432. /* -moz-box-shadow: 0px 0px 10px #AAA;
  3433. -webkit-box-shadow: 0px 0px 10px #AAA;
  3434. box-shadow: 0px 0px 10px #AAA; */
  3435. }
  3436. /* ============================================================================== */
  3437. /* Datatable */
  3438. /* ============================================================================== */
  3439. table.dataTable tr.odd td.sorting_1, table.dataTable tr.even td.sorting_1 {
  3440. background: none !important;
  3441. }
  3442. .sorting_asc { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_asc.png',1); ?>') no-repeat center right !important; }
  3443. .sorting_desc { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_desc.png',1); ?>') no-repeat center right !important; }
  3444. .sorting_asc_disabled { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_asc_disabled.png',1); ?>') no-repeat center right !important; }
  3445. .sorting_desc_disabled { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_desc_disabled.png',1); ?>') no-repeat center right !important; }
  3446. .dataTables_paginate {
  3447. margin-top: 8px;
  3448. }
  3449. .paginate_button_disabled {
  3450. opacity: 1 !important;
  3451. color: #888 !important;
  3452. cursor: default !important;
  3453. }
  3454. .paginate_disabled_previous:hover, .paginate_enabled_previous:hover, .paginate_disabled_next:hover, .paginate_enabled_next:hover
  3455. {
  3456. font-weight: normal;
  3457. }
  3458. .paginate_enabled_previous:hover, .paginate_enabled_next:hover
  3459. {
  3460. text-decoration: underline !important;
  3461. }
  3462. .paginate_active
  3463. {
  3464. text-decoration: underline !important;
  3465. }
  3466. .paginate_button
  3467. {
  3468. font-weight: normal !important;
  3469. text-decoration: none !important;
  3470. }
  3471. .paging_full_numbers {
  3472. height: inherit !important;
  3473. }
  3474. .paging_full_numbers a.paginate_active:hover, .paging_full_numbers a.paginate_button:hover {
  3475. background-color: #DDD !important;
  3476. }
  3477. .paging_full_numbers, .paging_full_numbers a.paginate_active, .paging_full_numbers a.paginate_button {
  3478. background-color: #FFF !important;
  3479. border-radius: inherit !important;
  3480. }
  3481. .paging_full_numbers a.paginate_button_disabled:hover, .paging_full_numbers a.disabled:hover {
  3482. background-color: #FFF !important;
  3483. }
  3484. .paginate_button, .paginate_active {
  3485. border: 1px solid #ddd !important;
  3486. padding: 6px 12px !important;
  3487. margin-left: -1px !important;
  3488. line-height: 1.42857143 !important;
  3489. margin: 0 0 !important;
  3490. }
  3491. /* For jquery plugin combobox */
  3492. /* Disable this. It breaks wrapping of boxes
  3493. .ui-corner-all { white-space: nowrap; } */
  3494. .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled, .paginate_button_disabled {
  3495. opacity: .35;
  3496. filter: Alpha(Opacity=35);
  3497. background-image: none;
  3498. }
  3499. div.dataTables_length {
  3500. float: right !important;
  3501. padding-left: 8px;
  3502. }
  3503. div.dataTables_length select {
  3504. background: #fff;
  3505. }
  3506. .dataTables_wrapper .dataTables_paginate {
  3507. padding-top: 0px !important;
  3508. }
  3509. /* ============================================================================== */
  3510. /* Select2 */
  3511. /* ============================================================================== */
  3512. .select2-container .select2-choice > .select2-chosen {
  3513. margin-right: 23px;
  3514. }
  3515. .select2-container .select2-choice .select2-arrow {
  3516. border-radius: 0;
  3517. }
  3518. .select2-container .select2-choice {
  3519. color: #000;
  3520. }
  3521. .selectoptiondisabledwhite {
  3522. background: #FFFFFF !important;
  3523. }
  3524. .select2-choice,
  3525. .select2-drop.select2-drop-above.select2-drop-active,
  3526. .select2-container-active .select2-choice,
  3527. .select2-container-active .select2-choices,
  3528. .select2-dropdown-open.select2-drop-above .select2-choice,
  3529. .select2-dropdown-open.select2-drop-above .select2-choices,
  3530. .select2-container-multi.select2-container-active .select2-choices
  3531. {
  3532. border: 1px solid #aaa;
  3533. }
  3534. .select2-disabled
  3535. {
  3536. color: #888;
  3537. }
  3538. .select2-drop-active
  3539. {
  3540. border: 1px solid #aaa;
  3541. border-top: none;
  3542. }
  3543. a span.select2-chosen
  3544. {
  3545. font-weight: normal !important;
  3546. }
  3547. .select2-container .select2-choice {
  3548. background-image: none;
  3549. height: 24px;
  3550. line-height: 24px;
  3551. }
  3552. .select2-choices .select2-search-choice {
  3553. border: 1px solid #aaa !important;
  3554. }
  3555. .select2-results .select2-no-results, .select2-results .select2-searching, .select2-results .select2-ajax-error, .select2-results .select2-selection-limit
  3556. {
  3557. background: #FFFFFF;
  3558. }
  3559. .select2-results {
  3560. max-height: 400px;
  3561. }
  3562. .css-searchselectcombo ul.select2-results {
  3563. max-height: none;
  3564. }
  3565. .select2-container-multi.select2-container-disabled .select2-choices {
  3566. background-color: #FFFFFF;
  3567. background-image: none;
  3568. border: none;
  3569. cursor: default;
  3570. }
  3571. .select2-container-multi .select2-choices .select2-search-choice {
  3572. margin-bottom: 3px;
  3573. }
  3574. /* To emulate select 2 style */
  3575. .select2-container-multi-dolibarr .select2-choices-dolibarr .select2-search-choice-dolibarr {
  3576. padding: 2px 5px 1px 5px;
  3577. margin: 0 0 2px 3px;
  3578. position: relative;
  3579. line-height: 13px;
  3580. color: #333;
  3581. cursor: default;
  3582. border: 1px solid #ddd;
  3583. border-radius: 3px;
  3584. -webkit-box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
  3585. box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
  3586. background-clip: padding-box;
  3587. -webkit-touch-callout: none;
  3588. -webkit-user-select: none;
  3589. -moz-user-select: none;
  3590. -ms-user-select: none;
  3591. user-select: none;
  3592. background-color: #e4e4e4;
  3593. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#f4f4f4', GradientType=0);
  3594. background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eee));
  3595. background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
  3596. background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
  3597. background-image: linear-gradient(to bottom, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
  3598. }
  3599. .select2-container-multi-dolibarr .select2-choices-dolibarr .select2-search-choice-dolibarr a {
  3600. font-weight: normal;
  3601. }
  3602. .select2-container-multi-dolibarr .select2-choices-dolibarr li {
  3603. float: left;
  3604. list-style: none;
  3605. }
  3606. .select2-container-multi-dolibarr .select2-choices-dolibarr {
  3607. height: auto !important;
  3608. height: 1%;
  3609. margin: 0;
  3610. padding: 0 5px 0 0;
  3611. position: relative;
  3612. cursor: text;
  3613. overflow: hidden;
  3614. }
  3615. /* ============================================================================== */
  3616. /* For categories */
  3617. /* ============================================================================== */
  3618. .noborderoncategories {
  3619. border: none !important;
  3620. border-radius: 5px !important;
  3621. box-shadow: none;
  3622. -webkit-box-shadow: none !important;
  3623. box-shadow: none !important;
  3624. }
  3625. span.noborderoncategories a, li.noborderoncategories a {
  3626. line-height: normal;
  3627. }
  3628. span.noborderoncategories {
  3629. padding: 3px 5px 0px 5px;
  3630. }
  3631. .categtextwhite, .treeview .categtextwhite.hover {
  3632. color: #fff !important;
  3633. }
  3634. .categtextblack {
  3635. color: #000 !important;
  3636. }
  3637. /* ============================================================================== */
  3638. /* Multiselect with checkbox */
  3639. /* ============================================================================== */
  3640. ul.ulselectedfields {
  3641. z-index: 100; /* To have the select box appears on first plan even when near buttons are decorated by jmobile */
  3642. }
  3643. dl.dropdown {
  3644. margin:0px;
  3645. padding:0px;
  3646. }
  3647. .dropdown dd, .dropdown dt {
  3648. margin:0px;
  3649. padding:0px;
  3650. }
  3651. .dropdown ul {
  3652. margin: -1px 0 0 0;
  3653. text-align: left;
  3654. }
  3655. .dropdown dd {
  3656. position:relative;
  3657. }
  3658. .dropdown dt a {
  3659. display:block;
  3660. overflow: hidden;
  3661. border:0;
  3662. }
  3663. .dropdown dt a span, .multiSel span {
  3664. cursor:pointer;
  3665. display:inline-block;
  3666. padding: 0 3px 2px 0;
  3667. }
  3668. .dropdown dd ul {
  3669. background-color: #FFF;
  3670. border: 1px solid #888;
  3671. display:none;
  3672. right:0px; /* pop is align on right */
  3673. padding: 2px 15px 2px 5px;
  3674. position:absolute;
  3675. top:2px;
  3676. list-style:none;
  3677. max-height: 300px;
  3678. overflow: auto;
  3679. }
  3680. .dropdown span.value {
  3681. display:none;
  3682. }
  3683. .dropdown dd ul li {
  3684. white-space: nowrap;
  3685. font-weight: normal;
  3686. padding: 2px;
  3687. }
  3688. .dropdown dd ul li input[type="checkbox"] {
  3689. margin-right: 3px;
  3690. }
  3691. .dropdown dd ul li a, .dropdown dd ul li span {
  3692. padding: 3px;
  3693. display: block;
  3694. }
  3695. .dropdown dd ul li span {
  3696. color: #888;
  3697. }
  3698. .dropdown dd ul li a:hover {
  3699. background-color:#fff;
  3700. }
  3701. /* ============================================================================== */
  3702. /* JMobile */
  3703. /* ============================================================================== */
  3704. li.ui-li-divider .ui-link {
  3705. color: #FFF !important;
  3706. }
  3707. .ui-btn {
  3708. margin: 0.1em 2px
  3709. }
  3710. a.ui-link, a.ui-link:hover, .ui-btn:hover, span.ui-btn-text:hover, span.ui-btn-inner:hover {
  3711. text-decoration: none !important;
  3712. }
  3713. .ui-body-c {
  3714. background: #fff;
  3715. }
  3716. .ui-btn-inner {
  3717. min-width: .4em;
  3718. padding-left: 6px;
  3719. padding-right: 6px;
  3720. font-size: <?php print $fontsize ?>px;
  3721. /* white-space: normal; */ /* Warning, enable this break the truncate feature */
  3722. }
  3723. .ui-btn-icon-right .ui-btn-inner {
  3724. padding-right: 30px;
  3725. }
  3726. .ui-btn-icon-left .ui-btn-inner {
  3727. padding-left: 30px;
  3728. }
  3729. .ui-select .ui-btn-icon-right .ui-btn-inner {
  3730. padding-right: 30px;
  3731. }
  3732. .ui-select .ui-btn-icon-left .ui-btn-inner {
  3733. padding-left: 30px;
  3734. }
  3735. .ui-select .ui-btn-icon-right .ui-icon {
  3736. right: 8px;
  3737. }
  3738. .ui-btn-icon-left > .ui-btn-inner > .ui-icon, .ui-btn-icon-right > .ui-btn-inner > .ui-icon {
  3739. margin-top: -10px;
  3740. }
  3741. select {
  3742. /* display: inline-block; */ /* We can't set this. This disable ability to make */
  3743. /* TODO modified by jmobile, replace jmobile with pure css*/
  3744. overflow:hidden;
  3745. white-space: nowrap; /* Enabling this make behaviour strange when selecting the empty value if this empty value is '' instead of '&nbsp;' */
  3746. text-overflow: ellipsis;
  3747. }
  3748. .fiche .ui-controlgroup {
  3749. margin: 0px;
  3750. padding-bottom: 0px;
  3751. }
  3752. div.ui-controlgroup-controls div.tabsElem
  3753. {
  3754. margin-top: 2px;
  3755. }
  3756. div.ui-controlgroup-controls div.tabsElem a
  3757. {
  3758. -moz-box-shadow: 0 -3px 6px rgba(0,0,0,.2);
  3759. -webkit-box-shadow: 0 -3px 6px rgba(0,0,0,.2);
  3760. box-shadow: 0 -3px 6px rgba(0,0,0,.2);
  3761. }
  3762. div.ui-controlgroup-controls div.tabsElem a#active {
  3763. -moz-box-shadow: 0 -3px 6px rgba(0,0,0,.3);
  3764. -webkit-box-shadow: 0 -3px 6px rgba(0,0,0,.3);
  3765. box-shadow: 0 -3px 6px rgba(0,0,0,.3);
  3766. }
  3767. a.tab span.ui-btn-inner
  3768. {
  3769. border: none;
  3770. padding: 0;
  3771. }
  3772. .ui-link {
  3773. color: rgb(<?php print $colortext; ?>);
  3774. }
  3775. .liste_titre .ui-link {
  3776. color: rgb(<?php print $colortexttitle; ?>) !important;
  3777. }
  3778. a.ui-link {
  3779. word-wrap: break-word;
  3780. }
  3781. /* force wrap possible onto field overflow does not works */
  3782. .formdoc .ui-btn-inner
  3783. {
  3784. white-space: normal;
  3785. overflow: hidden;
  3786. text-overflow: clip; /* "hidden" : do not exists as a text-overflow value (https://developer.mozilla.org/fr/docs/Web/CSS/text-overflow) */
  3787. }
  3788. /* Warning: setting this may make screen not beeing refreshed after a combo selection */
  3789. /*.ui-body-c {
  3790. background: #fff;
  3791. }*/
  3792. div.ui-radio, div.ui-checkbox
  3793. {
  3794. display: inline-block;
  3795. border-bottom: 0px !important;
  3796. }
  3797. .ui-checkbox input, .ui-radio input {
  3798. height: auto;
  3799. width: auto;
  3800. margin: 4px;
  3801. position: static;
  3802. }
  3803. div.ui-checkbox label+input, div.ui-radio label+input {
  3804. position: absolute;
  3805. }
  3806. .ui-mobile fieldset
  3807. {
  3808. padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid #AAAAAA !important;
  3809. }
  3810. ul.ulmenu {
  3811. border-radius: 0;
  3812. -webkit-border-radius: 0;
  3813. }
  3814. .ui-field-contain label.ui-input-text {
  3815. vertical-align: middle !important;
  3816. }
  3817. .ui-mobile fieldset {
  3818. border-bottom: none !important;
  3819. }
  3820. /* Style for first level menu with jmobile */
  3821. .ui-li .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li {
  3822. padding: 1em 15px;
  3823. display: block;
  3824. }
  3825. .ui-btn-up-c {
  3826. font-weight: normal;
  3827. }
  3828. .ui-focus, .ui-btn:focus {
  3829. -moz-box-shadow: none;
  3830. -webkit-box-shadow: none;
  3831. box-shadow: none;
  3832. }
  3833. .ui-bar-b {
  3834. /*border: 1px solid #888;*/
  3835. border: none;
  3836. background: none;
  3837. text-shadow: none;
  3838. color: rgb(<?php print $colortexttitlenotab; ?>) !important;
  3839. }
  3840. .ui-bar-b, .lilevel0 {
  3841. background-repeat: repeat-x;
  3842. border: none;
  3843. background: none;
  3844. text-shadow: none;
  3845. color: rgb(<?php print $colortexttitlenotab; ?>) !important;
  3846. }
  3847. .alilevel0 {
  3848. font-weight: normal !important;
  3849. }
  3850. .ui-li.ui-last-child, .ui-li.ui-field-contain.ui-last-child {
  3851. border-bottom-width: 0px !important;
  3852. }
  3853. .alilevel0 {
  3854. color: rgb(<?php echo $colortexttitle; ?>) !important;
  3855. }
  3856. .ulmenu {
  3857. box-shadow: none !important;
  3858. border-bottom: 1px solid #444;
  3859. }
  3860. .ui-btn-icon-right {
  3861. border-right: 1px solid #ccc !important;
  3862. }
  3863. .ui-body-c {
  3864. border: 1px solid #ccc;
  3865. text-shadow: none;
  3866. }
  3867. .ui-btn-up-c, .ui-btn-hover-c {
  3868. /* border: 1px solid #ccc; */
  3869. text-shadow: none;
  3870. }
  3871. .ui-body-c .ui-link, .ui-body-c .ui-link:visited, .ui-body-c .ui-link:hover {
  3872. color: rgb(<?php print $colortextlink; ?>);
  3873. }
  3874. .ui-btn-up-c .vsmenudisabled {
  3875. color: #<?php echo $colorshadowtitle; ?> !important;
  3876. text-shadow: none !important;
  3877. }
  3878. /*
  3879. .ui-btn-up-c {
  3880. background: transparent;
  3881. }
  3882. */
  3883. div.tabsElem a.tab {
  3884. background: transparent;
  3885. }
  3886. /*.ui-controlgroup-horizontal .ui-btn.ui-first-child {
  3887. -webkit-border-top-left-radius: 6px;
  3888. border-top-left-radius: 6px;
  3889. }
  3890. .ui-controlgroup-horizontal .ui-btn.ui-last-child {
  3891. -webkit-border-top-right-radius: 6px;
  3892. border-top-right-radius: 6px;
  3893. }*/
  3894. .alilevel1 {
  3895. color: rgb(<?php print $colortexttitlenotab; ?>) !important;
  3896. }
  3897. .lilevel1 {
  3898. border-top: 2px solid #444;
  3899. background: #fff ! important;
  3900. }
  3901. .lilevel1 div div a {
  3902. font-weight: bold !important;
  3903. }
  3904. .lilevel2
  3905. {
  3906. padding-left: 22px;
  3907. background: #fff ! important;
  3908. }
  3909. .lilevel3
  3910. {
  3911. padding-left: 54px;
  3912. background: #fff ! important;
  3913. }
  3914. /* ============================================================================== */
  3915. /* POS */
  3916. /* ============================================================================== */
  3917. .menu_choix1 a {
  3918. background: url('<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/money.png',1) ?>') top left no-repeat;
  3919. background-position-y: 15px;
  3920. }
  3921. .menu_choix2 a {
  3922. background: url('<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/home.png',1) ?>') top left no-repeat;
  3923. background-position-y: 15px;
  3924. }
  3925. .menu_choix1,.menu_choix2 {
  3926. font-size: 1.4em;
  3927. text-align: left;
  3928. border: 1px solid #666;
  3929. margin-right: 20px;
  3930. }
  3931. .menu_choix1 a, .menu_choix2 a {
  3932. display: block;
  3933. color: #fff;
  3934. text-decoration: none;
  3935. padding-top: 18px;
  3936. padding-left: 54px;
  3937. font-size: 14px;
  3938. height: 40px;
  3939. }
  3940. .menu_choix1 a:hover,.menu_choix2 a:hover {
  3941. color: #6d3f6d;
  3942. }
  3943. .menu li.menu_choix1 {
  3944. padding-top: 6px;
  3945. padding-right: 10px;
  3946. padding-bottom: 2px;
  3947. }
  3948. .menu li.menu_choix2 {
  3949. padding-top: 6px;
  3950. padding-right: 10px;
  3951. padding-bottom: 2px;
  3952. }
  3953. @media only screen and (max-width: 767px)
  3954. {
  3955. .menu_choix1 a, .menu_choix2 a {
  3956. background-size: 36px 36px;
  3957. background-position-y: 6px;
  3958. padding-left: 40px;
  3959. }
  3960. .menu li.menu_choix1, .menu li.menu_choix2 {
  3961. padding-left: 4px;
  3962. padding-right: 0;
  3963. }
  3964. .liste_articles {
  3965. margin-right: 0 !important;
  3966. }
  3967. }
  3968. /* ============================================================================== */
  3969. /* Demo */
  3970. /* ============================================================================== */
  3971. img.demothumb {
  3972. box-shadow: 2px 2px 8px #888;
  3973. margin-bottom: 4px;
  3974. margin-right: 20px;
  3975. margin-left: 10px;
  3976. }
  3977. /* ============================================================================== */
  3978. /* Public */
  3979. /* ============================================================================== */
  3980. /* The theme for public pages */
  3981. .public_body {
  3982. margin: 20px;
  3983. }
  3984. .public_border {
  3985. border: 1px solid #888;
  3986. }
  3987. ::-webkit-scrollbar {
  3988. width: 12px;
  3989. }
  3990. ::-webkit-scrollbar-button {
  3991. background: #aaa
  3992. }
  3993. ::-webkit-scrollbar-track-piece {
  3994. background: #fff
  3995. }
  3996. ::-webkit-scrollbar-thumb {
  3997. background: #ddd
  3998. }​
  3999. /* ============================================================================== */
  4000. /* CSS style used for small screen */
  4001. /* ============================================================================== */
  4002. .imgopensurveywizard
  4003. {
  4004. padding: 0 4px 0 4px;
  4005. }
  4006. @media only screen and (max-width: 767px)
  4007. {
  4008. .imgopensurveywizard { width:95%; height: auto; }
  4009. #tooltip {
  4010. position: absolute;
  4011. width: <?php print dol_size(350,'width'); ?>px;
  4012. }
  4013. img.demothumb {
  4014. box-shadow: 1px 1px 4px #BBB;
  4015. margin-right: 6px;
  4016. margin-left: 4px;
  4017. width: 80px;
  4018. }
  4019. div.tabBar {
  4020. padding-left: 0px;
  4021. padding-right: 0px;
  4022. -moz-border-radius: 0;
  4023. -webkit-border-radius: 0;
  4024. border-radius: 0px;
  4025. border-right: none;
  4026. border-left: none;
  4027. }
  4028. }
  4029. /* nboftopmenuentries = <?php echo $nbtopmenuentries ?>, fontsize=<?php echo $fontsize ?> */
  4030. /* disableimages = <?php echo $disableimages; ?> */
  4031. /* rule to reduce top menu - 1st reduction */
  4032. @media only screen and (max-width: <?php echo round($nbtopmenuentries * $fontsize * 7, 0) + 200; ?>px)
  4033. {
  4034. div.tmenucenter {
  4035. max-width: <?php echo round($fontsize * 4); ?>px; /* size of viewport */
  4036. white-space: nowrap;
  4037. overflow: hidden;
  4038. text-overflow: ellipsis;
  4039. color: #<?php echo $colortextbackhmenu; ?>;
  4040. }
  4041. .mainmenuaspan {
  4042. /*display: none;*/
  4043. font-size: 10px;
  4044. }
  4045. .topmenuimage {
  4046. background-size: 26px auto;
  4047. margin-top: 0px;
  4048. }
  4049. li.tmenu, li.tmenusel {
  4050. min-width: 32px;
  4051. }
  4052. div.mainmenu {
  4053. min-width: auto;
  4054. }
  4055. div.tmenuleft {
  4056. display: none;
  4057. }
  4058. }
  4059. /* rule to reduce top menu - 2nd reduction */
  4060. @media only screen and (max-width: <?php echo round($nbtopmenuentries * $fontsize * 4.5, 0) + 200; ?>px)
  4061. {
  4062. div.tmenucenter {
  4063. max-width: <?php echo round($fontsize * 2); ?>px; /* size of viewport */
  4064. text-overflow: clip;
  4065. }
  4066. .mainmenuaspan {
  4067. /*display: none;*/
  4068. font-size: 10px;
  4069. }
  4070. .topmenuimage {
  4071. background-size: 20px auto;
  4072. margin-top: 2px;
  4073. }
  4074. }
  4075. /* rule to reduce top menu - 3rd reduction */
  4076. @media only screen and (max-width: 570px)
  4077. {
  4078. div#tmenu_tooltip {
  4079. <?php if (GETPOST("optioncss") == 'print') { ?>
  4080. display:none;
  4081. <?php } else { ?>
  4082. /* padding-<?php echo $right; ?>: 78px; */
  4083. <?php } ?>
  4084. }
  4085. li.tmenu, li.tmenusel {
  4086. min-width: 30px;
  4087. }
  4088. div.tmenucenter {
  4089. text-overflow: clip;
  4090. }
  4091. .topmenuimage {
  4092. background-size: 20px auto;
  4093. margin-top: 2px !important;
  4094. }
  4095. div.mainmenu {
  4096. min-width: 20px;
  4097. }
  4098. #tooltip {
  4099. position: absolute;
  4100. width: <?php print dol_size(300,'width'); ?>px;
  4101. }
  4102. select {
  4103. width: 98%;
  4104. min-width: 0 !important;
  4105. }
  4106. div.divphotoref {
  4107. padding-right: 5px;
  4108. }
  4109. img.photoref, div.photoref {
  4110. border: none;
  4111. -moz-box-shadow: none;
  4112. -webkit-box-shadow: none;
  4113. box-shadow: none;
  4114. padding: 4px;
  4115. height: 20px;
  4116. width: 20px;
  4117. object-fit: contain;
  4118. }
  4119. }
  4120. <?php
  4121. if (is_object($db)) $db->close();