123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766 |
- <?php
- /* vim: set expandtab sw=4 ts=4 sts=4: */
- /**
- * Common styles for the pmahomme theme
- *
- * @package PhpMyAdmin-theme
- * @subpackage PMAHomme
- */
- // unplanned execution path
- if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
- exit();
- }
- ?>
- /******************************************************************************/
- /* general tags */
- html {
- font-size: <?php echo $_SESSION['PMA_Theme']->getFontSize(); ?>
- }
- input,
- select,
- textarea {
- font-size: 1em;
- }
- body {
- <?php if (! empty($GLOBALS['cfg']['FontFamily'])) { ?>
- font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>;
- <?php } ?>
- padding: 0;
- margin: 0;
- margin-<?php echo $left; ?>: 240px;
- color: #444;
- background: #fff;
- }
- body#loginform {
- margin: 0;
- }
- #page_content {
- margin: 0 .5em;
- }
- <?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
- textarea,
- tt,
- pre,
- code {
- font-family: <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>;
- }
- <?php } ?>
- h1 {
- font-size: 140%;
- font-weight: bold;
- }
- h2 {
- font-size: 2em;
- font-weight: normal;
- text-shadow: 0 1px 0 #fff;
- padding: 10px 0 10px;
- padding-<?php echo $left; ?>: 3px;
- color: #777;
- }
- /* Hiding icons in the page titles */
- h2 img {
- display: none;
- }
- h2 a img {
- display: inline;
- }
- .data,
- .data_full_width {
- margin: 0 0 12px;
- }
- .data_full_width {
- width: 100%;
- }
- #table_results td.data {
- border-right: 1px solid #bbb;
- }
- h3 {
- font-weight: bold;
- }
- a,
- a:link,
- a:visited,
- a:active {
- text-decoration: none;
- color: #235a81;
- cursor: pointer;
- outline: none;
- }
- a:hover {
- text-decoration: underline;
- color: #235a81;
- }
- #initials_table {
- background: #f3f3f3;
- border: 1px solid #aaa;
- margin-bottom: 10px;
- -moz-border-radius: 5px;
- -webkit-border-radius: 5px;
- border-radius: 5px;
- }
- #initials_table td {
- padding: 8px !important;
- }
- #initials_table a {
- border: 1px solid #aaa;
- background: #fff;
- padding: 4px 8px;
- -moz-border-radius: 5px;
- -webkit-border-radius: 5px;
- border-radius: 5px;
- <?php echo $_SESSION['PMA_Theme']->getCssGradient('ffffff', 'cccccc'); ?>
- }
- dfn {
- font-style: normal;
- }
- dfn:hover {
- font-style: normal;
- cursor: help;
- }
- th {
- font-weight: bold;
- color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
- background: #f3f3f3;
- <?php echo $_SESSION['PMA_Theme']->getCssGradient('ffffff', 'cccccc'); ?>
- }
- a img {
- border: 0;
- }
- hr {
- color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;
- background-color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;
- border: 0;
- height: 1px;
- }
- form {
- padding: 0;
- margin: 0;
- display: inline;
- }
- input[type=text] {
- border-radius: 2px;
- -moz-border-radius: 2px;
- -webkit-border-radius: 2px;
- box-shadow: 0 1px 2px #ddd;
- -moz-box-shadow: 0 1px 2px #ddd;
- -webkit-box-shadow: 0 1px 2px #ddd;
- background: white;
- border: 1px solid #aaa;
- color: #555;
- padding: 4px;
- margin: 6px;
- }
- input[type=password] {
- border-radius: 2px;
- -moz-border-radius: 2px;
- -webkit-border-radius: 2px;
- box-shadow: 0 1px 2px #ddd;
- -moz-box-shadow: 0 1px 2px #ddd;
- -webkit-box-shadow: 0 1px 2px #ddd;
- background: white;
- border: 1px solid #aaa;
- color: #555;
- padding: 4px;
- margin: 6px;
- }
- input[type=submit],
- button[type=submit]:not(.mult_submit) {
- font-weight: bold !important;
- }
- input[type=submit],
- button[type=submit]:not(.mult_submit),
- input[type=reset],
- input[name=submit_reset],
- input.button {
- margin-left: 14px;
- border: 1px solid #aaa;
- padding: 3px 7px;
- color: #111;
- text-decoration: none;
- background: #ddd;
- border-radius: 12px;
- -webkit-border-radius: 12px;
- -moz-border-radius: 12px;
- text-shadow: 0 1px 0 #fff;
- <?php echo $_SESSION['PMA_Theme']->getCssGradient('ffffff', 'cccccc'); ?>
- }
- input[type=submit]:hover,
- button[type=submit]:not(.mult_submit):hover,
- input[type=reset]:hover,
- input[name=submit_reset]:hover,
- input.button:hover {
- position: relative;
- <?php echo $_SESSION['PMA_Theme']->getCssGradient('cccccc', 'dddddd'); ?>
- cursor: pointer;
- }
- input[type=submit]:active,
- button[type=submit]:not(.mult_submit):active,
- input[type=reset]:active,
- input[name=submit_reset]:active,
- input.button:active {
- position: relative;
- top: 1px;
- left: 1px;
- }
- textarea {
- overflow: visible;
- height: <?php echo ceil($GLOBALS['cfg']['TextareaRows'] * 1.2); ?>em;
- }
- textarea.char {
- height: <?php echo ceil($GLOBALS['cfg']['CharTextareaRows'] * 1.2); ?>em;
- }
- fieldset {
- margin-top: 1em;
- border-radius: 4px 4px 0 0;
- -moz-border-radius: 4px 4px 0 0;
- -webkit-border-radius: 4px 4px 0 0;
- border: #aaa solid 1px;
- padding: 1.5em;
- background: #eee;
- text-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 2px #fff inset;
- -moz-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 2px #fff inset;
- -webkit-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 2px #fff inset;
- box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 2px #fff inset;
- }
- fieldset fieldset {
- margin: .8em;
- background: #fff;
- border: 1px solid #aaa;
- background: #E8E8E8;
- }
- fieldset legend {
- font-weight: bold;
- color: #444;
- padding: 5px 10px;
- border-radius: 2px;
- -moz-border-radius: 2px;
- -webkit-border-radius: 2px;
- border: 1px solid #aaa;
- background-color: #fff;
- -moz-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>3px 3px 15px #bbb;
- -webkit-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>3px 3px 15px #bbb;
- box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>3px 3px 15px #bbb;
- }
- .some-margin {
- margin: 1.5em;
- }
- /* buttons in some browsers (eg. Konqueror) are block elements,
- this breaks design */
- button {
- display: inline;
- }
- table caption,
- table th,
- table td {
- padding: .3em;
- margin: .1em;
- vertical-align: top;
- text-shadow: 0 1px 0 #fff;
- }
- /* 3.4 */
- table {
- border-collapse: collapse;
- }
- th {
- border-right: 1px solid #fff;
- text-align: left;
- }
- img,
- button {
- vertical-align: middle;
- }
- input[type="checkbox"],
- input[type="radio"] {
- vertical-align: -11%;
- }
- select {
- -moz-border-radius: 2px;
- -webkit-border-radius: 2px;
- border-radius: 2px;
- -moz-box-shadow: 0 1px 2px #ddd;
- -webkit-box-shadow: 0 1px 2px #ddd;
- box-shadow: 0 1px 2px #ddd;
- border: 1px solid #aaa;
- color: #333;
- padding: 3px;
- background: white;
- }
- select[multiple] {
- <?php echo $_SESSION['PMA_Theme']->getCssGradient('ffffff', 'f2f2f2'); ?>
- }
- /******************************************************************************/
- /* classes */
- .clearfloat {
- clear: both;
- }
- .floatleft {
- float: <?php echo $left; ?>;
- margin-<?php echo $right; ?>: 1em;
- }
- .floatright {
- float: <?php echo $right; ?>;
- }
- .center {
- text-align: center;
- }
- table.nospacing {
- border-spacing: 0;
- }
- table.nopadding tr th, table.nopadding tr td {
- padding: 0;
- }
- th.left, td.left {
- text-align: left;
- }
- th.center, td.center {
- text-align: center;
- }
- th.right, td.right {
- text-align: right;
- }
- tr.vtop th, tr.vtop td, th.vtop, td.vtop {
- vertical-align: top;
- }
- tr.vmiddle th, tr.vmiddle td, th.vmiddle, td.vmiddle {
- vertical-align: middle;
- }
- tr.vbottom th, tr.vbottom td, th.vbottom, td.vbottom {
- vertical-align: bottom;
- }
- .paddingtop {
- padding-top: 1em;
- }
- .separator {
- color: #fff;
- text-shadow: 0 1px 0 #000;
- }
- div.tools {
- /* border: 1px solid #000; */
- padding: .2em;
- }
- div.tools a {
- color: #3a7ead !important;
- }
- div.tools,
- fieldset.tblFooters {
- margin-top: 0;
- margin-bottom: .5em;
- /* avoid a thick line since this should be used under another fieldset */
- border-top: 0;
- text-align: <?php echo $right; ?>;
- float: none;
- clear: both;
- -webkit-border-radius: 0 0 4px 4px;
- -moz-border-radius: 0 0 4px 4px;
- border-radius: 0 0 4px 5px;
- }
- div.null_div {
- height: 20px;
- text-align: center;
- font-style: normal;
- min-width: 50px;
- }
- fieldset .formelement {
- float: <?php echo $left; ?>;
- margin-<?php echo $right; ?>: .5em;
- /* IE */
- white-space: nowrap;
- }
- /* revert for Gecko */
- fieldset div[class=formelement] {
- white-space: normal;
- }
- button.mult_submit {
- border: none;
- background-color: transparent;
- }
- /* odd items 1,3,5,7,... */
- table tr.odd th,
- .odd {
- background: #fff;
- <?php echo $_SESSION['PMA_Theme']->getCssIEClearFilter(); ?>
- }
- /* even items 2,4,6,8,... */
- /* (tested on CRTs and ACLs) */
- table tr.even th,
- .even {
- background: #DFDFDF;
- <?php echo $_SESSION['PMA_Theme']->getCssIEClearFilter(); ?>
- }
- /* odd table rows 1,3,5,7,... */
- table tr.odd th,
- table tr.odd,
- table tr.even th,
- table tr.even {
- text-align: <?php echo $left; ?>;
- }
- <?php if ($GLOBALS['cfg']['BrowseMarkerEnable']) { ?>
- /* marked table rows */
- td.marked,
- table tr.marked td,
- table tr.marked th,
- table tr.marked {
- <?php echo $_SESSION['PMA_Theme']->getCssGradient('ced6df', 'b6c6d7'); ?>
- color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
- }
- <?php } ?>
- <?php if ($GLOBALS['cfg']['BrowsePointerEnable']) { ?>
- /* hovered items */
- .odd:hover,
- .even:hover,
- .hover {
- <?php echo $_SESSION['PMA_Theme']->getCssGradient('ced6df', 'b6c6d7'); ?>
- color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
- }
- /* hovered table rows */
- table tr.odd:hover th,
- table tr.even:hover th,
- table tr.hover th {
- <?php echo $_SESSION['PMA_Theme']->getCssGradient('ced6df', 'b6c6d7'); ?>
- color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
- }
- <?php } ?>
- /**
- * marks table rows/cells if the db field is in a where condition
- */
- .condition {
- border-color: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?> !important;
- }
- th.condition {
- border-width: 1px 1px 0 1px;
- border-style: solid;
- }
- td.condition {
- border-width: 0 1px 0 1px;
- border-style: solid;
- }
- tr:last-child td.condition {
- border-width: 0 1px 1px 1px;
- }
- <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
- /* for first th which must have right border set (ltr only) */
- .before-condition {
- border-right: 1px solid <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
- }
- <?php } ?>
- /**
- * cells with the value NULL
- */
- td.null {
- font-style: italic;
- text-align: <?php echo $right; ?>;
- }
- table .valueHeader {
- text-align: <?php echo $right; ?>;
- white-space: normal;
- }
- table .value {
- text-align: <?php echo $right; ?>;
- white-space: normal;
- }
- /* IE doesnt handles 'pre' right */
- table [class=value] {
- white-space: normal;
- }
- <?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
- .value {
- font-family: <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>;
- }
- <?php } ?>
- .attention {
- color: red;
- font-weight: bold;
- }
- .allfine {
- color: green;
- }
- img.lightbulb {
- cursor: pointer;
- }
- .pdflayout {
- overflow: hidden;
- clip: inherit;
- background-color: #fff;
- display: none;
- border: 1px solid #000;
- position: relative;
- }
- .pdflayout_table {
- background: #D3DCE3;
- color: #000;
- overflow: hidden;
- clip: inherit;
- z-index: 2;
- display: inline;
- visibility: inherit;
- cursor: move;
- position: absolute;
- font-size: 80%;
- border: 1px dashed #000;
- }
- /* MySQL Parser */
- .syntax {
- font-family: Verdana, 'Segoe UI', Arial, Tahoma;
- font-size: 110%;
- }
- .syntax a {
- text-decoration: none;
- border-bottom: 1px dotted #000;
- }
- .syntax_comment {
- padding-left: 4pt;
- padding-right: 4pt;
- }
- .syntax_digit {
- }
- .syntax_digit_hex {
- }
- .syntax_digit_integer {
- }
- .syntax_digit_float {
- }
- .syntax_punct {
- }
- .syntax_alpha {
- }
- .syntax_alpha_columnType {
- text-transform: uppercase;
- }
- .syntax_alpha_columnAttrib {
- text-transform: uppercase;
- }
- .syntax_alpha_reservedWord {
- text-transform: uppercase;
- font-weight: bold;
- }
- .syntax_alpha_functionName {
- text-transform: uppercase;
- }
- .syntax_alpha_identifier {
- }
- .syntax_alpha_charset {
- }
- .syntax_alpha_variable {
- }
- .syntax_quote {
- white-space: pre;
- }
- .syntax_quote_backtick {
- }
- /* no extra space in table cells */
- td .icon {
- margin: 0;
- }
- .selectallarrow {
- margin-<?php echo $right; ?>: .3em;
- margin-<?php echo $left; ?>: .6em;
- }
- /* message boxes: error, confirmation */
- #pma_errors {
- padding: 0 0.5em;
- }
- .success h1,
- .notice h1,
- div.error h1 {
- border-bottom: 2px solid;
- font-weight: bold;
- text-align: <?php echo $left; ?>;
- margin: 0 0 .2em 0;
- }
- div.success,
- div.notice,
- div.error {
- margin: .5em 0 1.3em;
- border: 1px solid;
- background-repeat: no-repeat;
- <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
- background-position: 10px 50%;
- padding: 10px 10px 10px 10px;
- <?php } else { ?>
- background-position: 99% 50%;
- padding: 10px 35px 10px 10px;
- <?php } ?>
- -moz-border-radius: 5px;
- -webkit-border-radius: 5px;
- border-radius: 5px;
- -moz-box-shadow: 0 1px 1px #fff inset;
- -webkit-box-shadow: 0 1px 1px #fff inset;
- box-shadow: 0 1px 1px #fff inset;
- }
- .success a,
- .notice a,
- .error a {
- text-decoration: underline;
- }
- .success {
- color: #000;
- background-color: #ebf8a4;
- }
- h1.success,
- div.success {
- border-color: #a2d246;
- }
- .success h1 {
- border-color: #00FF00;
- }
- .notice {
- color: #000;
- background-color: #e8eef1;
- }
- h1.notice,
- div.notice {
- border-color: #3a6c7e;
- }
- .notice h1 {
- border-color: #ffb10a;
- }
- .error {
- border: 1px solid maroon !important;
- color: #000;
- background: pink;
- }
- h1.error,
- div.error {
- border-color: #333;
- }
- div.error h1 {
- border-color: #ff0000;
- }
- .confirmation {
- color: #000;
- background-color: pink;
- }
- fieldset.confirmation {
- }
- fieldset.confirmation legend {
- }
- /* end messageboxes */
- .tblcomment {
- font-size: 70%;
- font-weight: normal;
- color: #000099;
- }
- .tblHeaders {
- font-weight: bold;
- color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
- background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
- }
- div.tools,
- .tblFooters {
- font-weight: normal;
- color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
- background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
- }
- .tblHeaders a:link,
- .tblHeaders a:active,
- .tblHeaders a:visited,
- div.tools a:link,
- div.tools a:visited,
- div.tools a:active,
- .tblFooters a:link,
- .tblFooters a:active,
- .tblFooters a:visited {
- color: #0000FF;
- }
- .tblHeaders a:hover,
- div.tools a:hover,
- .tblFooters a:hover {
- color: #FF0000;
- }
- /* forbidden, no privileges */
- .noPrivileges {
- color: #FF0000;
- font-weight: bold;
- }
- /* disabled text */
- .disabled,
- .disabled a:link,
- .disabled a:active,
- .disabled a:visited {
- color: #666;
- }
- .disabled a:hover {
- color: #666;
- text-decoration: none;
- }
- tr.disabled td,
- td.disabled {
- background-color: #f3f3f3;
- color: #aaa;
- }
- .nowrap {
- white-space: nowrap;
- }
- /**
- * login form
- */
- body#loginform h1,
- body#loginform a.logo {
- display: block;
- text-align: center;
- }
- body#loginform {
- margin-top: 1em;
- text-align: center;
- }
- body#loginform div.container {
- text-align: <?php echo $left; ?>;
- width: 30em;
- margin: 0 auto;
- }
- form.login label {
- float: <?php echo $left; ?>;
- width: 10em;
- font-weight: bolder;
- }
- .commented_column {
- border-bottom: 1px dashed #000;
- }
- .column_attribute {
- font-size: 70%;
- }
- /******************************************************************************/
- /* specific elements */
- /* topmenu */
- #topmenu a {
- text-shadow: 0 1px 0 #fff;
- }
- #topmenu .error {
- background: #eee;border: 0 !important;color: #aaa;
- }
- ul#topmenu,
- ul#topmenu2,
- ul.tabs {
- font-weight: bold;
- list-style-type: none;
- margin: 0;
- padding: 0;
- }
- ul#topmenu2 {
- margin: .25em .5em 0;
- height: 2em;
- clear: both;
- }
- ul#topmenu li,
- ul#topmenu2 li {
- float: <?php echo $left; ?>;
- margin: 0;
- vertical-align: middle;
- }
- #topmenu img,
- #topmenu2 img {
- margin-right: .5em;
- vertical-align: -3px;
- }
- .menucontainer {
- <?php echo $_SESSION['PMA_Theme']->getCssGradient('ffffff', 'dcdcdc'); ?>
- border-top: 1px solid #aaa;
- }
- /* default tab styles */
- .tabactive {
- background: #fff !important;
- }
- ul#topmenu2 a {
- display: block;
- margin: 7px 6px 7px;
- margin-<?php echo $left; ?>: 0;
- padding: 4px 10px;
- white-space: nowrap;
- border: 1px solid #ddd;
- border-radius: 20px;
- -moz-border-radius: 20px;
- -webkit-border-radius: 20px;
- background: #f2f2f2;
- }
- fieldset.caution a {
- color: #FF0000;
- }
- fieldset.caution a:hover {
- color: #fff;
- background-color: #FF0000;
- }
- #topmenu {
- margin-top: .5em;
- padding: .1em .3em;
- }
- ul#topmenu ul {
- -moz-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 6px #ddd;
- -webkit-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>2px 2px 3px #666;
- box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>2px 2px 3px #666;
- }
- ul#topmenu ul.only {
- <?php echo $left; ?>: 0;
- }
- ul#topmenu > li {
- border-right: 1px solid #fff;
- border-left: 1px solid #ccc;
- }
- /* default tab styles */
- ul#topmenu a,
- ul#topmenu span {
- padding: .6em;
- }
- ul#topmenu ul a {
- border-width: 1pt 0 0 0;
- -moz-border-radius: 0;
- -webkit-border-radius: 0;
- border-radius: 0;
- }
- ul#topmenu ul li:first-child a {
- border-width: 0;
- }
- /* enabled hover/active tabs */
- ul#topmenu > li > a:hover,
- ul#topmenu > li > .tabactive {
- text-decoration: none;
- }
- ul#topmenu ul a:hover,
- ul#topmenu ul .tabactive {
- text-decoration: none;
- }
- ul#topmenu a.tab:hover,
- ul#topmenu .tabactive {
- /* background-color: <?php echo $GLOBALS['cfg']['MainBackground']; ?>; */
- }
- ul#topmenu2 a.tab:hover,
- ul#topmenu2 a.tabactive {
- background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
- border-radius: .3em;
- -moz-border-radius: .3em;
- -webkit-border-radius: .3em;
- text-decoration: none;
- }
- /* to be able to cancel the bottom border, use <li class="active"> */
- ul#topmenu > li.active {
- /* border-bottom: 0pt solid <?php echo $GLOBALS['cfg']['MainBackground']; ?>; */
- border-right: 0;
- }
- /* end topmenu */
- /* zoom search */
- div#dataDisplay input,
- div#dataDisplay select {
- margin: 0;
- margin-<?php echo $right; ?>: .5em;
- }
- div#dataDisplay th {
- line-height: 2em;
- }
- /* Calendar */
- table.calendar {
- width: 100%;
- }
- table.calendar td {
- text-align: center;
- }
- table.calendar td a {
- display: block;
- }
- table.calendar td a:hover {
- background-color: #CCFFCC;
- }
- table.calendar th {
- background-color: #D3DCE3;
- }
- table.calendar td.selected {
- background-color: #FFCC99;
- }
- img.calendar {
- border: none;
- }
- form.clock {
- text-align: center;
- }
- /* end Calendar */
- /* table stats */
- div#tablestatistics table {
- float: <?php echo $left; ?>;
- margin-bottom: .5em;
- margin-<?php echo $right; ?>: 1.5em;
- margin-top: .5em;
- min-width: 16em;
- }
- /* END table stats */
- /* server privileges */
- #tableuserrights td,
- #tablespecificuserrights td,
- #tabledatabases td {
- vertical-align: middle;
- }
- /* END server privileges */
- /* Heading */
- #topmenucontainer {
- padding-<?php echo $right; ?>: 1em;
- width: 100%;
- }
- #serverinfo {
- border-bottom: 1px solid #fff;
- background: #888;
- padding: .3em .9em;
- padding-<?php echo $left; ?>: 2.2em;
- text-shadow: 0 1px 0 #000;
- width: 10000px;
- overflow: hidden;
- }
- #serverinfo .item {
- white-space: nowrap;
- color: #fff;
- float: <?php echo $left; ?>
- }
- #goto_pagetop {
- position: fixed;
- padding: .25em .25em .2em;
- top: 0;
- <?php echo $right; ?>: 0;
- z-index: 900;
- background: #888;
- }
- #span_table_comment {
- font-weight: normal;
- font-style: italic;
- white-space: nowrap;
- }
- #serverinfo img {
- margin: 0 .1em 0;
- margin-<?php echo $left; ?>: .2em;
- }
- #textSQLDUMP {
- width: 95%;
- height: 95%;
- font-family: Consolas, "Courier New", Courier, mono;
- font-size: 110%;
- }
- #TooltipContainer {
- position: absolute;
- z-index: 99;
- width: 20em;
- height: auto;
- overflow: visible;
- visibility: hidden;
- background-color: #ffffcc;
- color: #006600;
- border: .1em solid #000;
- padding: .5em;
- }
- /* user privileges */
- #fieldset_add_user_login div.item {
- border-bottom: 1px solid silver;
- padding-bottom: .3em;
- margin-bottom: .3em;
- }
- #fieldset_add_user_login label {
- float: <?php echo $left; ?>;
- display: block;
- width: 10em;
- max-width: 100%;
- text-align: <?php echo $right; ?>;
- padding-<?php echo $right; ?>: .5em;
- }
- #fieldset_add_user_login span.options #select_pred_username,
- #fieldset_add_user_login span.options #select_pred_hostname,
- #fieldset_add_user_login span.options #select_pred_password {
- width: 100%;
- max-width: 100%;
- }
- #fieldset_add_user_login span.options {
- float: <?php echo $left; ?>;
- display: block;
- width: 12em;
- max-width: 100%;
- padding-<?php echo $right; ?>: .5em;
- }
- #fieldset_add_user_login input {
- width: 12em;
- clear: <?php echo $right; ?>;
- max-width: 100%;
- }
- #fieldset_add_user_login span.options input {
- width: auto;
- }
- #fieldset_user_priv div.item {
- float: <?php echo $left; ?>;
- width: 9em;
- max-width: 100%;
- }
- #fieldset_user_priv div.item div.item {
- float: none;
- }
- #fieldset_user_priv div.item label {
- white-space: nowrap;
- }
- #fieldset_user_priv div.item select {
- width: 100%;
- }
- #fieldset_user_global_rights fieldset {
- float: <?php echo $left; ?>;
- }
- /* END user privileges */
- /* serverstatus */
- .linkElem:hover {
- text-decoration: underline;
- color: #235a81;
- cursor: pointer;
- }
- h3#serverstatusqueries span {
- font-size: 60%;
- display: inline;
- }
- img.sortableIcon {
- float: <?php echo $right; ?>;
- background-repeat: no-repeat;
- margin: 0;
- }
- .buttonlinks {
- float: <?php echo $right; ?>;
- white-space: nowrap;
- }
- /* Also used for the variables page */
- fieldset#tableFilter {
- margin-bottom: 1em;
- }
- div#serverStatusTabs {
- margin-top: 1em;
- }
- caption a.top {
- float: <?php echo $right; ?>;
- }
- div#serverstatusquerieschart {
- float: <?php echo $left; ?>;
- width: 500px;
- height: 350px;
- padding-<?php echo $left; ?>: 30px;
- }
- table#serverstatusqueriesdetails,
- table#serverstatustraffic {
- float: <?php echo $left; ?>;
- }
- table#serverstatusqueriesdetails th {
- min-width: 35px;
- }
- table#serverstatusvariables {
- width: 100%;
- margin-bottom: 1em;
- }
- table#serverstatusvariables .name {
- width: 18em;
- white-space: nowrap;
- }
- table#serverstatusvariables .value {
- width: 6em;
- }
- table#serverstatusconnections {
- float: <?php echo $left; ?>;
- margin-<?php echo $left; ?>: 30px;
- }
- div#serverstatus table tbody td.descr a,
- div#serverstatus table .tblFooters a {
- white-space: nowrap;
- }
- div.liveChart {
- clear: both;
- min-width: 500px;
- height: 400px;
- padding-bottom: 80px;
- }
- #addChartDialog input[type="text"] {
- margin: 0;
- padding: 3px;
- }
- div#chartVariableSettings {
- border: 1px solid #ddd;
- background-color: #E6E6E6;
- margin-left: 10px;
- }
- table#chartGrid div.monitorChart {
- background: #EBEBEB;
- }
- div#serverstatus div.tabLinks {
- float: <?php echo $left; ?>;
- padding-bottom: 10px;
- }
- .popupContent {
- display: none;
- position: absolute;
- border: 1px solid #CCC;
- margin: 0;
- padding: 3px;
- -moz-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>2px 2px 3px #666;
- -webkit-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>2px 2px 3px #666;
- box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>2px 2px 3px #666;
- background-color: #fff;
- z-index: 2;
- }
- div#logTable {
- padding-top: 10px;
- clear: both;
- }
- div#logTable table {
- width: 100%;
- }
- div#queryAnalyzerDialog {
- min-width: 700px;
- }
- div#queryAnalyzerDialog div.CodeMirror-scroll {
- height: auto;
- }
- div#queryAnalyzerDialog div#queryProfiling {
- height: 300px;
- }
- div#queryAnalyzerDialog td.explain {
- width: 250px;
- }
- div#queryAnalyzerDialog table.queryNums {
- display: none;
- border: 0;
- text-align: left;
- }
- .smallIndent {
- padding-<?php echo $left; ?>: 7px;
- }
- /* end serverstatus */
- /* server variables */
- #serverVariables {
- min-width: 30em;
- }
- #serverVariables .var-row > div {
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- line-height: 2em;
- }
- #serverVariables .var-header {
- color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
- background: #f3f3f3;
- <?php echo $_SESSION['PMA_Theme']->getCssGradient('ffffff', 'cccccc'); ?>
- font-weight: bold;
- }
- #serverVariables .var-header .var-value {
- text-align: <?php echo $left; ?>;
- }
- #serverVariables .var-row {
- padding: 0.5em;
- min-height: 18px;
- }
- #serverVariables .var-name {
- width: 45%;
- float: <?php echo $left; ?>;
- font-weight: bold;
- }
- #serverVariables .var-name.session {
- font-weight: normal;
- font-style: italic;
- }
- #serverVariables .var-value {
- width: 50%;
- float: <?php echo $right; ?>;
- text-align: <?php echo $right; ?>;
- }
- #serverVariables .var-doc {
- overflow:visible;
- float: <?php echo $right; ?>;
- }
- /* server variables editor */
- #serverVariables .editLink {
- padding-<?php echo $right; ?>: 1em;
- float: <?php echo $left; ?>;
- font-family: sans-serif;
- }
- #serverVariables .serverVariableEditor {
- width: 100%;
- overflow: hidden;
- }
- #serverVariables .serverVariableEditor input {
- width: 100%;
- margin: 0 0.5em;
- box-sizing: border-box;
- -ms-box-sizing: border-box;
- -moz-box-sizing: border-box;
- -webkit-box-sizing: border-box;
- height: 2.2em;
- }
- #serverVariables .serverVariableEditor div {
- display: block;
- overflow: hidden;
- padding-<?php echo $right; ?>: 1em;
- }
- #serverVariables .serverVariableEditor a {
- float: <?php echo $right; ?>;
- margin: 0 0.5em;
- line-height: 2em;
- }
- /* end server variables */
- p.notice {
- margin: 1.5em 0;
- border: 1px solid #000;
- background-repeat: no-repeat;
- <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
- background-position: 10px 50%;
- padding: 10px 10px 10px 25px;
- <?php } else { ?>
- background-position: 99% 50%;
- padding: 25px 10px 10px 10px
- <?php } ?>
- -moz-border-radius: 5px;
- -webkit-border-radius: 5px;
- border-radius: 5px;
- -moz-box-shadow: 0 1px 2px #fff inset;
- -webkit-box-shadow: 0 1px 2px #fff inset;
- box-shadow: 0 1px 2px #fff; inset;
- background: #555;
- color: #d4fb6a;
- }
- p.notice a {
- color: #fff;
- text-decoration: underline;
- }
- /* querywindow */
- body#bodyquerywindow {
- margin: 0;
- padding: 0;
- background-image: none;
- background-color: #F5F5F5;
- }
- div#querywindowcontainer {
- margin: 0;
- padding: 0;
- width: 100%;
- }
- div#querywindowcontainer fieldset {
- margin-top: 0;
- }
- /* END querywindow */
- /* profiling */
- div#profilingchart {
- width: 550px;
- height: 370px;
- float: <?php echo $left; ?>;
- }
- /* END profiling */
- /* table charting */
- #resizer {
- border: 1px solid silver;
- }
- #inner-resizer { /* make room for the resize handle */
- padding: 10px;
- }
- /* END table charting */
- /* querybox */
- #togglequerybox {
- margin: 0 10px;
- }
- #serverstatus h3
- {
- margin: 15px 0;
- font-weight: normal;
- color: #999;
- font-size: 1.7em;
- }
- #sectionlinks {
- padding: 16px;
- background: #f3f3f3;
- border: 1px solid #aaa;
- border-radius: 5px;
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- box-shadow: 0 1px 1px #fff inset;
- -webkit-box-shadow: 0 1px 1px #fff inset;
- -moz-box-shadow: 0 1px 1px #fff inset;
- }
- #sectionlinks a,
- .buttonlinks a,
- a.button {
- font-size: .88em;
- font-weight: bold;
- text-shadow: 0 1px 0 #fff;
- line-height: 35px;
- margin-<?php echo $left; ?>: 7px;
- border: 1px solid #aaa;
- padding: 5px 10px;
- color: #111;
- text-decoration: none;
- background: #ddd;
- white-space: nowrap;
- border-radius: 20px;
- -webkit-border-radius: 20px;
- -moz-border-radius: 20px;
- box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 2px rgba(0,0,0,.5);
- /*
- -webkit-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 2px rgba(0,0,0,.5);
- -moz-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 2px rgba(0,0,0,.5);
- text-shadow: #fff 0 1px 0;
- */
- <?php echo $_SESSION['PMA_Theme']->getCssGradient('ffffff', 'cccccc'); ?>
- }
- #sectionlinks a:hover,
- .buttonlinks a:hover,
- a.button:hover {
- <?php echo $_SESSION['PMA_Theme']->getCssGradient('cccccc', 'dddddd'); ?>
- }
- div#sqlquerycontainer {
- float: <?php echo $left; ?>;
- width: 69%;
- /* height: 15em; */
- }
- div#tablefieldscontainer {
- float: <?php echo $right; ?>;
- width: 29%;
- /* height: 15em; */
- }
- div#tablefieldscontainer select {
- width: 100%;
- background: #fff;
- /* height: 12em; */
- }
- textarea#sqlquery {
- width: 100%;
- /* height: 100%; */
- -moz-border-radius: 4px;
- -webkit-border-radius: 4px;
- border-radius: 4px;
- border: 1px solid #aaa;
- padding: 5px;
- font-family: inherit;
- }
- textarea#sql_query_edit {
- height: 7em;
- width: 95%;
- display: block;
- }
- div#queryboxcontainer div#bookmarkoptions {
- margin-top: .5em;
- }
- /* end querybox */
- /* main page */
- #maincontainer {
- /* background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath('logo_right.png');?>); */
- /* background-position: <?php echo $right; ?> bottom; */
- /* background-repeat: no-repeat; */
- }
- #mysqlmaininformation,
- #pmamaininformation {
- float: <?php echo $left; ?>;
- width: 49%;
- }
- #maincontainer ul {
- list-style-type: disc;
- vertical-align: middle;
- }
- #maincontainer li {
- margin-bottom: .3em;
- }
- /* END main page */
- /* iconic view for ul items */
- li.no_bullets {
- list-style-type:none !important;
- margin-left: -25px !important; //align with other list items which have bullets
- }
- /* END iconic view for ul items */
- #body_browse_foreigners {
- background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
- margin: .5em .5em 0 .5em;
- }
- #bodyquerywindow {
- background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
- }
- #bodythemes {
- width: 500px;
- margin: auto;
- text-align: center;
- }
- #bodythemes img {
- border: .1em solid #000;
- }
- #bodythemes a:hover img {
- border: .1em solid red;
- }
- #fieldset_select_fields {
- float: <?php echo $left; ?>;
- }
- #selflink {
- clear: both;
- display: block;
- margin-top: 1em;
- margin-bottom: 1em;
- width: 98%;
- margin-<?php echo $left; ?>: 1%;
- border-top: .1em solid silver;
- text-align: <?php echo $right; ?>;
- }
- #table_innodb_bufferpool_usage,
- #table_innodb_bufferpool_activity {
- float: <?php echo $left; ?>;
- }
- #div_mysql_charset_collations table {
- float: <?php echo $left; ?>;
- }
- .operations_half_width {
- width: 48%;
- float: <?php echo $left; ?>;
- }
- .operations_full_width {
- width: 100%;
- clear: both;
- }
- #qbe_div_table_list {
- float: <?php echo $left; ?>;
- }
- #qbe_div_sql_query {
- float: <?php echo $left; ?>;
- }
- label.desc {
- width: 30em;
- float: <?php echo $left; ?>;
- }
- label.desc sup {
- position: absolute;
- }
- code.sql,
- div.sqlvalidate {
- display: block;
- padding: 1em;
- margin-top: 0;
- margin-bottom: 0;
- max-height: 10em;
- overflow: auto;
- background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
- }
- #main_pane_left {
- width: 60%;
- float: <?php echo $left; ?>;
- padding-top: 1em;
- }
- #main_pane_right {
- margin-<?php echo $left; ?>: 60%;
- padding-top: 1em;
- padding-<?php echo $left; ?>: 1em;
- }
- .group {
- border: 1px solid #999;
- background: #f3f3f3;
- -moz-border-radius: 4px;
- -webkit-border-radius: 4px;
- border-radius: 4px;
- -moz-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>2px 2px 5px #ccc;
- -webkit-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>2px 2px 5px #ccc;
- box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>2px 2px 5px #ccc;
- margin-bottom: 1em;
- padding-bottom: 1em;
- }
- .group h2 {
- background-color: #bbb;
- padding: .1em .3em;
- margin-top: 0;
- color: #fff;
- font-size: 1.6em;
- font-weight: normal;
- text-shadow: 0 1px 0 #777;
- -moz-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 15px #999 inset;
- -webkit-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 15px #999 inset;
- box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 15px #999 inset;
- }
- .group-cnt {
- padding: 0;
- padding-<?php echo $left; ?>: .5em;
- display: inline-block;
- width: 98%;
- }
- textarea#partitiondefinition {
- height: 3em;
- }
- /* for elements that should be revealed only via js */
- .hide {
- display: none;
- }
- #list_server {
- list-style-image: none;
- }
- /**
- * Progress bar styles
- */
- div.upload_progress
- {
- width: 400px;
- margin: 3em auto;
- text-align: center;
- }
- div.upload_progress_bar_outer
- {
- border: 1px solid #000;
- width: 202px;
- position: relative;
- margin: 0 auto 1em;
- color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;
- }
- div.upload_progress_bar_inner
- {
- background-color: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
- width: 0;
- height: 12px;
- margin: 1px;
- overflow: hidden;
- color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
- position: relative;
- }
- div.upload_progress_bar_outer div.percentage
- {
- position: absolute;
- top: 0;
- <?php echo $left; ?>: 0;
- width: 202px;
- }
- div.upload_progress_bar_inner div.percentage
- {
- top: -1px;
- <?php echo $left; ?>: -1px;
- }
- div#statustext {
- margin-top: .5em;
- }
- table#serverconnection_src_remote,
- table#serverconnection_trg_remote,
- table#serverconnection_src_local,
- table#serverconnection_trg_local {
- float: <?php echo $left; ?>;
- }
- /**
- * Validation error message styles
- */
- input[type=text].invalid_value,
- .invalid_value {
- background: #FFCCCC;
- }
- /**
- * Ajax notification styling
- */
- .ajax_notification {
- top: 0; /** The notification needs to be shown on the top of the page */
- position: fixed;
- margin-top: 0;
- margin-right: auto;
- margin-bottom: 0;
- margin-<?php echo $left; ?>: auto;
- padding: 5px; /** Keep a little space on the sides of the text */
- width: 350px;
- z-index: 1100; /** If this is not kept at a high z-index, the jQueryUI modal dialogs (z-index: 1000) might hide this */
- text-align: center;
- display: inline;
- left: 0;
- right: 0;
- background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath('ajax_clock_small.gif');?>);
- background-repeat: no-repeat;
- background-position: 2%;
- border: 1px solid #e2b709;
- }
- /* additional styles */
- .ajax_notification {
- margin-top: 200px;
- background: #ffe57e;
- border-radius: 5px;
- -moz-border-radius: 5px;
- -webkit-border-radius: 5px;
- box-shadow: 0 5px 90px #888;
- -moz-box-shadow: 0 5px 90px #888;
- -webkit-box-shadow: 0 5px 90px #888;
- }
- #loading_parent {
- /** Need this parent to properly center the notification division */
- position: relative;
- width: 100%;
- }
- /**
- * Export and Import styles
- */
- .exportoptions h3,
- .importoptions h3 {
- border-bottom: 1px #999 solid;
- font-size: 110%;
- }
- .exportoptions ul,
- .importoptions ul,
- .format_specific_options ul {
- list-style-type: none;
- margin-bottom: 15px;
- }
- .exportoptions li,
- .importoptions li {
- margin: 7px;
- }
- .exportoptions label,
- .importoptions label,
- .exportoptions p,
- .importoptions p {
- margin: 5px;
- float: none;
- }
- #csv_options label.desc,
- #ldi_options label.desc,
- #latex_options label.desc,
- #output label.desc {
- float: <?php echo $left; ?>;
- width: 15em;
- }
- .exportoptions,
- .importoptions {
- margin: 20px 30px 30px;
- margin-<?php echo $left; ?>: 10px;
- }
- .exportoptions #buttonGo,
- .importoptions #buttonGo {
- font-weight: bold;
- margin-<?php echo $left; ?>: 14px;
- border: 1px solid #aaa;
- padding: 5px 12px;
- color: #111;
- text-decoration: none;
- background: #ddd;
- border-radius: 12px;
- -webkit-border-radius: 12px;
- -moz-border-radius: 12px;
- text-shadow: 0 1px 0 #fff;
- <?php echo $_SESSION['PMA_Theme']->getCssGradient('ffffff', 'cccccc'); ?>
- cursor: pointer;
- }
- #buttonGo:hover {
- <?php echo $_SESSION['PMA_Theme']->getCssGradient('cccccc', 'dddddd'); ?>
- }
- .format_specific_options h3 {
- margin: 10px 0 0;
- margin-<?php echo $left; ?>: 10px;
- border: 0;
- }
- .format_specific_options {
- border: 1px solid #999;
- margin: 7px 0;
- padding: 3px;
- }
- p.desc {
- margin: 5px;
- }
- /**
- * Export styles only
- */
- select#db_select,
- select#table_select {
- width: 400px;
- }
- .export_sub_options {
- margin: 20px 0 0;
- margin-<?php echo $left; ?>: 30px;
- }
- .export_sub_options h4 {
- border-bottom: 1px #999 solid;
- }
- .export_sub_options li.subgroup {
- display: inline-block;
- margin-top: 0;
- }
- .export_sub_options li {
- margin-bottom: 0;
- }
- #quick_or_custom,
- #output_quick_export {
- display: none;
- }
- /**
- * Import styles only
- */
- .importoptions #import_notification {
- margin: 10px 0;
- font-style: italic;
- }
- input#input_import_file {
- margin: 5px;
- }
- .formelementrow {
- margin: 5px 0 5px 0;
- }
- #popup_background {
- display: none;
- position: fixed;
- _position: absolute; /* hack for IE6 */
- width: 100%;
- height: 100%;
- top: 0;
- <?php echo $left; ?>: 0;
- background: #000;
- z-index: 1000;
- overflow: hidden;
- }
- /**
- * Table structure styles
- */
- #fieldsForm ul.table-structure-actions {
- margin: 0;
- padding: 0;
- list-style: none;
- }
- #fieldsForm ul.table-structure-actions li {
- float: <?php echo $left; ?>;
- margin-<?php echo $right; ?>: 0.3em; /* same as padding of "table td" */
- }
- #fieldsForm ul.table-structure-actions .submenu li {
- padding: 0;
- margin: 0;
- }
- #fieldsForm ul.table-structure-actions .submenu li span {
- padding: 0.3em;
- margin: 0.1em;
- }
- /**
- * Indexes
- */
- #index_frm .index_info input,
- #index_frm .index_info select {
- width: 14em;
- box-sizing: border-box;
- -ms-box-sizing: border-box;
- -moz-box-sizing: border-box;
- -webkit-box-sizing: border-box;
- }
- #index_frm .index_info div {
- padding: .2em 0;
- }
- #index_frm .index_info .label {
- float: <?php echo $left; ?>;
- min-width: 12em;
- }
- #index_frm .slider {
- width: 10em;
- margin: .6em;
- float: <?php echo $left; ?>;
- }
- #index_frm .add_fields {
- float: <?php echo $left; ?>;
- }
- #index_frm .add_fields input {
- margin-<?php echo $left; ?>: 1em;
- }
- #index_frm input {
- margin: 0;
- }
- #index_frm td {
- vertical-align: middle;
- }
- table#index_columns {
- width: 100%;
- }
- table#index_columns select {
- width: 100%;
- }
- #move_columns_dialog div {
- padding: 1em;
- }
- #move_columns_dialog ul {
- list-style: none;
- margin: 0;
- padding: 0;
- }
- #move_columns_dialog li {
- background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
- border: 1px solid #aaa;
- color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
- font-weight: bold;
- margin: .4em;
- padding: .2em;
- -webkit-border-radius: 2px;
- -moz-border-radius: 2px;
- border-radius: 2px;
- }
- .margin#change_column_dialog {
- margin: 0 .5em;
- }
- /* config forms */
- .config-form ul.tabs {
- margin: 1.1em .2em 0;
- padding: 0 0 .3em 0;
- list-style: none;
- font-weight: bold;
- }
- .config-form ul.tabs li {
- float: <?php echo $left; ?>;
- margin-bottom: -1px;
- }
- .config-form ul.tabs li a {
- display: block;
- margin: .1em .2em 0;
- white-space: nowrap;
- text-decoration: none;
- border: 1px solid <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
- border-bottom: 1px solid #aaa;
- }
- .config-form ul.tabs li a {
- padding: 7px 10px;
- -webkit-border-radius: 5px 5px 0 0;
- -moz-border-radius: 5px 5px 0 0;
- border-radius: 5px 5px 0 0;
- background: #f2f2f2;
- color: #555;
- text-shadow: 0 1px 0 #fff;
- }
- .config-form ul.tabs li a:hover,
- .config-form ul.tabs li a:active {
- background: #e5e5e5;
- }
- .config-form ul.tabs li.active a {
- background-color: #fff;
- margin-top: 1px;
- color: #000;
- text-shadow: none;
- border-color: #aaa;
- border-bottom: 1px solid #fff;
- }
- .config-form fieldset {
- margin-top: 0;
- padding: 0;
- clear: both;
- -webkit-border-radius: 0;
- -moz-border-radius: 0;
- border-radius: 0;
- }
- .config-form legend {
- display: none;
- }
- .config-form fieldset p {
- margin: 0;
- padding: .5em;
- background: #fff;
- border-top: 0;
- }
- .config-form fieldset .errors { /* form error list */
- margin: 0 -2px 1em;
- padding: .5em 1.5em;
- background: #FBEAD9;
- border: 0 #C83838 solid;
- border-width: 1px 0;
- list-style: none;
- font-family: sans-serif;
- font-size: small;
- }
- .config-form fieldset .inline_errors { /* field error list */
- margin: .3em .3em .3em;
- margin-<?php echo $left; ?>: 0;
- padding: 0;
- list-style: none;
- color: #9A0000;
- font-size: small;
- }
- .config-form fieldset th {
- padding: .3em .3em .3em;
- padding-<?php echo $left; ?>: .5em;
- text-align: <?php echo $left; ?>;
- vertical-align: top;
- width: 40%;
- background: transparent;
- filter: none;
- }
- .config-form fieldset .doc,
- .config-form fieldset .disabled-notice {
- margin-<?php echo $left; ?>: 1em;
- }
- .config-form fieldset .disabled-notice {
- font-size: 80%;
- text-transform: uppercase;
- color: #E00;
- cursor: help;
- }
- .config-form fieldset td {
- padding-top: .3em;
- padding-bottom: .3em;
- vertical-align: top;
- }
- .config-form fieldset th small {
- display: block;
- font-weight: normal;
- font-family: sans-serif;
- font-size: x-small;
- color: #444;
- }
- .config-form fieldset th,
- .config-form fieldset td {
- border-top: 1px <?php echo $GLOBALS['cfg']['BgTwo']; ?> solid;
- border-<?php echo $right; ?>: none;
- }
- fieldset .group-header th {
- background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
- }
- fieldset .group-header + tr th {
- padding-top: .6em;
- }
- fieldset .group-field-1 th,
- fieldset .group-header-2 th {
- padding-<?php echo $left; ?>: 1.5em;
- }
- fieldset .group-field-2 th,
- fieldset .group-header-3 th {
- padding-<?php echo $left; ?>: 3em;
- }
- fieldset .group-field-3 th {
- padding-<?php echo $left; ?>: 4.5em;
- }
- fieldset .disabled-field th,
- fieldset .disabled-field th small,
- fieldset .disabled-field td {
- color: #666;
- background-color: #ddd;
- }
- .config-form .lastrow {
- border-top: 1px #000 solid;
- }
- .config-form .lastrow {
- background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;;
- padding: .5em;
- text-align: center;
- }
- .config-form .lastrow input {
- font-weight: bold;
- }
- /* form elements */
- .config-form span.checkbox {
- padding: 2px;
- display: inline-block;
- }
- .config-form .custom { /* customized field */
- background: #FFC;
- }
- .config-form span.checkbox.custom {
- padding: 1px;
- border: 1px #EDEC90 solid;
- background: #FFC;
- }
- .config-form .field-error {
- border-color: #A11 !important;
- }
- .config-form input[type="text"],
- .config-form select,
- .config-form textarea {
- border: 1px #A7A6AA solid;
- height: auto;
- }
- .config-form input[type="text"]:focus,
- .config-form select:focus,
- .config-form textarea:focus {
- border: 1px #6676FF solid;
- background: #F7FBFF;
- }
- .config-form .field-comment-mark {
- font-family: serif;
- color: #007;
- cursor: help;
- padding: 0 .2em;
- font-weight: bold;
- font-style: italic;
- }
- .config-form .field-comment-warning {
- color: #A00;
- }
- /* error list */
- .config-form dd {
- margin-<?php echo $left; ?>: .5em;
- }
- .config-form dd:before {
- content: "\25B8 ";
- }
- .click-hide-message {
- cursor: pointer;
- }
- .prefsmanage_opts {
- margin-<?php echo $left; ?>: 2em;
- }
- #prefs_autoload {
- margin-bottom: .5em;
- }
- #placeholder .button {
- position: absolute;
- cursor: pointer;
- }
- #placeholder div.button {
- font-size: smaller;
- color: #999;
- background-color: #eee;
- padding: 2px;
- }
- .wrapper {
- float: <?php echo $left; ?>;
- margin-bottom: 1.5em;
- }
- .toggleButton {
- position: relative;
- cursor: pointer;
- font-size: .8em;
- text-align: center;
- line-height: 1.4em;
- height: 1.55em;
- overflow: hidden;
- border-right: .1em solid #888;
- border-left: .1em solid #888;
- -webkit-border-radius: .3em;
- -moz-border-radius: .3em;
- border-radius: .3em;
- }
- .toggleButton table,
- .toggleButton td,
- .toggleButton img {
- padding: 0;
- position: relative;
- }
- .toggleButton .container {
- position: absolute;
- }
- .toggleButton .toggleOn {
- color: #fff;
- padding: 0 1em;
- text-shadow: 0 0 .2em #000;
- }
- .toggleButton .toggleOff {
- padding: 0 1em;
- }
- .doubleFieldset fieldset {
- width: 48%;
- float: <?php echo $left; ?>;
- padding: 0;
- }
- .doubleFieldset fieldset.left {
- margin-<?php echo $right; ?>: 1%;
- }
- .doubleFieldset fieldset.right {
- margin-<?php echo $left; ?>: 1%;
- }
- .doubleFieldset legend {
- margin-<?php echo $left; ?>: 1.5em;
- }
- .doubleFieldset div.wrap {
- padding: 1.5em;
- }
- #table_columns input[type="text"],
- #table_columns select {
- width: 10em;
- box-sizing: border-box;
- -ms-box-sizing: border-box;
- -moz-box-sizing: border-box;
- -webkit-box-sizing: border-box;
- }
- #table_columns select {
- margin: 0 6px;
- }
- #placeholder {
- position: relative;
- border: 1px solid #aaa;
- float: <?php echo $right; ?>;
- overflow: hidden;
- }
- .placeholderDrag {
- cursor: move;
- }
- #placeholder .button {
- position: absolute;
- }
- #left_arrow {
- left: 8px;
- top: 26px;
- }
- #right_arrow {
- left: 26px;
- top: 26px;
- }
- #up_arrow {
- left: 17px;
- top: 8px;
- }
- #down_arrow {
- left: 17px;
- top: 44px;
- }
- #zoom_in {
- left: 17px;
- top: 67px;
- }
- #zoom_world {
- left: 17px;
- top: 85px;
- }
- #zoom_out {
- left: 17px;
- top: 103px;
- }
- .colborder {
- cursor: col-resize;
- height: 100%;
- margin-<?php echo $left; ?>: -6px;
- position: absolute;
- width: 5px;
- }
- .colborder_active {
- border-<?php echo $right; ?>: 2px solid #a44;
- }
- .pma_table td {
- position: static;
- }
- .pma_table th.draggable span,
- .pma_table tbody td span {
- display: block;
- overflow: hidden;
- }
- .modal-copy input {
- display: block;
- width: 100%;
- margin-top: 1.5em;
- padding: .3em 0;
- }
- .cRsz {
- position: absolute;
- }
- .cCpy {
- background: #333;
- color: #FFF;
- font-weight: bold;
- margin: .1em;
- padding: .3em;
- position: absolute;
- text-shadow: -1px -1px #000;
- -moz-box-shadow: 0 0 .7em #000;
- -webkit-box-shadow: 0 0 .7em #000;
- box-shadow: 0 0 .7em #000;
- -moz-border-radius: .3em;
- -webkit-border-radius: .3em;
- border-radius: .3em;
- }
- .cPointer {
- background: url(<?php echo $_SESSION['PMA_Theme']->getImgPath('col_pointer.png');?>);
- height: 20px;
- margin-<?php echo $left; ?>: -5px; /* must be minus half of its width */
- margin-top: -10px;
- position: absolute;
- width: 10px;
- }
- .tooltip {
- background: #333 !important;
- opacity: .8 !important;
- border: 1px solid #000 !important;
- -moz-border-radius: .3em !important;
- -webkit-border-radius: .3em !important;
- border-radius: .3em !important;
- text-shadow: -1px -1px #000 !important;
- font-size: .8em !important;
- font-weight: bold !important;
- padding: 1px 3px !important;
- }
- .tooltip * {
- background: none !important;
- color: #FFF !important;
- }
- .cDrop {
- left: 0;
- position: absolute;
- top: 0;
- }
- .coldrop {
- background: url(<?php echo $_SESSION['PMA_Theme']->getImgPath('col_drop.png');?>);
- cursor: pointer;
- height: 16px;
- margin-<?php echo $left; ?>: .3em;
- margin-top: .3em;
- position: absolute;
- width: 16px;
- }
- .coldrop:hover,
- .coldrop-hover {
- background-color: #999;
- }
- .cList {
- background: #EEE;
- border: solid 1px #999;
- position: absolute;
- -moz-box-shadow: 0 .2em .5em #333;
- -webkit-box-shadow: 0 .2em .5em #333;
- box-shadow: 0 .2em .5em #333;
- }
- .cList .lDiv div {
- padding: .2em .5em .2em;
- padding-<?php echo $left; ?>: .2em;
- }
- .cList .lDiv div:hover {
- background: #DDD;
- cursor: pointer;
- }
- .cList .lDiv div input {
- cursor: pointer;
- }
- .showAllColBtn {
- border-bottom: solid 1px #999;
- border-top: solid 1px #999;
- cursor: pointer;
- font-size: .9em;
- font-weight: bold;
- padding: .35em 1em;
- text-align: center;
- }
- .showAllColBtn:hover {
- background: #DDD;
- }
- #page_content {
- background-color: white;
- }
- .navigation {
- margin: .8em 0;
- border-radius: 5px;
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- <?php echo $_SESSION['PMA_Theme']->getCssGradient('eeeeee', 'cccccc'); ?>
- }
- .navigation td {
- margin: 0;
- padding: 0;
- vertical-align: middle;
- white-space: nowrap;
- }
- .navigation_separator {
- color: #999;
- display: inline-block;
- font-size: 1.5em;
- text-align: center;
- height: 1.4em;
- width: 1.2em;
- text-shadow: 1px 0 #FFF;
- }
- .navigation input[type=submit] {
- background: none;
- border: 0;
- filter: none;
- margin: 0;
- padding: .8em .5em;
- border-radius: 0;
- -webkit-border-radius: 0;
- -moz-border-radius: 0;
- }
- .navigation input[type=submit]:hover,
- .navigation input.edit_mode_active {
- color: #fff;
- cursor: pointer;
- text-shadow: none;
- <?php echo $_SESSION['PMA_Theme']->getCssGradient('333333', '555555'); ?>
- }
- .navigation select {
- margin: 0 .8em;
- }
- .cEdit {
- margin: 0;
- padding: 0;
- position: absolute;
- }
- .cEdit input[type=text] {
- background: #FFF;
- height: 100%;
- margin: 0;
- padding: 0;
- }
- .cEdit .edit_area {
- background: #FFF;
- border: 1px solid #999;
- min-width: 10em;
- padding: .3em .5em;
- }
- .cEdit .edit_area select,
- .cEdit .edit_area textarea {
- width: 97%;
- }
- .cEdit .cell_edit_hint {
- color: #555;
- font-size: .8em;
- margin: .3em .2em;
- }
- .cEdit .edit_box {
- overflow: hidden;
- padding: 0;
- }
- .cEdit .edit_box_posting {
- background: #FFF url(<?php echo $_SESSION['PMA_Theme']->getImgPath('ajax_clock_small.gif');?>) no-repeat right center;
- padding-<?php echo $right; ?>: 1.5em;
- }
- .cEdit .edit_area_loading {
- background: #FFF url(<?php echo $_SESSION['PMA_Theme']->getImgPath('ajax_clock_small.gif');?>) no-repeat center;
- height: 10em;
- }
- .cEdit .goto_link {
- background: #EEE;
- color: #555;
- padding: .2em .3em;
- }
- .saving_edited_data {
- background: url(<?php echo $_SESSION['PMA_Theme']->getImgPath('ajax_clock_small.gif');?>) no-repeat left;
- padding-<?php echo $left; ?>: 20px;
- }
- /* css for timepicker */
- .ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
- .ui-timepicker-div dl { text-align: <?php echo $left; ?>; }
- .ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
- .ui-timepicker-div dl dd { margin: 0 10px 10px 65px; }
- .ui-timepicker-div td { font-size: 90%; }
- .ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }
- .ui-timepicker-rtl { direction: rtl; }
- .ui-timepicker-rtl dl { text-align: right; }
- .ui-timepicker-rtl dl dd { margin: 0 65px 10px 10px; }
- input.btn {
- color: #333;
- background-color: #D0DCE0;
- }
- body .ui-widget {
- font-size: 1em;
- }
- .ui-dialog fieldset legend a {
- color: #235A81;
- }
- /* over-riding jqplot-yaxis class */
- .jqplot-yaxis {
- left:0px !important;
- min-width:25px;
- width:auto;
- }
- .jqplot-axis {
- overflow:hidden;
- }
|