source: trunk/templates/dns.css@ 66

Last change on this file since 66 was 66, checked in by Kris Deugau, 13 years ago

/trunk

Basic group permissions editing functional - enforcing is trivial

  • add group now adds the permissions entry. TBD: permission inheritance
  • edit group Does The Right Thing(TM) - either editing the existing entry, or converting an inherited permission group to a separate one. still needs to rewrite subgroup and contained user inherited permissions
  • the HTML permissions table rows have been moved. edit-user should pick this up, and will require calling the template explicitly so as to show both the default and custom permissions.
  • the list of individual permissions have been moved to a list in DNSDB.pm code that refers to this should not assume any given length - this makes adding new permission types (somewhat) easier

Tweak menu group-tree CSS (again) add some (broken) images

  • this should probalby revert to an earlier setup that uses an image as the <li> bullet point rather than pushing the text to the right, since many (most?) nodes will usually be leaf nodes

HTML changes not validated

File size: 4.3 KB
Line 
1#debug {
2 background-color: #990066;
3 padding: 2px;
4}
5
6/* General settings */
7body {
8 font-family: Verdana, Helvetica, sans-serif;
9 font-size: 12px;
10 margin-left: 0px;
11 margin-right: 0px;
12/* background-color: #deadDD;*/
13 background-color: #f8f8f8;
14}
15hr {
16 background-color: #666;
17 height: 1px;
18 border: 0;
19}
20img {
21 border: 0px;
22}
23fieldset {
24 border: none;
25 padding: 0px;
26 margin: 0px;
27}
28
29table.login {
30 text-align: center;
31 border: thin solid #000000;
32 background-color: #CCCCFF;
33}
34table.list {
35 background-color: #F0F0F0;
36}
37table.container {
38 background-color: #FFFFFF;
39 border: none;
40}
41table.wholepage {
42 width: 100%;
43}
44table.border {
45 border: thin solid #000000;
46}
47
48tr.row0 {
49 background-color: #FFFFFF;
50}
51tr.row1 {
52 background-color: #DDDDDD;
53}
54tr.tableheader {
55 background-color: #CCCCCC;
56 padding: 3px;
57 text-align: left;
58}
59tr.darkrowheader {
60 background-color: #CCCCCC;
61 padding: 3px;
62}
63tr.datalinelight {
64 background-color: #F0F0F0;
65 text-align: left;
66}
67
68th {
69 background-color: #F0F0F0;
70 font-size: 1.1em;
71 font-weight:normal;
72 padding: 4px;
73}
74
75td.tblsubmit {
76 background-color: #F0F0F0;
77 text-align: center;
78}
79td.inputlabel {
80 text-align: right;
81 padding: 3px;
82}
83td.datahead_l {
84 background-color: #F0F0F0;
85 border-bottom: 1px solid #666666;
86 text-align: left;
87}
88td.datahead_s {
89 background-color: #F0F0F0;
90 border-bottom: 1px solid #666666;
91 width: 1%;
92 white-space: nowrap;
93}
94td.data_nowrap {
95 white-space: nowrap;
96}
97td.data {
98 padding: 3px;
99}
100td.title {
101 text-align: center;
102}
103td.menu {
104 width: 200px;
105 white-space: nowrap;
106 border: thin solid #000000;
107 background-color: #ffccee;
108 vertical-align: top;
109}
110td.defaults {
111 background-color: #DDDDDD;
112}
113td.errhead {
114 font-weight: bold;
115 font-size: 110%;
116 color: red;
117 background-color: #404040;
118 text-align: center;
119 padding: 3px;
120 border: solid 2px #FF0000;
121}
122td.err {
123 border: solid 2px #FF0000;
124 color: red;
125 background-color: #e0e0e0;
126}
127td.warn {
128 border: solid 2px #FFFF00;
129 color: #333300;
130 background-color: #e0e0e0;
131}
132td.leftthird {
133 width: 36%;
134 text-align: left;
135}
136td.rightthird {
137 width: 36%;
138 text-align: right;
139}
140td.border {
141 background-color: #e0e0e0;
142 border: solid 1px #101010;
143 padding: 2px;
144}
145td.noaccess {
146 background-color: #ffe8e8;
147 color: #2f0000;
148}
149
150.meat {
151 align: center;
152 width: 100%;
153}
154input {
155 font-size: 10px;
156}
157
158ul {
159 margin-left: 10px;
160 padding: 0px;
161 list-style: none outside none;
162}
163/* F*** ME BUT THIS LOOKS LIKE CRAP! */
164/* Need to find a way to vertically centre the plus image on the text. >:( */
165li.hassub {
166 background-image: url('../images/plus.png');
167 background-repeat: no-repeat;
168 background-position: 0px 1px;
169 padding-left: 14px;
170 //list-style: none outside url('../images/fwd.png');
171 margin-left: -12px;
172}
173li.leaf {
174 //list-style: none outside none;
175 //margin-left: 0px;
176 background-image: url('../images/midleaf.png');
177 background-repeat: no-repeat;
178 background-position: 0px 1px;
179 padding-left: 14px;
180 margin-left: -12px;
181}
182li.lastinlvl {
183 background-image: url('../images/lastleaf.png');
184 background-repeat: no-repeat;
185 background-position: 0px 1px;
186 padding-left: 14px;
187 //list-style: none outside url('../images/lastleaf.png');
188 margin-left: -12px;
189}
190ul.grptree {
191 list-style-type: none;
192 padding: 0px;
193 margin-left: 14px;
194}
195#grptree {
196 //margin-left: 10px;
197}
198/* general classes */
199.errmsg {
200 font-weight: bold;
201 font-family: Verdana, Arial, Helvetica, sans-serif;
202 font-size:100%;
203 color: red;
204 background-color: #404040;
205 text-align: center;
206 border: thin solid #FFFFFF;
207 padding: 5px;
208 width: 70%;
209}
210.right {
211 right: 3px;
212}
213.center {
214 text-align: center;
215}
216
217#header {
218 border-bottom: thin solid #000000;
219 clear: both;
220 float: left;
221 width: 100%;
222}
223#footer {
224 border-top: thin solid #000000;
225 clear: both;
226}
227#contact {
228 font-size: 10px;
229 position: absolute;
230 right: 10px;
231 text-align: right;
232}
233
234#main {
235 position: relative;
236 float: right;
237 width: 100%;
238}
239#login {
240 margin-top: 50px;
241 margin-bottom: 50px;
242 padding: 3px;
243 border: thin solid #000000;
244}
245#tableholder {
246 padding: 2px;
247 background: #FFFFFF;
248 width: 70%;
249}
250#menu {
251 border-right: thin solid #000000;
252 margin-right: 5px;
253 padding: 5px;
254}
255#soadetail {
256 text-align: left;
257}
258/* somewhat generic/reusable */
259#datatablewrapper {
260 border: none;
261 width: 98%;
262 margin-left: 1%;
263 margin:right: 1%;
264}
Note: See TracBrowser for help on using the repository browser.