_common.scss 55 KB

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