common.css.php 55 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942
  1. <?php
  2. /* vim: set expandtab sw=4 ts=4 sts=4: */
  3. /**
  4. * Common styles for the pmahomme theme
  5. *
  6. * @package PhpMyAdmin-theme
  7. * @subpackage PMAHomme
  8. */
  9. // unplanned execution path
  10. if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
  11. exit();
  12. }
  13. ?>
  14. /******************************************************************************/
  15. /* general tags */
  16. html {
  17. font-size: <?php echo $_SESSION['PMA_Theme']->getFontSize(); ?>
  18. }
  19. input,
  20. select,
  21. textarea {
  22. font-size: 1em;
  23. }
  24. body {
  25. <?php if (! empty($GLOBALS['cfg']['FontFamily'])) { ?>
  26. font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>;
  27. <?php } ?>
  28. padding: 0;
  29. margin: 0;
  30. margin-<?php echo $left; ?>: 240px;
  31. color: #444;
  32. background: #fff;
  33. }
  34. body#loginform {
  35. margin: 0;
  36. }
  37. #page_content {
  38. margin: 0 .5em;
  39. }
  40. <?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
  41. textarea,
  42. tt,
  43. pre,
  44. code {
  45. font-family: <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>;
  46. }
  47. <?php } ?>
  48. h1 {
  49. font-size: 140%;
  50. font-weight: bold;
  51. }
  52. h2 {
  53. font-size: 2em;
  54. font-weight: normal;
  55. text-shadow: 0 1px 0 #fff;
  56. padding: 10px 0 10px;
  57. padding-<?php echo $left; ?>: 3px;
  58. color: #777;
  59. }
  60. /* Hiding icons in the page titles */
  61. h2 img {
  62. display: none;
  63. }
  64. h2 a img {
  65. display: inline;
  66. }
  67. .data,
  68. .data_full_width {
  69. margin: 0 0 12px;
  70. }
  71. .data_full_width {
  72. width: 100%;
  73. }
  74. #table_results td.data {
  75. border-right: 1px solid #bbb;
  76. }
  77. h3 {
  78. font-weight: bold;
  79. }
  80. a,
  81. a:link,
  82. a:visited,
  83. a:active,
  84. button.mult_submit,
  85. .checkall_box+label {
  86. text-decoration: none;
  87. color: #235a81;
  88. cursor: pointer;
  89. outline: none;
  90. }
  91. a:hover,
  92. button.mult_submit:hover,
  93. button.mult_submit:focus,
  94. .checkall_box+label:hover {
  95. text-decoration: underline;
  96. color: #235a81;
  97. }
  98. #initials_table {
  99. background: #f3f3f3;
  100. border: 1px solid #aaa;
  101. margin-bottom: 10px;
  102. -moz-border-radius: 5px;
  103. -webkit-border-radius: 5px;
  104. border-radius: 5px;
  105. }
  106. #initials_table td {
  107. padding: 8px !important;
  108. }
  109. #initials_table a {
  110. border: 1px solid #aaa;
  111. background: #fff;
  112. padding: 4px 8px;
  113. -moz-border-radius: 5px;
  114. -webkit-border-radius: 5px;
  115. border-radius: 5px;
  116. <?php echo $_SESSION['PMA_Theme']->getCssGradient('ffffff', 'e0e0e0'); ?>
  117. }
  118. #initials_table a.active {
  119. border: 1px solid #666;
  120. box-shadow: 0 0 2px #999;
  121. <?php echo $_SESSION['PMA_Theme']->getCssGradient('bbbbbb', 'ffffff'); ?>
  122. }
  123. dfn {
  124. font-style: normal;
  125. }
  126. dfn:hover {
  127. font-style: normal;
  128. cursor: help;
  129. }
  130. th {
  131. font-weight: bold;
  132. color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
  133. background: #f3f3f3;
  134. <?php echo $_SESSION['PMA_Theme']->getCssGradient('ffffff', 'cccccc'); ?>
  135. }
  136. a img {
  137. border: 0;
  138. }
  139. hr {
  140. color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;
  141. background-color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;
  142. border: 0;
  143. height: 1px;
  144. }
  145. form {
  146. padding: 0;
  147. margin: 0;
  148. display: inline;
  149. }
  150. input,
  151. select {
  152. /* Fix outline in Chrome: */
  153. outline: none;
  154. }
  155. input[type=text],
  156. input[type=password],
  157. input[type=number],
  158. input[type=date] {
  159. border-radius: 2px;
  160. -moz-border-radius: 2px;
  161. -webkit-border-radius: 2px;
  162. background: white;
  163. border: 1px solid #aaa;
  164. color: #555;
  165. padding: 4px;
  166. margin: 6px;
  167. }
  168. input[type=number] {
  169. width: 50px;
  170. }
  171. input[type=text],
  172. input[type=password],
  173. input[type=number],
  174. input[type=date],
  175. select {
  176. transition: all 0.2s;
  177. -ms-transition: all 0.2s;
  178. -webkit-transition: all 0.2s;
  179. -moz-transition: all 0.2s;
  180. }
  181. input[type=text][disabled],
  182. input[type=text][disabled]:hover,
  183. input[type=password][disabled],
  184. input[type=password][disabled]:hover,
  185. input[type=number][disabled],
  186. input[type=number][disabled]:hover,
  187. input[type=date][disabled],
  188. input[type=date][disabled]:hover,
  189. select[disabled],
  190. select[disabled]:hover {
  191. background: #e8e8e8;
  192. box-shadow: none;
  193. -webkit-box-shadow: none;
  194. -moz-box-shadow: none;
  195. }
  196. input[type=text]:hover,
  197. input[type=text]:focus,
  198. input[type=password]:hover,
  199. input[type=password]:focus,
  200. input[type=number]:hover,
  201. input[type=number]:focus,
  202. input[type=date]:hover,
  203. input[type=date]:focus,
  204. select:focus,
  205. select:hover {
  206. border: 1px solid #7c7c7c;
  207. background: #fff;
  208. }
  209. input[type=text]:hover,
  210. input[type=password]:hover,
  211. input[type=number]:hover,
  212. input[type=date]:hover,
  213. select:hover {
  214. box-shadow: 0 1px 3px #aaa;
  215. -webkit-box-shadow: 0 1px 3px #aaa;
  216. -moz-box-shadow: 0 1px 3px #aaa;
  217. }
  218. input[type=submit],
  219. button[type=submit]:not(.mult_submit) {
  220. font-weight: bold !important;
  221. }
  222. input[type=submit],
  223. button[type=submit]:not(.mult_submit),
  224. input[type=reset],
  225. input[name=submit_reset],
  226. input.button {
  227. margin-left: 14px;
  228. border: 1px solid #aaa;
  229. padding: 3px 7px;
  230. color: #111;
  231. text-decoration: none;
  232. background: #ddd;
  233. border-radius: 12px;
  234. -webkit-border-radius: 12px;
  235. -moz-border-radius: 12px;
  236. text-shadow: 0 1px 0 #fff;
  237. <?php echo $_SESSION['PMA_Theme']->getCssGradient('f8f8f8', 'd8d8d8'); ?>
  238. }
  239. input[type=submit]:hover,
  240. button[type=submit]:not(.mult_submit):hover,
  241. input[type=reset]:hover,
  242. input[name=submit_reset]:hover,
  243. input.button:hover {
  244. position: relative;
  245. <?php echo $_SESSION['PMA_Theme']->getCssGradient('fff', 'ddd'); ?>
  246. cursor: pointer;
  247. }
  248. input[type=submit]:active,
  249. button[type=submit]:not(.mult_submit):active,
  250. input[type=reset]:active,
  251. input[name=submit_reset]:active,
  252. input.button:active {
  253. position: relative;
  254. <?php echo $_SESSION['PMA_Theme']->getCssGradient('eee', 'ddd'); ?>
  255. box-shadow: 0 1px 6px -2px #333 inset;
  256. text-shadow: none;
  257. }
  258. textarea {
  259. overflow: visible;
  260. height: <?php echo ceil($GLOBALS['cfg']['TextareaRows'] * 1.2); ?>em;
  261. }
  262. textarea.char {
  263. height: <?php echo ceil($GLOBALS['cfg']['CharTextareaRows'] * 1.2); ?>em;
  264. }
  265. fieldset {
  266. margin-top: 1em;
  267. border-radius: 4px 4px 0 0;
  268. -moz-border-radius: 4px 4px 0 0;
  269. -webkit-border-radius: 4px 4px 0 0;
  270. border: #aaa solid 1px;
  271. padding: 1.5em;
  272. background: #eee;
  273. text-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 2px #fff inset;
  274. -moz-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 2px #fff inset;
  275. -webkit-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 2px #fff inset;
  276. box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 2px #fff inset;
  277. }
  278. fieldset fieldset {
  279. margin: .8em;
  280. background: #fff;
  281. border: 1px solid #aaa;
  282. background: #E8E8E8;
  283. }
  284. fieldset legend {
  285. font-weight: bold;
  286. color: #444;
  287. padding: 5px 10px;
  288. border-radius: 2px;
  289. -moz-border-radius: 2px;
  290. -webkit-border-radius: 2px;
  291. border: 1px solid #aaa;
  292. background-color: #fff;
  293. -moz-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>3px 3px 15px #bbb;
  294. -webkit-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>3px 3px 15px #bbb;
  295. box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>3px 3px 15px #bbb;
  296. max-width: 100%;
  297. }
  298. .some-margin {
  299. margin: 1.5em;
  300. }
  301. /* buttons in some browsers (eg. Konqueror) are block elements,
  302. this breaks design */
  303. button {
  304. display: inline;
  305. }
  306. table caption,
  307. table th,
  308. table td {
  309. padding: .3em;
  310. margin: .1em;
  311. vertical-align: top;
  312. text-shadow: 0 1px 0 #fff;
  313. }
  314. /* 3.4 */
  315. table {
  316. border-collapse: collapse;
  317. }
  318. th {
  319. border-right: 1px solid #fff;
  320. text-align: left;
  321. }
  322. img,
  323. button {
  324. vertical-align: middle;
  325. }
  326. input[type="checkbox"],
  327. input[type="radio"] {
  328. vertical-align: -11%;
  329. }
  330. select {
  331. -moz-border-radius: 2px;
  332. -webkit-border-radius: 2px;
  333. border-radius: 2px;
  334. border: 1px solid #bbb;
  335. color: #333;
  336. padding: 3px;
  337. background: white;
  338. }
  339. select[multiple] {
  340. <?php echo $_SESSION['PMA_Theme']->getCssGradient('ffffff', 'f2f2f2'); ?>
  341. }
  342. /******************************************************************************/
  343. /* classes */
  344. .clearfloat {
  345. clear: both;
  346. }
  347. .floatleft {
  348. float: <?php echo $left; ?>;
  349. margin-<?php echo $right; ?>: 1em;
  350. }
  351. .floatright {
  352. float: <?php echo $right; ?>;
  353. }
  354. .center {
  355. text-align: center;
  356. }
  357. table.nospacing {
  358. border-spacing: 0;
  359. }
  360. table.nopadding tr th, table.nopadding tr td {
  361. padding: 0;
  362. }
  363. th.left, td.left {
  364. text-align: left;
  365. }
  366. th.center, td.center {
  367. text-align: center;
  368. }
  369. th.right, td.right {
  370. text-align: right;
  371. }
  372. tr.vtop th, tr.vtop td, th.vtop, td.vtop {
  373. vertical-align: top;
  374. }
  375. tr.vmiddle th, tr.vmiddle td, th.vmiddle, td.vmiddle {
  376. vertical-align: middle;
  377. }
  378. tr.vbottom th, tr.vbottom td, th.vbottom, td.vbottom {
  379. vertical-align: bottom;
  380. }
  381. .paddingtop {
  382. padding-top: 1em;
  383. }
  384. .separator {
  385. color: #fff;
  386. text-shadow: 0 1px 0 #000;
  387. }
  388. div.tools {
  389. /* border: 1px solid #000; */
  390. padding: .2em;
  391. }
  392. div.tools a {
  393. color: #3a7ead !important;
  394. }
  395. div.tools,
  396. fieldset.tblFooters {
  397. margin-top: 0;
  398. margin-bottom: .5em;
  399. /* avoid a thick line since this should be used under another fieldset */
  400. border-top: 0;
  401. text-align: <?php echo $right; ?>;
  402. float: none;
  403. clear: both;
  404. -webkit-border-radius: 0 0 4px 4px;
  405. -moz-border-radius: 0 0 4px 4px;
  406. border-radius: 0 0 4px 5px;
  407. }
  408. div.null_div {
  409. height: 20px;
  410. text-align: center;
  411. font-style: normal;
  412. min-width: 50px;
  413. }
  414. fieldset .formelement {
  415. float: <?php echo $left; ?>;
  416. margin-<?php echo $right; ?>: .5em;
  417. /* IE */
  418. white-space: nowrap;
  419. }
  420. @media all and (min-width: 1600px) {
  421. fieldset .formelement {
  422. clear: none;
  423. }
  424. #relationalTable td:first-child + td {
  425. width: 25%;
  426. }
  427. #relationalTable td:first-child + td select {
  428. width: 32%;
  429. margin-right: 1%;
  430. }
  431. #relationalTable {
  432. width: 100%;
  433. }
  434. }
  435. /* revert for Gecko */
  436. fieldset div[class=formelement] {
  437. white-space: normal;
  438. }
  439. button.mult_submit {
  440. border: none;
  441. background-color: transparent;
  442. }
  443. /* odd items 1,3,5,7,... */
  444. table tr.odd th,
  445. .odd {
  446. background: #fff;
  447. <?php echo $_SESSION['PMA_Theme']->getCssIEClearFilter(); ?>
  448. }
  449. /* even items 2,4,6,8,... */
  450. /* (tested on CRTs and ACLs) */
  451. table tr.even th,
  452. .even {
  453. background: #DFDFDF;
  454. <?php echo $_SESSION['PMA_Theme']->getCssIEClearFilter(); ?>
  455. }
  456. /* odd table rows 1,3,5,7,... */
  457. table tr.odd th,
  458. table tr.odd,
  459. table tr.even th,
  460. table tr.even {
  461. text-align: <?php echo $left; ?>;
  462. }
  463. <?php if ($GLOBALS['cfg']['BrowseMarkerEnable']) { ?>
  464. /* marked table rows */
  465. td.marked,
  466. table tr.marked td,
  467. table tr.marked th,
  468. table tr.marked {
  469. <?php echo $_SESSION['PMA_Theme']->getCssGradient('ced6df', 'b6c6d7'); ?>
  470. color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
  471. }
  472. <?php } ?>
  473. <?php if ($GLOBALS['cfg']['BrowsePointerEnable']) { ?>
  474. /* hovered items */
  475. .odd:hover,
  476. .even:hover,
  477. .hover {
  478. <?php echo $_SESSION['PMA_Theme']->getCssGradient('ced6df', 'b6c6d7'); ?>
  479. color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
  480. }
  481. /* hovered table rows */
  482. table tr.odd:hover th,
  483. table tr.even:hover th,
  484. table tr.hover th {
  485. <?php echo $_SESSION['PMA_Theme']->getCssGradient('ced6df', 'b6c6d7'); ?>
  486. color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
  487. }
  488. <?php } ?>
  489. /**
  490. * marks table rows/cells if the db field is in a where condition
  491. */
  492. .condition {
  493. border-color: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?> !important;
  494. }
  495. th.condition {
  496. border-width: 1px 1px 0 1px;
  497. border-style: solid;
  498. }
  499. td.condition {
  500. border-width: 0 1px 0 1px;
  501. border-style: solid;
  502. }
  503. tr:last-child td.condition {
  504. border-width: 0 1px 1px 1px;
  505. }
  506. <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
  507. /* for first th which must have right border set (ltr only) */
  508. .before-condition {
  509. border-right: 1px solid <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
  510. }
  511. <?php } ?>
  512. /**
  513. * cells with the value NULL
  514. */
  515. td.null {
  516. font-style: italic;
  517. text-align: <?php echo $right; ?>;
  518. }
  519. table .valueHeader {
  520. text-align: <?php echo $right; ?>;
  521. white-space: normal;
  522. }
  523. table .value {
  524. text-align: <?php echo $right; ?>;
  525. white-space: normal;
  526. }
  527. /* IE doesnt handles 'pre' right */
  528. table [class=value] {
  529. white-space: normal;
  530. }
  531. <?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
  532. .value {
  533. font-family: <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>;
  534. }
  535. <?php } ?>
  536. .attention {
  537. color: red;
  538. font-weight: bold;
  539. }
  540. .allfine {
  541. color: green;
  542. }
  543. img.lightbulb {
  544. cursor: pointer;
  545. }
  546. .pdflayout {
  547. overflow: hidden;
  548. clip: inherit;
  549. background-color: #fff;
  550. display: none;
  551. border: 1px solid #000;
  552. position: relative;
  553. }
  554. .pdflayout_table {
  555. background: #D3DCE3;
  556. color: #000;
  557. overflow: hidden;
  558. clip: inherit;
  559. z-index: 2;
  560. display: inline;
  561. visibility: inherit;
  562. cursor: move;
  563. position: absolute;
  564. font-size: 80%;
  565. border: 1px dashed #000;
  566. }
  567. /* Doc links in SQL */
  568. .cm-sql-doc {
  569. text-decoration: none;
  570. border-bottom: 1px dotted #000;
  571. color: inherit !important;
  572. }
  573. /* no extra space in table cells */
  574. td .icon {
  575. margin: 0;
  576. }
  577. .selectallarrow {
  578. margin-<?php echo $right; ?>: .3em;
  579. margin-<?php echo $left; ?>: .6em;
  580. }
  581. /* message boxes: error, confirmation */
  582. #pma_errors, #pma_demo {
  583. padding: 0 0.5em;
  584. }
  585. .success h1,
  586. .notice h1,
  587. div.error h1 {
  588. border-bottom: 2px solid;
  589. font-weight: bold;
  590. text-align: <?php echo $left; ?>;
  591. margin: 0 0 .2em 0;
  592. }
  593. div.success,
  594. div.notice,
  595. div.error {
  596. margin: .5em 0 1.3em;
  597. border: 1px solid;
  598. background-repeat: no-repeat;
  599. <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
  600. background-position: 10px 50%;
  601. padding: 10px 10px 10px 10px;
  602. <?php } else { ?>
  603. background-position: 99% 50%;
  604. padding: 10px 35px 10px 10px;
  605. <?php } ?>
  606. -moz-border-radius: 5px;
  607. -webkit-border-radius: 5px;
  608. border-radius: 5px;
  609. -moz-box-shadow: 0 1px 1px #fff inset;
  610. -webkit-box-shadow: 0 1px 1px #fff inset;
  611. box-shadow: 0 1px 1px #fff inset;
  612. }
  613. .success a,
  614. .notice a,
  615. .error a {
  616. text-decoration: underline;
  617. }
  618. .success {
  619. color: #000;
  620. background-color: #ebf8a4;
  621. }
  622. h1.success,
  623. div.success {
  624. border-color: #a2d246;
  625. }
  626. .success h1 {
  627. border-color: #00FF00;
  628. }
  629. .notice {
  630. color: #000;
  631. background-color: #e8eef1;
  632. }
  633. h1.notice,
  634. div.notice {
  635. border-color: #3a6c7e;
  636. }
  637. .notice h1 {
  638. border-color: #ffb10a;
  639. }
  640. .error {
  641. border: 1px solid maroon !important;
  642. color: #000;
  643. background: pink;
  644. }
  645. h1.error,
  646. div.error {
  647. border-color: #333;
  648. }
  649. div.error h1 {
  650. border-color: #ff0000;
  651. }
  652. .confirmation {
  653. color: #000;
  654. background-color: pink;
  655. }
  656. fieldset.confirmation {
  657. }
  658. fieldset.confirmation legend {
  659. }
  660. /* end messageboxes */
  661. .tblcomment {
  662. font-size: 70%;
  663. font-weight: normal;
  664. color: #000099;
  665. }
  666. .tblHeaders {
  667. font-weight: bold;
  668. color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
  669. background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
  670. }
  671. div.tools,
  672. .tblFooters {
  673. font-weight: normal;
  674. color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
  675. background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
  676. }
  677. .tblHeaders a:link,
  678. .tblHeaders a:active,
  679. .tblHeaders a:visited,
  680. div.tools a:link,
  681. div.tools a:visited,
  682. div.tools a:active,
  683. .tblFooters a:link,
  684. .tblFooters a:active,
  685. .tblFooters a:visited {
  686. color: #0000FF;
  687. }
  688. .tblHeaders a:hover,
  689. div.tools a:hover,
  690. .tblFooters a:hover {
  691. color: #FF0000;
  692. }
  693. /* forbidden, no privileges */
  694. .noPrivileges {
  695. color: #FF0000;
  696. font-weight: bold;
  697. }
  698. /* disabled text */
  699. .disabled,
  700. .disabled a:link,
  701. .disabled a:active,
  702. .disabled a:visited {
  703. color: #666;
  704. }
  705. .disabled a:hover {
  706. color: #666;
  707. text-decoration: none;
  708. }
  709. tr.disabled td,
  710. td.disabled {
  711. background-color: #f3f3f3;
  712. color: #aaa;
  713. }
  714. .nowrap {
  715. white-space: nowrap;
  716. }
  717. /**
  718. * login form
  719. */
  720. body#loginform h1,
  721. body#loginform a.logo {
  722. display: block;
  723. text-align: center;
  724. }
  725. body#loginform {
  726. margin-top: 1em;
  727. text-align: center;
  728. }
  729. body#loginform div.container {
  730. text-align: <?php echo $left; ?>;
  731. width: 30em;
  732. margin: 0 auto;
  733. }
  734. form.login label {
  735. float: <?php echo $left; ?>;
  736. width: 10em;
  737. font-weight: bolder;
  738. }
  739. form.login input[type=text],
  740. form.login input[type=password],
  741. form.login select {
  742. width: 14em;
  743. }
  744. .commented_column {
  745. border-bottom: 1px dashed #000;
  746. }
  747. .column_attribute {
  748. font-size: 70%;
  749. }
  750. /******************************************************************************/
  751. /* specific elements */
  752. /* topmenu */
  753. #topmenu a {
  754. text-shadow: 0 1px 0 #fff;
  755. }
  756. #topmenu .error {
  757. background: #eee;border: 0 !important;color: #aaa;
  758. }
  759. ul#topmenu,
  760. ul#topmenu2,
  761. ul.tabs {
  762. font-weight: bold;
  763. list-style-type: none;
  764. margin: 0;
  765. padding: 0;
  766. }
  767. ul#topmenu2 {
  768. margin: .25em .5em 0;
  769. height: 2em;
  770. clear: both;
  771. }
  772. ul#topmenu li,
  773. ul#topmenu2 li {
  774. float: <?php echo $left; ?>;
  775. margin: 0;
  776. vertical-align: middle;
  777. }
  778. #topmenu img,
  779. #topmenu2 img {
  780. margin-right: .5em;
  781. vertical-align: -3px;
  782. }
  783. .menucontainer {
  784. <?php echo $_SESSION['PMA_Theme']->getCssGradient('ffffff', 'dcdcdc'); ?>
  785. border-top: 1px solid #aaa;
  786. }
  787. /* default tab styles */
  788. .tabactive {
  789. background: #fff !important;
  790. }
  791. ul#topmenu2 a {
  792. display: block;
  793. margin: 7px 6px 7px;
  794. margin-<?php echo $left; ?>: 0;
  795. padding: 4px 10px;
  796. white-space: nowrap;
  797. border: 1px solid #ddd;
  798. border-radius: 20px;
  799. -moz-border-radius: 20px;
  800. -webkit-border-radius: 20px;
  801. background: #f2f2f2;
  802. }
  803. fieldset.caution a {
  804. color: #FF0000;
  805. }
  806. fieldset.caution a:hover {
  807. color: #fff;
  808. background-color: #FF0000;
  809. }
  810. #topmenu {
  811. margin-top: .5em;
  812. padding: .1em .3em;
  813. }
  814. ul#topmenu ul {
  815. -moz-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 6px #ddd;
  816. -webkit-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>2px 2px 3px #666;
  817. box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>2px 2px 3px #666;
  818. }
  819. ul#topmenu ul.only {
  820. <?php echo $left; ?>: 0;
  821. }
  822. ul#topmenu > li {
  823. border-right: 1px solid #fff;
  824. border-left: 1px solid #ccc;
  825. border-bottom: 1px solid #ccc;
  826. }
  827. ul#topmenu > li:first-child {
  828. border-left: 0;
  829. }
  830. /* default tab styles */
  831. ul#topmenu a,
  832. ul#topmenu span {
  833. padding: .6em;
  834. }
  835. ul#topmenu ul a {
  836. border-width: 1pt 0 0 0;
  837. -moz-border-radius: 0;
  838. -webkit-border-radius: 0;
  839. border-radius: 0;
  840. }
  841. ul#topmenu ul li:first-child a {
  842. border-width: 0;
  843. }
  844. /* enabled hover/active tabs */
  845. ul#topmenu > li > a:hover,
  846. ul#topmenu > li > .tabactive {
  847. text-decoration: none;
  848. }
  849. ul#topmenu ul a:hover,
  850. ul#topmenu ul .tabactive {
  851. text-decoration: none;
  852. }
  853. ul#topmenu a.tab:hover,
  854. ul#topmenu .tabactive {
  855. /* background-color: <?php echo $GLOBALS['cfg']['MainBackground']; ?>; */
  856. }
  857. ul#topmenu2 a.tab:hover,
  858. ul#topmenu2 a.tabactive {
  859. background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
  860. border-radius: .3em;
  861. -moz-border-radius: .3em;
  862. -webkit-border-radius: .3em;
  863. text-decoration: none;
  864. }
  865. /* to be able to cancel the bottom border, use <li class="active"> */
  866. ul#topmenu > li.active {
  867. /* border-bottom: 0pt solid <?php echo $GLOBALS['cfg']['MainBackground']; ?>; */
  868. border-right: 0;
  869. border-bottom-color: #fff;
  870. }
  871. /* end topmenu */
  872. /* zoom search */
  873. div#dataDisplay input,
  874. div#dataDisplay select {
  875. margin: 0;
  876. margin-<?php echo $right; ?>: .5em;
  877. }
  878. div#dataDisplay th {
  879. line-height: 2em;
  880. }
  881. /* Calendar */
  882. table.calendar {
  883. width: 100%;
  884. }
  885. table.calendar td {
  886. text-align: center;
  887. }
  888. table.calendar td a {
  889. display: block;
  890. }
  891. table.calendar td a:hover {
  892. background-color: #CCFFCC;
  893. }
  894. table.calendar th {
  895. background-color: #D3DCE3;
  896. }
  897. table.calendar td.selected {
  898. background-color: #FFCC99;
  899. }
  900. img.calendar {
  901. border: none;
  902. }
  903. form.clock {
  904. text-align: center;
  905. }
  906. /* end Calendar */
  907. /* table stats */
  908. div#tablestatistics table {
  909. float: <?php echo $left; ?>;
  910. margin-bottom: .5em;
  911. margin-<?php echo $right; ?>: 1.5em;
  912. margin-top: .5em;
  913. min-width: 16em;
  914. }
  915. /* end table stats */
  916. /* server privileges */
  917. #tableuserrights td,
  918. #tablespecificuserrights td,
  919. #tabledatabases td {
  920. vertical-align: middle;
  921. }
  922. /* end server privileges */
  923. /* Heading */
  924. #topmenucontainer {
  925. padding-<?php echo $right; ?>: 1em;
  926. width: 100%;
  927. }
  928. #serverinfo {
  929. background: #888;
  930. padding: .3em .9em;
  931. padding-<?php echo $left; ?>: 2.2em;
  932. text-shadow: 0 1px 0 #000;
  933. width: 10000px;
  934. overflow: hidden;
  935. }
  936. #serverinfo .item {
  937. white-space: nowrap;
  938. color: #fff;
  939. }
  940. #goto_pagetop {
  941. position: fixed;
  942. padding: .25em .25em .2em;
  943. top: 0;
  944. <?php echo $right; ?>: 0;
  945. z-index: 900;
  946. background: #888;
  947. }
  948. #span_table_comment {
  949. font-weight: bold;
  950. font-style: italic;
  951. white-space: nowrap;
  952. margin-left: 10px;
  953. color: #D6D6D6;
  954. text-shadow: none;
  955. }
  956. #serverinfo img {
  957. margin: 0 .1em 0;
  958. margin-<?php echo $left; ?>: .2em;
  959. }
  960. #textSQLDUMP {
  961. width: 95%;
  962. height: 95%;
  963. font-family: Consolas, "Courier New", Courier, mono;
  964. font-size: 110%;
  965. }
  966. #TooltipContainer {
  967. position: absolute;
  968. z-index: 99;
  969. width: 20em;
  970. height: auto;
  971. overflow: visible;
  972. visibility: hidden;
  973. background-color: #ffffcc;
  974. color: #006600;
  975. border: .1em solid #000;
  976. padding: .5em;
  977. }
  978. /* user privileges */
  979. #fieldset_add_user_login div.item {
  980. border-bottom: 1px solid silver;
  981. padding-bottom: .3em;
  982. margin-bottom: .3em;
  983. }
  984. #fieldset_add_user_login label {
  985. float: <?php echo $left; ?>;
  986. display: block;
  987. width: 10em;
  988. max-width: 100%;
  989. text-align: <?php echo $right; ?>;
  990. padding-<?php echo $right; ?>: .5em;
  991. }
  992. #fieldset_add_user_login span.options #select_pred_username,
  993. #fieldset_add_user_login span.options #select_pred_hostname,
  994. #fieldset_add_user_login span.options #select_pred_password {
  995. width: 100%;
  996. max-width: 100%;
  997. }
  998. #fieldset_add_user_login span.options {
  999. float: <?php echo $left; ?>;
  1000. display: block;
  1001. width: 12em;
  1002. max-width: 100%;
  1003. padding-<?php echo $right; ?>: .5em;
  1004. }
  1005. #fieldset_add_user_login input {
  1006. width: 12em;
  1007. clear: <?php echo $right; ?>;
  1008. max-width: 100%;
  1009. }
  1010. #fieldset_add_user_login span.options input {
  1011. width: auto;
  1012. }
  1013. #fieldset_user_priv div.item {
  1014. float: <?php echo $left; ?>;
  1015. width: 9em;
  1016. max-width: 100%;
  1017. }
  1018. #fieldset_user_priv div.item div.item {
  1019. float: none;
  1020. }
  1021. #fieldset_user_priv div.item label {
  1022. white-space: nowrap;
  1023. }
  1024. #fieldset_user_priv div.item select {
  1025. width: 100%;
  1026. }
  1027. #fieldset_user_global_rights fieldset {
  1028. float: <?php echo $left; ?>;
  1029. }
  1030. #fieldset_user_group_rights fieldset {
  1031. float: <?php echo $left; ?>;
  1032. }
  1033. #fieldset_user_global_rights legend input {
  1034. margin-<?php echo $left; ?>: 2em;
  1035. }
  1036. /* end user privileges */
  1037. /* serverstatus */
  1038. .linkElem:hover {
  1039. text-decoration: underline;
  1040. color: #235a81;
  1041. cursor: pointer;
  1042. }
  1043. h3#serverstatusqueries span {
  1044. font-size: 60%;
  1045. display: inline;
  1046. }
  1047. img.sortableIcon {
  1048. float: <?php echo $right; ?>;
  1049. background-repeat: no-repeat;
  1050. margin: 0;
  1051. }
  1052. .buttonlinks {
  1053. float: <?php echo $right; ?>;
  1054. white-space: nowrap;
  1055. }
  1056. /* Also used for the variables page */
  1057. fieldset#tableFilter {
  1058. margin-bottom: 1em;
  1059. }
  1060. div#serverStatusTabs {
  1061. margin-top: 1em;
  1062. }
  1063. caption a.top {
  1064. float: <?php echo $right; ?>;
  1065. }
  1066. div#serverstatusquerieschart {
  1067. float: <?php echo $left; ?>;
  1068. width: 500px;
  1069. height: 350px;
  1070. padding-<?php echo $left; ?>: 30px;
  1071. }
  1072. table#serverstatusqueriesdetails,
  1073. table#serverstatustraffic {
  1074. float: <?php echo $left; ?>;
  1075. }
  1076. table#serverstatusqueriesdetails th {
  1077. min-width: 35px;
  1078. }
  1079. table#serverstatusvariables {
  1080. width: 100%;
  1081. margin-bottom: 1em;
  1082. }
  1083. table#serverstatusvariables .name {
  1084. width: 18em;
  1085. white-space: nowrap;
  1086. }
  1087. table#serverstatusvariables .value {
  1088. width: 6em;
  1089. }
  1090. table#serverstatusconnections {
  1091. float: <?php echo $left; ?>;
  1092. margin-<?php echo $left; ?>: 30px;
  1093. }
  1094. div#serverstatus table tbody td.descr a,
  1095. div#serverstatus table .tblFooters a {
  1096. white-space: nowrap;
  1097. }
  1098. div.liveChart {
  1099. clear: both;
  1100. min-width: 500px;
  1101. height: 400px;
  1102. padding-bottom: 80px;
  1103. }
  1104. #addChartDialog input[type="text"] {
  1105. margin: 0;
  1106. padding: 3px;
  1107. }
  1108. div#chartVariableSettings {
  1109. border: 1px solid #ddd;
  1110. background-color: #E6E6E6;
  1111. margin-left: 10px;
  1112. }
  1113. table#chartGrid td {
  1114. padding: 3px;
  1115. margin: 0;
  1116. }
  1117. table#chartGrid div.monitorChart {
  1118. background: #EBEBEB;
  1119. overflow: hidden;
  1120. border: none;
  1121. }
  1122. div#serverstatus div.tabLinks {
  1123. float: <?php echo $left; ?>;
  1124. padding-bottom: 10px;
  1125. }
  1126. .popupContent {
  1127. display: none;
  1128. position: absolute;
  1129. border: 1px solid #CCC;
  1130. margin: 0;
  1131. padding: 3px;
  1132. -moz-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>2px 2px 3px #666;
  1133. -webkit-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>2px 2px 3px #666;
  1134. box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>2px 2px 3px #666;
  1135. background-color: #fff;
  1136. z-index: 2;
  1137. }
  1138. div#logTable {
  1139. padding-top: 10px;
  1140. clear: both;
  1141. }
  1142. div#logTable table {
  1143. width: 100%;
  1144. }
  1145. div#queryAnalyzerDialog {
  1146. min-width: 700px;
  1147. }
  1148. div#queryAnalyzerDialog div.CodeMirror-scroll {
  1149. height: auto;
  1150. }
  1151. div#queryAnalyzerDialog div#queryProfiling {
  1152. height: 300px;
  1153. }
  1154. div#queryAnalyzerDialog td.explain {
  1155. width: 250px;
  1156. }
  1157. div#queryAnalyzerDialog table.queryNums {
  1158. display: none;
  1159. border: 0;
  1160. text-align: left;
  1161. }
  1162. .smallIndent {
  1163. padding-<?php echo $left; ?>: 7px;
  1164. }
  1165. /* end serverstatus */
  1166. /* server variables */
  1167. #serverVariables {
  1168. min-width: 30em;
  1169. }
  1170. #serverVariables .var-row > div {
  1171. white-space: nowrap;
  1172. overflow: hidden;
  1173. text-overflow: ellipsis;
  1174. line-height: 2em;
  1175. }
  1176. #serverVariables .var-header {
  1177. color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
  1178. background: #f3f3f3;
  1179. <?php echo $_SESSION['PMA_Theme']->getCssGradient('ffffff', 'cccccc'); ?>
  1180. font-weight: bold;
  1181. }
  1182. #serverVariables .var-header .var-value {
  1183. text-align: <?php echo $left; ?>;
  1184. }
  1185. #serverVariables .var-row {
  1186. padding: 0.5em;
  1187. min-height: 18px;
  1188. }
  1189. #serverVariables .var-name {
  1190. width: 45%;
  1191. float: <?php echo $left; ?>;
  1192. font-weight: bold;
  1193. }
  1194. #serverVariables .var-name.session {
  1195. font-weight: normal;
  1196. font-style: italic;
  1197. }
  1198. #serverVariables .var-value {
  1199. width: 50%;
  1200. float: <?php echo $right; ?>;
  1201. text-align: <?php echo $right; ?>;
  1202. }
  1203. #serverVariables .var-doc {
  1204. overflow:visible;
  1205. float: <?php echo $right; ?>;
  1206. }
  1207. /* server variables editor */
  1208. #serverVariables .editLink {
  1209. padding-<?php echo $right; ?>: 1em;
  1210. float: <?php echo $left; ?>;
  1211. font-family: sans-serif;
  1212. }
  1213. #serverVariables .serverVariableEditor {
  1214. width: 100%;
  1215. overflow: hidden;
  1216. }
  1217. #serverVariables .serverVariableEditor input {
  1218. width: 100%;
  1219. margin: 0 0.5em;
  1220. box-sizing: border-box;
  1221. -ms-box-sizing: border-box;
  1222. -moz-box-sizing: border-box;
  1223. -webkit-box-sizing: border-box;
  1224. height: 2.2em;
  1225. }
  1226. #serverVariables .serverVariableEditor div {
  1227. display: block;
  1228. overflow: hidden;
  1229. padding-<?php echo $right; ?>: 1em;
  1230. }
  1231. #serverVariables .serverVariableEditor a {
  1232. float: <?php echo $right; ?>;
  1233. margin: 0 0.5em;
  1234. line-height: 2em;
  1235. }
  1236. /* end server variables */
  1237. p.notice {
  1238. margin: 1.5em 0;
  1239. border: 1px solid #000;
  1240. background-repeat: no-repeat;
  1241. <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
  1242. background-position: 10px 50%;
  1243. padding: 10px 10px 10px 25px;
  1244. <?php } else { ?>
  1245. background-position: 99% 50%;
  1246. padding: 25px 10px 10px 10px
  1247. <?php } ?>
  1248. -moz-border-radius: 5px;
  1249. -webkit-border-radius: 5px;
  1250. border-radius: 5px;
  1251. -moz-box-shadow: 0 1px 2px #fff inset;
  1252. -webkit-box-shadow: 0 1px 2px #fff inset;
  1253. box-shadow: 0 1px 2px #fff inset;
  1254. background: #555;
  1255. color: #d4fb6a;
  1256. }
  1257. p.notice a {
  1258. color: #fff;
  1259. text-decoration: underline;
  1260. }
  1261. /* querywindow */
  1262. body#bodyquerywindow {
  1263. margin: 0;
  1264. padding: 0;
  1265. background-image: none;
  1266. background-color: #F5F5F5;
  1267. }
  1268. div#querywindowcontainer {
  1269. margin: 0;
  1270. padding: 0;
  1271. width: 100%;
  1272. }
  1273. div#querywindowcontainer fieldset {
  1274. margin-top: 0;
  1275. }
  1276. /* end querywindow */
  1277. /* profiling */
  1278. div#profilingchart {
  1279. width: 850px;
  1280. height: 370px;
  1281. float: <?php echo $left; ?>;
  1282. }
  1283. #profilingchart .jqplot-highlighter-tooltip{
  1284. top: auto !important;
  1285. left: 11px;
  1286. bottom:24px;
  1287. }
  1288. #profilesummarytable th.header, #profiletable th.header{
  1289. cursor: pointer;
  1290. }
  1291. #profilesummarytable th.header .sorticon, #profiletable th.header .sorticon{
  1292. width: 16px;
  1293. height: 16px;
  1294. background-repeat: no-repeat;
  1295. background-position: right center;
  1296. display: inline-block;
  1297. vertical-align: middle;
  1298. float: right;
  1299. }
  1300. #profilesummarytable th.headerSortUp .sorticon, #profiletable th.headerSortUp .sorticon{
  1301. background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath('s_desc.png');?>);
  1302. }
  1303. #profilesummarytable th.headerSortDown .sorticon, #profiletable th.headerSortDown .sorticon{
  1304. background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath('s_asc.png');?>);
  1305. }
  1306. /* end profiling */
  1307. /* table charting */
  1308. #resizer {
  1309. border: 1px solid silver;
  1310. }
  1311. #inner-resizer { /* make room for the resize handle */
  1312. padding: 10px;
  1313. }
  1314. /* end table charting */
  1315. /* querybox */
  1316. #togglequerybox {
  1317. margin: 0 10px;
  1318. }
  1319. #serverstatus h3
  1320. {
  1321. margin: 15px 0;
  1322. font-weight: normal;
  1323. color: #999;
  1324. font-size: 1.7em;
  1325. }
  1326. #sectionlinks {
  1327. padding: 16px;
  1328. background: #f3f3f3;
  1329. border: 1px solid #aaa;
  1330. border-radius: 5px;
  1331. -webkit-border-radius: 5px;
  1332. -moz-border-radius: 5px;
  1333. box-shadow: 0 1px 1px #fff inset;
  1334. -webkit-box-shadow: 0 1px 1px #fff inset;
  1335. -moz-box-shadow: 0 1px 1px #fff inset;
  1336. }
  1337. #sectionlinks a,
  1338. .buttonlinks a,
  1339. a.button {
  1340. font-size: .88em;
  1341. font-weight: bold;
  1342. text-shadow: 0 1px 0 #fff;
  1343. line-height: 35px;
  1344. margin-<?php echo $left; ?>: 7px;
  1345. border: 1px solid #aaa;
  1346. padding: 5px 10px;
  1347. color: #111;
  1348. text-decoration: none;
  1349. background: #ddd;
  1350. white-space: nowrap;
  1351. border-radius: 20px;
  1352. -webkit-border-radius: 20px;
  1353. -moz-border-radius: 20px;
  1354. box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 2px rgba(0,0,0,.5);
  1355. /*
  1356. -webkit-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 2px rgba(0,0,0,.5);
  1357. -moz-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 2px rgba(0,0,0,.5);
  1358. text-shadow: #fff 0 1px 0;
  1359. */
  1360. <?php echo $_SESSION['PMA_Theme']->getCssGradient('ffffff', 'cccccc'); ?>
  1361. }
  1362. #sectionlinks a:hover,
  1363. .buttonlinks a:hover,
  1364. a.button:hover {
  1365. <?php echo $_SESSION['PMA_Theme']->getCssGradient('cccccc', 'dddddd'); ?>
  1366. }
  1367. div#sqlquerycontainer {
  1368. float: <?php echo $left; ?>;
  1369. width: 69%;
  1370. /* height: 15em; */
  1371. }
  1372. div#tablefieldscontainer {
  1373. float: <?php echo $right; ?>;
  1374. width: 29%;
  1375. /* height: 15em; */
  1376. }
  1377. div#tablefieldscontainer select {
  1378. width: 100%;
  1379. background: #fff;
  1380. /* height: 12em; */
  1381. }
  1382. textarea#sqlquery {
  1383. width: 100%;
  1384. /* height: 100%; */
  1385. -moz-border-radius: 4px;
  1386. -webkit-border-radius: 4px;
  1387. border-radius: 4px;
  1388. border: 1px solid #aaa;
  1389. padding: 5px;
  1390. font-family: inherit;
  1391. }
  1392. textarea#sql_query_edit {
  1393. height: 7em;
  1394. width: 95%;
  1395. display: block;
  1396. }
  1397. div#queryboxcontainer div#bookmarkoptions {
  1398. margin-top: .5em;
  1399. }
  1400. /* end querybox */
  1401. /* main page */
  1402. #maincontainer {
  1403. /* background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath('logo_right.png');?>); */
  1404. /* background-position: <?php echo $right; ?> bottom; */
  1405. /* background-repeat: no-repeat; */
  1406. }
  1407. #mysqlmaininformation,
  1408. #pmamaininformation {
  1409. float: <?php echo $left; ?>;
  1410. width: 49%;
  1411. }
  1412. #maincontainer ul {
  1413. list-style-type: disc;
  1414. vertical-align: middle;
  1415. }
  1416. #maincontainer li {
  1417. margin-bottom: .3em;
  1418. }
  1419. #full_name_layer {
  1420. position: absolute;
  1421. padding: 2px;
  1422. margin-top: -3px;
  1423. z-index: 801;
  1424. border-radius: 3px;
  1425. border: solid 1px #888;
  1426. background: #fff;
  1427. }
  1428. /* end main page */
  1429. /* iconic view for ul items */
  1430. li.no_bullets {
  1431. list-style-type:none !important;
  1432. margin-left: -25px !important; //align with other list items which have bullets
  1433. }
  1434. /* end iconic view for ul items */
  1435. #body_browse_foreigners {
  1436. background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
  1437. margin: .5em .5em 0 .5em;
  1438. }
  1439. #bodyquerywindow {
  1440. background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
  1441. }
  1442. #bodythemes {
  1443. width: 500px;
  1444. margin: auto;
  1445. text-align: center;
  1446. }
  1447. #bodythemes img {
  1448. border: .1em solid #000;
  1449. }
  1450. #bodythemes a:hover img {
  1451. border: .1em solid red;
  1452. }
  1453. #fieldset_select_fields {
  1454. float: <?php echo $left; ?>;
  1455. }
  1456. #selflink {
  1457. clear: both;
  1458. display: block;
  1459. margin-top: 1em;
  1460. margin-bottom: 1em;
  1461. width: 98%;
  1462. margin-<?php echo $left; ?>: 1%;
  1463. border-top: .1em solid silver;
  1464. text-align: <?php echo $right; ?>;
  1465. }
  1466. #table_innodb_bufferpool_usage,
  1467. #table_innodb_bufferpool_activity {
  1468. float: <?php echo $left; ?>;
  1469. }
  1470. #div_mysql_charset_collations table {
  1471. float: <?php echo $left; ?>;
  1472. }
  1473. #div_mysql_charset_collations table th,
  1474. #div_mysql_charset_collations table td {
  1475. padding: 0.4em;
  1476. }
  1477. #div_mysql_charset_collations table th#collationHeader {
  1478. width: 35%;
  1479. }
  1480. .operations_half_width {
  1481. width: 48%;
  1482. float: <?php echo $left; ?>;
  1483. }
  1484. .operations_half_width input[type=text],
  1485. .operations_half_width input[type=password],
  1486. .operations_half_width input[type=number],
  1487. .operations_half_width select {
  1488. width: 95%;
  1489. }
  1490. .operations_half_width input[type=text].halfWidth,
  1491. .operations_half_width input[type=password].halfWidth,
  1492. .operations_half_width input[type=number].halfWidth,
  1493. .operations_half_width select.halfWidth {
  1494. width: 40%;
  1495. }
  1496. .operations_half_width ul {
  1497. list-style-type: none;
  1498. padding: 0;
  1499. }
  1500. .operations_full_width {
  1501. width: 100%;
  1502. clear: both;
  1503. }
  1504. #qbe_div_table_list {
  1505. float: <?php echo $left; ?>;
  1506. }
  1507. #qbe_div_sql_query {
  1508. float: <?php echo $left; ?>;
  1509. }
  1510. label.desc {
  1511. width: 30em;
  1512. float: <?php echo $left; ?>;
  1513. }
  1514. label.desc sup {
  1515. position: absolute;
  1516. }
  1517. code.sql,
  1518. div.sqlvalidate {
  1519. display: block;
  1520. padding: 1em;
  1521. margin-top: 0;
  1522. margin-bottom: 0;
  1523. max-height: 10em;
  1524. overflow: auto;
  1525. }
  1526. #result_query div.sqlOuter {
  1527. background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
  1528. padding: 1em;
  1529. }
  1530. #PMA_slidingMessage code.sql,
  1531. div.sqlvalidate {
  1532. background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
  1533. }
  1534. #main_pane_left {
  1535. width: 60%;
  1536. min-width: 260px;
  1537. float: <?php echo $left; ?>;
  1538. padding-top: 1em;
  1539. }
  1540. #main_pane_right {
  1541. overflow: hidden;
  1542. min-width: 160px;
  1543. padding-top: 1em;
  1544. padding-<?php echo $left; ?>: 1em;
  1545. padding-<?php echo $right; ?>: .5em;
  1546. }
  1547. .group {
  1548. border: 1px solid #999;
  1549. background: #f3f3f3;
  1550. -moz-border-radius: 4px;
  1551. -webkit-border-radius: 4px;
  1552. border-radius: 4px;
  1553. -moz-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>2px 2px 5px #ccc;
  1554. -webkit-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>2px 2px 5px #ccc;
  1555. box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>2px 2px 5px #ccc;
  1556. margin-bottom: 1em;
  1557. padding-bottom: 1em;
  1558. }
  1559. .group h2 {
  1560. background-color: #bbb;
  1561. padding: .1em .3em;
  1562. margin-top: 0;
  1563. color: #fff;
  1564. font-size: 1.6em;
  1565. font-weight: normal;
  1566. text-shadow: 0 1px 0 #777;
  1567. -moz-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 15px #999 inset;
  1568. -webkit-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 15px #999 inset;
  1569. box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 15px #999 inset;
  1570. }
  1571. .group-cnt {
  1572. padding: 0;
  1573. padding-<?php echo $left; ?>: .5em;
  1574. display: inline-block;
  1575. width: 98%;
  1576. }
  1577. textarea#partitiondefinition {
  1578. height: 3em;
  1579. }
  1580. /* for elements that should be revealed only via js */
  1581. .hide {
  1582. display: none;
  1583. }
  1584. #list_server {
  1585. list-style-type: none;
  1586. padding: 0;
  1587. }
  1588. /**
  1589. * Progress bar styles
  1590. */
  1591. div.upload_progress
  1592. {
  1593. width: 400px;
  1594. margin: 3em auto;
  1595. text-align: center;
  1596. }
  1597. div.upload_progress_bar_outer
  1598. {
  1599. border: 1px solid #000;
  1600. width: 202px;
  1601. position: relative;
  1602. margin: 0 auto 1em;
  1603. color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;
  1604. }
  1605. div.upload_progress_bar_inner
  1606. {
  1607. background-color: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
  1608. width: 0;
  1609. height: 12px;
  1610. margin: 1px;
  1611. overflow: hidden;
  1612. color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
  1613. position: relative;
  1614. }
  1615. div.upload_progress_bar_outer div.percentage
  1616. {
  1617. position: absolute;
  1618. top: 0;
  1619. <?php echo $left; ?>: 0;
  1620. width: 202px;
  1621. }
  1622. div.upload_progress_bar_inner div.percentage
  1623. {
  1624. top: -1px;
  1625. <?php echo $left; ?>: -1px;
  1626. }
  1627. div#statustext {
  1628. margin-top: .5em;
  1629. }
  1630. table#serverconnection_src_remote,
  1631. table#serverconnection_trg_remote,
  1632. table#serverconnection_src_local,
  1633. table#serverconnection_trg_local {
  1634. float: <?php echo $left; ?>;
  1635. }
  1636. /**
  1637. * Validation error message styles
  1638. */
  1639. input[type=text].invalid_value,
  1640. input[type=password].invalid_value,
  1641. input[type=number].invalid_value,
  1642. input[type=date].invalid_value,
  1643. .invalid_value {
  1644. background: #FFCCCC;
  1645. }
  1646. /**
  1647. * Ajax notification styling
  1648. */
  1649. .ajax_notification {
  1650. top: 0; /** The notification needs to be shown on the top of the page */
  1651. position: fixed;
  1652. margin-top: 0;
  1653. margin-right: auto;
  1654. margin-bottom: 0;
  1655. margin-<?php echo $left; ?>: auto;
  1656. padding: 5px; /** Keep a little space on the sides of the text */
  1657. width: 350px;
  1658. z-index: 1100; /** If this is not kept at a high z-index, the jQueryUI modal dialogs (z-index: 1000) might hide this */
  1659. text-align: center;
  1660. display: inline;
  1661. left: 0;
  1662. right: 0;
  1663. background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath('ajax_clock_small.gif');?>);
  1664. background-repeat: no-repeat;
  1665. background-position: 2%;
  1666. border: 1px solid #e2b709;
  1667. }
  1668. /* additional styles */
  1669. .ajax_notification {
  1670. margin-top: 200px;
  1671. background: #ffe57e;
  1672. border-radius: 5px;
  1673. -moz-border-radius: 5px;
  1674. -webkit-border-radius: 5px;
  1675. box-shadow: 0 5px 90px #888;
  1676. -moz-box-shadow: 0 5px 90px #888;
  1677. -webkit-box-shadow: 0 5px 90px #888;
  1678. }
  1679. #loading_parent {
  1680. /** Need this parent to properly center the notification division */
  1681. position: relative;
  1682. width: 100%;
  1683. }
  1684. /**
  1685. * Export and Import styles
  1686. */
  1687. .exportoptions h3,
  1688. .importoptions h3 {
  1689. border-bottom: 1px #999 solid;
  1690. font-size: 110%;
  1691. }
  1692. .exportoptions ul,
  1693. .importoptions ul,
  1694. .format_specific_options ul {
  1695. list-style-type: none;
  1696. margin-bottom: 15px;
  1697. }
  1698. .exportoptions li,
  1699. .importoptions li {
  1700. margin: 7px;
  1701. }
  1702. .exportoptions label,
  1703. .importoptions label,
  1704. .exportoptions p,
  1705. .importoptions p {
  1706. margin: 5px;
  1707. float: none;
  1708. }
  1709. #csv_options label.desc,
  1710. #ldi_options label.desc,
  1711. #latex_options label.desc,
  1712. #output label.desc {
  1713. float: <?php echo $left; ?>;
  1714. width: 15em;
  1715. }
  1716. .exportoptions,
  1717. .importoptions {
  1718. margin: 20px 30px 30px;
  1719. margin-<?php echo $left; ?>: 10px;
  1720. }
  1721. .exportoptions #buttonGo,
  1722. .importoptions #buttonGo {
  1723. font-weight: bold;
  1724. margin-<?php echo $left; ?>: 14px;
  1725. border: 1px solid #aaa;
  1726. padding: 5px 12px;
  1727. color: #111;
  1728. text-decoration: none;
  1729. border-radius: 12px;
  1730. -webkit-border-radius: 12px;
  1731. -moz-border-radius: 12px;
  1732. text-shadow: 0 1px 0 #fff;
  1733. <?php echo $_SESSION['PMA_Theme']->getCssGradient('ffffff', 'cccccc'); ?>
  1734. cursor: pointer;
  1735. }
  1736. .format_specific_options h3 {
  1737. margin: 10px 0 0;
  1738. margin-<?php echo $left; ?>: 10px;
  1739. border: 0;
  1740. }
  1741. .format_specific_options {
  1742. border: 1px solid #999;
  1743. margin: 7px 0;
  1744. padding: 3px;
  1745. }
  1746. p.desc {
  1747. margin: 5px;
  1748. }
  1749. /**
  1750. * Export styles only
  1751. */
  1752. select#db_select,
  1753. select#table_select {
  1754. width: 400px;
  1755. }
  1756. .export_sub_options {
  1757. margin: 20px 0 0;
  1758. margin-<?php echo $left; ?>: 30px;
  1759. }
  1760. .export_sub_options h4 {
  1761. border-bottom: 1px #999 solid;
  1762. }
  1763. .export_sub_options li.subgroup {
  1764. display: inline-block;
  1765. margin-top: 0;
  1766. }
  1767. .export_sub_options li {
  1768. margin-bottom: 0;
  1769. }
  1770. #output_quick_export {
  1771. display: none;
  1772. }
  1773. /**
  1774. * Import styles only
  1775. */
  1776. .importoptions #import_notification {
  1777. margin: 10px 0;
  1778. font-style: italic;
  1779. }
  1780. input#input_import_file {
  1781. margin: 5px;
  1782. }
  1783. .formelementrow {
  1784. margin: 5px 0 5px 0;
  1785. }
  1786. #popup_background {
  1787. display: none;
  1788. position: fixed;
  1789. _position: absolute; /* hack for IE6 */
  1790. width: 100%;
  1791. height: 100%;
  1792. top: 0;
  1793. <?php echo $left; ?>: 0;
  1794. background: #000;
  1795. z-index: 1000;
  1796. overflow: hidden;
  1797. }
  1798. /**
  1799. * Table structure styles
  1800. */
  1801. #fieldsForm ul.table-structure-actions {
  1802. margin: 0;
  1803. padding: 0;
  1804. list-style: none;
  1805. }
  1806. #fieldsForm ul.table-structure-actions li {
  1807. float: <?php echo $left; ?>;
  1808. margin-<?php echo $right; ?>: 0.3em; /* same as padding of "table td" */
  1809. }
  1810. #fieldsForm ul.table-structure-actions .submenu li {
  1811. padding: 0;
  1812. margin: 0;
  1813. }
  1814. #fieldsForm ul.table-structure-actions .submenu li span {
  1815. padding: 0.3em;
  1816. margin: 0.1em;
  1817. }
  1818. #structure-action-links a {
  1819. margin-<?php echo $right; ?>: 1em;
  1820. }
  1821. #addColumns input[type="radio"] {
  1822. margin: 3px 0 0;
  1823. margin-<?php echo $left; ?>: 1em;
  1824. }
  1825. /**
  1826. * Indexes
  1827. */
  1828. #index_frm .index_info input,
  1829. #index_frm .index_info select {
  1830. width: 14em;
  1831. box-sizing: border-box;
  1832. -ms-box-sizing: border-box;
  1833. -moz-box-sizing: border-box;
  1834. -webkit-box-sizing: border-box;
  1835. }
  1836. #index_frm .index_info div {
  1837. padding: .2em 0;
  1838. }
  1839. #index_frm .index_info .label {
  1840. float: <?php echo $left; ?>;
  1841. min-width: 12em;
  1842. }
  1843. #index_frm .slider {
  1844. width: 10em;
  1845. margin: .6em;
  1846. float: <?php echo $left; ?>;
  1847. }
  1848. #index_frm .add_fields {
  1849. float: <?php echo $left; ?>;
  1850. }
  1851. #index_frm .add_fields input {
  1852. margin-<?php echo $left; ?>: 1em;
  1853. }
  1854. #index_frm input {
  1855. margin: 0;
  1856. }
  1857. #index_frm td {
  1858. vertical-align: middle;
  1859. }
  1860. table#index_columns {
  1861. width: 100%;
  1862. }
  1863. table#index_columns select {
  1864. width: 100%;
  1865. }
  1866. #move_columns_dialog div {
  1867. padding: 1em;
  1868. }
  1869. #move_columns_dialog ul {
  1870. list-style: none;
  1871. margin: 0;
  1872. padding: 0;
  1873. }
  1874. #move_columns_dialog li {
  1875. background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
  1876. border: 1px solid #aaa;
  1877. color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
  1878. font-weight: bold;
  1879. margin: .4em;
  1880. padding: .2em;
  1881. -webkit-border-radius: 2px;
  1882. -moz-border-radius: 2px;
  1883. border-radius: 2px;
  1884. }
  1885. .margin#change_column_dialog {
  1886. margin: 0 .5em;
  1887. }
  1888. /* config forms */
  1889. .config-form ul.tabs {
  1890. margin: 1.1em .2em 0;
  1891. padding: 0 0 .3em 0;
  1892. list-style: none;
  1893. font-weight: bold;
  1894. }
  1895. .config-form ul.tabs li {
  1896. float: <?php echo $left; ?>;
  1897. margin-bottom: -1px;
  1898. }
  1899. .config-form ul.tabs li a {
  1900. display: block;
  1901. margin: .1em .2em 0;
  1902. white-space: nowrap;
  1903. text-decoration: none;
  1904. border: 1px solid <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
  1905. border-bottom: 1px solid #aaa;
  1906. }
  1907. .config-form ul.tabs li a {
  1908. padding: 7px 10px;
  1909. -webkit-border-radius: 5px 5px 0 0;
  1910. -moz-border-radius: 5px 5px 0 0;
  1911. border-radius: 5px 5px 0 0;
  1912. background: #f2f2f2;
  1913. color: #555;
  1914. text-shadow: 0 1px 0 #fff;
  1915. }
  1916. .config-form ul.tabs li a:hover,
  1917. .config-form ul.tabs li a:active {
  1918. background: #e5e5e5;
  1919. }
  1920. .config-form ul.tabs li.active a {
  1921. background-color: #fff;
  1922. margin-top: 1px;
  1923. color: #000;
  1924. text-shadow: none;
  1925. border-color: #aaa;
  1926. border-bottom: 1px solid #fff;
  1927. }
  1928. .config-form fieldset {
  1929. margin-top: 0;
  1930. padding: 0;
  1931. clear: both;
  1932. -webkit-border-radius: 0;
  1933. -moz-border-radius: 0;
  1934. border-radius: 0;
  1935. }
  1936. .config-form legend {
  1937. display: none;
  1938. }
  1939. .config-form fieldset p {
  1940. margin: 0;
  1941. padding: .5em;
  1942. background: #fff;
  1943. border-top: 0;
  1944. }
  1945. .config-form fieldset .errors { /* form error list */
  1946. margin: 0 -2px 1em;
  1947. padding: .5em 1.5em;
  1948. background: #FBEAD9;
  1949. border: 0 #C83838 solid;
  1950. border-width: 1px 0;
  1951. list-style: none;
  1952. font-family: sans-serif;
  1953. font-size: small;
  1954. }
  1955. .config-form fieldset .inline_errors { /* field error list */
  1956. margin: .3em .3em .3em;
  1957. margin-<?php echo $left; ?>: 0;
  1958. padding: 0;
  1959. list-style: none;
  1960. color: #9A0000;
  1961. font-size: small;
  1962. }
  1963. .config-form fieldset th {
  1964. padding: .3em .3em .3em;
  1965. padding-<?php echo $left; ?>: .5em;
  1966. text-align: <?php echo $left; ?>;
  1967. vertical-align: top;
  1968. width: 40%;
  1969. background: transparent;
  1970. filter: none;
  1971. }
  1972. .config-form fieldset .doc,
  1973. .config-form fieldset .disabled-notice {
  1974. margin-<?php echo $left; ?>: 1em;
  1975. }
  1976. .config-form fieldset .disabled-notice {
  1977. font-size: 80%;
  1978. text-transform: uppercase;
  1979. color: #E00;
  1980. cursor: help;
  1981. }
  1982. .config-form fieldset td {
  1983. padding-top: .3em;
  1984. padding-bottom: .3em;
  1985. vertical-align: top;
  1986. }
  1987. .config-form fieldset th small {
  1988. display: block;
  1989. font-weight: normal;
  1990. font-family: sans-serif;
  1991. font-size: x-small;
  1992. color: #444;
  1993. }
  1994. .config-form fieldset th,
  1995. .config-form fieldset td {
  1996. border-top: 1px <?php echo $GLOBALS['cfg']['BgTwo']; ?> solid;
  1997. border-<?php echo $right; ?>: none;
  1998. }
  1999. fieldset .group-header th {
  2000. background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
  2001. }
  2002. fieldset .group-header + tr th {
  2003. padding-top: .6em;
  2004. }
  2005. fieldset .group-field-1 th,
  2006. fieldset .group-header-2 th {
  2007. padding-<?php echo $left; ?>: 1.5em;
  2008. }
  2009. fieldset .group-field-2 th,
  2010. fieldset .group-header-3 th {
  2011. padding-<?php echo $left; ?>: 3em;
  2012. }
  2013. fieldset .group-field-3 th {
  2014. padding-<?php echo $left; ?>: 4.5em;
  2015. }
  2016. fieldset .disabled-field th,
  2017. fieldset .disabled-field th small,
  2018. fieldset .disabled-field td {
  2019. color: #666;
  2020. background-color: #ddd;
  2021. }
  2022. .config-form .lastrow {
  2023. border-top: 1px #000 solid;
  2024. }
  2025. .config-form .lastrow {
  2026. background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
  2027. padding: .5em;
  2028. text-align: center;
  2029. }
  2030. .config-form .lastrow input {
  2031. font-weight: bold;
  2032. }
  2033. /* form elements */
  2034. .config-form span.checkbox {
  2035. padding: 2px;
  2036. display: inline-block;
  2037. }
  2038. .config-form .custom { /* customized field */
  2039. background: #FFC;
  2040. }
  2041. .config-form span.checkbox.custom {
  2042. padding: 1px;
  2043. border: 1px #EDEC90 solid;
  2044. background: #FFC;
  2045. }
  2046. .config-form .field-error {
  2047. border-color: #A11 !important;
  2048. }
  2049. .config-form input[type="text"],
  2050. .config-form input[type="password"],
  2051. .config-form input[type="number"],
  2052. .config-form select,
  2053. .config-form textarea {
  2054. border: 1px #A7A6AA solid;
  2055. height: auto;
  2056. }
  2057. .config-form input[type="text"]:focus,
  2058. .config-form input[type="password"]:focus,
  2059. .config-form input[type="number"]:focus,
  2060. .config-form select:focus,
  2061. .config-form textarea:focus {
  2062. border: 1px #6676FF solid;
  2063. background: #F7FBFF;
  2064. }
  2065. .config-form .field-comment-mark {
  2066. font-family: serif;
  2067. color: #007;
  2068. cursor: help;
  2069. padding: 0 .2em;
  2070. font-weight: bold;
  2071. font-style: italic;
  2072. }
  2073. .config-form .field-comment-warning {
  2074. color: #A00;
  2075. }
  2076. /* error list */
  2077. .config-form dd {
  2078. margin-<?php echo $left; ?>: .5em;
  2079. }
  2080. .config-form dd:before {
  2081. content: "\25B8 ";
  2082. }
  2083. .click-hide-message {
  2084. cursor: pointer;
  2085. }
  2086. .prefsmanage_opts {
  2087. margin-<?php echo $left; ?>: 2em;
  2088. }
  2089. #prefs_autoload {
  2090. margin-bottom: .5em;
  2091. }
  2092. #placeholder .button {
  2093. position: absolute;
  2094. cursor: pointer;
  2095. }
  2096. #placeholder div.button {
  2097. font-size: smaller;
  2098. color: #999;
  2099. background-color: #eee;
  2100. padding: 2px;
  2101. }
  2102. .wrapper {
  2103. float: <?php echo $left; ?>;
  2104. margin-bottom: 1.5em;
  2105. }
  2106. .toggleButton {
  2107. position: relative;
  2108. cursor: pointer;
  2109. font-size: .8em;
  2110. text-align: center;
  2111. line-height: 1.4em;
  2112. height: 1.55em;
  2113. overflow: hidden;
  2114. border-right: .1em solid #888;
  2115. border-left: .1em solid #888;
  2116. -webkit-border-radius: .3em;
  2117. -moz-border-radius: .3em;
  2118. border-radius: .3em;
  2119. }
  2120. .toggleButton table,
  2121. .toggleButton td,
  2122. .toggleButton img {
  2123. padding: 0;
  2124. position: relative;
  2125. }
  2126. .toggleButton .container {
  2127. position: absolute;
  2128. }
  2129. .toggleButton .toggleOn {
  2130. color: #fff;
  2131. padding: 0 1em;
  2132. text-shadow: 0 0 .2em #000;
  2133. }
  2134. .toggleButton .toggleOff {
  2135. padding: 0 1em;
  2136. }
  2137. .doubleFieldset fieldset {
  2138. width: 48%;
  2139. float: <?php echo $left; ?>;
  2140. padding: 0;
  2141. }
  2142. .doubleFieldset fieldset.left {
  2143. margin-<?php echo $right; ?>: 1%;
  2144. }
  2145. .doubleFieldset fieldset.right {
  2146. margin-<?php echo $left; ?>: 1%;
  2147. }
  2148. .doubleFieldset legend {
  2149. margin-<?php echo $left; ?>: 1.5em;
  2150. }
  2151. .doubleFieldset div.wrap {
  2152. padding: 1.5em;
  2153. }
  2154. #table_columns input[type="text"],
  2155. #table_columns input[type="password"],
  2156. #table_columns input[type="number"],
  2157. #table_columns select {
  2158. width: 10em;
  2159. box-sizing: border-box;
  2160. -ms-box-sizing: border-box;
  2161. -moz-box-sizing: border-box;
  2162. -webkit-box-sizing: border-box;
  2163. }
  2164. #table_columns select {
  2165. margin: 0 6px;
  2166. }
  2167. #placeholder {
  2168. position: relative;
  2169. border: 1px solid #aaa;
  2170. float: <?php echo $right; ?>;
  2171. overflow: hidden;
  2172. }
  2173. .placeholderDrag {
  2174. cursor: move;
  2175. }
  2176. #placeholder .button {
  2177. position: absolute;
  2178. }
  2179. #left_arrow {
  2180. left: 8px;
  2181. top: 26px;
  2182. }
  2183. #right_arrow {
  2184. left: 26px;
  2185. top: 26px;
  2186. }
  2187. #up_arrow {
  2188. left: 17px;
  2189. top: 8px;
  2190. }
  2191. #down_arrow {
  2192. left: 17px;
  2193. top: 44px;
  2194. }
  2195. #zoom_in {
  2196. left: 17px;
  2197. top: 67px;
  2198. }
  2199. #zoom_world {
  2200. left: 17px;
  2201. top: 85px;
  2202. }
  2203. #zoom_out {
  2204. left: 17px;
  2205. top: 103px;
  2206. }
  2207. .colborder {
  2208. cursor: col-resize;
  2209. height: 100%;
  2210. margin-<?php echo $left; ?>: -6px;
  2211. position: absolute;
  2212. width: 5px;
  2213. }
  2214. .colborder_active {
  2215. border-<?php echo $right; ?>: 2px solid #a44;
  2216. }
  2217. .pma_table td {
  2218. position: static;
  2219. }
  2220. .pma_table th.draggable span,
  2221. .pma_table tbody td span {
  2222. display: block;
  2223. overflow: hidden;
  2224. }
  2225. .pma_table th.draggable span {
  2226. margin-<?php echo $right; ?>: 10px;
  2227. }
  2228. .modal-copy input {
  2229. display: block;
  2230. width: 100%;
  2231. margin-top: 1.5em;
  2232. padding: .3em 0;
  2233. }
  2234. .cRsz {
  2235. position: absolute;
  2236. }
  2237. .cCpy {
  2238. background: #333;
  2239. color: #FFF;
  2240. font-weight: bold;
  2241. margin: .1em;
  2242. padding: .3em;
  2243. position: absolute;
  2244. text-shadow: -1px -1px #000;
  2245. -moz-box-shadow: 0 0 .7em #000;
  2246. -webkit-box-shadow: 0 0 .7em #000;
  2247. box-shadow: 0 0 .7em #000;
  2248. -moz-border-radius: .3em;
  2249. -webkit-border-radius: .3em;
  2250. border-radius: .3em;
  2251. }
  2252. .cPointer {
  2253. background: url(<?php echo $_SESSION['PMA_Theme']->getImgPath('col_pointer.png');?>);
  2254. height: 20px;
  2255. margin-<?php echo $left; ?>: -5px; /* must be minus half of its width */
  2256. margin-top: -10px;
  2257. position: absolute;
  2258. width: 10px;
  2259. }
  2260. .tooltip {
  2261. background: #333 !important;
  2262. opacity: .8 !important;
  2263. border: 1px solid #000 !important;
  2264. -moz-border-radius: .3em !important;
  2265. -webkit-border-radius: .3em !important;
  2266. border-radius: .3em !important;
  2267. text-shadow: -1px -1px #000 !important;
  2268. font-size: .8em !important;
  2269. font-weight: bold !important;
  2270. padding: 1px 3px !important;
  2271. }
  2272. .tooltip * {
  2273. background: none !important;
  2274. color: #FFF !important;
  2275. }
  2276. .cDrop {
  2277. left: 0;
  2278. position: absolute;
  2279. top: 0;
  2280. }
  2281. .coldrop {
  2282. background: url(<?php echo $_SESSION['PMA_Theme']->getImgPath('col_drop.png');?>);
  2283. cursor: pointer;
  2284. height: 16px;
  2285. margin-<?php echo $left; ?>: .3em;
  2286. margin-top: .3em;
  2287. position: absolute;
  2288. width: 16px;
  2289. }
  2290. .coldrop:hover,
  2291. .coldrop-hover {
  2292. background-color: #999;
  2293. }
  2294. .cList {
  2295. background: #EEE;
  2296. border: solid 1px #999;
  2297. position: absolute;
  2298. -moz-box-shadow: 0 .2em .5em #333;
  2299. -webkit-box-shadow: 0 .2em .5em #333;
  2300. box-shadow: 0 .2em .5em #333;
  2301. }
  2302. .cList .lDiv div {
  2303. padding: .2em .5em .2em;
  2304. padding-<?php echo $left; ?>: .2em;
  2305. }
  2306. .cList .lDiv div:hover {
  2307. background: #DDD;
  2308. cursor: pointer;
  2309. }
  2310. .cList .lDiv div input {
  2311. cursor: pointer;
  2312. }
  2313. .showAllColBtn {
  2314. border-bottom: solid 1px #999;
  2315. border-top: solid 1px #999;
  2316. cursor: pointer;
  2317. font-size: .9em;
  2318. font-weight: bold;
  2319. padding: .35em 1em;
  2320. text-align: center;
  2321. }
  2322. .showAllColBtn:hover {
  2323. background: #DDD;
  2324. }
  2325. .turnOffSelect {
  2326. -moz-user-select: none;
  2327. -khtml-user-select: none;
  2328. -webkit-user-select: none;
  2329. user-select: none;
  2330. }
  2331. #page_content {
  2332. background-color: white;
  2333. }
  2334. .navigation {
  2335. margin: .8em 0;
  2336. border-radius: 5px;
  2337. -webkit-border-radius: 5px;
  2338. -moz-border-radius: 5px;
  2339. <?php echo $_SESSION['PMA_Theme']->getCssGradient('eeeeee', 'cccccc'); ?>
  2340. }
  2341. .navigation td {
  2342. margin: 0;
  2343. padding: 0;
  2344. vertical-align: middle;
  2345. white-space: nowrap;
  2346. }
  2347. .navigation_separator {
  2348. color: #999;
  2349. display: inline-block;
  2350. font-size: 1.5em;
  2351. text-align: center;
  2352. height: 1.4em;
  2353. width: 1.2em;
  2354. text-shadow: 1px 0 #FFF;
  2355. }
  2356. .navigation input[type=submit] {
  2357. background: none;
  2358. border: 0;
  2359. filter: none;
  2360. margin: 0;
  2361. padding: .8em .5em;
  2362. border-radius: 0;
  2363. -webkit-border-radius: 0;
  2364. -moz-border-radius: 0;
  2365. }
  2366. .navigation input[type=submit]:hover,
  2367. .navigation input.edit_mode_active {
  2368. color: #fff;
  2369. cursor: pointer;
  2370. text-shadow: none;
  2371. <?php echo $_SESSION['PMA_Theme']->getCssGradient('333333', '555555'); ?>
  2372. }
  2373. .navigation select {
  2374. margin: 0 .8em;
  2375. }
  2376. .cEdit {
  2377. margin: 0;
  2378. padding: 0;
  2379. position: absolute;
  2380. }
  2381. .cEdit input[type=text] {
  2382. background: #FFF;
  2383. height: 100%;
  2384. margin: 0;
  2385. padding: 0;
  2386. }
  2387. .cEdit .edit_area {
  2388. background: #FFF;
  2389. border: 1px solid #999;
  2390. min-width: 10em;
  2391. padding: .3em .5em;
  2392. }
  2393. .cEdit .edit_area select,
  2394. .cEdit .edit_area textarea {
  2395. width: 97%;
  2396. }
  2397. .cEdit .cell_edit_hint {
  2398. color: #555;
  2399. font-size: .8em;
  2400. margin: .3em .2em;
  2401. }
  2402. .cEdit .edit_box {
  2403. overflow: hidden;
  2404. padding: 0;
  2405. }
  2406. .cEdit .edit_box_posting {
  2407. background: #FFF url(<?php echo $_SESSION['PMA_Theme']->getImgPath('ajax_clock_small.gif');?>) no-repeat right center;
  2408. padding-<?php echo $right; ?>: 1.5em;
  2409. }
  2410. .cEdit .edit_area_loading {
  2411. background: #FFF url(<?php echo $_SESSION['PMA_Theme']->getImgPath('ajax_clock_small.gif');?>) no-repeat center;
  2412. height: 10em;
  2413. }
  2414. .cEdit .edit_area_right {
  2415. position: absolute;
  2416. right: 0;
  2417. }
  2418. .cEdit .goto_link {
  2419. background: #EEE;
  2420. color: #555;
  2421. padding: .2em .3em;
  2422. }
  2423. .saving_edited_data {
  2424. background: url(<?php echo $_SESSION['PMA_Theme']->getImgPath('ajax_clock_small.gif');?>) no-repeat left;
  2425. padding-<?php echo $left; ?>: 20px;
  2426. }
  2427. #relationalTable select {
  2428. width: 125px;
  2429. margin-right: 5px;
  2430. }
  2431. /* css for timepicker */
  2432. .ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
  2433. .ui-timepicker-div dl { text-align: <?php echo $left; ?>; }
  2434. .ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
  2435. .ui-timepicker-div dl dd { margin: 0 10px 10px 85px; }
  2436. .ui-timepicker-div td { font-size: 90%; }
  2437. .ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }
  2438. .ui-timepicker-rtl { direction: rtl; }
  2439. .ui-timepicker-rtl dl { text-align: right; }
  2440. .ui-timepicker-rtl dl dd { margin: 0 65px 10px 10px; }
  2441. input.btn {
  2442. color: #333;
  2443. background-color: #D0DCE0;
  2444. }
  2445. body .ui-widget {
  2446. font-size: 1em;
  2447. }
  2448. .ui-dialog fieldset legend a {
  2449. color: #235A81;
  2450. }
  2451. /* over-riding jqplot-yaxis class */
  2452. .jqplot-yaxis {
  2453. left:0px !important;
  2454. min-width:25px;
  2455. width:auto;
  2456. }
  2457. .jqplot-axis {
  2458. overflow:hidden;
  2459. }
  2460. .report-data {
  2461. height:13em;
  2462. overflow:scroll;
  2463. width:570px;
  2464. border: solid 1px;
  2465. background: white;
  2466. padding: 2px;
  2467. }
  2468. .report-description {
  2469. height:10em;
  2470. width:570px;
  2471. }
  2472. div#page_content div#tableslistcontainer table.data {
  2473. border-top: 0.1px solid #EEEEEE;
  2474. }
  2475. div#page_content form#db_search_form.ajax fieldset {
  2476. margin-top: -0.3em;
  2477. }
  2478. div#page_content div#tableslistcontainer, div#page_content div.notice, div#page_content div#result_query {
  2479. margin-top: 1em;
  2480. }