_common.scss 53 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777
  1. // Common styles for the original theme
  2. html {
  3. font-size: 82%;
  4. }
  5. input,
  6. select,
  7. textarea {
  8. font-size: 1em;
  9. }
  10. body {
  11. font-family: $font-family;
  12. padding: 0;
  13. margin: 0;
  14. margin-#{$left}: 240px;
  15. color: $main-color;
  16. background: $main-background;
  17. }
  18. #page_content {
  19. margin: 0 0.5em;
  20. }
  21. .desktop50 {
  22. width: 50%;
  23. }
  24. .all100 {
  25. width: 100%;
  26. }
  27. .all85 {
  28. width: 85%;
  29. }
  30. .auth_config_tbl {
  31. margin: 0 auto;
  32. }
  33. textarea,
  34. tt,
  35. pre,
  36. code {
  37. font-family: $font-family-fixed;
  38. }
  39. h1 {
  40. font-size: 140%;
  41. font-weight: bold;
  42. }
  43. h2 {
  44. font-size: 120%;
  45. font-weight: bold;
  46. }
  47. h3 {
  48. font-weight: bold;
  49. font-size: 1rem;
  50. }
  51. a {
  52. text-decoration: none;
  53. color: #00f;
  54. cursor: pointer;
  55. &:link,
  56. &:visited,
  57. &:active {
  58. text-decoration: none;
  59. color: #00f;
  60. cursor: pointer;
  61. }
  62. }
  63. button.mult_submit,
  64. .checkall_box + label {
  65. text-decoration: none;
  66. color: #00f;
  67. cursor: pointer;
  68. }
  69. a:hover {
  70. text-decoration: underline;
  71. color: #f00;
  72. }
  73. button.mult_submit {
  74. &:hover,
  75. &:focus {
  76. text-decoration: underline;
  77. color: #f00;
  78. }
  79. }
  80. .checkall_box + label:hover {
  81. text-decoration: underline;
  82. color: #f00;
  83. }
  84. dfn {
  85. font-style: normal;
  86. &:hover {
  87. font-style: normal;
  88. cursor: help;
  89. }
  90. }
  91. th {
  92. font-weight: bold;
  93. color: $th-color;
  94. background: $th-background;
  95. }
  96. a img {
  97. border: 0;
  98. }
  99. hr {
  100. color: $main-color;
  101. background-color: $main-color;
  102. border: 0;
  103. height: 1px;
  104. }
  105. form {
  106. padding: 0;
  107. margin: 0;
  108. display: inline;
  109. }
  110. textarea {
  111. overflow: visible;
  112. }
  113. th.fillPage {
  114. width: 80%;
  115. }
  116. textarea.charField {
  117. width: 95%;
  118. }
  119. fieldset {
  120. margin-top: 1em;
  121. border: $main-color solid 1px;
  122. padding: 0.5em;
  123. background: $bg-one;
  124. fieldset {
  125. margin: 0.8em;
  126. }
  127. legend {
  128. font-weight: bold;
  129. color: #444;
  130. background-color: transparent;
  131. width: initial;
  132. font-size: 1rem;
  133. }
  134. }
  135. .some-margin {
  136. margin: 0.5em;
  137. margin-top: 1em;
  138. }
  139. // buttons in some browsers (eg. Konqueror) are block elements, this breaks design
  140. button {
  141. display: inline;
  142. }
  143. table {
  144. caption,
  145. th,
  146. td {
  147. padding: 0.1em 0.5em 0.1em 0.5em;
  148. margin: 0.1em;
  149. vertical-align: top;
  150. }
  151. }
  152. table {
  153. border-collapse: separate;
  154. }
  155. img,
  156. input,
  157. select,
  158. button {
  159. vertical-align: middle;
  160. }
  161. // classes
  162. .clearfloat {
  163. clear: both;
  164. }
  165. .floatleft {
  166. float: $left;
  167. margin-#{$right}: 1em;
  168. }
  169. .floatright {
  170. float: $right;
  171. }
  172. table {
  173. &.nospacing {
  174. border-spacing: 0;
  175. }
  176. &.nopadding tr {
  177. th,
  178. td {
  179. padding: 0;
  180. }
  181. }
  182. }
  183. th.left,
  184. td.left {
  185. text-align: $left;
  186. }
  187. th.center,
  188. td.center {
  189. text-align: center;
  190. }
  191. th.right,
  192. td.right {
  193. text-align: $right;
  194. padding-#{$right}: 1em;
  195. }
  196. tr.vtop,
  197. th.vtop,
  198. td.vtop {
  199. vertical-align: top;
  200. }
  201. tr.vmiddle,
  202. th.vmiddle,
  203. td.vmiddle {
  204. vertical-align: middle;
  205. }
  206. tr.vbottom,
  207. th.vbottom,
  208. td.vbottom {
  209. vertical-align: bottom;
  210. }
  211. .paddingtop {
  212. padding-top: 1em;
  213. }
  214. div.tools {
  215. border: 1px solid #000;
  216. padding: 0.2em;
  217. margin-top: 0;
  218. margin-bottom: 0.5em;
  219. /* avoid a thick line since this should be used under another fieldset */
  220. border-top: 0;
  221. text-align: $right;
  222. float: none;
  223. clear: both;
  224. }
  225. fieldset.tblFooters {
  226. margin-top: 0;
  227. margin-bottom: 0.5em;
  228. /* avoid a thick line since this should be used under another fieldset */
  229. border-top: 0;
  230. text-align: $right;
  231. float: none;
  232. clear: both;
  233. }
  234. div.null_div {
  235. height: 20px;
  236. text-align: center;
  237. font-style: normal;
  238. min-width: 50px;
  239. }
  240. fieldset {
  241. .formelement {
  242. float: $left;
  243. margin-#{$right}: 0.5em;
  244. white-space: nowrap;
  245. }
  246. // revert for Gecko
  247. div[class="formelement"] {
  248. white-space: normal;
  249. }
  250. }
  251. button.mult_submit {
  252. border: none;
  253. background-color: transparent;
  254. }
  255. // odd items 1,3,5,7...
  256. table tr:nth-child(odd) {
  257. background: $bg-one;
  258. }
  259. #table_index tbody:nth-of-type(odd) {
  260. tr,
  261. th {
  262. background: $bg-one;
  263. }
  264. }
  265. // even items 2,4,6,8...
  266. table tr:nth-child(even) {
  267. background: $bg-two;
  268. }
  269. #table_index tbody:nth-of-type(even) {
  270. tr,
  271. th {
  272. background: $bg-two;
  273. }
  274. }
  275. table tr {
  276. text-align: $left;
  277. th {
  278. text-align: $left;
  279. }
  280. }
  281. td.marked:not(.nomarker) {
  282. background: $browse-marker-background;
  283. color: $browse-marker-color;
  284. }
  285. table tr {
  286. &.marked:not(.nomarker) {
  287. background: $browse-marker-background;
  288. color: $browse-marker-color;
  289. td,
  290. th {
  291. background: $browse-marker-background;
  292. color: $browse-marker-color;
  293. }
  294. }
  295. &:not(.nopointer):hover {
  296. background: $browse-pointer-background;
  297. color: $browse-pointer-color;
  298. }
  299. }
  300. .hover:not(.nopointer) {
  301. background: $browse-pointer-background;
  302. color: $browse-pointer-color;
  303. }
  304. #table_index tbody:hover {
  305. tr,
  306. th {
  307. background: $browse-pointer-background;
  308. color: $browse-pointer-color;
  309. }
  310. }
  311. table tr.hover:not(.nopointer) th {
  312. background: $browse-pointer-background;
  313. color: $browse-pointer-color;
  314. }
  315. /**
  316. * marks table rows/cells if the db field is in a where condition
  317. */
  318. td.condition,
  319. th.condition {
  320. border: 1px solid $browse-marker-background;
  321. }
  322. /**
  323. * cells with the value NULL
  324. */
  325. td.null {
  326. font-style: italic;
  327. color: #7d7d7d;
  328. }
  329. table {
  330. .valueHeader,
  331. .value {
  332. text-align: $right;
  333. white-space: normal;
  334. }
  335. /* IE doesnt handles 'pre' right */
  336. [class="value"] {
  337. white-space: normal;
  338. }
  339. }
  340. .value {
  341. font-family: $font-family-fixed;
  342. }
  343. .attention {
  344. color: red;
  345. font-weight: bold;
  346. }
  347. .allfine {
  348. color: green;
  349. }
  350. .displayblock {
  351. display: block;
  352. }
  353. img.lightbulb {
  354. cursor: pointer;
  355. }
  356. .pdflayout {
  357. overflow: hidden;
  358. clip: inherit;
  359. background-color: #fff;
  360. display: none;
  361. border: 1px solid #000;
  362. position: relative;
  363. }
  364. .pdflayout_table {
  365. background: #d3dce3;
  366. color: #000;
  367. overflow: hidden;
  368. clip: inherit;
  369. z-index: 2;
  370. display: inline;
  371. visibility: inherit;
  372. cursor: move;
  373. position: absolute;
  374. font-size: 80%;
  375. border: 1px dashed #000;
  376. }
  377. /* Doc links in SQL */
  378. .cm-sql-doc {
  379. text-decoration: none;
  380. border-bottom: 1px dotted #000;
  381. color: inherit !important;
  382. }
  383. /* leave some space between icons and text */
  384. .icon {
  385. image-rendering: pixelated;
  386. vertical-align: middle;
  387. margin-#{$left}: 0.3em;
  388. background-repeat: no-repeat;
  389. background-position: center;
  390. }
  391. /* no extra space in table cells */
  392. td .icon {
  393. margin: 0;
  394. }
  395. .selectallarrow {
  396. margin-#{$right}: 0.3em;
  397. margin-#{$left}: 0.6em;
  398. }
  399. .with-selected {
  400. margin-#{$left}: 2em;
  401. }
  402. /* message boxes: error, confirmation */
  403. #pma_errors,
  404. #pma_demo,
  405. #pma_footer {
  406. position: relative;
  407. padding: 0 0.5em;
  408. }
  409. .success h1,
  410. .notice h1 {
  411. border-bottom: 2px solid;
  412. font-weight: bold;
  413. text-align: $left;
  414. margin: 0 0 0.2em 0;
  415. }
  416. div {
  417. &.error h1 {
  418. border-bottom: 2px solid;
  419. font-weight: bold;
  420. text-align: $left;
  421. margin: 0 0 0.2em 0;
  422. }
  423. &.success,
  424. &.notice,
  425. &.error {
  426. margin: 0.3em 0 0 0;
  427. border: 2px solid;
  428. background-repeat: no-repeat;
  429. clear: both;
  430. @if $direction == rtl {
  431. background-position: 99% 50%;
  432. padding: 0.1em 40px 0.1em 0.1em;
  433. } @else {
  434. background-position: 10px 50%;
  435. padding: 0.1em 0.1em 0.1em 42px;
  436. }
  437. }
  438. &.success img.icon,
  439. &.notice img.icon,
  440. &.error img.icon {
  441. display: block;
  442. float: $left;
  443. margin-#{$left}: -22px;
  444. }
  445. }
  446. .success {
  447. color: #000;
  448. background-color: #f0fff0;
  449. }
  450. h1.success,
  451. div.success,
  452. .success h1 {
  453. border-color: #0f0;
  454. }
  455. .notice {
  456. color: #000;
  457. background-color: #ffd;
  458. }
  459. h1.notice,
  460. div.notice,
  461. .notice h1 {
  462. border-color: #ffd700;
  463. }
  464. .error {
  465. background-color: #ffc;
  466. color: #f00;
  467. }
  468. h1.error {
  469. border-color: #f00;
  470. }
  471. div.error {
  472. border-color: #f00;
  473. h1 {
  474. border-color: #f00;
  475. }
  476. }
  477. .confirmation {
  478. background-color: #ffc;
  479. }
  480. fieldset.confirmation {
  481. border: 0.1em solid #f00;
  482. legend {
  483. border-#{$left}: 0.1em solid #f00;
  484. border-#{$right}: 0.1em solid #f00;
  485. font-weight: bold;
  486. background-image: url("../img/s_really.png");
  487. background-repeat: no-repeat;
  488. @if $direction == rtl {
  489. background-position: 97% 50%;
  490. padding: 0.2em 25px 0.2em 0.2em;
  491. } @else {
  492. background-position: 5px 50%;
  493. padding: 0.2em 0.2em 0.2em 25px;
  494. }
  495. }
  496. }
  497. /* end messageboxes */
  498. .new_central_col {
  499. width: 100%;
  500. }
  501. .tblcomment {
  502. font-size: 70%;
  503. font-weight: normal;
  504. color: #009;
  505. }
  506. .tblHeaders {
  507. font-weight: bold;
  508. color: $th-color;
  509. background: $th-background;
  510. }
  511. div.tools,
  512. .tblFooters {
  513. font-weight: normal;
  514. color: $th-color;
  515. background: $th-background;
  516. }
  517. .tblHeaders a {
  518. &:link,
  519. &:active,
  520. &:visited {
  521. color: #00f;
  522. }
  523. &:hover {
  524. color: #f00;
  525. }
  526. }
  527. div.tools a {
  528. &:link,
  529. &:visited,
  530. &:active {
  531. color: #00f;
  532. }
  533. &:hover {
  534. color: #f00;
  535. }
  536. }
  537. .tblFooters a {
  538. &:link,
  539. &:active,
  540. &:visited {
  541. color: #00f;
  542. }
  543. &:hover {
  544. color: #f00;
  545. }
  546. }
  547. /* forbidden, no privilegs */
  548. .noPrivileges {
  549. color: #f00;
  550. font-weight: bold;
  551. }
  552. /* disabled text */
  553. .disabled {
  554. color: #666;
  555. a {
  556. &:link,
  557. &:active,
  558. &:visited {
  559. color: #666;
  560. }
  561. &:hover {
  562. color: #666;
  563. text-decoration: none;
  564. }
  565. }
  566. }
  567. tr.disabled td,
  568. td.disabled {
  569. background-color: #ccc;
  570. }
  571. .nowrap {
  572. white-space: nowrap;
  573. }
  574. /**
  575. * zoom search
  576. */
  577. div {
  578. &#resizer {
  579. width: 600px;
  580. height: 400px;
  581. }
  582. &#querychart {
  583. float: $left;
  584. width: 600px;
  585. }
  586. }
  587. /**
  588. * login form
  589. */
  590. body#loginform {
  591. margin: 0;
  592. margin-top: 1em;
  593. text-align: center;
  594. h1,
  595. a.logo {
  596. display: block;
  597. text-align: center;
  598. }
  599. div.container {
  600. text-align: $left;
  601. width: 30em;
  602. margin: 0 auto;
  603. }
  604. }
  605. div.container.modal_form {
  606. margin: 0 auto;
  607. width: 30em;
  608. text-align: center;
  609. background: #fff;
  610. z-index: 999;
  611. }
  612. #login_form {
  613. text-align: $left;
  614. }
  615. div#modalOverlay {
  616. position: fixed;
  617. top: 0;
  618. #{$left}: 0;
  619. height: 100%;
  620. width: 100%;
  621. background: #fff;
  622. z-index: 900;
  623. }
  624. form.login label {
  625. width: 10em;
  626. font-weight: bolder;
  627. }
  628. .commented_column {
  629. border-bottom: 1px dashed black;
  630. }
  631. .column_attribute {
  632. font-size: 70%;
  633. }
  634. .column_name {
  635. font-size: 80%;
  636. margin: 5px 2px;
  637. }
  638. .cfg_dbg_demo {
  639. margin: 0.5em 1em 0.5em 1em;
  640. }
  641. .central_columns_navigation {
  642. padding: 1.5% 0 !important;
  643. }
  644. .central_columns_add_column {
  645. display: inline-block;
  646. margin-#{$left}: 1%;
  647. max-width: 50%;
  648. }
  649. .message_errors_found {
  650. margin-top: 20px;
  651. }
  652. .repl_gui_skip_err_cnt {
  653. width: 30px;
  654. }
  655. .font_weight_bold {
  656. font-weight: bold;
  657. }
  658. .color_gray {
  659. color: gray;
  660. }
  661. .max_height_400 {
  662. max-height: 400px;
  663. }
  664. .color_red {
  665. color: red;
  666. }
  667. .pma_sliding_message {
  668. display: inline-block;
  669. }
  670. li.last.database {
  671. margin-bottom: 20px !important;
  672. }
  673. /* specific elements */
  674. /* topmenu */
  675. ul {
  676. &#topmenu,
  677. &#topmenu2,
  678. &.tabs {
  679. font-weight: bold;
  680. list-style-type: none;
  681. margin: 0;
  682. padding: 0;
  683. }
  684. &#topmenu2 {
  685. margin: 0.25em 0.5em 0;
  686. height: 2em;
  687. clear: both;
  688. }
  689. &#topmenu li,
  690. &#topmenu2 li {
  691. float: $left;
  692. margin: 0;
  693. padding: 0;
  694. vertical-align: middle;
  695. }
  696. }
  697. #topmenu img,
  698. #topmenu2 img {
  699. vertical-align: middle;
  700. margin-#{$right}: 0.1em;
  701. }
  702. /* default tab styles */
  703. ul {
  704. &#topmenu {
  705. a,
  706. span {
  707. display: block;
  708. margin: 2px 2px 0;
  709. padding: 2px 2px 0;
  710. white-space: nowrap;
  711. }
  712. }
  713. &#topmenu2 a {
  714. display: block;
  715. margin: 0.1em;
  716. padding: 0.2em;
  717. white-space: nowrap;
  718. }
  719. }
  720. span {
  721. &.caution {
  722. color: #f00;
  723. }
  724. &.success {
  725. color: green;
  726. }
  727. }
  728. fieldset.caution a {
  729. color: #f00;
  730. &:hover {
  731. color: #fff;
  732. background-color: #f00;
  733. }
  734. }
  735. #topmenu {
  736. margin-top: 0.5em;
  737. padding: 0.1em 0.3em 0.1em 0.3em;
  738. }
  739. ul {
  740. &#topmenu {
  741. ul {
  742. -moz-box-shadow: 2px 2px 3px #666;
  743. -webkit-box-shadow: 2px 2px 3px #666;
  744. box-shadow: 2px 2px 3px #666;
  745. }
  746. > li {
  747. border-bottom: 1pt solid black;
  748. }
  749. a,
  750. span {
  751. background-color: $bg-one;
  752. border: 0 solid $bg-two;
  753. border-width: 1pt 1pt 0 1pt;
  754. -moz-border-radius: 0.4em 0.4em 0 0;
  755. border-radius: 0.4em 0.4em 0 0;
  756. }
  757. ul {
  758. a {
  759. border-width: 1pt 0 0 0;
  760. -moz-border-radius: 0;
  761. border-radius: 0;
  762. }
  763. li:first-child a {
  764. border-width: 0;
  765. }
  766. a:hover,
  767. .tabactive {
  768. text-decoration: none;
  769. }
  770. }
  771. > li > {
  772. a:hover,
  773. .tabactive {
  774. margin: 0;
  775. padding: 2px 4px;
  776. text-decoration: none;
  777. }
  778. }
  779. a.tab:hover,
  780. .tabactive {
  781. background-color: $main-background;
  782. }
  783. }
  784. &#topmenu2 a {
  785. &.tab:hover,
  786. &.tabactive {
  787. background-color: $bg-one;
  788. -moz-border-radius: 0.3em;
  789. border-radius: 0.3em;
  790. text-decoration: none;
  791. }
  792. }
  793. &#topmenu > li.active {
  794. border-bottom: 1pt solid $main-background;
  795. }
  796. }
  797. /* zoom search */
  798. div#dataDisplay {
  799. input,
  800. select {
  801. margin: 0;
  802. margin-#{$right}: 0.5em;
  803. }
  804. th {
  805. line-height: 2em;
  806. }
  807. }
  808. table {
  809. &#tableFieldsId {
  810. width: 100%;
  811. }
  812. &.calendar {
  813. width: 100%;
  814. td {
  815. text-align: center;
  816. a {
  817. display: block;
  818. &:hover {
  819. background-color: #cfc;
  820. }
  821. }
  822. }
  823. th {
  824. background-color: #d3dce3;
  825. }
  826. td.selected {
  827. background-color: #fc9;
  828. }
  829. }
  830. }
  831. img.calendar {
  832. border: none;
  833. }
  834. form.clock {
  835. text-align: center;
  836. }
  837. div#tablestatistics table {
  838. float: $left;
  839. margin-top: 0.5em;
  840. margin-bottom: 0.5em;
  841. margin-#{$right}: 0.5em;
  842. min-width: 16em;
  843. }
  844. #tableuserrights td,
  845. #tablespecificuserrights td,
  846. #tabledatabases td {
  847. vertical-align: middle;
  848. }
  849. #topmenucontainer {
  850. background: white;
  851. padding-#{$right}: 1em;
  852. width: 100%;
  853. }
  854. #serverinfo {
  855. background: white;
  856. font-weight: bold;
  857. padding-bottom: 0.5em;
  858. padding-#{$left}: 2.2em;
  859. width: 10000px;
  860. overflow: hidden;
  861. box-sizing: content-box;
  862. .item {
  863. white-space: nowrap;
  864. }
  865. img {
  866. margin: 0 0.1em 0 0.2em;
  867. }
  868. }
  869. #page_nav_icons {
  870. position: fixed;
  871. top: 0;
  872. #{$right}: 0;
  873. z-index: 99;
  874. padding: 0.1em 0;
  875. }
  876. #goto_pagetop,
  877. #lock_page_icon {
  878. padding: 0.3em;
  879. background: white;
  880. }
  881. #page_settings_icon {
  882. padding: 0.3em;
  883. background: white;
  884. cursor: pointer;
  885. display: none;
  886. }
  887. #page_settings_modal,
  888. #pma_navigation_settings {
  889. display: none;
  890. }
  891. #span_table_comment {
  892. font-weight: bold;
  893. font-style: italic;
  894. white-space: nowrap;
  895. margin-#{$left}: 10px;
  896. color: #d6d6d6;
  897. text-shadow: none;
  898. }
  899. #textSQLDUMP {
  900. width: 95%;
  901. height: 95%;
  902. font-family: $font-family-fixed;
  903. font-size: 110%;
  904. }
  905. #TooltipContainer {
  906. position: absolute;
  907. z-index: 99;
  908. width: 20em;
  909. height: auto;
  910. overflow: visible;
  911. visibility: hidden;
  912. background-color: #ffc;
  913. color: #060;
  914. border: 0.1em solid #000;
  915. padding: 0.5em;
  916. }
  917. #fieldset_add_user_login {
  918. div.item {
  919. border-bottom: 1px solid silver;
  920. padding-bottom: 0.3em;
  921. margin-bottom: 0.3em;
  922. }
  923. label {
  924. float: $left;
  925. display: block;
  926. width: 15em;
  927. max-width: 100%;
  928. text-align: $right;
  929. padding-#{$right}: 0.5em;
  930. }
  931. span.options {
  932. float: $left;
  933. display: block;
  934. width: 12em;
  935. max-width: 100%;
  936. padding-#{$right}: 0.5em;
  937. #select_pred_username,
  938. #select_pred_hostname,
  939. #select_pred_password {
  940. width: 100%;
  941. max-width: 100%;
  942. }
  943. }
  944. input {
  945. width: 12em;
  946. clear: $right;
  947. max-width: 100%;
  948. }
  949. span.options input {
  950. width: auto;
  951. }
  952. }
  953. #fieldset_user_priv div.item {
  954. float: $left;
  955. width: 9em;
  956. max-width: 100%;
  957. div.item {
  958. float: none;
  959. }
  960. label {
  961. white-space: nowrap;
  962. }
  963. select {
  964. width: 100%;
  965. }
  966. }
  967. #fieldset_user_global_rights fieldset,
  968. #fieldset_user_group_rights fieldset {
  969. float: $left;
  970. }
  971. #fieldset_user_global_rights > legend input {
  972. margin-#{$left}: 2em;
  973. }
  974. .linkElem:hover {
  975. text-decoration: underline;
  976. color: #235a81;
  977. cursor: pointer;
  978. }
  979. h3#serverstatusqueries span {
  980. font-size: 60%;
  981. display: inline;
  982. }
  983. .buttonlinks {
  984. float: $right;
  985. white-space: nowrap;
  986. }
  987. fieldset#tableFilter {
  988. padding: 0.1em 1em;
  989. }
  990. div#serverStatusTabs {
  991. margin-top: 1em;
  992. }
  993. caption a.top {
  994. float: $right;
  995. }
  996. div {
  997. &#serverstatusquerieschart {
  998. float: $left;
  999. width: 500px;
  1000. height: 350px;
  1001. margin-#{$right}: 50px;
  1002. }
  1003. &#serverstatus table#serverstatusqueriesdetails {
  1004. float: $left;
  1005. }
  1006. }
  1007. table {
  1008. &#serverstatustraffic {
  1009. float: $left;
  1010. }
  1011. &#serverstatusconnections {
  1012. float: $left;
  1013. margin-#{$left}: 30px;
  1014. }
  1015. &#serverstatusvariables {
  1016. width: 100%;
  1017. margin-bottom: 1em;
  1018. .name {
  1019. width: 18em;
  1020. white-space: nowrap;
  1021. }
  1022. .value {
  1023. width: 6em;
  1024. }
  1025. }
  1026. &#serverstatusconnections {
  1027. float: $left;
  1028. margin-#{$left}: 30px;
  1029. }
  1030. }
  1031. div {
  1032. &#serverstatus table {
  1033. tbody td.descr a,
  1034. .tblFooters a {
  1035. white-space: nowrap;
  1036. }
  1037. }
  1038. &.liveChart {
  1039. clear: both;
  1040. min-width: 500px;
  1041. height: 400px;
  1042. padding-bottom: 80px;
  1043. }
  1044. }
  1045. #addChartDialog input[type="text"] {
  1046. margin: 0;
  1047. padding: 3px;
  1048. }
  1049. div#chartVariableSettings {
  1050. border: 1px solid #ddd;
  1051. background-color: #e6e6e6;
  1052. margin-#{$left}: 10px;
  1053. }
  1054. table#chartGrid {
  1055. td {
  1056. padding: 3px;
  1057. margin: 0;
  1058. }
  1059. div.monitorChart {
  1060. background: #ebebeb;
  1061. border: none;
  1062. }
  1063. }
  1064. div.tabLinks {
  1065. margin-#{$left}: 0.3em;
  1066. float: $left;
  1067. padding: 5px 0;
  1068. a,
  1069. label {
  1070. margin-#{$right}: 7px;
  1071. }
  1072. .icon {
  1073. margin: -0.2em 0.3em 0 0;
  1074. }
  1075. }
  1076. .popupContent {
  1077. display: none;
  1078. position: absolute;
  1079. border: 1px solid #ccc;
  1080. margin: 0;
  1081. padding: 3px;
  1082. -moz-box-shadow: 1px 1px 6px #ddd;
  1083. -webkit-box-shadow: 2px 2px 3px #666;
  1084. box-shadow: 2px 2px 3px #666;
  1085. background-color: white;
  1086. z-index: 2;
  1087. }
  1088. div#logTable {
  1089. padding-top: 10px;
  1090. clear: both;
  1091. table {
  1092. width: 100%;
  1093. }
  1094. }
  1095. .smallIndent {
  1096. padding-#{$left}: 7px;
  1097. }
  1098. #sectionlinks {
  1099. margin-bottom: 15px;
  1100. padding: 10px;
  1101. border: 1px solid #ccc;
  1102. a {
  1103. margin-#{$right}: 7px;
  1104. }
  1105. }
  1106. /* server variables */
  1107. #serverVariables {
  1108. width: 100%;
  1109. .var-row > tr {
  1110. line-height: 2em;
  1111. }
  1112. .var-header {
  1113. font-weight: bold;
  1114. color: $th-color;
  1115. background: $th-background;
  1116. text-align: $left;
  1117. }
  1118. .var-row {
  1119. padding: 0.5em;
  1120. min-height: 18px;
  1121. }
  1122. .var-name {
  1123. font-weight: bold;
  1124. &.session {
  1125. font-weight: normal;
  1126. font-style: italic;
  1127. }
  1128. }
  1129. .var-value {
  1130. text-align: $right;
  1131. float: $right;
  1132. }
  1133. .editLink {
  1134. padding-#{$right}: 1em;
  1135. font-family: sans-serif;
  1136. }
  1137. .serverVariableEditor {
  1138. width: 100%;
  1139. overflow: hidden;
  1140. input {
  1141. width: 100%;
  1142. margin: 0 0.5em;
  1143. box-sizing: border-box;
  1144. -ms-box-sizing: border-box;
  1145. -moz-box-sizing: border-box;
  1146. -webkit-box-sizing: border-box;
  1147. height: 2.2em;
  1148. }
  1149. div {
  1150. display: block;
  1151. overflow: hidden;
  1152. padding-#{$right}: 1em;
  1153. }
  1154. a {
  1155. margin: 0 0.5em;
  1156. line-height: 2em;
  1157. }
  1158. }
  1159. }
  1160. /* profiling */
  1161. div#profilingchart {
  1162. width: 850px;
  1163. height: 370px;
  1164. float: $left;
  1165. }
  1166. #profilingchart .jqplot-highlighter-tooltip {
  1167. top: auto !important;
  1168. #{$left}: 11px;
  1169. bottom: 24px;
  1170. }
  1171. /* table charting */
  1172. .chartOption {
  1173. float: $left;
  1174. margin-#{$right}: 40px;
  1175. }
  1176. /* querybox */
  1177. div {
  1178. &#sqlquerycontainer {
  1179. float: $left;
  1180. width: 69%;
  1181. }
  1182. &#tablefieldscontainer {
  1183. float: $right;
  1184. width: 29%;
  1185. select {
  1186. width: 100%;
  1187. }
  1188. }
  1189. }
  1190. textarea {
  1191. &#sqlquery {
  1192. width: 100%;
  1193. }
  1194. &#sql_query_edit {
  1195. height: 7em;
  1196. width: 95%;
  1197. display: block;
  1198. }
  1199. }
  1200. div#queryboxcontainer div#bookmarkoptions {
  1201. margin-top: 0.5em;
  1202. }
  1203. /* end querybox */
  1204. /* main page */
  1205. #maincontainer {
  1206. background-image: url("../img/logo_right.png");
  1207. background-position: right bottom;
  1208. background-repeat: no-repeat;
  1209. }
  1210. #mysqlmaininformation,
  1211. #pmamaininformation {
  1212. float: $left;
  1213. width: 49%;
  1214. }
  1215. #maincontainer {
  1216. ul {
  1217. list-style-type: disc;
  1218. vertical-align: middle;
  1219. }
  1220. li {
  1221. margin: 0.2em 0;
  1222. }
  1223. }
  1224. #full_name_layer {
  1225. position: absolute;
  1226. padding: 2px;
  1227. margin-top: -3px;
  1228. z-index: 801;
  1229. border: solid 1px #888;
  1230. background: #fff;
  1231. }
  1232. /* end main page */
  1233. /* iconic view for ul items */
  1234. li.no_bullets {
  1235. list-style-type: none !important;
  1236. margin-#{$left}: -25px !important;
  1237. }
  1238. /* end iconic view for ul items */
  1239. #body_browse_foreigners {
  1240. background: $navi-background;
  1241. margin: 0.5em 0.5em 0 0.5em;
  1242. }
  1243. #bodythemes {
  1244. width: 500px;
  1245. margin: auto;
  1246. text-align: center;
  1247. img {
  1248. border: 0.1em solid #000;
  1249. }
  1250. a:hover img {
  1251. border: 0.1em solid red;
  1252. }
  1253. }
  1254. #fieldset_select_fields {
  1255. float: $left;
  1256. }
  1257. #selflink {
  1258. clear: both;
  1259. display: block;
  1260. margin-top: 1em;
  1261. margin-bottom: 1em;
  1262. width: 98%;
  1263. margin-#{$left}: 1%;
  1264. border-top: 0.1em solid silver;
  1265. text-align: $right;
  1266. }
  1267. #table_innodb_bufferpool_usage,
  1268. #table_innodb_bufferpool_activity {
  1269. float: $left;
  1270. }
  1271. #div_mysql_charset_collations table {
  1272. float: $left;
  1273. th,
  1274. td {
  1275. padding: 0.4em;
  1276. }
  1277. th#collationHeader {
  1278. width: 35%;
  1279. }
  1280. }
  1281. #qbe_div_table_list,
  1282. #qbe_div_sql_query {
  1283. float: $left;
  1284. }
  1285. label.desc {
  1286. width: 30em;
  1287. float: $left;
  1288. sup {
  1289. position: absolute;
  1290. }
  1291. }
  1292. code {
  1293. &.php {
  1294. display: block;
  1295. padding-#{$left}: 0.3em;
  1296. margin-top: 0;
  1297. margin-bottom: 0;
  1298. max-height: 10em;
  1299. overflow: auto;
  1300. direction: ltr;
  1301. }
  1302. &.sql {
  1303. display: block;
  1304. padding: 0.3em;
  1305. margin-top: 0;
  1306. margin-bottom: 0;
  1307. max-height: 10em;
  1308. overflow: auto;
  1309. direction: ltr;
  1310. }
  1311. }
  1312. div.sqlvalidate {
  1313. display: block;
  1314. padding: 0.3em;
  1315. margin-top: 0;
  1316. margin-bottom: 0;
  1317. max-height: 10em;
  1318. overflow: auto;
  1319. direction: ltr;
  1320. }
  1321. .result_query div.sqlOuter,
  1322. div.sqlvalidate {
  1323. border: $main-color solid 1px;
  1324. border-top: 0;
  1325. border-bottom: 0;
  1326. background: $bg-one;
  1327. }
  1328. .result_query div.sqlOuter {
  1329. text-align: $left;
  1330. }
  1331. #PMA_slidingMessage code.sql {
  1332. border: $main-color solid 1px;
  1333. border-top: 0;
  1334. background: $bg-one;
  1335. }
  1336. #main_pane_left {
  1337. width: 60%;
  1338. min-width: 260px;
  1339. float: $left;
  1340. padding-top: 1em;
  1341. }
  1342. #main_pane_right {
  1343. overflow: hidden;
  1344. min-width: 160px;
  1345. padding-top: 1em;
  1346. padding-#{$left}: 1em;
  1347. }
  1348. .group {
  1349. border-#{$left}: 0.3em solid $th-background;
  1350. margin-bottom: 1em;
  1351. h2 {
  1352. background: $th-background;
  1353. padding: 0.1em 0.3em;
  1354. margin-top: 0;
  1355. }
  1356. }
  1357. .group-cnt {
  1358. padding: 0 0 0 0.5em;
  1359. display: inline-block;
  1360. width: 98%;
  1361. }
  1362. textarea#partitiondefinition {
  1363. height: 3em;
  1364. }
  1365. /* for elements that should be revealed only via js */
  1366. .hide {
  1367. display: none;
  1368. }
  1369. #list_server {
  1370. list-style-type: none;
  1371. padding: 0;
  1372. }
  1373. /**
  1374. * Progress bar styles
  1375. */
  1376. div {
  1377. &.upload_progress {
  1378. width: 400px;
  1379. margin: 3em auto;
  1380. text-align: center;
  1381. }
  1382. &.upload_progress_bar_outer {
  1383. border: 1px solid #000;
  1384. width: 202px;
  1385. position: relative;
  1386. margin: 0 auto 1em;
  1387. color: $main-color;
  1388. }
  1389. &.upload_progress_bar_inner {
  1390. background-color: $navi-pointer-background;
  1391. width: 0;
  1392. height: 12px;
  1393. margin: 1px;
  1394. overflow: hidden;
  1395. color: $browse-marker-color;
  1396. position: relative;
  1397. }
  1398. &.upload_progress_bar_outer div.percentage {
  1399. position: absolute;
  1400. top: 0;
  1401. #{$left}: 0;
  1402. width: 202px;
  1403. }
  1404. &.upload_progress_bar_inner div.percentage {
  1405. top: -1px;
  1406. #{$left}: -1px;
  1407. }
  1408. &#statustext {
  1409. margin-top: 0.5em;
  1410. }
  1411. }
  1412. table {
  1413. &#serverconnection_src_remote,
  1414. &#serverconnection_trg_remote,
  1415. &#serverconnection_src_local,
  1416. &#serverconnection_trg_local {
  1417. float: $left;
  1418. }
  1419. }
  1420. /**
  1421. * Validation error message styles
  1422. */
  1423. input {
  1424. &[type="text"].invalid_value,
  1425. &[type="password"].invalid_value,
  1426. &[type="number"].invalid_value,
  1427. &[type="date"].invalid_value {
  1428. background: #fcc;
  1429. }
  1430. }
  1431. select.invalid_value,
  1432. .invalid_value {
  1433. background: #fcc;
  1434. }
  1435. /**
  1436. * Ajax notification styling
  1437. */
  1438. .ajax_notification {
  1439. // The notification needs to be shown on the top of the page
  1440. top: 0;
  1441. position: fixed;
  1442. margin-top: 0;
  1443. margin-#{$right}: auto;
  1444. margin-bottom: 0;
  1445. margin-#{$left}: auto;
  1446. // Keep a little space on the sides of the text
  1447. padding: 3px 5px;
  1448. width: 350px;
  1449. background-color: #ffd700;
  1450. // If this is not kept at a high z-index, the jQueryUI modal dialogs (z-index:1000) might hide this
  1451. z-index: 1100;
  1452. text-align: center;
  1453. display: block;
  1454. #{$left}: 0;
  1455. #{$right}: 0;
  1456. background-image: url("../img/ajax_clock_small.gif");
  1457. background-repeat: no-repeat;
  1458. background-position: 2%;
  1459. }
  1460. #loading_parent {
  1461. /** Need this parent to properly center the notification division */
  1462. position: relative;
  1463. width: 100%;
  1464. }
  1465. /**
  1466. * Export and Import styles
  1467. */
  1468. .export_table_list_container {
  1469. display: inline-block;
  1470. max-height: 20em;
  1471. overflow-y: scroll;
  1472. }
  1473. .export_table_select {
  1474. th {
  1475. text-align: center;
  1476. vertical-align: middle;
  1477. }
  1478. .all {
  1479. font-weight: bold;
  1480. border-bottom: 1px solid black;
  1481. }
  1482. }
  1483. .export_structure,
  1484. .export_data {
  1485. text-align: center;
  1486. }
  1487. .export_table_name {
  1488. vertical-align: middle;
  1489. }
  1490. .exportoptions {
  1491. h2 {
  1492. word-wrap: break-word;
  1493. }
  1494. h3 {
  1495. border-bottom: 1px #999 solid;
  1496. font-size: 110%;
  1497. }
  1498. }
  1499. .importoptions h3 {
  1500. border-bottom: 1px #999 solid;
  1501. font-size: 110%;
  1502. }
  1503. .exportoptions ul,
  1504. .importoptions ul,
  1505. .format_specific_options ul {
  1506. list-style-type: none;
  1507. margin-bottom: 15px;
  1508. }
  1509. .exportoptions li,
  1510. .importoptions li {
  1511. margin: 7px;
  1512. }
  1513. .exportoptions label,
  1514. .importoptions label,
  1515. .exportoptions p,
  1516. .importoptions p {
  1517. margin: 5px;
  1518. float: none;
  1519. }
  1520. #csv_options label.desc,
  1521. #ldi_options label.desc,
  1522. #latex_options label.desc,
  1523. #output label.desc {
  1524. float: $left;
  1525. width: 15em;
  1526. }
  1527. .exportoptions,
  1528. .importoptions {
  1529. margin: 20px 30px 30px 10px;
  1530. }
  1531. .format_specific_options {
  1532. border: 1px solid #999;
  1533. margin: 7px 0;
  1534. padding: 3px;
  1535. h3 {
  1536. margin: 10px 0 0 10px;
  1537. border: 0;
  1538. }
  1539. }
  1540. p.desc {
  1541. margin: 5px;
  1542. }
  1543. /**
  1544. * Export styles only
  1545. */
  1546. select {
  1547. &#db_select,
  1548. &#table_select {
  1549. width: 400px;
  1550. }
  1551. }
  1552. .export_sub_options {
  1553. margin: 20px 0 0 30px;
  1554. h4 {
  1555. border-bottom: 1px #999 solid;
  1556. }
  1557. li {
  1558. margin-bottom: 0;
  1559. &.subgroup {
  1560. display: inline-block;
  1561. margin-top: 0;
  1562. }
  1563. }
  1564. }
  1565. #output_quick_export {
  1566. display: none;
  1567. }
  1568. /**
  1569. * Import styles only
  1570. */
  1571. .importoptions #import_notification {
  1572. margin: 10px 0;
  1573. font-style: italic;
  1574. }
  1575. input#input_import_file {
  1576. margin: 5px;
  1577. }
  1578. .formelementrow {
  1579. margin: 5px 0 5px 0;
  1580. }
  1581. #filterText {
  1582. vertical-align: baseline;
  1583. }
  1584. #popup_background {
  1585. display: none;
  1586. position: fixed;
  1587. width: 100%;
  1588. height: 100%;
  1589. top: 0;
  1590. #{$left}: 0;
  1591. background: #000;
  1592. z-index: 1000;
  1593. overflow: hidden;
  1594. }
  1595. /**
  1596. * Create table styles
  1597. */
  1598. #create_table_form table.table-name td {
  1599. vertical-align: middle;
  1600. }
  1601. /**
  1602. * Table structure styles
  1603. */
  1604. #fieldsForm ul.table-structure-actions {
  1605. margin: 0;
  1606. padding: 0;
  1607. list-style: none;
  1608. li {
  1609. float: $left;
  1610. margin-#{$right}: 0.5em;
  1611. }
  1612. .submenu li {
  1613. padding: 0.3em;
  1614. margin: 0.1em;
  1615. }
  1616. }
  1617. #structure-action-links a {
  1618. margin-#{$right}: 1em;
  1619. }
  1620. #addColumns input {
  1621. &[type="radio"] {
  1622. margin: 0;
  1623. margin-#{$left}: 1em;
  1624. }
  1625. &[type="submit"] {
  1626. margin-#{$left}: 1em;
  1627. }
  1628. }
  1629. /**
  1630. * Indexes
  1631. */
  1632. #index_frm {
  1633. .index_info {
  1634. input[type="text"],
  1635. select {
  1636. width: 100%;
  1637. box-sizing: border-box;
  1638. -ms-box-sizing: border-box;
  1639. -moz-box-sizing: border-box;
  1640. -webkit-box-sizing: border-box;
  1641. }
  1642. }
  1643. .slider {
  1644. width: 10em;
  1645. margin: 0.6em;
  1646. float: $left;
  1647. }
  1648. .add_fields {
  1649. float: $left;
  1650. input {
  1651. margin-#{$left}: 1em;
  1652. }
  1653. }
  1654. input {
  1655. margin: 0;
  1656. }
  1657. td {
  1658. vertical-align: middle;
  1659. }
  1660. }
  1661. table#index_columns {
  1662. width: 100%;
  1663. select {
  1664. width: 85%;
  1665. float: $right;
  1666. }
  1667. }
  1668. #move_columns_dialog {
  1669. div {
  1670. padding: 1em;
  1671. }
  1672. ul {
  1673. list-style: none;
  1674. margin: 0;
  1675. padding: 0;
  1676. }
  1677. li {
  1678. background: $th-background;
  1679. border: 1px solid #aaa;
  1680. color: $th-color;
  1681. font-weight: bold;
  1682. margin: 0.4em;
  1683. padding: 0.2em;
  1684. -webkit-border-radius: 2px;
  1685. -moz-border-radius: 2px;
  1686. border-radius: 2px;
  1687. }
  1688. }
  1689. /* config forms */
  1690. .config-form {
  1691. ul.tabs {
  1692. margin: 1.1em 0.2em 0;
  1693. padding: 0 0 0.3em 0;
  1694. list-style: none;
  1695. font-weight: bold;
  1696. li {
  1697. float: $left;
  1698. a {
  1699. display: block;
  1700. margin: 0.1em 0.2em 0;
  1701. padding: 0.1em 0.4em;
  1702. white-space: nowrap;
  1703. text-decoration: none;
  1704. border: 1px solid $bg-two;
  1705. border-bottom: none;
  1706. &:hover,
  1707. &:active,
  1708. &.active {
  1709. margin: 0;
  1710. padding: 0.1em 0.6em 0.2em;
  1711. }
  1712. }
  1713. &.active a {
  1714. background-color: $bg-one;
  1715. }
  1716. }
  1717. }
  1718. fieldset {
  1719. margin-top: 0;
  1720. padding: 0;
  1721. clear: both;
  1722. }
  1723. legend {
  1724. display: none;
  1725. }
  1726. fieldset {
  1727. p {
  1728. margin: 0;
  1729. padding: 0.5em;
  1730. background: $bg-two;
  1731. }
  1732. /* form error list */
  1733. .errors {
  1734. margin: 0 -2px 1em -2px;
  1735. padding: 0.5em 1.5em;
  1736. background: #fbead9;
  1737. border: 0 #c83838 solid;
  1738. border-width: 1px 0;
  1739. list-style: none;
  1740. font-family: sans-serif;
  1741. font-size: small;
  1742. }
  1743. /* field error list */
  1744. .inline_errors {
  1745. margin: 0.3em 0.3em 0.3em 0;
  1746. padding: 0;
  1747. list-style: none;
  1748. color: #9a0000;
  1749. font-size: small;
  1750. }
  1751. th {
  1752. padding: 0.3em 0.3em 0.3em 0.5em;
  1753. text-align: $left;
  1754. vertical-align: top;
  1755. width: 40%;
  1756. background: transparent;
  1757. }
  1758. .doc {
  1759. margin-#{$left}: 1em;
  1760. }
  1761. .disabled-notice {
  1762. margin-#{$left}: 1em;
  1763. font-size: 80%;
  1764. text-transform: uppercase;
  1765. color: #e00;
  1766. cursor: help;
  1767. }
  1768. td {
  1769. padding-top: 0.3em;
  1770. padding-bottom: 0.3em;
  1771. vertical-align: top;
  1772. border-top: 1px solid $bg-two;
  1773. }
  1774. th {
  1775. border-top: 1px solid $bg-two;
  1776. small {
  1777. display: block;
  1778. font-weight: normal;
  1779. font-family: sans-serif;
  1780. font-size: x-small;
  1781. color: #444;
  1782. }
  1783. }
  1784. }
  1785. }
  1786. fieldset {
  1787. .group-header {
  1788. th {
  1789. background: $bg-two;
  1790. }
  1791. + tr th {
  1792. padding-top: 0.6em;
  1793. }
  1794. }
  1795. .group-field-1 th,
  1796. .group-header-2 th {
  1797. padding-#{$left}: 1.5em;
  1798. }
  1799. .group-field-2 th,
  1800. .group-header-3 th {
  1801. padding-#{$left}: 3em;
  1802. }
  1803. .group-field-3 th {
  1804. padding-#{$left}: 4.5em;
  1805. }
  1806. .disabled-field {
  1807. th {
  1808. color: #666;
  1809. background-color: #ddd;
  1810. small {
  1811. color: #666;
  1812. background-color: #ddd;
  1813. }
  1814. }
  1815. td {
  1816. color: #666;
  1817. background-color: #ddd;
  1818. }
  1819. }
  1820. }
  1821. .config-form {
  1822. .lastrow {
  1823. border-top: 1px #000 solid;
  1824. background: $th-background;
  1825. padding: 0.5em;
  1826. text-align: center;
  1827. input {
  1828. font-weight: bold;
  1829. }
  1830. }
  1831. span.checkbox {
  1832. padding: 2px;
  1833. display: inline-block;
  1834. }
  1835. /* customized field */
  1836. .custom {
  1837. background: #ffc;
  1838. }
  1839. span.checkbox.custom {
  1840. padding: 1px;
  1841. border: 1px #edec90 solid;
  1842. background: #ffc;
  1843. }
  1844. .field-error {
  1845. border-color: #a11 !important;
  1846. }
  1847. input {
  1848. &[type="text"],
  1849. &[type="password"],
  1850. &[type="number"] {
  1851. border: 1px #a7a6aa solid;
  1852. height: auto;
  1853. }
  1854. }
  1855. select,
  1856. textarea {
  1857. border: 1px #a7a6aa solid;
  1858. height: auto;
  1859. }
  1860. input {
  1861. &[type="text"]:focus,
  1862. &[type="password"]:focus,
  1863. &[type="number"]:focus {
  1864. border: 1px #6676ff solid;
  1865. background: #f7fbff;
  1866. }
  1867. }
  1868. select:focus,
  1869. textarea:focus {
  1870. border: 1px #6676ff solid;
  1871. background: #f7fbff;
  1872. }
  1873. .field-comment-mark {
  1874. font-family: serif;
  1875. color: #007;
  1876. cursor: help;
  1877. padding: 0 0.2em;
  1878. font-weight: bold;
  1879. font-style: italic;
  1880. }
  1881. .field-comment-warning {
  1882. color: #a00;
  1883. }
  1884. dd {
  1885. margin-#{$left}: 0.5em;
  1886. &::before {
  1887. content: "\25B8 ";
  1888. }
  1889. }
  1890. }
  1891. .click-hide-message {
  1892. cursor: pointer;
  1893. }
  1894. .prefsmanage_opts {
  1895. margin-#{$left}: 2em;
  1896. }
  1897. #prefs_autoload {
  1898. margin-bottom: 0.5em;
  1899. margin-#{$left}: 0.5em;
  1900. }
  1901. input#auto_increment_opt {
  1902. width: min-content;
  1903. }
  1904. #placeholder {
  1905. .button {
  1906. position: absolute;
  1907. cursor: pointer;
  1908. }
  1909. div.button {
  1910. font-size: smaller;
  1911. color: #999;
  1912. background-color: #eee;
  1913. padding: 2px;
  1914. }
  1915. }
  1916. .wrapper {
  1917. float: $left;
  1918. margin-bottom: 0.5em;
  1919. }
  1920. .toggleButton {
  1921. position: relative;
  1922. cursor: pointer;
  1923. font-size: 0.8em;
  1924. text-align: center;
  1925. line-height: 1.4em;
  1926. height: 1.55em;
  1927. overflow: hidden;
  1928. border-#{$right}: 0.1em solid #888;
  1929. border-#{$left}: 0.1em solid #888;
  1930. table,
  1931. td,
  1932. img {
  1933. padding: 0;
  1934. position: relative;
  1935. }
  1936. .container {
  1937. position: absolute;
  1938. td,
  1939. tr {
  1940. background: none !important;
  1941. }
  1942. }
  1943. .toggleOn {
  1944. color: #fff;
  1945. padding: 0 1em;
  1946. }
  1947. .toggleOff {
  1948. padding: 0 1em;
  1949. }
  1950. }
  1951. .doubleFieldset {
  1952. fieldset {
  1953. width: 48%;
  1954. float: $left;
  1955. padding: 0;
  1956. &.left {
  1957. margin-#{$right}: 1%;
  1958. }
  1959. &.right {
  1960. margin-#{$left}: 1%;
  1961. }
  1962. }
  1963. legend {
  1964. margin-#{$left}: 0.5em;
  1965. }
  1966. div.wrap {
  1967. padding: 0.5em;
  1968. }
  1969. }
  1970. #table_name_col_no_outer {
  1971. margin-top: 45px;
  1972. }
  1973. #table_name_col_no {
  1974. position: fixed;
  1975. top: 44px;
  1976. width: 100%;
  1977. background: $main-background;
  1978. }
  1979. #table_columns {
  1980. input {
  1981. &[type="text"],
  1982. &[type="password"],
  1983. &[type="number"],
  1984. &[type="date"] {
  1985. width: 10em;
  1986. box-sizing: border-box;
  1987. -ms-box-sizing: border-box;
  1988. -moz-box-sizing: border-box;
  1989. -webkit-box-sizing: border-box;
  1990. }
  1991. }
  1992. select {
  1993. width: 10em;
  1994. box-sizing: border-box;
  1995. -ms-box-sizing: border-box;
  1996. -moz-box-sizing: border-box;
  1997. -webkit-box-sizing: border-box;
  1998. }
  1999. }
  2000. #placeholder {
  2001. position: relative;
  2002. border: 1px solid #aaa;
  2003. float: $right;
  2004. overflow: hidden;
  2005. width: 450px;
  2006. height: 300px;
  2007. }
  2008. #openlayersmap {
  2009. width: 450px;
  2010. height: 300px;
  2011. }
  2012. .placeholderDrag {
  2013. cursor: move;
  2014. }
  2015. #placeholder .button {
  2016. position: absolute;
  2017. }
  2018. #left_arrow {
  2019. #{$left}: 8px;
  2020. top: 26px;
  2021. }
  2022. #right_arrow {
  2023. #{$left}: 26px;
  2024. top: 26px;
  2025. }
  2026. #up_arrow {
  2027. #{$left}: 17px;
  2028. top: 8px;
  2029. }
  2030. #down_arrow {
  2031. #{$left}: 17px;
  2032. top: 44px;
  2033. }
  2034. #zoom_in {
  2035. #{$left}: 17px;
  2036. top: 67px;
  2037. }
  2038. #zoom_world {
  2039. #{$left}: 17px;
  2040. top: 85px;
  2041. }
  2042. #zoom_out {
  2043. #{$left}: 17px;
  2044. top: 103px;
  2045. }
  2046. .colborder {
  2047. cursor: col-resize;
  2048. height: 100%;
  2049. margin-#{$left}: -5px;
  2050. position: absolute;
  2051. width: 5px;
  2052. }
  2053. .colborder_active {
  2054. border-#{$right}: 2px solid #a44;
  2055. }
  2056. .pma_table,
  2057. .sticky_columns {
  2058. th.draggable span {
  2059. display: block;
  2060. overflow: hidden;
  2061. }
  2062. }
  2063. .pma_table {
  2064. td {
  2065. position: static;
  2066. }
  2067. tbody td span {
  2068. display: block;
  2069. overflow: hidden;
  2070. code span {
  2071. display: inline;
  2072. }
  2073. }
  2074. }
  2075. .modal-copy input {
  2076. display: block;
  2077. width: 100%;
  2078. margin-top: 1.5em;
  2079. padding: 0.3em 0;
  2080. }
  2081. .cRsz {
  2082. position: absolute;
  2083. }
  2084. .draggable {
  2085. cursor: move;
  2086. }
  2087. .cCpy {
  2088. background: #000;
  2089. color: #fff;
  2090. font-weight: bold;
  2091. margin: 0.1em;
  2092. padding: 0.3em;
  2093. position: absolute;
  2094. }
  2095. .cPointer {
  2096. $height: 20px;
  2097. $width: 10px;
  2098. height: $height;
  2099. width: $width;
  2100. margin-top: $height / -2;
  2101. margin-#{$left}: $width / -2;
  2102. position: absolute;
  2103. background: url("../img/col_pointer.png");
  2104. }
  2105. .tooltip {
  2106. background: #333 !important;
  2107. opacity: 0.8 !important;
  2108. border: 1px solid #000 !important;
  2109. -moz-border-radius: 0.3em !important;
  2110. -webkit-border-radius: 0.3em !important;
  2111. border-radius: 0.3em !important;
  2112. text-shadow: -1px -1px #000 !important;
  2113. font-size: 0.8em !important;
  2114. font-weight: bold !important;
  2115. padding: 1px 3px !important;
  2116. * {
  2117. background: none !important;
  2118. color: #fff !important;
  2119. }
  2120. }
  2121. .data_full_width {
  2122. width: 100%;
  2123. }
  2124. .cDrop {
  2125. #{$left}: 0;
  2126. position: absolute;
  2127. top: 0;
  2128. }
  2129. .coldrop {
  2130. background: url("../img/col_drop.png");
  2131. cursor: pointer;
  2132. height: 16px;
  2133. margin-#{$left}: 0.5em;
  2134. margin-top: 0.3em;
  2135. position: absolute;
  2136. width: 16px;
  2137. &:hover {
  2138. background-color: #999;
  2139. }
  2140. }
  2141. .coldrop-hover {
  2142. background-color: #999;
  2143. }
  2144. .cList {
  2145. background: #eee;
  2146. border: solid 1px #999;
  2147. position: absolute;
  2148. .lDiv div {
  2149. padding: 0.2em 0.5em 0.2em 0.2em;
  2150. &:hover {
  2151. background: #ddd;
  2152. cursor: pointer;
  2153. }
  2154. input {
  2155. cursor: pointer;
  2156. }
  2157. }
  2158. }
  2159. .showAllColBtn {
  2160. border-bottom: solid 1px #999;
  2161. border-top: solid 1px #999;
  2162. cursor: pointer;
  2163. font-size: 0.9em;
  2164. font-weight: bold;
  2165. padding: 0.35em 1em;
  2166. text-align: center;
  2167. &:hover {
  2168. background: #ddd;
  2169. }
  2170. }
  2171. .navigation {
  2172. background: #e5e5e5;
  2173. border: 1px solid black;
  2174. margin: 0.8em 0;
  2175. td {
  2176. margin: 0;
  2177. padding: 0;
  2178. vertical-align: middle;
  2179. white-space: nowrap;
  2180. }
  2181. }
  2182. .navigation_separator {
  2183. color: #555;
  2184. display: inline-block;
  2185. text-align: center;
  2186. width: 1.2em;
  2187. text-shadow: 1px 0 #fff;
  2188. }
  2189. .navigation {
  2190. input {
  2191. &[type="submit"] {
  2192. background: none;
  2193. border: 0;
  2194. margin: 0;
  2195. padding: 0.3em 0.5em;
  2196. min-width: 1.5em;
  2197. font-weight: bold;
  2198. &:hover {
  2199. background: #333;
  2200. color: white;
  2201. cursor: pointer;
  2202. }
  2203. }
  2204. &.edit_mode_active {
  2205. background: #333;
  2206. color: white;
  2207. cursor: pointer;
  2208. }
  2209. }
  2210. select {
  2211. margin: 0 0.8em;
  2212. }
  2213. }
  2214. .cEdit {
  2215. margin: 0;
  2216. padding: 0;
  2217. position: absolute;
  2218. input {
  2219. &[type="text"],
  2220. &[type="password"],
  2221. &[type="number"] {
  2222. background: #fff;
  2223. height: 100%;
  2224. margin: 0;
  2225. padding: 0;
  2226. }
  2227. }
  2228. .edit_area {
  2229. background: #fff;
  2230. border: 1px solid #999;
  2231. min-width: 10em;
  2232. padding: 0.3em 0.5em;
  2233. select,
  2234. textarea {
  2235. width: 97%;
  2236. }
  2237. }
  2238. .cell_edit_hint {
  2239. color: #555;
  2240. font-size: 0.8em;
  2241. margin: 0.3em 0.2em;
  2242. }
  2243. .edit_box {
  2244. overflow-x: hidden;
  2245. overflow-y: scroll;
  2246. padding: 0;
  2247. }
  2248. .edit_box_posting {
  2249. background: #fff url("../img/ajax_clock_small.gif") no-repeat right center;
  2250. padding-#{$right}: 1.5em;
  2251. }
  2252. .edit_area_loading {
  2253. background: #fff url("../img/ajax_clock_small.gif") no-repeat center;
  2254. height: 10em;
  2255. }
  2256. .goto_link {
  2257. background: #eee;
  2258. color: #555;
  2259. padding: 0.2em 0.3em;
  2260. }
  2261. }
  2262. .saving_edited_data {
  2263. background: url("../img/ajax_clock_small.gif") no-repeat left;
  2264. padding-#{$left}: 20px;
  2265. }
  2266. /* css for timepicker */
  2267. .ui-timepicker-div {
  2268. .ui-widget-header {
  2269. margin-bottom: 8px;
  2270. }
  2271. dl {
  2272. text-align: $left;
  2273. dt {
  2274. height: 25px;
  2275. margin-bottom: -25px;
  2276. }
  2277. dd {
  2278. margin: 0 10px 10px 85px;
  2279. }
  2280. }
  2281. td {
  2282. font-size: 90%;
  2283. }
  2284. }
  2285. .ui-tpicker-grid-label {
  2286. background: none;
  2287. border: none;
  2288. margin: 0;
  2289. padding: 0;
  2290. }
  2291. .ui-timepicker-rtl {
  2292. direction: rtl;
  2293. dl {
  2294. text-align: $right;
  2295. dd {
  2296. margin: 0 65px 10px 10px;
  2297. }
  2298. }
  2299. }
  2300. input.btn {
  2301. color: #333;
  2302. background-color: #d0dce0;
  2303. }
  2304. body .ui-widget {
  2305. font-size: 1em;
  2306. }
  2307. body #ui-datepicker-div {
  2308. z-index: 9999 !important;
  2309. }
  2310. .ui-dialog fieldset legend a {
  2311. color: #00f;
  2312. }
  2313. .ui-draggable {
  2314. z-index: 801;
  2315. }
  2316. .relationalTable {
  2317. td {
  2318. vertical-align: top;
  2319. }
  2320. select {
  2321. width: 125px;
  2322. margin-#{$right}: 5px;
  2323. }
  2324. }
  2325. .report-data {
  2326. height: 13em;
  2327. overflow: scroll;
  2328. width: 570px;
  2329. border: solid 1px;
  2330. background: white;
  2331. padding: 2px;
  2332. }
  2333. .report-description {
  2334. height: 10em;
  2335. width: 570px;
  2336. }
  2337. div#page_content div {
  2338. &#tableslistcontainer {
  2339. margin-top: 1em;
  2340. table.data {
  2341. border-top: 0.1px solid #eee;
  2342. }
  2343. }
  2344. &.notice,
  2345. &.result_query {
  2346. margin-top: 1em;
  2347. }
  2348. }
  2349. table.show_create {
  2350. margin-top: 1em;
  2351. td {
  2352. border-#{$right}: 1px solid #bbb;
  2353. }
  2354. }
  2355. #alias_modal {
  2356. table {
  2357. width: 100%;
  2358. }
  2359. label {
  2360. font-weight: bold;
  2361. }
  2362. }
  2363. .ui-dialog {
  2364. position: fixed;
  2365. }
  2366. .small_font {
  2367. font-size: smaller;
  2368. }
  2369. /* Console styles */
  2370. #pma_console_container {
  2371. width: 100%;
  2372. position: fixed;
  2373. bottom: 0;
  2374. #{$left}: 0;
  2375. z-index: 100;
  2376. }
  2377. #pma_console {
  2378. position: relative;
  2379. margin-#{$left}: 240px;
  2380. z-index: 100;
  2381. .templates {
  2382. display: none;
  2383. }
  2384. .mid_text {
  2385. vertical-align: middle;
  2386. }
  2387. .toolbar {
  2388. position: relative;
  2389. background: #ccc;
  2390. border-top: solid 1px #aaa;
  2391. cursor: n-resize;
  2392. span {
  2393. vertical-align: middle;
  2394. }
  2395. &.collapsed {
  2396. cursor: default;
  2397. &:not(:hover) {
  2398. display: inline-block;
  2399. border-top-right-radius: 3px;
  2400. border-#{$right}: solid 1px #aaa;
  2401. }
  2402. > .button {
  2403. display: none;
  2404. }
  2405. }
  2406. }
  2407. .message span {
  2408. &.text,
  2409. &.action {
  2410. padding: 0 3px;
  2411. display: inline-block;
  2412. }
  2413. }
  2414. .toolbar {
  2415. .button,
  2416. .text {
  2417. padding: 0 3px;
  2418. display: inline-block;
  2419. }
  2420. }
  2421. .switch_button {
  2422. padding: 0 3px;
  2423. display: inline-block;
  2424. }
  2425. .message span.action,
  2426. .toolbar .button,
  2427. .switch_button {
  2428. cursor: pointer;
  2429. }
  2430. .message span.action:hover,
  2431. .toolbar .button:hover,
  2432. .switch_button:hover {
  2433. background: #ddd;
  2434. }
  2435. .toolbar {
  2436. .button.active {
  2437. background: #ddd;
  2438. }
  2439. .text {
  2440. font-weight: bold;
  2441. }
  2442. .button,
  2443. .text {
  2444. margin-#{$right}: 0.4em;
  2445. float: $right;
  2446. }
  2447. }
  2448. .content {
  2449. overflow-x: hidden;
  2450. overflow-y: auto;
  2451. margin-bottom: -65px;
  2452. border-top: solid 1px #aaa;
  2453. background: #fff;
  2454. padding-top: 0.4em;
  2455. &.console_dark_theme {
  2456. background: #000;
  2457. color: #fff;
  2458. .CodeMirror-wrap {
  2459. background: #000;
  2460. color: #fff;
  2461. }
  2462. .action_content {
  2463. color: #000;
  2464. }
  2465. .message {
  2466. border-color: #373b41;
  2467. }
  2468. .CodeMirror-cursor {
  2469. border-color: #fff;
  2470. }
  2471. .cm-keyword {
  2472. color: #de935f;
  2473. }
  2474. }
  2475. }
  2476. .message,
  2477. .query_input {
  2478. position: relative;
  2479. font-family: Monaco, Consolas, monospace;
  2480. cursor: text;
  2481. margin: 0 10px 0.2em 1.4em;
  2482. }
  2483. .message {
  2484. border-bottom: solid 1px #ccc;
  2485. padding-bottom: 0.2em;
  2486. &.expanded > .action_content {
  2487. position: relative;
  2488. }
  2489. &::before {
  2490. #{$left}: -0.7em;
  2491. position: absolute;
  2492. content: ">";
  2493. }
  2494. }
  2495. .query_input {
  2496. &::before {
  2497. #{$left}: -0.7em;
  2498. position: absolute;
  2499. content: ">";
  2500. top: -2px;
  2501. }
  2502. textarea {
  2503. width: 100%;
  2504. height: 4em;
  2505. resize: vertical;
  2506. }
  2507. }
  2508. .message {
  2509. &:hover::before {
  2510. color: #7cf;
  2511. font-weight: bold;
  2512. }
  2513. &.expanded::before {
  2514. content: "]";
  2515. }
  2516. &.welcome::before {
  2517. display: none;
  2518. }
  2519. &.failed {
  2520. &::before,
  2521. &.expanded::before,
  2522. &:hover::before {
  2523. content: "=";
  2524. color: #944;
  2525. }
  2526. }
  2527. &.pending::before {
  2528. opacity: 0.3;
  2529. }
  2530. &.collapsed > .query {
  2531. white-space: nowrap;
  2532. text-overflow: ellipsis;
  2533. overflow: hidden;
  2534. }
  2535. &.expanded > .query {
  2536. display: block;
  2537. white-space: pre;
  2538. word-wrap: break-word;
  2539. }
  2540. .text.targetdb,
  2541. &.collapsed .action.collapse,
  2542. &.expanded .action.expand {
  2543. display: none;
  2544. }
  2545. .action {
  2546. &.requery,
  2547. &.profiling,
  2548. &.explain,
  2549. &.bookmark {
  2550. display: none;
  2551. }
  2552. }
  2553. &.select .action {
  2554. &.profiling,
  2555. &.explain {
  2556. display: inline-block;
  2557. }
  2558. }
  2559. &.history .text.targetdb,
  2560. &.successed .text.targetdb {
  2561. display: inline-block;
  2562. }
  2563. &.history .action {
  2564. &.requery,
  2565. &.bookmark {
  2566. display: inline-block;
  2567. }
  2568. }
  2569. &.bookmark .action {
  2570. &.requery,
  2571. &.bookmark {
  2572. display: inline-block;
  2573. }
  2574. }
  2575. &.successed .action {
  2576. &.requery,
  2577. &.bookmark {
  2578. display: inline-block;
  2579. }
  2580. }
  2581. .action_content {
  2582. position: absolute;
  2583. bottom: 100%;
  2584. background: #ccc;
  2585. border: solid 1px #aaa;
  2586. border-top-left-radius: 3px;
  2587. }
  2588. &.bookmark .text.targetdb,
  2589. .text.query_time {
  2590. margin: 0;
  2591. display: inline-block;
  2592. }
  2593. &.failed .text.query_time,
  2594. .text.failed {
  2595. display: none;
  2596. }
  2597. &.failed .text.failed {
  2598. display: inline-block;
  2599. }
  2600. .text {
  2601. background: #fff;
  2602. }
  2603. &.collapsed {
  2604. > .action_content {
  2605. display: none;
  2606. }
  2607. &:hover > .action_content {
  2608. display: block;
  2609. }
  2610. }
  2611. .bookmark_label {
  2612. padding: 0 4px;
  2613. top: 0;
  2614. background: #369;
  2615. color: #fff;
  2616. border-radius: 3px;
  2617. &.shared {
  2618. background: #396;
  2619. }
  2620. }
  2621. &.expanded .bookmark_label {
  2622. border-top-left-radius: 0;
  2623. border-top-right-radius: 0;
  2624. }
  2625. }
  2626. .query_input {
  2627. position: relative;
  2628. }
  2629. .mid_layer {
  2630. height: 100%;
  2631. width: 100%;
  2632. position: absolute;
  2633. top: 0;
  2634. /* For support IE8, this layer doesn't use filter:opacity or opacity,
  2635. js code will fade this layer opacity to 0.18(using animation) */
  2636. background: #666;
  2637. display: none;
  2638. cursor: pointer;
  2639. z-index: 200;
  2640. }
  2641. .card {
  2642. position: absolute;
  2643. width: 94%;
  2644. height: 100%;
  2645. min-height: 48px;
  2646. #{$left}: 100%;
  2647. top: 0;
  2648. border-#{$left}: solid 1px #999;
  2649. z-index: 300;
  2650. transition: $left 0.2s;
  2651. -ms-transition: $left 0.2s;
  2652. -webkit-transition: $left 0.2s;
  2653. -moz-transition: $left 0.2s;
  2654. &.show {
  2655. #{$left}: 6%;
  2656. box-shadow: -2px 1px 4px -1px #999;
  2657. }
  2658. }
  2659. }
  2660. #pma_bookmarks .content.add_bookmark,
  2661. #pma_console_options .content {
  2662. padding: 4px 6px;
  2663. }
  2664. #pma_bookmarks .content.add_bookmark {
  2665. .options {
  2666. margin-#{$left}: 1.4em;
  2667. padding-bottom: 0.4em;
  2668. margin-bottom: 0.4em;
  2669. border-bottom: solid 1px #ccc;
  2670. button {
  2671. margin: 0 7px;
  2672. vertical-align: bottom;
  2673. }
  2674. }
  2675. input[type="text"] {
  2676. margin: 0;
  2677. padding: 2px 4px;
  2678. }
  2679. }
  2680. #pma_console {
  2681. .button.hide,
  2682. .message span.text.hide {
  2683. display: none;
  2684. }
  2685. }
  2686. #debug_console {
  2687. &.grouped .ungroup_queries {
  2688. display: inline-block;
  2689. }
  2690. &.ungrouped {
  2691. .group_queries {
  2692. display: inline-block;
  2693. }
  2694. .ungroup_queries,
  2695. .sort_count {
  2696. display: none;
  2697. }
  2698. }
  2699. &.grouped .group_queries {
  2700. display: none;
  2701. }
  2702. .count {
  2703. margin-#{$right}: 8px;
  2704. }
  2705. .show_trace .trace,
  2706. .show_args .args {
  2707. display: block;
  2708. }
  2709. .hide_trace .trace,
  2710. .hide_args .args,
  2711. .show_trace .action.dbg_show_trace,
  2712. .hide_trace .action.dbg_hide_trace {
  2713. display: none;
  2714. }
  2715. .traceStep {
  2716. &.hide_args .action.dbg_hide_args,
  2717. &.show_args .action.dbg_show_args {
  2718. display: none;
  2719. }
  2720. &::after {
  2721. content: "";
  2722. display: table;
  2723. clear: both;
  2724. }
  2725. }
  2726. .trace.welcome::after,
  2727. .debug > .welcome::after {
  2728. content: "";
  2729. display: table;
  2730. clear: both;
  2731. }
  2732. .debug_summary {
  2733. float: $left;
  2734. }
  2735. .trace.welcome .time,
  2736. .traceStep .file,
  2737. .script_name {
  2738. float: $right;
  2739. }
  2740. .traceStep .args pre {
  2741. margin: 0;
  2742. }
  2743. }
  2744. /* Code mirror console style */
  2745. .cm-s-pma {
  2746. .CodeMirror-code {
  2747. font-family: Monaco, Consolas, monospace;
  2748. pre {
  2749. font-family: Monaco, Consolas, monospace;
  2750. }
  2751. }
  2752. .CodeMirror-measure > pre,
  2753. .CodeMirror-code > pre,
  2754. .CodeMirror-lines {
  2755. padding: 0;
  2756. }
  2757. &.CodeMirror {
  2758. resize: none;
  2759. height: auto;
  2760. width: 100%;
  2761. min-height: initial;
  2762. max-height: initial;
  2763. }
  2764. .CodeMirror-scroll {
  2765. cursor: text;
  2766. }
  2767. }
  2768. /* PMA drop-improt style */
  2769. .pma_drop_handler {
  2770. display: none;
  2771. position: fixed;
  2772. top: 0;
  2773. #{$left}: 0;
  2774. width: 100%;
  2775. background: rgba(0, 0, 0, 0.6);
  2776. height: 100%;
  2777. z-index: 999;
  2778. color: white;
  2779. font-size: 30pt;
  2780. text-align: center;
  2781. padding-top: 20%;
  2782. }
  2783. .pma_sql_import_status {
  2784. display: none;
  2785. position: fixed;
  2786. bottom: 0;
  2787. #{$right}: 25px;
  2788. width: 400px;
  2789. border: 1px solid #999;
  2790. background: #f3f3f3;
  2791. -moz-border-radius: 4px;
  2792. -webkit-border-radius: 4px;
  2793. border-radius: 4px;
  2794. @if $direction == rtl {
  2795. -moz-box-shadow: -2px 2px 5px #ccc;
  2796. -webkit-box-shadow: -2px 2px 5px #ccc;
  2797. box-shadow: -2px 2px 5px #ccc;
  2798. } @else {
  2799. -moz-box-shadow: 2px 2px 5px #ccc;
  2800. -webkit-box-shadow: 2px 2px 5px #ccc;
  2801. box-shadow: 2px 2px 5px #ccc;
  2802. }
  2803. h2 {
  2804. background-color: #bbb;
  2805. padding: 0.1em 0.3em;
  2806. margin-top: 0;
  2807. margin-bottom: 0;
  2808. color: #fff;
  2809. font-size: 1.6em;
  2810. font-weight: normal;
  2811. text-shadow: 0 1px 0 #777;
  2812. @if $direction == rtl {
  2813. -moz-box-shadow: -1px 1px 15px #999 inset;
  2814. -webkit-box-shadow: -1px 1px 15px #999 inset;
  2815. box-shadow: -1px 1px 15px #999 inset;
  2816. } @else {
  2817. -moz-box-shadow: 1px 1px 15px #999 inset;
  2818. -webkit-box-shadow: 1px 1px 15px #999 inset;
  2819. box-shadow: 1px 1px 15px #999 inset;
  2820. }
  2821. }
  2822. }
  2823. .pma_drop_result h2 {
  2824. background-color: #bbb;
  2825. padding: 0.1em 0.3em;
  2826. margin-top: 0;
  2827. margin-bottom: 0;
  2828. color: #fff;
  2829. font-size: 1.6em;
  2830. font-weight: normal;
  2831. text-shadow: 0 1px 0 #777;
  2832. @if $direction == rtl {
  2833. -moz-box-shadow: -1px 1px 15px #999 inset;
  2834. -webkit-box-shadow: -1px 1px 15px #999 inset;
  2835. box-shadow: -1px 1px 15px #999 inset;
  2836. } @else {
  2837. -moz-box-shadow: 1px 1px 15px #999 inset;
  2838. -webkit-box-shadow: 1px 1px 15px #999 inset;
  2839. box-shadow: 1px 1px 15px #999 inset;
  2840. }
  2841. }
  2842. .pma_sql_import_status {
  2843. div {
  2844. height: 270px;
  2845. overflow-y: auto;
  2846. overflow-x: hidden;
  2847. list-style-type: none;
  2848. li {
  2849. padding: 8px 10px;
  2850. border-bottom: 1px solid #bbb;
  2851. color: rgb(148, 14, 14);
  2852. background: white;
  2853. .filesize {
  2854. float: $right;
  2855. }
  2856. }
  2857. }
  2858. h2 {
  2859. .minimize {
  2860. float: $right;
  2861. margin-#{$right}: 5px;
  2862. padding: 0 10px;
  2863. }
  2864. .close {
  2865. float: $right;
  2866. margin-#{$right}: 5px;
  2867. padding: 0 10px;
  2868. display: none;
  2869. }
  2870. .minimize:hover,
  2871. .close:hover {
  2872. background: rgba(155, 149, 149, 0.78);
  2873. cursor: pointer;
  2874. }
  2875. }
  2876. }
  2877. .pma_drop_result h2 .close:hover {
  2878. background: rgba(155, 149, 149, 0.78);
  2879. cursor: pointer;
  2880. }
  2881. .pma_drop_file_status {
  2882. color: #235a81;
  2883. span.underline:hover {
  2884. cursor: pointer;
  2885. text-decoration: underline;
  2886. }
  2887. }
  2888. .pma_drop_result {
  2889. position: fixed;
  2890. top: 10%;
  2891. #{$left}: 20%;
  2892. width: 60%;
  2893. background: white;
  2894. min-height: 300px;
  2895. z-index: 800;
  2896. -webkit-box-shadow: 0 0 15px #999;
  2897. border-radius: 10px;
  2898. cursor: move;
  2899. h2 .close {
  2900. float: $right;
  2901. margin-#{$right}: 5px;
  2902. padding: 0 10px;
  2903. }
  2904. }
  2905. #composite_index_list {
  2906. list-style-type: none;
  2907. list-style-position: inside;
  2908. }
  2909. span.drag_icon {
  2910. display: inline-block;
  2911. background-image: url("../img/s_sortable.png");
  2912. background-position: center center;
  2913. background-repeat: no-repeat;
  2914. width: 1em;
  2915. height: 3em;
  2916. cursor: move;
  2917. }
  2918. .topmargin {
  2919. margin-top: 1em;
  2920. }
  2921. /* styles for sortable tables created with tablesorter jquery plugin */
  2922. th {
  2923. &.header {
  2924. cursor: pointer;
  2925. color: #00f;
  2926. &:hover {
  2927. text-decoration: underline;
  2928. }
  2929. .sorticon {
  2930. width: 16px;
  2931. height: 16px;
  2932. background-repeat: no-repeat;
  2933. background-position: right center;
  2934. display: inline-table;
  2935. vertical-align: middle;
  2936. float: $right;
  2937. }
  2938. }
  2939. &.headerSortUp .sorticon {
  2940. background-image: url("../img/s_desc.png");
  2941. }
  2942. &.headerSortDown {
  2943. &:hover .sorticon {
  2944. background-image: url("../img/s_desc.png");
  2945. }
  2946. .sorticon {
  2947. background-image: url("../img/s_asc.png");
  2948. }
  2949. }
  2950. &.headerSortUp:hover .sorticon {
  2951. background-image: url("../img/s_asc.png");
  2952. }
  2953. }
  2954. /* end of styles of sortable tables */
  2955. /* styles for jQuery-ui to support rtl languages */
  2956. body {
  2957. .ui-dialog {
  2958. .ui-dialog-titlebar-close {
  2959. #{$right}: 0.3em;
  2960. #{$left}: initial;
  2961. }
  2962. .ui-dialog-title {
  2963. float: $left;
  2964. }
  2965. .ui-dialog-buttonpane .ui-dialog-buttonset {
  2966. float: $right;
  2967. }
  2968. }
  2969. .ui-corner-all,
  2970. .ui-corner-top,
  2971. .ui-corner-left,
  2972. .ui-corner-tl {
  2973. border-top-left-radius: 0;
  2974. }
  2975. .ui-corner-all,
  2976. .ui-corner-top,
  2977. .ui-corner-right,
  2978. .ui-corner-tr {
  2979. border-top-right-radius: 0;
  2980. }
  2981. .ui-corner-all,
  2982. .ui-corner-bottom,
  2983. .ui-corner-left,
  2984. .ui-corner-bl {
  2985. border-bottom-left-radius: 0;
  2986. }
  2987. .ui-corner-all,
  2988. .ui-corner-bottom,
  2989. .ui-corner-right,
  2990. .ui-corner-br {
  2991. border-bottom-right-radius: 0;
  2992. }
  2993. .ui-dialog {
  2994. padding: 0;
  2995. border-color: #000;
  2996. .ui-dialog-titlebar {
  2997. padding: 0.3em 0.5em;
  2998. border: none;
  2999. border-bottom: 1px solid #000;
  3000. button {
  3001. border: 1px solid #999;
  3002. }
  3003. }
  3004. .ui-dialog-content {
  3005. padding: 0.2em 0.4em;
  3006. }
  3007. .ui-dialog-buttonpane {
  3008. background: #d3dce3;
  3009. border-top: 1px solid #000;
  3010. button {
  3011. margin: 0.1em 0 0.1em 0.4em;
  3012. border: 1px solid #999;
  3013. color: #000;
  3014. }
  3015. }
  3016. .ui-button-text-only .ui-button-text {
  3017. padding: 0.2em 0.6em;
  3018. }
  3019. }
  3020. }
  3021. .scrollindicator {
  3022. display: none;
  3023. }
  3024. /* templates/database/designer */
  3025. /* side menu */
  3026. #name-panel {
  3027. overflow: hidden;
  3028. }
  3029. @media only screen and (max-width: 768px) {
  3030. #main_pane_left {
  3031. width: 100%;
  3032. }
  3033. #main_pane_right {
  3034. padding-top: 0;
  3035. padding-#{$left}: 1px;
  3036. padding-#{$right}: 1px;
  3037. }
  3038. ul {
  3039. &#topmenu,
  3040. &.tabs {
  3041. display: flex;
  3042. }
  3043. }
  3044. .navigationbar {
  3045. display: inline-flex;
  3046. margin: 0 !important;
  3047. border-radius: 0 !important;
  3048. overflow: auto;
  3049. }
  3050. .scrollindicator {
  3051. padding: 5px;
  3052. cursor: pointer;
  3053. display: inline;
  3054. }
  3055. .responsivetable {
  3056. overflow-x: auto;
  3057. }
  3058. body#loginform div.container {
  3059. width: 100%;
  3060. }
  3061. .largescreenonly {
  3062. display: none;
  3063. }
  3064. .width100,
  3065. .desktop50 {
  3066. width: 100%;
  3067. }
  3068. .width96 {
  3069. width: 96% !important;
  3070. }
  3071. #page_nav_icons {
  3072. display: none;
  3073. }
  3074. table#serverstatusconnections {
  3075. margin-#{$left}: 0;
  3076. }
  3077. #table_name_col_no {
  3078. top: 62px;
  3079. }
  3080. .tdblock tr td {
  3081. display: block;
  3082. }
  3083. #table_columns {
  3084. margin-top: 60px;
  3085. .tablesorter {
  3086. min-width: 100%;
  3087. }
  3088. }
  3089. .doubleFieldset fieldset {
  3090. width: 98%;
  3091. }
  3092. div#serverstatusquerieschart {
  3093. width: 100%;
  3094. height: 450px;
  3095. }
  3096. .ui-dialog {
  3097. margin: 1%;
  3098. width: 95% !important;
  3099. }
  3100. #serverinfo .item {
  3101. margin: 4px;
  3102. }
  3103. }
  3104. #tooltip_editor {
  3105. font-size: 12px;
  3106. background-color: #fff;
  3107. opacity: 0.95;
  3108. filter: alpha(opacity=95);
  3109. padding: 5px;
  3110. }
  3111. #tooltip_font {
  3112. font-weight: bold;
  3113. }
  3114. #selection_box {
  3115. z-index: 1000;
  3116. height: 205px;
  3117. position: absolute;
  3118. background-color: #87ceeb;
  3119. opacity: 0.4;
  3120. filter: alpha(opacity=40);
  3121. pointer-events: none;
  3122. }
  3123. #filter_query_text {
  3124. vertical-align: baseline;
  3125. }