source: trunk/template/yoga/default-layout.css @ 948

Last change on this file since 948 was 948, checked in by chrisaga, 18 years ago
  • report bug 206 correction and some template improvement from branch 1.5
  • feature 195 : add an "Admin" link under "Home" in the menu bar of the admin page
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.9 KB
Line 
1
2@import "menubar.css";
3@import "content.css";
4@import "image.css";
5@import "popuphelp.css";
6
7/* $Id: default-layout.css 948 2005-11-19 23:46:18Z chrisaga $ */
8
9/* * { padding: 0 !important; margin: 0 !important; } */
10
11BODY {
12    margin: 5px;
13    padding: 0;
14    font-size: 0.8em;
15    font-family: Bitsream Vera Sans, Helvetica, Arial, sans-serif;
16    text-align: center; /* be nice to IE5 */
17}
18
19#the_page {
20    /* Just in case another template needs an inner frame */
21}
22
23H1 {
24    text-align: center;
25    font-size: 150%;
26    font-weight: bold;
27    padding: 0; margin: 1ex 0 2ex 0;
28}
29
30H2 {
31    margin: 0;
32    padding: 5px;
33    text-align: left;
34    font-size: 120%;
35}
36
37A {
38    text-decoration:none;
39    border-bottom: 1px dotted #005e89;
40}
41A:hover {
42    border-bottom: 1px solid #858460;
43}
44
45IMG {
46    border: none;
47}
48
49HR.separation {
50  visibility: hidden;
51  clear: both;
52}
53
54#copyright {
55    clear: both;
56    font-size: 83%;
57    text-align: center;
58    margin: 0 0 10px 0;
59}
60
61/** General defaults **/
62INPUT {margin: 0;}
63ul, dl, li { text-align: left;}
64/* for debugging purpose */
65pre { text-align:left; }
66
67/** forms **/
68
69form { padding: 0em; }
70
71form p {
72        text-align: center;
73        margin-top: 2em;
74        margin-bottom: 2em;
75}
76.small {
77        font-size: 80%;
78}
79
80textarea.description {
81  height: 100px;
82  width: 500px;
83  overflow: auto;
84}
85select.categoryList {
86  width: 100%;
87}
88
89/** go to an admin.css ? **/
90
91.table2 {
92  border: 1px solid black; 
93  margin: 1em auto;
94  padding: 0;
95}
96
97.table2 TD, .table2 TH {
98  padding: 0 1em;
99}
100
101form#add_virtual p { text-align: left; }
102FORM#categoryOrdering, FORM#addVirtual {
103  padding-left: 1em; /* same as FIELDSET margin (there is no fieldset in this form) */
104  padding-right: 1em; /* same as FIELDSET margin (there is no fieldset in this form) */
105}
106FORM#categoryOrdering p {
107        text-align: left;
108        margin-top: 1em;
109        margin-bottom: 1em;
110}
111UL.categoryUl {
112  list-style: none;
113  padding: 0;
114  margin: 0;
115}
116
117LI.categoryLi {
118  border: 1px solid gray;
119  padding: 0px 5px;
120  margin-bottom: 5px;
121}
122
123form#categoryOrdering ul.categoryActions {
124  float: right;
125  margin-top: 5px;
126}
127
128form#cat_modify table { width: auto; }
129
130/**
131 * Filter forms are displayed label by label with the input (or select...)
132 * below the label
133 */
134FIELDSET {
135  padding: 1em;
136  margin: 1em;
137}
138
139FORM.filter FIELDSET LABEL {
140  display: block;
141  float: left;
142  width: auto;
143  margin-right: 10px;
144  padding: 0;
145}
146
147FORM.filter FIELDSET LABEL INPUT,
148FORM.filter FIELDSET LABEL SELECT,
149FORM.filter FIELDSET LABEL TEXTAREA {
150  display: block;
151  margin: 0.5em 0;
152}
153
154FORM.filter FIELDSET P,
155FORM.filter FIELDSET INPUT,
156FORM.filter FIELDSET TEXTAREA {
157  clear: left;
158  display: block;
159}
160
161FORM.filter INPUT[type="submit"] {
162  margin-top: 1em;
163}
164
165FORM.properties UL, FORM#update UL {
166  list-style-type: none;
167  margin: 0;
168  padding: 0;
169}
170
171FORM.properties LI, FORM#update UL  {
172  margin-bottom: 0.5em;
173  padding: 0;
174  line-height: 1.8em;
175}
176
177FORM.properties LABEL {
178  float: left;
179  width: 50%;
180  text-align: right;
181  margin: 0;
182  padding: 0 0.5em 0 0;
183}
184
185FORM#quickconnect { 
186  margin: 0;
187}
188
189FORM#quickconnect FIELDSET {
190  margin: 5px;
191}
192
193FORM#quickconnect P {
194  text-align: center;
195}
196
197FORM#quickconnect P INPUT {
198  display: inline;
199}
200
201FORM.properties LABEL.mandatory {
202  font-weight: bold;
203}
204
205FORM.properties .focus {
206  background-color: whitesmoke;
207}
208
209FORM.properties .nofocus {
210  background-color: lightgrey; /* must be the same as input background-color */
211}
212
213FIELDSET.elementEdit A {
214  display: block;
215  float: right;
216}
217
218TABLE.doubleSelect {
219  text-align: center;
220  margin: 0 auto;
221  width: 100%;
222}
223
224TABLE.doubleSelect TD {
225  padding: 0 5px;
226  width: 50%;
227}
228
229FORM#categoryPermissions LI {
230  display:inline;
231  white-space: nowrap;
232}
233
234#theHeader {
235}
236
237#theHeader H1 {
238  margin-bottom: 0.5em;
239}
240
241#theHeader P {
242  margin-top: 0;
243  padding: 0;
244}
245
246BODY#theAdminPage #theHeader P { 
247  display: none;
248}
249
250BODY#thePopuphelpPage #copyright {
251  color: green;
252  display: none;
253}
254
255FORM#addComment FIELDSET LABEL {
256  clear: both;
257}
258
259FORM#addComment FIELDSET INPUT[type="hidden"] {
260  display: none;
261}
Note: See TracBrowser for help on using the repository browser.