_common.scss 41 KB

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