Subversion Repositories computer_asset_manager_v2

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
55 rodolico 1
html, body {
2
   height: 100%;
3
   margin: 0;
4
}
5
 
1 rodolico 6
h2 {
7
    color: darkslategrey;
8
  }
9
 
10
 
11
p {
55 rodolico 12
    color: white;
1 rodolico 13
  }
14
 
15
 
53 rodolico 16
a:link {
55 rodolico 17
    color: white;
1 rodolico 18
  }
19
 
53 rodolico 20
a:visited {
55 rodolico 21
   color: white;
53 rodolico 22
}
1 rodolico 23
 
53 rodolico 24
a:hover {
25
   color: grey;
26
}
27
 
28
 
46 rodolico 29
/* 
30
 * never done this before, but using grid containers.
31
 * https://www.w3schools.com/Css/css_grid.asp
32
 */
33
.grid-container {
34
   display: grid;
35
   grid-template-columns: 150px auto;
36
   grid-template-rows: 105px auto;
37
   background: rgb(84,84,72);
38
   color: #000000;
55 rodolico 39
   font-family: Arial;
40
/*   
41
   margin: 0;
42
   padding: 0;
43
*/
46 rodolico 44
   align-content: start;
55 rodolico 45
   width: 100vw;
46
   height: 100vh;
46 rodolico 47
}
1 rodolico 48
 
49
 
45 rodolico 50
.titleimage {
46 rodolico 51
   grid-row-start: 1;
52
   grid-row-end: 1;
53
   grid-column-start: 1;
54
   grid-column-end: 3;
52 rodolico 55
   background: #003b6f;
56
   color: white;
1 rodolico 57
  }
58
 
59
 
46 rodolico 60
.menu {
61
   grid-column: 1;
62
   grid-row: 2;
55 rodolico 63
   color: white;
64
   height: auto;
46 rodolico 65
/*    position: absolute;
66
    left: 5px;
67
    padding: 0px;
68
    width: 150px;
69
    height: 100%;
70
    border-right: groove rgb(64,64,64);
71
*/    
55 rodolico 72
    background: #33bbff;
46 rodolico 73
  }
74
 
45 rodolico 75
.boxtitle {
1 rodolico 76
    background: olivedrab;
77
    color: white;
78
    border: double rgb(204,204,204);
55 rodolico 79
    text-align: center;
1 rodolico 80
  }
81
 
82
 
45 rodolico 83
.box {
1 rodolico 84
    background: rgb(224,224,230);
85
    border: ridge rgb(128,128,128);
86
  }
87
 
88
 
53 rodolico 89
.content {
46 rodolico 90
   grid-column-start: 2;
91
   grid-column-end: 2;
92
   grid-row-start: 2;
93
   grid-row-end: 2;
53 rodolico 94
   background: #003b6f;
95
   color: white;
1 rodolico 96
  }
97
 
55 rodolico 98
.content table {
99
   margin-left: auto;
100
   margin-right: auto;
101
}
102
 
103
.content td {
104
   color: white;
105
}
106
 
107
.content th {
108
   color: white;
109
}
110
 
111
.content p {
53 rodolico 112
   text-align: center;
55 rodolico 113
   color: white;
114
}
115
 
116
.motd {
117
   text-align: center;
118
   width: 100%;
119
   margin-top: 0px;
53 rodolico 120
   position: static;
55 rodolico 121
   border: 1px solid black;
53 rodolico 122
}
123
 
55 rodolico 124
.motd h3 {
53 rodolico 125
  	color: white;
126
  	font-size: 24px;
127
  	padding: 0px 0 0px 0;
128
   valign: top;
129
}
130
 
55 rodolico 131
.motd p {
53 rodolico 132
  	text-align: center;
133
  	color: lightgrey;
134
  	font-size: 12px;
135
  	padding: 0px 0 0px 0;
136
}
137
 
138
 
55 rodolico 139
.stats {
140
   display: inline-block;
141
   text-align: center;
142
   position: static;
143
   /*margin-top: 4px; */
144
   padding: 0px;
145
   width: 150px;
56 rodolico 146
   height: 200px;
55 rodolico 147
   box-sizing: border-box;
148
   border: 1px solid black;
46 rodolico 149
}
1 rodolico 150
 
55 rodolico 151
.stats h3 {
152
  	color: white;
153
  	font-size: 24px;
154
  	padding: 0px 0 0px 0;
155
   valign: top;
53 rodolico 156
}
157
 
55 rodolico 158
.stats p {
159
  	text-align: center;
160
  	color: lightgrey;
161
  	font-size: 12px;
162
  	padding: 0px 0 0px 0;
53 rodolico 163
}
164
 
