_common.scss 51 KB

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