styles.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611
  1. /* global styles */
  2. body {
  3. margin-right: auto;
  4. min-width: 960px;
  5. padding-bottom: 1em;
  6. color: #444;
  7. font: .8em sans-serif;
  8. background: url(../themes/pmahomme/img/left_nav_bg.png) repeat-y 80px 0 #f3f3f3;
  9. }
  10. input,
  11. button,
  12. select,
  13. textarea,
  14. th,
  15. td {
  16. font: 1em sans-serif;
  17. }
  18. img {
  19. border: 0;
  20. }
  21. a,
  22. a:link,
  23. a:visited,
  24. a:active {
  25. text-decoration: none;
  26. color: #235a81;
  27. cursor: pointer;
  28. outline: none;
  29. }
  30. a:hover {
  31. text-decoration: underline;
  32. color: #235a81;
  33. }
  34. h1 {
  35. font-size: 1.5em;
  36. }
  37. /* language selection box */
  38. #select_lang {
  39. position: absolute;
  40. right: 1em;
  41. top: 1em;
  42. }
  43. /* menu */
  44. #menu {
  45. float: left;
  46. width: 220px;
  47. font-size: 1.1em;
  48. }
  49. #menu ul {
  50. margin: 1em 1em 1em .5em;
  51. padding: 0;
  52. list-style: none;
  53. }
  54. #menu li a {
  55. padding: .5em .6em;
  56. margin-right: .6em;
  57. display: block;
  58. color: #333;
  59. text-decoration: none;
  60. zoom: 1; /* IE fix */
  61. }
  62. #menu li a:hover, #menu li a:active, #menu li a.active {
  63. background-color: #e4e4e4;
  64. }
  65. /* page contents and footer layout */
  66. #page {
  67. margin-left: 220px;
  68. margin-right: 25px;
  69. }
  70. #footer {
  71. margin-top: 1em;
  72. }
  73. #footer a {
  74. margin-right: 0.5em;
  75. text-decoration: none;
  76. font-size: small;
  77. }
  78. /* phpMyAdmin logo colors */
  79. .blue {
  80. color: #666699;
  81. }
  82. .orange {
  83. color: #FF9900;
  84. }
  85. .red {
  86. color: #C00;
  87. }
  88. /* main page messages */
  89. /* message boxes: error, confirmation */
  90. .success h4,
  91. .notice h4,
  92. div.error h4 {
  93. border-bottom: 1px solid;
  94. font-weight: bold;
  95. margin: 0 0 .2em 0;
  96. }
  97. div.success,
  98. div.notice,
  99. div.error {
  100. margin: .5em 0 1.3em 0;
  101. border: 1px solid;
  102. background: no-repeat 10px 10px;
  103. padding: 10px 10px 10px 25px;
  104. -moz-border-radius: 5px;
  105. -webkit-border-radius: 5px;
  106. border-radius: 5px;
  107. -moz-box-shadow: 0 1px 1px #fff inset;
  108. -webkit-box-shadow: 0 1px 1px #fff inset;
  109. box-shadow: 0 1px 1px #fff inset;
  110. }
  111. .success a,
  112. .notice a,
  113. .error a {
  114. text-decoration: underline;
  115. }
  116. .success {
  117. color: #000;
  118. background-color: #ebf8a4;
  119. }
  120. h1.success,
  121. div.success {
  122. border-color: #a2d246;
  123. background: url(../themes/pmahomme/img/s_success.png) no-repeat 5px 10px;
  124. }
  125. .success h4 {
  126. border-color: #00FF00;
  127. }
  128. .notice {
  129. color: #000;
  130. background-color: #e8eef1;
  131. }
  132. h1.notice,
  133. div.notice {
  134. border-color: #3a6c7e;
  135. background: url(../themes/pmahomme/img/s_notice.png) no-repeat 5px 10px;
  136. }
  137. .notice h4 {
  138. border-color: #ffb10a;
  139. }
  140. .error {
  141. border: 1px solid maroon !important;
  142. color: #000;
  143. background: pink;
  144. }
  145. h1.error,
  146. div.error {
  147. border-color: #333;
  148. background: url(../themes/pmahomme/img/s_error.png) no-repeat 5px 10px;
  149. }
  150. div.error h4 {
  151. border-color: #ff0000;
  152. }
  153. div.notice[id^=version_check] {
  154. border-color: #002DFF;
  155. background-color: #EEF;
  156. }
  157. div.notice[id^=version_check] h4 {
  158. border-color: #002DFF;
  159. }
  160. /* form tabs */
  161. ul.tabs {
  162. margin: 1.1em 2px 0;
  163. padding: 0 0 3px 0;
  164. list-style: none;
  165. font-weight: bold;
  166. }
  167. ul.tabs li {
  168. float: left;
  169. margin-bottom: -1px;
  170. }
  171. ul.tabs li a {
  172. display: block;
  173. margin: 1px .2em 0;
  174. white-space: nowrap;
  175. text-decoration: none;
  176. border: 1px solid #D5D5D5;
  177. border-bottom: 1px solid #aaa;
  178. }
  179. ul.tabs li a {
  180. padding: 7px 10px;
  181. -webkit-border-radius: 5px 5px 0 0;
  182. -moz-border-radius: 5px 5px 0 0;
  183. border-radius: 5px 5px 0 0;
  184. background: #f2f2f2;
  185. color: #555;
  186. text-shadow: 0 1px 0 #fff;
  187. }
  188. ul.tabs li a:hover,
  189. ul.tabs li a:active {
  190. background: #e5e5e5;
  191. }
  192. ul.tabs li.active a {
  193. background-color: #fff;
  194. margin-top: 1px;
  195. color: #000;
  196. text-shadow: none;
  197. border-color: #aaa;
  198. border-bottom: 1px solid #fff;
  199. }
  200. .tabs_contents {
  201. margin-top: 13px;
  202. }
  203. .tabs_contents fieldset {
  204. margin-top: 0;
  205. }
  206. .tabs_contents legend {
  207. display: none;
  208. }
  209. /* "restore default value" and "set value: foo" buttons */
  210. .restore-default img, .set-value img {
  211. margin-bottom: -3px;
  212. }
  213. .userprefs-comment {
  214. cursor: help;
  215. float: right;
  216. }
  217. /* forms */
  218. fieldset {
  219. margin-top: 1em;
  220. border-radius: 4px 4px 0 0;
  221. -moz-border-radius: 4px 4px 0 0;
  222. -webkit-border-radius: 4px 4px 0 0;
  223. border: #aaa solid 1px;
  224. padding: 1.5em;
  225. background: #eee;
  226. text-shadow: 0 1px 0 #fff;
  227. -moz-box-shadow: 1px 1px 2px #fff inset;
  228. -webkit-box-shadow: 1px 1px 2px #fff inset;
  229. box-shadow: 1px 1px 2px #fff inset;
  230. }
  231. fieldset.optbox {
  232. padding: 0;
  233. }
  234. fieldset fieldset {
  235. margin: .8em;
  236. border: 1px solid #aaa;
  237. background: #E8E8E8;
  238. }
  239. fieldset legend {
  240. font-weight: bold;
  241. color: #444;
  242. padding: 5px 10px;
  243. border-radius: 2px;
  244. -moz-border-radius: 2px;
  245. -webkit-border-radius: 2px;
  246. border: 1px solid #aaa;
  247. background-color: #fff;
  248. -moz-box-shadow: 3px 3px 15px #bbb;
  249. -webkit-box-shadow: 3px 3px 15px #bbb;
  250. box-shadow: 3px 3px 15px #bbb;
  251. }
  252. .form {
  253. border: 2px #DEE1FF solid;
  254. }
  255. fieldset p {
  256. margin: 0;
  257. padding: .5em;
  258. background: #fff;
  259. border-top: 0;
  260. }
  261. fieldset .errors { /* form error list */
  262. margin: 0 -2px 1em -2px;
  263. padding: 0.5em 1.5em;
  264. background: #FBEAD9;
  265. border: 1px #C83838 solid;
  266. border-width: 1px 0;
  267. list-style: none;
  268. font-family: sans-serif;
  269. font-size: small;
  270. }
  271. fieldset .inline_errors { /* field error list */
  272. margin: 0.3em 0.3em 0.3em 0;
  273. padding: 0;
  274. list-style: none;
  275. color: #9A0000;
  276. font-size: small;
  277. }
  278. table caption, table th, table td {
  279. text-shadow: 0 1px 0 #FFFFFF;
  280. }
  281. fieldset th {
  282. width: 40%;
  283. min-width: 350px;
  284. padding: 0.3em 0.3em 0.3em 0.5em;
  285. text-align: left;
  286. font-weight: bold;
  287. vertical-align: top;
  288. }
  289. fieldset.simple th {
  290. width: auto;
  291. min-width: 0;
  292. }
  293. fieldset .doc {
  294. margin-left: 1em;
  295. }
  296. fieldset td {
  297. padding-top: 0.3em;
  298. vertical-align: top;
  299. }
  300. fieldset td.userprefs-allow {
  301. padding: 0;
  302. vertical-align: middle;
  303. text-align: center;
  304. width: 3em;
  305. }
  306. fieldset td.userprefs-allow:hover {
  307. cursor: pointer;
  308. background-color: #EEE;
  309. }
  310. fieldset th small {
  311. display: block;
  312. font-weight: normal;
  313. font-family: sans-serif;
  314. font-size: x-small;
  315. color: #666;
  316. }
  317. fieldset th, fieldset td, .form .lastrow {
  318. border-top: 1px solid #D5D5D5;
  319. }
  320. fieldset .group-header th {
  321. background: #EAEDFF;
  322. border: none;
  323. }
  324. fieldset .group-field-1 th, fieldset .group-header-2 th {
  325. padding-left: 1em;
  326. }
  327. fieldset .group-field-2 th, fieldset .group-header-3 th {
  328. padding-left: 2em;
  329. }
  330. fieldset .group-field-3 th {
  331. padding-left: 3em;
  332. }
  333. fieldset .lastrow, .form .lastrow {
  334. border-top: 1px #000 solid;
  335. background: #D3DCE3;
  336. padding: .5em;
  337. text-align: center;
  338. }
  339. input[type=text],
  340. input[type=password],
  341. input[type=number] {
  342. border-radius: 2px;
  343. -moz-border-radius: 2px;
  344. -webkit-border-radius: 2px;
  345. box-shadow: 0 1px 2px #ddd;
  346. -moz-box-shadow: 0 1px 2px #ddd;
  347. -webkit-box-shadow: 0 1px 2px #ddd;
  348. background: white;
  349. border: 1px solid #aaa;
  350. color: #555;
  351. padding: 4px;
  352. margin: 6px;
  353. }
  354. input[type=submit],
  355. button[type=submit]:not(.mult_submit) {
  356. font-weight: bold !important;
  357. }
  358. input[type=submit],
  359. button[type=submit]:not(.mult_submit),
  360. input[type=reset],
  361. input[name=submit_reset],
  362. input.button {
  363. margin-left: 14px;
  364. border: 1px solid #aaa;
  365. padding: 3px 7px;
  366. color: #111;
  367. text-decoration: none;
  368. background: #ddd;
  369. border-radius: 12px;
  370. -webkit-border-radius: 12px;
  371. -moz-border-radius: 12px;
  372. text-shadow: 0 1px 0 #fff;
  373. background-image: url(../themes/svg_gradient.php?from=ffffff&to=cccccc);
  374. background-size: 100% 100%;
  375. background: -webkit-linear-gradient(top, #ffffff, #cccccc);
  376. background: -moz-linear-gradient(top, #ffffff, #cccccc);
  377. background: -ms-linear-gradient(top, #ffffff, #cccccc);
  378. background: -o-linear-gradient(top, #ffffff, #cccccc);
  379. }
  380. input[type=submit]:hover,
  381. button[type=submit]:not(.mult_submit):hover,
  382. input[type=reset]:hover,
  383. input[name=submit_reset]:hover,
  384. input.button:hover {
  385. position: relative;
  386. background-image: url(../themes/svg_gradient.php?from=cccccc&to=dddddd);
  387. background-size: 100% 100%;
  388. background: -webkit-linear-gradient(top, #cccccc, #dddddd);
  389. background: -moz-linear-gradient(top, #cccccc, #dddddd);
  390. background: -ms-linear-gradient(top, #cccccc, #dddddd);
  391. background: -o-linear-gradient(top, #cccccc, #dddddd);
  392. cursor: pointer;
  393. }
  394. input[type=submit]:active,
  395. button[type=submit]:not(.mult_submit):active,
  396. input[type=reset]:active,
  397. input[name=submit_reset]:active,
  398. input.button:active {
  399. position: relative;
  400. top: 1px;
  401. left: 1px;
  402. }
  403. input[type="checkbox"],
  404. input[type="radio"] {
  405. vertical-align: -11%;
  406. }
  407. select {
  408. -moz-border-radius: 2px;
  409. -webkit-border-radius: 2px;
  410. border-radius: 2px;
  411. -moz-box-shadow: 0 1px 2px #ddd;
  412. -webkit-box-shadow: 0 1px 2px #ddd;
  413. box-shadow: 0 1px 2px #ddd;
  414. border: 1px solid #aaa;
  415. color: #333;
  416. padding: 3px;
  417. background: white;
  418. margin: 6px;
  419. }
  420. fieldset.simple th, fieldset.simple td {
  421. border-top: none;
  422. border-bottom: 1px #555 dotted;
  423. }
  424. fieldset.simple .lastrow {
  425. border: 0;
  426. }
  427. /* form elements */
  428. span.checkbox {
  429. padding: 2px;
  430. display: inline-block;
  431. }
  432. .custom { /* customized field */
  433. background: #FFC;
  434. }
  435. .checkbox.custom {
  436. padding: 1px;
  437. border: 1px #EDEC90 solid;
  438. }
  439. .field-error {
  440. border-color: #C11 !important;
  441. }
  442. .field-comment {
  443. position: relative;
  444. }
  445. .field-comment-mark {
  446. cursor: help;
  447. padding: 0 0.2em;
  448. font-weight: bold;
  449. font-style: italic;
  450. }
  451. .field-comment-warning {
  452. color: #A00;
  453. }
  454. .green { /* default form button */
  455. color: #080 !important;
  456. }
  457. table.datatable {
  458. margin: 0.5em 0 1em;
  459. }
  460. table.datatable th {
  461. padding: 0 1em 0 0.5em;
  462. border-bottom: 1px #999 solid;
  463. text-align: left;
  464. }
  465. table.datatable td {
  466. padding: 1px 0.5em;
  467. border-bottom: 1px #DEE1FF solid;
  468. }
  469. /* textarea with config file's contents */
  470. #textconfig {
  471. width: 100%;
  472. border: 0;
  473. }
  474. /* error list */
  475. dd {
  476. margin-left: 0.5em;
  477. }
  478. dd:before {
  479. content: "\25B8 ";
  480. }
  481. /* links on failed validation page, when saving a form */
  482. a.btn {
  483. padding: 1px 5px;
  484. text-decoration: none;
  485. background: #E2E8FF;
  486. border: 1px #A6C8FF solid;
  487. border-top-color: #AFD0FF;
  488. border-left-color: #AFD0FF;
  489. font-weight: bold;
  490. }
  491. a.btn:hover, a.btn:active {
  492. background: #E6F5FF;
  493. color: #004C96;
  494. }
  495. .hide {
  496. display: none;
  497. }