aboutsummaryrefslogtreecommitdiffstats
path: root/template/cclear/default-layout.css
blob: 18d96bfa42a1e5c6088e10e2bacbb290d90a26dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
@import "menubar.css";
@import "content.css";
@import "image.css";

/* $Id$ */

/* * { padding: 0 !important; margin: 0 !important; } */

BODY {
    margin: 5px;
    padding: 0;
    font-size: 100%;
    font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
    text-align: center; /* be nice to IE5 */
}

#the_page {
    /* Just in case another template needs an inner frame */
}

H1 {
    text-align: center;
    font-size: 150%;
    font-weight: bold;
    padding: 0; margin: 1ex 0 2ex 0;
}

H2 {
    margin: 0;
    padding: 5px 10px;
    text-align: left;
    font-size: 120%;
}

A {
    text-decoration:none;
    /*border-bottom: 1px dotted #000000;*/
}
A:hover {
    border-bottom-style: solid;
}

IMG {
    border: none;
}

#copyright {
    clear: both;
    font-size: 83%;
    text-align: center;
    margin: 0 0 10px 0;
}

/** General defaults **/
ul, dl, li { text-align: left;}
/* for debugging purpose */
pre { text-align:left; }

/** forms **/
div.formbox {
  width: 70%;
  margin: 0 auto 1em auto;
}
form { padding: 0.5em; }
/* form row are dl instead of table rows */
form dl {
  text-align: left;   /* must set it there otherwise IE render dl.biglabel dt incorectly */
  margin-top: 0;
  margin-bottom: 0;
    font-size: 100%; /* TO DO : alignement pb in Opera !!!*/
}
form dt {
  float: left;
  /*text-align: left;*/
  width: 60%;
  margin-top: 0.25em;
  margin-bottom: 0.25em;
}
form dd {
  /*text-align: left;*/
  /*margin-top: 0.5em;*/
  margin:0;
  padding:0;
  margin-top: 0.25em;
  margin-bottom: 0.25em;
}
/* we must use one dl.biglabel per <dt><dl> because of positionning */
form dl.biglabel {
  position: relative; /* to allow position: absolute in dd*/
}
form dl.biglabel dt {
  float: none;
}

form dl.biglabel dd {
  /*float: right; do not whant to float ????*/
  /*width: 60%;*/
  position: absolute;
  top: 0;
  left: 60%; /* same as form dt width */
}
form dl.biglabel dd { padding-left:2px;} /* IE */
form dl.biglabel>dd { padding-left:0;}	/* other browsers */

form p {
	text-align: center;
	margin-top: 2em;
	margin-bottom: 2em;
}

form table {
	width: 99%; /* IE 6 seems to dislike 100% in admin->user */
}
.small {
	font-size: 80%;
}

textarea.description {
  height: 100px;
  width: 500px;
  overflow: auto;
}
select.categoryList {
  width: 400px;
}

/** go to an admin.css ? **/
/**
 * Informations box in administration
 */
#infos {
  text-align: left;
  background-color: #eee;
  background-image: url(admin/images/infos.png);
  background-repeat: no-repeat;
  background-position: top right;
  color: black;
  font-weight: bold;
  margin: 5px;
  border:1px solid gray;
  padding: 10px 50px 10px 10px;
}

.table2 {
	border: 1px solid #000000; 
	margin:	auto 10px auto 10px;
	padding:0px;
}
form#add_virtual p { text-align: left; }
form#categoryOrdering p {
	text-align: left;
	margin-top: 1em;
	margin-bottom: 1em;
}
form#categoryOrdering>ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

form#categoryOrdering>ul>li {
  border: 1px solid grey;
  padding: 0px 5px;
  margin-bottom: 5px;
}

form#categoryOrdering ul.categoryActions {
  float: right;
  margin-top: 5px;
}

form#cat_modify table { width: auto; }