_common.scss 48 KB

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