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

Last change on this file since 257 was 257, checked in by quinn, 17 years ago

Added a function to highlight words matching a search query highlightWords().

File size: 1.4 KB
Line 
1/**
2 * codebase.css
3 * code by strangecode :: www.strangecode.com :: this document contains copyrighted information
4 *
5 * CSS used in codebase templates and scripts that generate HTML. Do not arbitrarily
6 * edit this code! This file is used between many sites and modifying it may result
7 * in something breaking. Instead, overwrite these values in a specific site by
8 * adding new definitions to a screen.css file.
9 */
10
11/*_____________________ App.inc.php ____________________*/
12.sc-msg { font-family: verdana,geneva,arial,sans-serif; }
13
14.sc-msg-warning,
15.sc-msg-error,
16.sc-msg-success,
17.sc-msg-notice {
18    margin: 0 0 6px 0;
19    padding: 5px;
20    background: #fff;
21    color: #f00;
22    border: 1px solid #f00;
23}
24.sc-msg-success { color: #090; border-color: #090; }
25.sc-msg-notice { color: #C60; border-color: #C60; }
26
27/*_____________________ PEdit.inc.php ____________________*/
28
29.sc-pedit-form {}
30
31.sc-pedit-item,
32.sc-pedit-buttons { margin: .75em 0; }
33.sc-pedit-buttons { clear: both; }
34
35#sc-pedit-versions-table {
36    margin-bottom: .75em;
37    border-collapse: collapse;
38    border-spacing: 0;
39}
40
41#sc-pedit-versions-table th, 
42#sc-pedit-versions-table td {
43    border-bottom: 1px solid #CC9;
44    margin: 0;
45    padding: 2px 10px;
46    vertical-align: baseline;
47}
48#sc-pedit-versions-table th {
49    white-space: nowrap;
50}
51
52/*_____________________ Utilities.inc.php ____________________*/
53
54.sc-highlightwords {
55    background-color: #EBFE00;
56    color: #000;
57}
Note: See TracBrowser for help on using the repository browser.