source: trunk/css/codebase.inc.css @ 643

Last change on this file since 643 was 643, checked in by anonymous, 6 years ago

CSS tweaks

File size: 2.4 KB
Line 
1/**
2 * codebase.inc.css
3 *
4 * CSS used in codebase templates and scripts that generate HTML. Do not arbitrarily
5 * edit this code! This file is used between many sites and modifying it may result
6 * in something breaking. Instead, overwrite these values in a specific site by
7 * adding new definitions to a screen.css file.
8 */
9
10/* App.inc.php ------------------------------------------------------ */
11.sc-msg {
12    z-index: 2000000000;  /* Close to the maximum of a 32-bit integer. */
13    margin: 1em 0;
14    background: #fafafa;
15    padding: 0;
16    border: none;
17}
18form .sc-msg-success label { color: #76B15B; font-weight: bold; }
19form .sc-msg-notice label { color: #B19332; font-weight: bold; }
20form .sc-msg-warning label { color: #9200AE; font-weight: bold; }
21form .sc-msg-error label { color: #b34; font-weight: bold; }
22.sc-msg > .sc-msg-success { color: #76B15B; font-weight: bold; }
23.sc-msg > .sc-msg-notice { color: #B19332; font-weight: bold; }
24.sc-msg > .sc-msg-warning { color: #9200AE; font-weight: bold; }
25.sc-msg > .sc-msg-error { color: #b34; font-weight: bold; }
26.sc-msg > .sc-msg-success,
27.sc-msg > .sc-msg-notice,
28.sc-msg > .sc-msg-warning,
29.sc-msg > .sc-msg-error {
30    padding: .25em .5em;
31    margin: 5px 0;
32    color: #fff;
33}
34.sc-msg > .sc-msg-success a:not(.button),
35.sc-msg > .sc-msg-notice a:not(.button),
36.sc-msg > .sc-msg-warning a:not(.button),
37.sc-msg > .sc-msg-error a:not(.button) {
38    color: #fff;
39    text-decoration: underline;
40}
41.sc-msg > .sc-msg-success { background-color: #76B15B; }
42.sc-msg > .sc-msg-notice { background-color: #B19332; }
43.sc-msg > .sc-msg-warning { background-color: #9200AE; }
44.sc-msg > .sc-msg-error { background-color: #b34; }
45
46/* PEdit.inc.php ---------------------------------------------------- */
47.sc-pedit-form {}
48.sc-pedit-item,
49.sc-pedit-buttons { margin: .75em 0; }
50.sc-pedit-buttons { clear: both; }
51#sc-pedit-versions-table {
52    margin-bottom: .75em;
53    border-collapse: collapse;
54    border-spacing: 0;
55}
56#sc-pedit-versions-table th,
57#sc-pedit-versions-table td {
58    border-bottom: 1px solid #CC9;
59    margin: 0;
60    padding: 2px 10px;
61    vertical-align: baseline;
62}
63#sc-pedit-versions-table th {
64    white-space: nowrap;
65}
66
67/* Utilities.inc.php ------------------------------------------------ */
68.sc-highlightwords {
69    background-color: #EBFE00;
70    color: #000;
71}
72
73/* Captcha.inc.php -------------------------------------------------- */
74#sc-captcha {
75    font-size: 0.5em;
76    line-height: 0.8em;
77}
Note: See TracBrowser for help on using the repository browser.