styles.css 11 KB

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