styles.css 11 KB

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