summary refs log tree commit diff stats
path: root/theme/admin/css/uni-form.css
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2009-08-13 17:46:09 -0400
committerStarla Insigna <hatkirby@fourisland.com>2009-08-13 17:46:09 -0400
commitb5736e3ad3830fa732dcbd1a518ec3dd6ea7b98a (patch)
tree0449277e94a42aa155995a90fd8a89cb3309e7ab /theme/admin/css/uni-form.css
parent6a1d5b60e6ec541a36727b84b71168f62221f7d7 (diff)
downloadfourisland-b5736e3ad3830fa732dcbd1a518ec3dd6ea7b98a.tar.gz
fourisland-b5736e3ad3830fa732dcbd1a518ec3dd6ea7b98a.tar.bz2
fourisland-b5736e3ad3830fa732dcbd1a518ec3dd6ea7b98a.zip
Rewrote Admin panel
The following database changes must be made:

* A TEXT column called "text" must be added to the end of "polloftheweek"
* The transferPollRss.php script must be run
* The "pollrss" table must be dropped

Closes #113
Diffstat (limited to 'theme/admin/css/uni-form.css')
-rwxr-xr-xtheme/admin/css/uni-form.css118
1 files changed, 118 insertions, 0 deletions
diff --git a/theme/admin/css/uni-form.css b/theme/admin/css/uni-form.css new file mode 100755 index 0000000..53520ba --- /dev/null +++ b/theme/admin/css/uni-form.css
@@ -0,0 +1,118 @@
1@import "uni-form-generic.css";
2/* Keep in mind that wherever you see 'Required property' it means that the property must exist */
3
4/* ------------------------------------------------------------------------------ */
5
6 /* Generals */
7 .uniForm fieldset{}
8 .uniForm fieldset legend{ color: #333; font-weight: bold; font-size: 100%; margin: 0; padding: 1.5em 0; }
9
10 /* This is the main unit that contains our form elements */
11 .uniForm .ctrlHolder{ padding: 7px; border-bottom: 1px solid #dfdfdf; }
12
13 .uniForm .buttonHolder{ text-align: right; }
14 .uniForm .resetButton{ float: left; }
15 .uniForm .primaryAction{ font-weight: bold; }
16
17 /* This class gets added to div.ctrlHolder to highlight the row */
18 .uniForm .focused{ background: #fffcdf; }
19
20 /* .inlineLabel is used for inputs within labels - checkboxes and radio buttons */
21 .uniForm .inlineLabel input,
22 .uniForm .inlineLabels .inlineLabel input,
23 .uniForm .blockLabels .inlineLabel input{ float: left; margin: 0 .4em 0 0; }
24 .uniForm .inlineLabel span{ float: left; width: 90%; }
25
26/* ------------------------------------------------------------------------------ */
27
28 /* .blockLabels (default style, will be applied even if you don't class the parent element) */
29 .uniForm .blockLabels .ctrlHolder{}
30
31 .uniForm label,
32 .uniForm .blockLabels label,
33 .uniForm .blockLabels .label{ margin: 0 0 .5em 0; }
34
35 .uniForm .textInput,
36 .uniForm .blockLabels .textInput,
37 .uniForm .blockLabels .fileUpload{ width: 53%; /* <- Required property */ }
38
39 .uniForm .selectInput,
40 .uniForm select,
41 .uniForm .blockLabels .selectInput,
42 .uniForm .blockLabels select{ width: 53.5%; /* <- Required property */ }
43 .uniForm textarea,
44 .uniForm .blockLabels textarea{ width: 53%; /* <- Required property */ height: 12em; }
45
46 .uniForm .formHint,
47 .uniForm .blockLabels .formHint{ width: 45%; /* <- Required property */ font-size: .9em; color: #777; position: relative; top: -.5em; }
48
49 .uniForm .multiField,
50 .uniForm .blockLabels .multiField{ width: 53%; }
51 .uniForm .multiField .inlineLabel,
52 .uniForm .blockLabels .multiField .inlineLabel{ display: block; margin: 0 0 .5em 0; }
53 .uniForm .multiField .blockLabel,
54 .uniForm .blockLabels .multiField .blockLabel{ width: 30%; margin: 0 10px 0 0; }
55 .uniForm .multiField .blockLabel .textInput,
56 .uniForm .multiField .blockLabel .selectInput,
57 .uniForm .multiField .blockLabel select,
58 .uniForm .blockLabels .multiField .blockLabel .textInput,
59 .uniForm .blockLabels .multiField .blockLabel .selectInput,
60 .uniForm .blockLabels .multiField .blockLabel select{ width: 100%; margin: .3em 0 0 0; }
61
62/* ------------------------------------------------------------------------------ */
63
64 /* .inlineLabels */
65 .uniForm .inlineLabels .ctrlHolder{}
66
67 .uniForm .inlineLabels label,
68 .uniForm .inlineLabels .label{ width: 45%; /* <- Required property */ margin: .3em 2% 0 0; /* <- Required property */ }
69
70 .uniForm .inlineLabels .textInput,
71 .uniForm .inlineLabels .fileUpload{ width: 45%; /* <- Required property */ }
72
73 .uniForm .inlineLabels .selectInput,
74 .uniForm .inlineLabels select{ width: 45%; /* <- Required property */ }
75
76 .uniForm .inlineLabels textarea{ width: 45%; /* <- Required property */ height: 12em; }
77
78 .uniForm .inlineLabels .formHint{ margin-top: 0; margin-left: 47%; font-size: .9em; color: #777; position: static; }
79
80 .uniForm .inlineLabels .multiField{ width: 45%; /* <- Required property */ margin: 0 0 .3em 0; }
81 .uniForm .inlineLabels .multiField .inlineLabel{ display: block; margin: 0 0 .5em 0; }
82 .uniForm .inlineLabels .multiField .blockLabel{ float: left; width: 26%; margin: 0 3% 0 0; }
83 .uniForm .inlineLabels .multiField .blockLabel .textInput,
84 .uniForm .inlineLabels .multiField .blockLabel .selectInput,
85 .uniForm .inlineLabels .multiField .blockLabel select{ width: 100%; margin: .3em 0 0 0; }
86
87/* Focus pseudoclasses */
88.uniForm .ctrlHolder .textInput:focus{ outline: none; /* Get rid of the 'glow' effect in WebKit, optional */ }
89.uniForm .ctrlHolder textarea:focus{ outline: none; /* Get rid of the 'glow' effect in WebKit, optional */ }
90.uniForm div.focused .formHint{ color: #333; }
91
92/* Columns (they are floated left by default) */
93.uniForm .col{ width: 47.9%; /* <- Required property */ margin: 0 2% 20px 0; }
94/* Use .first and .last classes to control the layout/spacing of your columns */
95.uniForm .col.first{ width: 49%; /* <- Required property */ float: left; clear: none; }
96.uniForm .col.last{ width: 49%; /* <- Required property */ float: right; clear: none; margin-right: 0; }
97
98/* Messages */
99.uniForm #errorMsg{ background: #ffdfdf; border: 1px solid #df7d7d; border-width: 1px 0; margin: 0 0 1.5em 0; padding: 7px; }
100.uniForm .error{ background: #ffdfdf; border: 1px solid #df7d7d; border-width: 1px 0; }
101
102 .uniForm #errorMsg dt, .uniForm #errorMsg h3{ margin: 0 0 .5em 0; font-size: 100%; line-height: 100%; font-weight: bold; }
103 .uniForm #errorMsg dd{ margin: 0; padding: 0; }
104 .uniForm #errorMsg ol{ margin: 0; padding: 0; }
105 .uniForm #errorMsg ol li{ margin: 0; padding: 2px; list-style-position: inside; border-bottom: 1px dotted #df7d7d; position: relative; }
106 .uniForm .errorField{ color: #af4c4c; margin: 0 0 6px 0; padding: 4px; background: #ffbfbf; }
107
108.uniForm #OKMsg{ background: #C8FFBF; border: 1px solid #A2EF95; border-width: 1px 0; margin: 0 0 1.5em 0; padding: 7px; }
109 .uniForm #OKMsg p{ margin: 0; }
110
111/*
112IT IS STRONGLY ADVISED TO MAKE YOUR CHANGES AFTER THIS COMMENT BY REPEATING (COPYING) THE SELECTOR FROM ABOVE,
113AND MODIFYING IT WITH YOUR OWN PROPERTIES/VALUES. THIS IS RECOMMENDED BECAUSE IF YOU HAPPEN TO RUN INTO TROUBLE,
114YOU CAN VERY EASILY REVERT TO A GENERIC STYLE OF UNI-FORM. BEST OF LUCK...
115*/
116
117/* ------------------------------------------------------------------------------ */
118