_common.scss 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721
  1. #page_content {
  2. margin: 0 0.5em;
  3. }
  4. .data {
  5. margin: 0 0 12px;
  6. }
  7. button.mult_submit,
  8. .checkall_box + label {
  9. text-decoration: none;
  10. color: #235a81;
  11. cursor: pointer;
  12. outline: none;
  13. }
  14. button.mult_submit {
  15. &:hover,
  16. &:focus {
  17. text-decoration: underline;
  18. color: #235a81;
  19. }
  20. }
  21. .checkall_box + label:hover {
  22. text-decoration: underline;
  23. color: #235a81;
  24. }
  25. #navbarDropdown > img {
  26. display: none;
  27. }
  28. textarea {
  29. &.char {
  30. margin: 6px;
  31. }
  32. &.charField {
  33. width: 95%;
  34. }
  35. }
  36. .pma-fieldset {
  37. margin-top: 1em;
  38. border-radius: 4px 4px 0 0;
  39. border: #aaa solid 1px;
  40. padding: 0.5em;
  41. background: #eee;
  42. text-shadow: 1px 1px 2px $white;
  43. box-shadow: 1px 1px 2px $white inset;
  44. }
  45. .pma-fieldset {
  46. .pma-fieldset {
  47. margin: 0.8em;
  48. border: 1px solid #aaa;
  49. background: #e8e8e8;
  50. }
  51. legend {
  52. float: none;
  53. font-weight: bold;
  54. color: #444;
  55. padding: 5px 10px;
  56. border-radius: 2px;
  57. border: 1px solid #aaa;
  58. background-color: $white;
  59. max-width: 100%;
  60. box-shadow: 3px 3px 15px #bbb;
  61. width: initial;
  62. font-size: 1em;
  63. }
  64. }
  65. // 3.4
  66. .datatable {
  67. table-layout: fixed;
  68. }
  69. /* classes */
  70. .clearfloat {
  71. clear: both;
  72. }
  73. .paddingtop {
  74. padding-top: 1em;
  75. }
  76. .separator {
  77. color: $white;
  78. text-shadow: 0 1px 0 $black;
  79. }
  80. div.tools {
  81. padding: 0.2em;
  82. a {
  83. color: #3a7ead !important;
  84. }
  85. margin-top: 0;
  86. margin-bottom: 0.5em;
  87. // avoid a thick line since this should be used under another fieldset
  88. border-top: 0;
  89. text-align: right;
  90. float: none;
  91. clear: both;
  92. border-radius: 0 0 4px 4px;
  93. }
  94. .pma-fieldset.tblFooters {
  95. margin-top: 0;
  96. margin-bottom: 0.5em;
  97. // avoid a thick line since this should be used under another fieldset
  98. border-top: 0;
  99. text-align: right;
  100. float: none;
  101. clear: both;
  102. border-radius: 0 0 4px 4px;
  103. }
  104. div.null_div {
  105. height: 20px;
  106. text-align: center;
  107. font-style: normal;
  108. min-width: 50px;
  109. }
  110. .pma-fieldset {
  111. .formelement {
  112. float: left;
  113. margin-right: 0.5em;
  114. // IE
  115. white-space: nowrap;
  116. }
  117. // revert for Gecko
  118. div[class=formelement] {
  119. white-space: normal;
  120. }
  121. }
  122. button.mult_submit {
  123. border: none;
  124. background-color: transparent;
  125. }
  126. /**
  127. * marks table rows/cells if the db field is in a where condition
  128. */
  129. .condition {
  130. border-color: $black !important;
  131. }
  132. th.condition {
  133. border-width: 1px 1px 0 1px;
  134. border-style: solid;
  135. }
  136. td.condition {
  137. border-width: 0 1px 0 1px;
  138. border-style: solid;
  139. }
  140. tr:last-child td.condition {
  141. border-width: 0 1px 1px 1px;
  142. }
  143. /* rtl:begin:remove */
  144. .before-condition {
  145. // for first th which must have right border set (ltr only)
  146. border-right: 1px solid $black;
  147. }
  148. /* rtl:end:remove */
  149. /**
  150. * cells with the value NULL
  151. */
  152. td.null {
  153. font-style: italic;
  154. color: #7d7d7d !important;
  155. }
  156. table {
  157. .valueHeader,
  158. .value {
  159. text-align: right;
  160. white-space: normal;
  161. }
  162. }
  163. .value {
  164. font-family: $font-family-monospace;
  165. }
  166. img.lightbulb {
  167. cursor: pointer;
  168. }
  169. .pdflayout {
  170. overflow: hidden;
  171. clip: inherit;
  172. background-color: $white;
  173. display: none;
  174. border: 1px solid $black;
  175. position: relative;
  176. }
  177. .pdflayout_table {
  178. background: #d3dce3;
  179. color: $black;
  180. overflow: hidden;
  181. clip: inherit;
  182. z-index: 2;
  183. display: inline;
  184. visibility: inherit;
  185. cursor: move;
  186. position: absolute;
  187. font-size: 80%;
  188. border: 1px dashed $black;
  189. }
  190. // Doc links in SQL
  191. .cm-sql-doc {
  192. text-decoration: none;
  193. border-bottom: 1px dotted $black;
  194. color: inherit !important;
  195. }
  196. // no extra space in table cells
  197. td .icon {
  198. image-rendering: pixelated;
  199. margin: 0;
  200. }
  201. .selectallarrow {
  202. margin-right: 0.3em;
  203. margin-left: 0.6em;
  204. }
  205. .with-selected {
  206. margin-left: 2em;
  207. }
  208. // message boxes: error, confirmation
  209. #pma_errors,
  210. #pma_demo,
  211. #pma_footer {
  212. position: relative;
  213. padding: 0 0.5em;
  214. }
  215. .confirmation {
  216. color: $black;
  217. background-color: pink;
  218. }
  219. // end messageboxes
  220. .new_central_col {
  221. width: 100%;
  222. }
  223. .tblcomment {
  224. font-size: 70%;
  225. font-weight: normal;
  226. color: #009;
  227. }
  228. .tblHeaders {
  229. font-weight: bold;
  230. color: $black;
  231. background: #d3dce3;
  232. }
  233. div.tools,
  234. .tblFooters {
  235. font-weight: normal;
  236. color: $black;
  237. background: #d3dce3;
  238. }
  239. .tblHeaders a {
  240. &:link,
  241. &:active,
  242. &:visited {
  243. color: #00f;
  244. }
  245. }
  246. div.tools a {
  247. &:link,
  248. &:visited,
  249. &:active {
  250. color: #00f;
  251. }
  252. }
  253. .tblFooters a {
  254. &:link,
  255. &:active,
  256. &:visited {
  257. color: #00f;
  258. }
  259. }
  260. .tblHeaders a:hover,
  261. div.tools a:hover,
  262. .tblFooters a:hover {
  263. color: #f00;
  264. }
  265. .error {
  266. border: 1px solid maroon !important;
  267. margin-left: 2px;
  268. padding: 1px 2px;
  269. color: $black;
  270. background: pink;
  271. }
  272. // disabled text
  273. .disabled {
  274. color: #666;
  275. a {
  276. &:link,
  277. &:active,
  278. &:visited {
  279. color: #666;
  280. }
  281. &:hover {
  282. color: #666;
  283. text-decoration: none;
  284. }
  285. }
  286. }
  287. tr.disabled td,
  288. td.disabled {
  289. background-color: #f3f3f3;
  290. color: #aaa;
  291. }
  292. .pre_wrap {
  293. white-space: pre-wrap;
  294. }
  295. .pre_wrap br {
  296. display: none;
  297. }
  298. /**
  299. * login form
  300. */
  301. body#loginform {
  302. margin: 1em 0 0 0;
  303. text-align: center;
  304. h1,
  305. a.logo {
  306. display: block;
  307. text-align: center;
  308. }
  309. div.container {
  310. text-align: left;
  311. width: 30em;
  312. margin: 0 auto;
  313. }
  314. }
  315. div.container.modal_form {
  316. margin: 0 auto;
  317. width: 30em;
  318. text-align: center;
  319. background: $white;
  320. z-index: 999;
  321. }
  322. div#modalOverlay {
  323. position: fixed;
  324. top: 0;
  325. left: 0;
  326. height: 100%;
  327. width: 100%;
  328. background: $white;
  329. z-index: 900;
  330. }
  331. label.col-3.d-flex.align-items-center {
  332. font-weight: bolder;
  333. }
  334. .commented_column {
  335. border-bottom: 1px dashed $black;
  336. }
  337. .column_attribute {
  338. font-size: 70%;
  339. }
  340. .column_name {
  341. font-size: 80%;
  342. margin: 5px 2px;
  343. }
  344. .central_columns_navigation {
  345. padding: 1.5% 0 !important;
  346. }
  347. .message_errors_found {
  348. margin-top: 20px;
  349. }
  350. .repl_gui_skip_err_cnt {
  351. width: 30px;
  352. }
  353. .color_gray {
  354. color: gray;
  355. }
  356. .max_height_400 {
  357. max-height: 400px;
  358. }
  359. li.last.database {
  360. // Avoid having the last item of the tree hidden behind the scroll bar
  361. margin-bottom: 15px !important;
  362. }
  363. // zoom search
  364. div#dataDisplay {
  365. input,
  366. select {
  367. margin: 0;
  368. margin-right: 0.5em;
  369. }
  370. th {
  371. line-height: 2em;
  372. }
  373. }
  374. img.calendar {
  375. border: none;
  376. }
  377. form.clock {
  378. text-align: center;
  379. }
  380. // table stats
  381. div#tablestatistics table {
  382. float: left;
  383. margin-bottom: 0.5em;
  384. margin-right: 1.5em;
  385. margin-top: 0.5em;
  386. min-width: 16em;
  387. }
  388. // end table stats
  389. // Heading
  390. #topmenucontainer {
  391. padding-right: 1em;
  392. width: 100%;
  393. }
  394. #page_nav_icons {
  395. position: fixed;
  396. top: 0;
  397. right: 0;
  398. z-index: 99;
  399. padding: $breadcrumb-navbar-padding-y $breadcrumb-padding-x;
  400. }
  401. #page_settings_icon {
  402. cursor: pointer;
  403. display: none;
  404. }
  405. #page_settings_modal,
  406. #pma_navigation_settings {
  407. display: none;
  408. }
  409. #textSQLDUMP {
  410. width: 95%;
  411. height: 95%;
  412. font-family: Consolas, "Courier New", Courier, monospace;
  413. font-size: 110%;
  414. }
  415. #TooltipContainer {
  416. position: absolute;
  417. z-index: 99;
  418. width: 20em;
  419. height: auto;
  420. overflow: visible;
  421. visibility: hidden;
  422. background-color: #ffc;
  423. color: #060;
  424. border: 0.1em solid $black;
  425. padding: 0.5em;
  426. }
  427. // user privileges
  428. #fieldset_add_user_login {
  429. div.item {
  430. display: flex;
  431. align-items: center;
  432. border-bottom: 1px solid silver;
  433. padding-bottom: 0.3em;
  434. margin-bottom: 0.3em;
  435. }
  436. label {
  437. float: left;
  438. display: block;
  439. width: 10em;
  440. max-width: 100%;
  441. text-align: right;
  442. padding-right: 0.5em;
  443. margin-bottom: 0;
  444. }
  445. input {
  446. width: 12em;
  447. clear: right;
  448. max-width: 100%;
  449. }
  450. span.options {
  451. float: left;
  452. display: block;
  453. width: 12em;
  454. max-width: 100%;
  455. padding-right: 0.5em;
  456. #select_pred_username,
  457. #select_pred_hostname,
  458. #select_pred_password {
  459. width: 100%;
  460. max-width: 100%;
  461. }
  462. input {
  463. width: auto;
  464. }
  465. }
  466. }
  467. #fieldset_user_priv div.item {
  468. float: left;
  469. width: 9em;
  470. max-width: 100%;
  471. div.item {
  472. float: none;
  473. }
  474. label {
  475. white-space: nowrap;
  476. }
  477. select {
  478. width: 100%;
  479. }
  480. }
  481. #fieldset_user_global_rights .pma-fieldset,
  482. #fieldset_user_group_rights .pma-fieldset {
  483. float: left;
  484. }
  485. #fieldset_user_global_rights > legend input {
  486. margin-left: 2em;
  487. }
  488. // end user privileges
  489. // serverstatus
  490. .linkElem:hover {
  491. text-decoration: underline;
  492. color: #235a81;
  493. cursor: pointer;
  494. }
  495. h3#serverstatusqueries span {
  496. font-size: 60%;
  497. display: inline;
  498. }
  499. div#serverStatusTabs {
  500. margin-top: 1em;
  501. }
  502. caption a.top {
  503. float: right;
  504. }
  505. div#serverstatusquerieschart {
  506. float: left;
  507. width: 500px;
  508. height: 350px;
  509. margin-right: 50px;
  510. }
  511. div {
  512. &#serverstatus table {
  513. tbody td.descr a,
  514. .tblFooters a {
  515. white-space: nowrap;
  516. }
  517. }
  518. &.liveChart {
  519. clear: both;
  520. min-width: 500px;
  521. height: 400px;
  522. padding-bottom: 80px;
  523. }
  524. }
  525. div#chartVariableSettings {
  526. border: 1px solid #ddd;
  527. background-color: #e6e6e6;
  528. margin-left: 10px;
  529. }
  530. table#chartGrid {
  531. td {
  532. padding: 3px;
  533. margin: 0;
  534. }
  535. div.monitorChart {
  536. background: #ebebeb;
  537. border: none;
  538. min-width: 1px;
  539. }
  540. }
  541. div.tabLinks {
  542. float: left;
  543. padding: 5px 0;
  544. a,
  545. label {
  546. margin-right: 7px;
  547. }
  548. .icon {
  549. margin: -0.2em 0.3em 0 0;
  550. }
  551. }
  552. .popupContent {
  553. display: none;
  554. position: absolute;
  555. border: 1px solid #ccc;
  556. margin: 0;
  557. padding: 3px;
  558. background-color: $white;
  559. z-index: 2;
  560. box-shadow: 2px 2px 3px #666;
  561. }
  562. div {
  563. &#logTable {
  564. padding-top: 10px;
  565. clear: both;
  566. table {
  567. width: 100%;
  568. }
  569. }
  570. &#queryAnalyzerDialog {
  571. min-width: 700px;
  572. div {
  573. &.CodeMirror-scroll {
  574. height: auto;
  575. }
  576. &#queryProfiling {
  577. height: 300px;
  578. }
  579. }
  580. td.explain {
  581. width: 250px;
  582. }
  583. table.queryNums {
  584. display: none;
  585. border: 0;
  586. text-align: left;
  587. }
  588. }
  589. }
  590. .smallIndent {
  591. padding-left: 7px;
  592. }
  593. // end serverstatus
  594. // profiling
  595. div#profilingchart {
  596. width: 850px;
  597. height: 370px;
  598. float: left;
  599. }
  600. #profilingchart .jqplot-highlighter-tooltip {
  601. top: auto !important;
  602. left: 11px;
  603. bottom: 24px;
  604. }
  605. // end profiling
  606. // table charting
  607. #resizer {
  608. border: 1px solid silver;
  609. }
  610. // make room for the resize handle
  611. #inner-resizer {
  612. padding: 10px;
  613. }
  614. // querybox
  615. #togglequerybox {
  616. margin: 0 10px;
  617. }
  618. #serverstatus h3 {
  619. margin: 15px 0;
  620. font-weight: normal;
  621. color: #999;
  622. font-size: 1.7em;
  623. }
  624. textarea {
  625. &#sqlquery {
  626. width: 100%;
  627. border-radius: 4px;
  628. border: 1px solid #aaa;
  629. padding: 5px;
  630. font-family: inherit;
  631. }
  632. &#sql_query_edit {
  633. height: 7em;
  634. width: 95%;
  635. display: block;
  636. }
  637. }
  638. // end querybox
  639. // main page
  640. #mysqlmaininformation,
  641. #pmamaininformation {
  642. float: left;
  643. width: 49%;
  644. }
  645. #maincontainer {
  646. ul {
  647. list-style-type: disc;
  648. vertical-align: middle;
  649. }
  650. li {
  651. margin-bottom: 0.3em;
  652. }
  653. }
  654. #full_name_layer {
  655. position: absolute;
  656. padding: 2px;
  657. margin-top: -3px;
  658. z-index: 801;
  659. border-radius: 3px;
  660. border: solid 1px #888;
  661. background: $white;
  662. }
  663. #body_browse_foreigners {
  664. background: #f3f3f3;
  665. margin: 0.5em 0.5em 0 0.5em;
  666. }
  667. #bodythemes {
  668. width: 500px;
  669. margin: auto;
  670. text-align: center;
  671. img {
  672. border: 0.1em solid $black;
  673. }
  674. a:hover img {
  675. border: 0.1em solid red;
  676. }
  677. }
  678. #selflink {
  679. clear: both;
  680. display: block;
  681. margin-top: 1em;
  682. margin-bottom: 1em;
  683. width: 98%;
  684. margin-left: 1%;
  685. text-align: right;
  686. border-top: 0.1em solid silver;
  687. }
  688. #qbe_div_table_list,
  689. #qbe_div_sql_query {
  690. float: left;
  691. }
  692. code {
  693. font-size: 1em;
  694. &.php {
  695. display: block;
  696. padding-left: 1em;
  697. margin-top: 0;
  698. margin-bottom: 0;
  699. max-height: 10em;
  700. overflow: auto;
  701. }
  702. &.sql {
  703. display: block;
  704. padding: 1em;
  705. margin-top: 0;
  706. margin-bottom: 0;
  707. max-height: 10em;
  708. overflow: auto;
  709. }
  710. }
  711. div.sqlvalidate {
  712. display: block;
  713. padding: 1em;
  714. margin-top: 0;
  715. margin-bottom: 0;
  716. max-height: 10em;
  717. overflow: auto;
  718. }
  719. .result_query {
  720. div.sqlOuter {
  721. background: #e5e5e5;
  722. text-align: left;
  723. }
  724. }
  725. #PMA_slidingMessage code.sql,
  726. div.sqlvalidate {
  727. background: #e5e5e5;
  728. }
  729. textarea#partitiondefinition {
  730. height: 3em;
  731. }
  732. // for elements that should be revealed only via js
  733. .hide {
  734. display: none;
  735. }
  736. #list_server {
  737. list-style-type: none;
  738. padding: 0;
  739. }
  740. /**
  741. * Progress bar styles
  742. */
  743. div {
  744. &.upload_progress {
  745. width: 400px;
  746. margin: 3em auto;
  747. text-align: center;
  748. }
  749. &.upload_progress_bar_outer {
  750. border: 1px solid $black;
  751. width: 202px;
  752. position: relative;
  753. margin: 0 auto 1em;
  754. color: $body-color;
  755. div.percentage {
  756. position: absolute;
  757. top: 0;
  758. left: 0;
  759. width: 202px;
  760. }
  761. }
  762. &.upload_progress_bar_inner {
  763. background-color: #ddd;
  764. width: 0;
  765. height: 12px;
  766. margin: 1px;
  767. overflow: hidden;
  768. color: $black;
  769. position: relative;
  770. div.percentage {
  771. top: -1px;
  772. left: -1px;
  773. }
  774. }
  775. &#statustext {
  776. margin-top: 0.5em;
  777. }
  778. }
  779. table {
  780. &#serverconnection_src_remote,
  781. &#serverconnection_trg_remote,
  782. &#serverconnection_src_local,
  783. &#serverconnection_trg_local {
  784. float: left;
  785. }
  786. }
  787. /**
  788. * Validation error message styles
  789. */
  790. input {
  791. &[type=text].invalid_value,
  792. &[type=password].invalid_value,
  793. &[type=number].invalid_value,
  794. &[type=date].invalid_value {
  795. background: #fcc;
  796. }
  797. }
  798. select.invalid_value,
  799. .invalid_value {
  800. background: #fcc;
  801. }
  802. /**
  803. * Ajax notification styling
  804. */
  805. .ajax_notification {
  806. // The notification needs to be shown on the top of the page
  807. top: 0;
  808. position: fixed;
  809. margin-top: 200px;
  810. margin-right: auto;
  811. margin-bottom: 0;
  812. margin-left: auto;
  813. // Keep a little space on the sides of the text
  814. padding: 5px;
  815. width: 350px;
  816. // If this is not kept at a high z-index, the jQueryUI modal dialogs (z-index: 1000) might hide this
  817. z-index: 1100;
  818. text-align: center;
  819. display: inline;
  820. left: 0;
  821. right: 0;
  822. background-image: url("../img/ajax_clock_small.gif");
  823. background-repeat: no-repeat;
  824. background-position: 2%;
  825. border: 1px solid var(--bs-warning-border-subtle);
  826. background-color: var(--bs-warning-bg-subtle);
  827. color: var(--bs-warning-text-emphasis);
  828. border-radius: 5px;
  829. }
  830. #loading_parent {
  831. /** Need this parent to properly center the notification division */
  832. position: relative;
  833. width: 100%;
  834. }
  835. #popup_background {
  836. display: none;
  837. position: fixed;
  838. width: 100%;
  839. height: 100%;
  840. top: 0;
  841. left: 0;
  842. background: $black;
  843. opacity: 0.7;
  844. z-index: 1000;
  845. overflow: hidden;
  846. }
  847. #structure-action-links a {
  848. margin-right: 1em;
  849. }
  850. #addColumns input[type=radio] {
  851. margin: 3px 0 0;
  852. margin-left: 1em;
  853. }
  854. /**
  855. * Indexes
  856. */
  857. #index_frm {
  858. .index_info {
  859. input[type=text],
  860. select {
  861. width: 100%;
  862. margin: 0;
  863. box-sizing: border-box;
  864. }
  865. div {
  866. padding: 0.2em 0;
  867. }
  868. .label {
  869. float: left;
  870. min-width: 12em;
  871. }
  872. }
  873. .slider {
  874. width: 10em;
  875. margin: 0.6em;
  876. float: left;
  877. }
  878. .add_fields {
  879. float: left;
  880. input {
  881. margin-left: 1em;
  882. }
  883. }
  884. input {
  885. margin: 0;
  886. }
  887. td {
  888. vertical-align: middle;
  889. }
  890. }
  891. table#index_columns {
  892. width: 100%;
  893. select {
  894. width: 85%;
  895. float: left;
  896. }
  897. }
  898. #move_columns_dialog {
  899. div {
  900. padding: 1em;
  901. }
  902. ul {
  903. list-style: none;
  904. margin: 0;
  905. padding: 0;
  906. }
  907. li {
  908. background: #d3dce3;
  909. border: 1px solid #aaa;
  910. color: $black;
  911. font-weight: bold;
  912. margin: 0.4em;
  913. padding: 0.2em;
  914. border-radius: 2px;
  915. }
  916. }
  917. // config forms
  918. .config-form {
  919. fieldset {
  920. margin-top: 0;
  921. padding: 0;
  922. clear: both;
  923. border-radius: 0;
  924. p {
  925. margin: 0;
  926. padding: 0.5em;
  927. background: $white;
  928. border-top: 0;
  929. }
  930. // form error list
  931. .errors {
  932. margin: 0 -2px 1em;
  933. padding: 0.5em 1.5em;
  934. background: #fbead9;
  935. border-color: #c83838;
  936. border-style: solid;
  937. border-width: 1px 0;
  938. list-style: none;
  939. font-family: $font-family-base;
  940. font-size: small;
  941. }
  942. // field error list
  943. .inline_errors {
  944. margin: 0.3em 0.3em 0.3em;
  945. margin-left: 0;
  946. padding: 0;
  947. list-style: none;
  948. color: #9a0000;
  949. font-size: small;
  950. }
  951. .doc {
  952. margin-left: 1em;
  953. }
  954. .disabled-notice {
  955. margin-left: 1em;
  956. font-size: 80%;
  957. text-transform: uppercase;
  958. color: #e00;
  959. cursor: help;
  960. }
  961. th {
  962. padding: 0.3em 0.3em 0.3em;
  963. padding-left: 0.5em;
  964. text-align: left;
  965. vertical-align: top;
  966. background: transparent;
  967. filter: none;
  968. border-top: 1px #d5d5d5 solid;
  969. border-right: none;
  970. small {
  971. display: block;
  972. font-weight: normal;
  973. font-family: $font-family-base;
  974. font-size: x-small;
  975. color: #444;
  976. }
  977. }
  978. td {
  979. padding-top: 0.3em;
  980. padding-bottom: 0.3em;
  981. vertical-align: top;
  982. border-top: 1px #d5d5d5 solid;
  983. border-right: none;
  984. }
  985. }
  986. legend {
  987. display: none;
  988. }
  989. span.checkbox {
  990. padding: 2px;
  991. display: inline-block;
  992. &.custom {
  993. padding: 1px;
  994. border: 1px #edec90 solid;
  995. background: #ffc;
  996. }
  997. }
  998. // customized field
  999. .custom {
  1000. background: #ffc;
  1001. }
  1002. .field-error {
  1003. border-color: #a11 !important;
  1004. }
  1005. input {
  1006. &[type=text],
  1007. &[type=password],
  1008. &[type=number] {
  1009. border: 1px #a7a6aa solid;
  1010. height: auto;
  1011. &:focus {
  1012. border: 1px #6676ff solid;
  1013. background: #f7fbff;
  1014. }
  1015. }
  1016. }
  1017. select,
  1018. textarea {
  1019. border: 1px #a7a6aa solid;
  1020. height: auto;
  1021. &:focus {
  1022. border: 1px #6676ff solid;
  1023. background: #f7fbff;
  1024. }
  1025. }
  1026. .field-comment-mark {
  1027. font-family: serif;
  1028. color: #007;
  1029. cursor: help;
  1030. padding: 0 0.2em;
  1031. font-weight: bold;
  1032. font-style: italic;
  1033. }
  1034. .field-comment-warning {
  1035. color: #a00;
  1036. }
  1037. // error list
  1038. dd {
  1039. margin-left: 0.5em;
  1040. &::before {
  1041. content: "\25B8 ";
  1042. }
  1043. }
  1044. }
  1045. fieldset {
  1046. .group-header {
  1047. th {
  1048. background: #d5d5d5;
  1049. }
  1050. + tr th {
  1051. padding-top: 0.6em;
  1052. }
  1053. }
  1054. .group-field-1 th,
  1055. .group-header-2 th {
  1056. padding-left: 1.5em;
  1057. }
  1058. .group-field-2 th,
  1059. .group-header-3 th {
  1060. padding-left: 3em;
  1061. }
  1062. .group-field-3 th {
  1063. padding-left: 4.5em;
  1064. }
  1065. .disabled-field {
  1066. th {
  1067. color: #666;
  1068. background-color: #ddd;
  1069. small {
  1070. color: #666;
  1071. background-color: #ddd;
  1072. }
  1073. }
  1074. td {
  1075. color: #666;
  1076. background-color: #ddd;
  1077. }
  1078. }
  1079. }
  1080. .click-hide-message {
  1081. cursor: pointer;
  1082. }
  1083. .prefsmanage_opts {
  1084. margin-left: 2em;
  1085. }
  1086. #prefs_autoload {
  1087. margin-bottom: 0.5em;
  1088. margin-left: 0.5em;
  1089. }
  1090. input#auto_increment_opt {
  1091. width: min-content;
  1092. }
  1093. #placeholder {
  1094. position: relative;
  1095. border: 1px solid #aaa;
  1096. float: right;
  1097. overflow: hidden;
  1098. width: 450px;
  1099. height: 300px;
  1100. .button {
  1101. position: absolute;
  1102. cursor: pointer;
  1103. }
  1104. div.button {
  1105. font-size: smaller;
  1106. color: #999;
  1107. background-color: #eee;
  1108. padding: 2px;
  1109. }
  1110. }
  1111. .wrapper {
  1112. float: left;
  1113. margin-bottom: 1.5em;
  1114. }
  1115. .toggleButton {
  1116. position: relative;
  1117. cursor: pointer;
  1118. font-size: 0.8em;
  1119. text-align: center;
  1120. line-height: 1.4em;
  1121. height: 1.55em;
  1122. overflow: hidden;
  1123. border-right: 0.1em solid #888;
  1124. border-left: 0.1em solid #888;
  1125. border-radius: 0.3em;
  1126. table,
  1127. td,
  1128. img {
  1129. padding: 0;
  1130. position: relative;
  1131. }
  1132. .container {
  1133. position: absolute;
  1134. td,
  1135. tr {
  1136. background: none !important;
  1137. }
  1138. }
  1139. .toggleOn {
  1140. color: $white;
  1141. padding: 0 1em;
  1142. text-shadow: 0 0 0.2em $black;
  1143. }
  1144. .toggleOff {
  1145. padding: 0 1em;
  1146. }
  1147. }
  1148. .doubleFieldset {
  1149. .pma-fieldset {
  1150. width: 48%;
  1151. float: left;
  1152. padding: 0;
  1153. }
  1154. legend {
  1155. margin-left: 1.5em;
  1156. }
  1157. div.wrap {
  1158. padding: 1.5em;
  1159. }
  1160. }
  1161. #table_name_col_no_outer {
  1162. margin-top: 45px;
  1163. }
  1164. #table_name_col_no {
  1165. position: fixed;
  1166. top: 100px !important;
  1167. width: 100%;
  1168. background: $white;
  1169. }
  1170. #table_columns {
  1171. display: block;
  1172. overflow: auto;
  1173. input {
  1174. &[type=text],
  1175. &[type=password],
  1176. &[type=number] {
  1177. width: 10em;
  1178. box-sizing: border-box;
  1179. }
  1180. }
  1181. select {
  1182. width: 10em;
  1183. box-sizing: border-box;
  1184. }
  1185. }
  1186. #openlayersmap {
  1187. width: 450px;
  1188. height: 300px;
  1189. }
  1190. .placeholderDrag {
  1191. cursor: move;
  1192. }
  1193. #left_arrow {
  1194. left: 8px;
  1195. top: 26px;
  1196. }
  1197. #right_arrow {
  1198. left: 26px;
  1199. top: 26px;
  1200. }
  1201. #up_arrow {
  1202. left: 17px;
  1203. top: 8px;
  1204. }
  1205. #down_arrow {
  1206. left: 17px;
  1207. top: 44px;
  1208. }
  1209. #zoom_in {
  1210. left: 17px;
  1211. top: 67px;
  1212. }
  1213. #zoom_world {
  1214. left: 17px;
  1215. top: 85px;
  1216. }
  1217. #zoom_out {
  1218. left: 17px;
  1219. top: 103px;
  1220. }
  1221. .colborder {
  1222. cursor: col-resize;
  1223. height: 100%;
  1224. margin-left: -6px;
  1225. position: absolute;
  1226. width: 5px;
  1227. }
  1228. .colborder_active {
  1229. border-right: 2px solid #a44;
  1230. }
  1231. .pma_table {
  1232. th.draggable span {
  1233. display: block;
  1234. overflow: hidden;
  1235. }
  1236. }
  1237. .pma_table {
  1238. td {
  1239. position: static;
  1240. }
  1241. tbody td span {
  1242. display: block;
  1243. overflow: hidden;
  1244. code span {
  1245. display: inline;
  1246. }
  1247. }
  1248. th.draggable {
  1249. span {
  1250. margin-right: 10px;
  1251. }
  1252. }
  1253. }
  1254. .modal-copy input {
  1255. display: block;
  1256. width: 100%;
  1257. margin-top: 1.5em;
  1258. padding: 0.3em 0;
  1259. }
  1260. .cRsz {
  1261. position: absolute;
  1262. }
  1263. .cCpy {
  1264. background: #333;
  1265. color: $white;
  1266. font-weight: bold;
  1267. margin: 0.1em;
  1268. padding: 0.3em;
  1269. position: absolute;
  1270. text-shadow: -1px -1px $black;
  1271. box-shadow: 0 0 0.7em $black;
  1272. border-radius: 0.3em;
  1273. }
  1274. .cPointer {
  1275. $height: 20px;
  1276. $width: 10px;
  1277. height: $height;
  1278. width: $width;
  1279. margin-top: $height * -0.5;
  1280. margin-left: $width * -0.5;
  1281. background: url("../img/col_pointer.png");
  1282. position: absolute;
  1283. }
  1284. .tooltip {
  1285. background: #333 !important;
  1286. opacity: 0.8 !important;
  1287. z-index: 9999;
  1288. border: 1px solid $black !important;
  1289. border-radius: 0.3em !important;
  1290. text-shadow: -1px -1px $black !important;
  1291. font-size: 0.8em !important;
  1292. font-weight: bold !important;
  1293. padding: 1px 3px !important;
  1294. * {
  1295. background: none !important;
  1296. color: $white !important;
  1297. }
  1298. }
  1299. .cDrop {
  1300. right: 0;
  1301. position: absolute;
  1302. top: 0;
  1303. }
  1304. .coldrop {
  1305. background: url("../img/col_drop.png");
  1306. cursor: pointer;
  1307. height: 16px;
  1308. margin-top: 0.3em;
  1309. width: 16px;
  1310. &:hover {
  1311. background-color: #999;
  1312. }
  1313. }
  1314. .coldrop-hover {
  1315. background-color: #999;
  1316. }
  1317. .cList {
  1318. background: #eee;
  1319. border: solid 1px #999;
  1320. position: absolute;
  1321. box-shadow: 0 0.2em 0.5em #333;
  1322. margin-left: 75%;
  1323. right: 0;
  1324. max-width: 100%;
  1325. overflow-wrap: break-word;
  1326. .lDiv div {
  1327. padding: 0.2em 0.5em 0.2em;
  1328. padding-left: 0.2em;
  1329. white-space: nowrap;
  1330. &:hover {
  1331. background: #ddd;
  1332. cursor: pointer;
  1333. }
  1334. input {
  1335. cursor: pointer;
  1336. }
  1337. }
  1338. }
  1339. .showAllColBtn {
  1340. border-bottom: solid 1px #999;
  1341. border-top: solid 1px #999;
  1342. cursor: pointer;
  1343. font-size: 0.9em;
  1344. font-weight: bold;
  1345. padding: 0.35em 1em;
  1346. text-align: center;
  1347. &:hover {
  1348. background: #ddd;
  1349. }
  1350. }
  1351. .turnOffSelect {
  1352. user-select: none;
  1353. }
  1354. .navigation {
  1355. margin: 0.8em 0;
  1356. border-radius: 5px;
  1357. background: linear-gradient(#eee, #ccc);
  1358. td {
  1359. margin: 0;
  1360. padding: 0;
  1361. vertical-align: middle;
  1362. white-space: nowrap;
  1363. }
  1364. input {
  1365. &[type=submit] {
  1366. background: none;
  1367. border: 0;
  1368. filter: none;
  1369. margin: 0;
  1370. padding: 0.8em 0.5em;
  1371. border-radius: 0;
  1372. &:hover {
  1373. color: $white;
  1374. cursor: pointer;
  1375. text-shadow: none;
  1376. background: linear-gradient(#333, #555);
  1377. }
  1378. }
  1379. &.edit_mode_active {
  1380. color: $white;
  1381. cursor: pointer;
  1382. text-shadow: none;
  1383. background: linear-gradient(#333, #555);
  1384. }
  1385. }
  1386. .btn-link {
  1387. color: $body-color;
  1388. &:hover {
  1389. color: $white;
  1390. background-image: linear-gradient(#333, #555);
  1391. text-decoration: none;
  1392. }
  1393. }
  1394. select {
  1395. margin: 0 0.8em;
  1396. }
  1397. }
  1398. .navigation_separator {
  1399. color: #999;
  1400. display: inline-block;
  1401. font-size: 1.5em;
  1402. text-align: center;
  1403. height: 1.4em;
  1404. width: 1.2em;
  1405. text-shadow: 1px 0 $white;
  1406. }
  1407. .cEdit {
  1408. margin: 0;
  1409. padding: 0;
  1410. position: absolute;
  1411. input[type=text] {
  1412. background: $white;
  1413. height: 100%;
  1414. margin: 0;
  1415. padding: 0;
  1416. }
  1417. .edit_area {
  1418. background: $white;
  1419. border: 1px solid #999;
  1420. min-width: 10em;
  1421. padding: 0.3em 0.5em;
  1422. select,
  1423. textarea {
  1424. width: 97%;
  1425. }
  1426. }
  1427. .cell_edit_hint {
  1428. color: #555;
  1429. font-size: 0.8em;
  1430. margin: 0.3em 0.2em;
  1431. }
  1432. .edit_box {
  1433. overflow-x: hidden;
  1434. overflow-y: scroll;
  1435. padding: 0;
  1436. margin: 0;
  1437. resize: both;
  1438. }
  1439. .edit_box_posting {
  1440. background: $white url('../img/ajax_clock_small.gif') no-repeat right center;
  1441. padding-right: 1.5em;
  1442. }
  1443. .edit_area_loading {
  1444. background: $white url("../img/ajax_clock_small.gif") no-repeat center;
  1445. height: 10em;
  1446. }
  1447. .goto_link {
  1448. background: #eee;
  1449. color: #555;
  1450. padding: 0.2em 0.3em;
  1451. }
  1452. }
  1453. .saving_edited_data {
  1454. background: url('../img/ajax_clock_small.gif') no-repeat left;
  1455. padding-left: 20px;
  1456. }
  1457. .relationalTable {
  1458. td {
  1459. vertical-align: top;
  1460. }
  1461. select {
  1462. width: 125px;
  1463. margin-right: 5px;
  1464. }
  1465. }
  1466. // css for timepicker
  1467. .ui-timepicker-div {
  1468. .ui-widget-header {
  1469. margin-bottom: 8px;
  1470. }
  1471. dl {
  1472. text-align: left;
  1473. dt {
  1474. height: 25px;
  1475. margin-bottom: -25px;
  1476. }
  1477. dd {
  1478. margin: 0 10px 10px 85px;
  1479. }
  1480. }
  1481. td {
  1482. font-size: 90%;
  1483. }
  1484. }
  1485. .ui-tpicker-grid-label {
  1486. background: none;
  1487. border: none;
  1488. margin: 0;
  1489. padding: 0;
  1490. }
  1491. .ui-timepicker-rtl {
  1492. direction: rtl;
  1493. dl {
  1494. text-align: right;
  1495. dd {
  1496. margin: 0 65px 10px 10px;
  1497. }
  1498. }
  1499. }
  1500. body .ui-widget {
  1501. font-size: 1em;
  1502. }
  1503. .ui-dialog .pma-fieldset legend a {
  1504. color: #235a81;
  1505. }
  1506. .ui-draggable {
  1507. z-index: 801;
  1508. }
  1509. // over-riding jqplot-yaxis class
  1510. .jqplot-yaxis {
  1511. left: 0 !important;
  1512. min-width: 25px;
  1513. width: auto;
  1514. }
  1515. .jqplot-axis {
  1516. overflow: hidden;
  1517. }
  1518. div#page_content div {
  1519. &#tableslistcontainer {
  1520. margin-top: 1em;
  1521. table.data {
  1522. border-top: 0.1px solid #eee;
  1523. }
  1524. }
  1525. &.result_query {
  1526. margin-top: 1em;
  1527. }
  1528. }
  1529. table.show_create {
  1530. margin-top: 1em;
  1531. td {
  1532. border-right: 1px solid #bbb;
  1533. }
  1534. }
  1535. #alias_modal {
  1536. table {
  1537. width: 100%;
  1538. }
  1539. label {
  1540. font-weight: bold;
  1541. }
  1542. }
  1543. .ui-dialog {
  1544. position: fixed;
  1545. }
  1546. .small_font {
  1547. font-size: smaller;
  1548. }
  1549. // Console styles
  1550. #pma_console_container {
  1551. width: 100%;
  1552. position: fixed;
  1553. bottom: 0;
  1554. left: 0;
  1555. z-index: 100;
  1556. }
  1557. #pma_console {
  1558. position: relative;
  1559. margin-left: $navigation-width;
  1560. .templates {
  1561. display: none;
  1562. }
  1563. .mid_text {
  1564. vertical-align: middle;
  1565. }
  1566. .toolbar {
  1567. position: relative;
  1568. background: #ccc;
  1569. border-top: solid 1px #aaa;
  1570. cursor: n-resize;
  1571. span {
  1572. vertical-align: middle;
  1573. }
  1574. &.collapsed {
  1575. cursor: default;
  1576. &:not(:hover) {
  1577. display: inline-block;
  1578. border-top-right-radius: 3px;
  1579. border-right: solid 1px #aaa;
  1580. }
  1581. > .button {
  1582. display: none;
  1583. }
  1584. }
  1585. }
  1586. .message span {
  1587. &.text,
  1588. &.action {
  1589. padding: 0 3px;
  1590. display: inline-block;
  1591. }
  1592. }
  1593. .toolbar {
  1594. .button,
  1595. .text {
  1596. padding: 0 3px;
  1597. display: inline-block;
  1598. }
  1599. }
  1600. .switch_button {
  1601. padding: 0 3px;
  1602. display: inline-block;
  1603. }
  1604. .message span.action,
  1605. .toolbar .button,
  1606. .switch_button {
  1607. cursor: pointer;
  1608. }
  1609. .message span.action:hover,
  1610. .toolbar .button:hover,
  1611. .switch_button:hover {
  1612. background: #ddd;
  1613. }
  1614. .toolbar {
  1615. .button.active {
  1616. background: #ddd;
  1617. }
  1618. .text {
  1619. font-weight: bold;
  1620. }
  1621. .button,
  1622. .text {
  1623. margin-right: 0.4em;
  1624. }
  1625. .button,
  1626. .text {
  1627. float: right;
  1628. }
  1629. }
  1630. .content {
  1631. overflow-x: hidden;
  1632. overflow-y: auto;
  1633. margin-bottom: -65px;
  1634. border-top: solid 1px #aaa;
  1635. background: $white;
  1636. padding-top: 0.4em;
  1637. &.console_dark_theme {
  1638. background: $black;
  1639. color: $white;
  1640. .CodeMirror-wrap {
  1641. background: $black;
  1642. color: $white;
  1643. }
  1644. .action_content {
  1645. color: $black;
  1646. }
  1647. .message {
  1648. border-color: #373b41;
  1649. }
  1650. .CodeMirror-cursor {
  1651. border-color: $white;
  1652. }
  1653. .cm-keyword {
  1654. color: #de935f;
  1655. }
  1656. }
  1657. }
  1658. .message,
  1659. .query_input {
  1660. position: relative;
  1661. font-family: Monaco, Consolas, monospace;
  1662. cursor: text;
  1663. margin: 0 10px 0.2em 1.4em;
  1664. }
  1665. .message {
  1666. border-bottom: solid 1px #ccc;
  1667. padding-bottom: 0.2em;
  1668. &.expanded > .action_content {
  1669. position: relative;
  1670. }
  1671. &::before {
  1672. left: -0.7em;
  1673. position: absolute;
  1674. content: ">";
  1675. }
  1676. }
  1677. .query_input {
  1678. &::before {
  1679. left: -0.7em;
  1680. position: absolute;
  1681. content: ">";
  1682. top: -2px;
  1683. }
  1684. textarea {
  1685. width: 100%;
  1686. height: 4em;
  1687. resize: vertical;
  1688. }
  1689. }
  1690. .message {
  1691. &:hover::before {
  1692. color: #7cf;
  1693. font-weight: bold;
  1694. }
  1695. &.expanded::before {
  1696. content: "]";
  1697. }
  1698. &.welcome::before {
  1699. display: none;
  1700. }
  1701. &.failed {
  1702. &::before,
  1703. &.expanded::before,
  1704. &:hover::before {
  1705. content: "=";
  1706. color: #944;
  1707. }
  1708. }
  1709. &.pending::before {
  1710. opacity: 0.3;
  1711. }
  1712. &.collapsed > .query {
  1713. white-space: nowrap;
  1714. text-overflow: ellipsis;
  1715. overflow: hidden;
  1716. }
  1717. &.expanded > .query {
  1718. display: block;
  1719. white-space: pre;
  1720. word-wrap: break-word;
  1721. }
  1722. .text.targetdb,
  1723. &.collapsed .action.collapse,
  1724. &.expanded .action.expand {
  1725. display: none;
  1726. }
  1727. .action {
  1728. &.requery,
  1729. &.profiling,
  1730. &.explain,
  1731. &.bookmark {
  1732. display: none;
  1733. }
  1734. }
  1735. &.select .action {
  1736. &.profiling,
  1737. &.explain {
  1738. display: inline-block;
  1739. }
  1740. }
  1741. &.history .text.targetdb,
  1742. &.successed .text.targetdb {
  1743. display: inline-block;
  1744. }
  1745. &.history .action {
  1746. &.requery,
  1747. &.bookmark {
  1748. display: inline-block;
  1749. }
  1750. }
  1751. &.bookmark .action {
  1752. &.requery,
  1753. &.bookmark {
  1754. display: inline-block;
  1755. }
  1756. }
  1757. &.successed .action {
  1758. &.requery,
  1759. &.bookmark {
  1760. display: inline-block;
  1761. }
  1762. }
  1763. .action_content {
  1764. position: absolute;
  1765. bottom: 100%;
  1766. background: #ccc;
  1767. border: solid 1px #aaa;
  1768. border-top-left-radius: 3px;
  1769. }
  1770. &.bookmark .text.targetdb,
  1771. .text.query_time {
  1772. margin: 0;
  1773. display: inline-block;
  1774. }
  1775. &.failed .text.query_time,
  1776. .text.failed {
  1777. display: none;
  1778. }
  1779. &.failed .text.failed {
  1780. display: inline-block;
  1781. }
  1782. .text {
  1783. background: $white;
  1784. }
  1785. &.collapsed {
  1786. > .action_content {
  1787. display: none;
  1788. }
  1789. &:hover > .action_content {
  1790. display: block;
  1791. }
  1792. }
  1793. .bookmark_label {
  1794. padding: 0 4px;
  1795. top: 0;
  1796. background: #369;
  1797. color: $white;
  1798. border-radius: 3px;
  1799. &.shared {
  1800. background: #396;
  1801. }
  1802. }
  1803. &.expanded .bookmark_label {
  1804. border-top-left-radius: 0;
  1805. border-top-right-radius: 0;
  1806. }
  1807. }
  1808. .query_input {
  1809. position: relative;
  1810. }
  1811. .mid_layer {
  1812. height: 100%;
  1813. width: 100%;
  1814. position: absolute;
  1815. top: 0;
  1816. background: #666;
  1817. display: none;
  1818. cursor: pointer;
  1819. z-index: 200;
  1820. }
  1821. .card {
  1822. position: absolute;
  1823. width: 94%;
  1824. height: 100%;
  1825. min-height: 48px;
  1826. left: 100%;
  1827. top: 0;
  1828. border-left: solid 1px #999;
  1829. z-index: 300;
  1830. transition: left 0.2s;
  1831. &.show {
  1832. left: 6%;
  1833. box-shadow: -2px 1px 4px -1px #999;
  1834. }
  1835. }
  1836. .button.hide,
  1837. .message span.text.hide {
  1838. display: none;
  1839. }
  1840. }
  1841. #pma_bookmarks .content.add_bookmark,
  1842. #pma_console_options .content {
  1843. padding: 4px 6px;
  1844. }
  1845. #pma_bookmarks .content.add_bookmark {
  1846. .options {
  1847. margin-left: 1.4em;
  1848. padding-bottom: 0.4em;
  1849. margin-bottom: 0.4em;
  1850. border-bottom: solid 1px #ccc;
  1851. button {
  1852. margin: 0 7px;
  1853. vertical-align: bottom;
  1854. }
  1855. }
  1856. input[type=text] {
  1857. margin: 0;
  1858. padding: 2px 4px;
  1859. }
  1860. }
  1861. #debug_console {
  1862. &.grouped .ungroup_queries {
  1863. display: inline-block;
  1864. }
  1865. &.ungrouped {
  1866. .group_queries {
  1867. display: inline-block;
  1868. }
  1869. .ungroup_queries,
  1870. .sort_count {
  1871. display: none;
  1872. }
  1873. }
  1874. &.grouped .group_queries {
  1875. display: none;
  1876. }
  1877. .count {
  1878. margin-right: 8px;
  1879. }
  1880. .show_trace .trace,
  1881. .show_args .args {
  1882. display: block;
  1883. }
  1884. .hide_trace .trace,
  1885. .hide_args .args,
  1886. .show_trace .action.dbg_show_trace,
  1887. .hide_trace .action.dbg_hide_trace {
  1888. display: none;
  1889. }
  1890. .traceStep {
  1891. &.hide_args .action.dbg_hide_args,
  1892. &.show_args .action.dbg_show_args {
  1893. display: none;
  1894. }
  1895. &::after {
  1896. content: "";
  1897. display: table;
  1898. clear: both;
  1899. }
  1900. }
  1901. .trace.welcome::after,
  1902. .debug > .welcome::after {
  1903. content: "";
  1904. display: table;
  1905. clear: both;
  1906. }
  1907. .debug_summary {
  1908. float: left;
  1909. }
  1910. .trace.welcome .time,
  1911. .traceStep .file,
  1912. .script_name {
  1913. float: right;
  1914. }
  1915. .traceStep .args pre {
  1916. margin: 0;
  1917. }
  1918. }
  1919. // Code mirror console style
  1920. .cm-s-pma {
  1921. .CodeMirror-code {
  1922. font-family: Monaco, Consolas, monospace;
  1923. pre {
  1924. font-family: Monaco, Consolas, monospace;
  1925. }
  1926. }
  1927. .CodeMirror-measure > pre,
  1928. .CodeMirror-code > pre,
  1929. .CodeMirror-lines {
  1930. padding: 0;
  1931. }
  1932. &.CodeMirror {
  1933. resize: none;
  1934. height: auto;
  1935. width: 100%;
  1936. min-height: initial;
  1937. max-height: initial;
  1938. }
  1939. .CodeMirror-scroll {
  1940. cursor: text;
  1941. }
  1942. }
  1943. // PMA drop-improt style
  1944. .pma_drop_handler {
  1945. display: none;
  1946. position: fixed;
  1947. top: 0;
  1948. left: 0;
  1949. width: 100%;
  1950. background: rgba(0, 0, 0, 0.6);
  1951. height: 100%;
  1952. z-index: 999;
  1953. color: white;
  1954. font-size: 30pt;
  1955. text-align: center;
  1956. padding-top: 20%;
  1957. }
  1958. .pma_sql_import_status {
  1959. display: none;
  1960. position: fixed;
  1961. bottom: 0;
  1962. right: 25px;
  1963. width: 400px;
  1964. border: 1px solid #999;
  1965. background: #f3f3f3;
  1966. border-radius: 4px;
  1967. box-shadow: 2px 2px 5px #ccc;
  1968. h2 {
  1969. background-color: #bbb;
  1970. padding: 0.1em 0.3em;
  1971. margin-top: 0;
  1972. margin-bottom: 0;
  1973. color: $white;
  1974. font-size: 1.6em;
  1975. font-weight: normal;
  1976. text-shadow: 0 1px 0 #777;
  1977. box-shadow: 1px 1px 15px #999 inset;
  1978. }
  1979. }
  1980. .pma_drop_result h2 {
  1981. background-color: #bbb;
  1982. padding: 0.1em 0.3em;
  1983. margin-top: 0;
  1984. margin-bottom: 0;
  1985. color: $white;
  1986. font-size: 1.6em;
  1987. font-weight: normal;
  1988. text-shadow: 0 1px 0 #777;
  1989. box-shadow: 1px 1px 15px #999 inset;
  1990. }
  1991. .pma_sql_import_status {
  1992. div {
  1993. height: 270px;
  1994. overflow-y: auto;
  1995. overflow-x: hidden;
  1996. list-style-type: none;
  1997. li {
  1998. padding: 8px 10px;
  1999. border-bottom: 1px solid #bbb;
  2000. color: rgb(148, 14, 14);
  2001. background: white;
  2002. .filesize {
  2003. float: right;
  2004. }
  2005. }
  2006. }
  2007. h2 {
  2008. .minimize {
  2009. float: right;
  2010. margin-right: 5px;
  2011. padding: 0 10px;
  2012. }
  2013. .close {
  2014. float: right;
  2015. margin-right: 5px;
  2016. padding: 0 10px;
  2017. display: none;
  2018. }
  2019. .minimize:hover,
  2020. .close:hover {
  2021. background: rgba(155, 149, 149, 0.78);
  2022. cursor: pointer;
  2023. }
  2024. }
  2025. }
  2026. .pma_drop_result h2 .close:hover {
  2027. background: rgba(155, 149, 149, 0.78);
  2028. cursor: pointer;
  2029. }
  2030. .pma_drop_file_status {
  2031. color: #235a81;
  2032. span.underline:hover {
  2033. cursor: pointer;
  2034. text-decoration: underline;
  2035. }
  2036. }
  2037. .pma_drop_result {
  2038. position: fixed;
  2039. top: 10%;
  2040. left: 20%;
  2041. width: 60%;
  2042. background: white;
  2043. min-height: 300px;
  2044. z-index: 800;
  2045. box-shadow: 0 0 15px #999;
  2046. border-radius: 10px;
  2047. cursor: move;
  2048. h2 .close {
  2049. float: right;
  2050. margin-right: 5px;
  2051. padding: 0 10px;
  2052. }
  2053. }
  2054. .dependencies_box {
  2055. background-color: white;
  2056. border: 3px ridge black;
  2057. }
  2058. #composite_index_list {
  2059. list-style-type: none;
  2060. list-style-position: inside;
  2061. }
  2062. span.drag_icon {
  2063. display: inline-block;
  2064. background-image: url("../img/s_sortable.png");
  2065. background-position: center center;
  2066. background-repeat: no-repeat;
  2067. width: 1em;
  2068. height: 3em;
  2069. cursor: move;
  2070. }
  2071. .topmargin {
  2072. margin-top: 1em;
  2073. }
  2074. meter {
  2075. &[value="1"]::-webkit-meter-optimum-value {
  2076. background: linear-gradient(white 3%, #e32929 5%, transparent 10%, #e32929);
  2077. }
  2078. &[value="2"]::-webkit-meter-optimum-value {
  2079. background: linear-gradient(white 3%, #f60 5%, transparent 10%, #f60);
  2080. }
  2081. &[value="3"]::-webkit-meter-optimum-value {
  2082. background: linear-gradient(white 3%, #ffd700 5%, transparent 10%, #ffd700);
  2083. }
  2084. }
  2085. // styles for sortable tables created with tablesorter jquery plugin
  2086. th {
  2087. &.header {
  2088. cursor: pointer;
  2089. color: #235a81;
  2090. &:hover {
  2091. text-decoration: underline;
  2092. }
  2093. .sorticon {
  2094. width: 16px;
  2095. height: 16px;
  2096. background-repeat: no-repeat;
  2097. background-position: right center;
  2098. display: inline-table;
  2099. vertical-align: middle;
  2100. float: right;
  2101. }
  2102. }
  2103. &.headerSortUp .sorticon {
  2104. background-image: url("../img/sort-desc.svg");
  2105. }
  2106. &.headerSortDown {
  2107. &:hover .sorticon {
  2108. background-image: url("../img/sort-desc.svg");
  2109. }
  2110. .sorticon {
  2111. background-image: url("../img/sort-asc.svg");
  2112. }
  2113. }
  2114. &.headerSortUp:hover .sorticon {
  2115. background-image: url("../img/sort-asc.svg");
  2116. }
  2117. }
  2118. // end of styles of sortable tables
  2119. // styles for jQuery-ui to support rtl languages
  2120. body .ui-dialog {
  2121. .ui-dialog-titlebar-close {
  2122. right: 0.3em;
  2123. left: initial;
  2124. }
  2125. .ui-dialog-title {
  2126. float: left;
  2127. }
  2128. .ui-dialog-buttonpane .ui-dialog-buttonset {
  2129. float: right;
  2130. }
  2131. .ui-dialog-buttonpane .ui-dialog-buttonset button {
  2132. color: $white;
  2133. background: none;
  2134. background-color: #6c757d !important;
  2135. border-color: #6c757d;
  2136. }
  2137. .ui-dialog-buttonpane .ui-dialog-buttonset button:hover {
  2138. background-color: #5a6268 !important;
  2139. }
  2140. }
  2141. // end of styles for jQuery-ui to support rtl languages
  2142. /* templates/database/multi_table_query */
  2143. .multi_table_query_form {
  2144. .query-form__tr--hide {
  2145. display: none;
  2146. }
  2147. .query-form__fieldset--inline,
  2148. .query-form__select--inline {
  2149. display: inline;
  2150. }
  2151. .query-form__tr--bg-none {
  2152. background: none;
  2153. }
  2154. .query-form__input--wide {
  2155. width: 91%;
  2156. }
  2157. .query-form__multi-sql-query {
  2158. float: left;
  2159. }
  2160. }
  2161. // templates/database/designer
  2162. // side menu
  2163. #name-panel {
  2164. overflow: hidden;
  2165. }
  2166. // Enable scrollable blocks of code
  2167. .pre-scrollable {
  2168. max-height: 340px;
  2169. overflow-y: scroll;
  2170. }
  2171. @media only screen and (max-width: 768px) {
  2172. .responsivetable {
  2173. overflow-x: auto;
  2174. }
  2175. body#loginform div.container {
  2176. width: 100%;
  2177. }
  2178. .largescreenonly {
  2179. display: none;
  2180. }
  2181. .width96 {
  2182. width: 96% !important;
  2183. }
  2184. #page_nav_icons {
  2185. display: none;
  2186. }
  2187. #table_name_col_no {
  2188. top: 62px;
  2189. }
  2190. .tdblock tr td {
  2191. display: block;
  2192. }
  2193. #table_columns {
  2194. margin-top: 60px;
  2195. .tablesorter {
  2196. min-width: 100%;
  2197. }
  2198. }
  2199. .doubleFieldset .pma-fieldset {
  2200. width: 98%;
  2201. }
  2202. div#serverstatusquerieschart {
  2203. width: 100%;
  2204. height: 450px;
  2205. }
  2206. .ui-dialog {
  2207. margin: 1%;
  2208. width: 95% !important;
  2209. }
  2210. }
  2211. #tooltip_editor {
  2212. font-size: 12px;
  2213. background-color: $white;
  2214. opacity: 0.95;
  2215. filter: alpha(opacity=95);
  2216. padding: 5px;
  2217. }
  2218. #tooltip_font {
  2219. font-weight: bold;
  2220. }
  2221. #selection_box {
  2222. z-index: 1000;
  2223. height: 205px;
  2224. position: absolute;
  2225. background-color: #87ceeb;
  2226. opacity: 0.4;
  2227. filter: alpha(opacity=40);
  2228. pointer-events: none;
  2229. }
  2230. #filterQueryText {
  2231. vertical-align: baseline;
  2232. }
  2233. .ui_tpicker_hour_slider,
  2234. .ui_tpicker_minute_slider,
  2235. .ui_tpicker_second_slider,
  2236. .ui_tpicker_millisec_slider,
  2237. .ui_tpicker_microsec_slider {
  2238. margin-left: 40px;
  2239. margin-top: 4px;
  2240. height: 0.75rem;
  2241. }
  2242. .ui-timepicker-div dl .ui_tpicker_timezone select {
  2243. margin-left: 50px;
  2244. }
  2245. .ui_tpicker_time_input {
  2246. width: 100%;
  2247. }
  2248. // Extra large devices (large desktops, 1200px and up)
  2249. @include media-breakpoint-up(xl) {
  2250. div.tools {
  2251. text-align: left;
  2252. }
  2253. .pma-fieldset.tblFooters,
  2254. .tblFooters {
  2255. text-align: left;
  2256. }
  2257. }
  2258. .resize-vertical {
  2259. resize: vertical;
  2260. }
  2261. .table-responsive-md .data {
  2262. z-index: 9;
  2263. }