55 rodolico 165
/*
166
 * the login form
167
 */
168
 
46 rodolico 169
.login {
170
  	width: 400px;
171
  	background-color: #ffffff;
172
  	box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
173
  	margin: 100px auto;
174
}
49 rodolico 175
 
46 rodolico 176
.login h1 {
177
  	text-align: center;
178
  	color: #5b6574;
179
  	font-size: 24px;
180
  	padding: 20px 0 20px 0;
181
  	border-bottom: 1px solid #dee0e4;
182
}
1 rodolico 183
 
46 rodolico 184
.login p {
185
   justify-content: left;
186
   padding-top: 0px;
187
}
1 rodolico 188
 
46 rodolico 189
.login form {
190
  	display: flex;
191
  	flex-wrap: wrap;
192
  	justify-content: center;
193
  	padding-top: 20px;
194
}
195
.login form label {
196
  	display: flex;
197
  	justify-content: center;
198
  	align-items: center;
199
  	width: 50px;
200
  	height: 50px;
201
  	background-color: #3274d6;
202
  	color: #ffffff;
203
}
204
.login form input[type="password"], .login form input[type="text"] {
205
  	width: 310px;
206
  	height: 50px;
207
  	border: 1px solid #dee0e4;
208
  	margin-bottom: 20px;
209
  	padding: 0 15px;
210
}
55 rodolico 211
 
46 rodolico 212
.login form input[type="submit"] {
213
  	width: 100%;
214
  	padding: 15px;
215
 	margin-top: 20px;
216
  	background-color: #3274d6;
217
  	border: 0;
218
  	cursor: pointer;
219
  	font-weight: bold;
220
  	color: #ffffff;
221
  	transition: background-color 0.2s;
222
}
223
.login form input[type="submit"]:hover {
224
	background-color: #2868c7;
225
  	transition: background-color 0.2s;
226
}
1 rodolico 227
 
46 rodolico 228
.login_errors {
229
   background-color: red;
230
}
1 rodolico 231
 
55 rodolico 232
.content form input[type="submit"] {
233
   color: white;
234
	background-color: #3274d6;
235
  	transition: background-color 0.2s;
236
}
237
 
238
.content form input[type="submit"]:hover {
239
	background-color: #2868c7;
240
  	transition: background-color 0.2s;
241
}
242
 
243
/*
244
 * The permissions boxes when editing a user
245
 */
246
 
247
fieldset.login_permissions_group {
248
   margin: 0;
249
   padding: 0;
250
   margin-bottom: 1.25em;
251
}
252
 
253
fieldset.login_permissions_group legend {
254
   margin: 0;
255
   padding: 0;
256
   font-weight: bold;
257
   margin-left: 20px;
258
   font-size: 100%;
259
   color: white;
260
}
261
 
262
ul.login_permissions {
263
   margin: 0;
264
   padding: 0;
265
   margin-left: 20px;
266
   list-style: none;
267
}
268
 
269
ul.login_permissions li input {
270
   margin-right: .25em;
271
}
272
 
273
 
274
ul.login_permissions li label {
275
   margin-left: 0px;
276
}
277
 
278
 
279
ul.login_permissions li {
280
   border: 2px transperent solid;
281
   display: inline-block;
282
   width: 10em;
283
}
284
 
285
ul.login_permissions li:hover,
286
ul.login_permissions li:focus {
287
   background-color: 1px;
288
   border: 1px grey solid;
289
}
290
 
46 rodolico 291
.login_errors p {
292
     	text-align: center;
293
}
1 rodolico 294
 
46 rodolico 295
.category {
296
   border-style: solid;
297
   border-width: thin;
298
   border-color: black;
299
}
300
 
301
.category h3 {
302
   margin-top: 0;
303
   margin: 0;
304
}
59 rodolico 305
 
306
.show_record {
307
   display: inline-block;
308
   vertical-align: top;
309
   width: auto;
310
   border: 1px solid white;
311
}
312
 
313
.show_record table h3 {
314
   vertical-align: top;
315
   margin: 0;
316
   width: auto;
317
   border: 1px solid white;
318
}
319
 
320
.show_record td {
321
   border: 1px solid white;
322
}
46 rodolico 323
 
59 rodolico 324
.show_record ul {
325
   margin: 0;
326
   padding: 0;
327
   margin-left: 20px;
328
   list-style: none;
329
}
330
 
331
.show_record li {
332
   margin-left: 0px;
333
   margin-right: 0px;
334
}
335