_common.scss 41 KB

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