Browse Source

Upload files to 'public_html/style'

david.ortiz11 5 years ago
parent
commit
07caf52394
2 changed files with 679 additions and 0 deletions
  1. 80
    0
      public_html/style/inventory.css
  2. 599
    0
      public_html/style/main.css

+ 80
- 0
public_html/style/inventory.css View File

@@ -0,0 +1,80 @@
1
+.edit-text{
2
+	position: absolute;
3
+	resize: both;
4
+	border-radius: 5px;
5
+	border: 1px solid lightgray;
6
+	padding: 5px;
7
+}
8
+
9
+.form-window{
10
+	width: 100%;
11
+	height: 100%;
12
+	color: #282828;
13
+	display: none;
14
+	text-align: center;
15
+	position: absolute;
16
+	z-index: 9998;
17
+	background-color: rgb(0,0,0,0.25);
18
+}
19
+.form-wrapper{
20
+	height: 85%;
21
+	width: 40%;
22
+	position: relative;
23
+	z-index: 9999;
24
+	top: 50%;
25
+	transform: translateY(-50%);
26
+	overflow: auto;
27
+	margin: auto;
28
+	border-radius: 5px;
29
+	padding: 1.25%;
30
+	background-color: #ffffff;
31
+
32
+}
33
+.form-header{
34
+	float: left;
35
+	display: inline-block;
36
+	text-transform: capitalize;
37
+}
38
+.close-icon{
39
+	color: #fd351d;
40
+	float: right;
41
+	display: inline-block;
42
+	cursor: pointer;
43
+}
44
+.close-icon:hover{
45
+  opacity: 0.75;
46
+  transition: opacity 0.5s;}
47
+.form{
48
+	padding: 7.5px;
49
+	width: 100%;
50
+	display: inline-block;
51
+	float: left;
52
+	text-align: left;
53
+}
54
+
55
+.form-header-wrapper{
56
+	display: block;
57
+	width: 100%;
58
+}
59
+.li-wrapper{
60
+	margin-bottom: 1%;
61
+}
62
+.text-field{
63
+	width: 100%;
64
+	display: block;
65
+
66
+	border: 1px solid lightgray;
67
+	border-radius: 5px;
68
+	padding: 7.5px;
69
+  background-color: #eaeded;
70
+}.empty-field{
71
+  border: 1px solid #fd351d; 
72
+}
73
+
74
+.required-field{
75
+	color: #fd351d;
76
+}
77
+.fields-required{
78
+	color: #fd351d;
79
+	display: none;
80
+}

+ 599
- 0
public_html/style/main.css View File

@@ -0,0 +1,599 @@
1
+/*  Authors         :   Carlos C. Corrada-Bravo
2
+                        David J. Ortiz-Rivera
3
+                        José A. Quiñones-Flores
4
+
5
+    Organization    :   Centro de Desarrollo y Consultoria Computacional
6
+    Project         :   OPASO Material Registry   
7
+    File            :   main.css
8
+    Description     :   Main styling for page, navbar and footer. */
9
+
10
+/* html,body,row - sizing/font */
11
+body,html{
12
+  width: 100%;
13
+  height: 100%;
14
+  font-family: Futura, Trebuchet MS, Arial, sans-serif; font-size: 15px;
15
+}
16
+/* Include padding and borders to element width and height. */
17
+*{
18
+  box-sizing: border-box;
19
+}
20
+/* content - styling/sizing, handle content overflow */
21
+.content{
22
+  width: 100%;
23
+  height: 100%;
24
+  display: block;
25
+  overflow: hidden;
26
+  margin-left: 0%;
27
+  background-color: #ffffff; 
28
+}
29
+/* main - sizing/content overflow */
30
+.main{
31
+  height: 92%;
32
+  padding-left: 5%;
33
+  padding-right: 5%;
34
+}
35
+/* header-wrapper - formatting */
36
+.header-wrapper{
37
+  margin-top: 1%;
38
+  margin-bottom: 1%;
39
+}
40
+/* header - styling/formatting */
41
+.header{
42
+  display: inline-block;
43
+  padding: 7.5px;
44
+  padding-left: 0px;
45
+  color: #282828;
46
+  text-transform: capitalize;
47
+}
48
+.inventory{
49
+  width: 100%;
50
+  height: 85%;
51
+  overflow: auto;
52
+  display: inline-block;
53
+  border-radius: 5px;
54
+  background-color: #eaeded;
55
+
56
+    /* animation-fill-mode: both; */
57
+}
58
+
59
+.inventory-row{
60
+
61
+
62
+}
63
+.inventory-col:first-child{
64
+/*   border-right: 1px solid black;
65
+ */}
66
+
67
+.table{
68
+  height: 100%;
69
+  width: 100%;
70
+  color: #282828;
71
+border: 5px solid rgba(0, 128, 255, 0.0) !important;
72
+  margin-bottom: 0%;
73
+  position: relative;
74
+    z-index:0;
75
+font-size: 15px;
76
+
77
+
78
+
79
+}
80
+.options{
81
+  font-size: 14px;
82
+  border: none;
83
+  cursor: pointer;
84
+  background-color: transparent;
85
+
86
+}
87
+.no-padding{
88
+  padding: 0px;
89
+}
90
+.options:hover{
91
+  opacity: 0.75;
92
+  transition: opacity 0.5s;
93
+}
94
+
95
+.fa-minus-square{
96
+  color: #fd351d ;
97
+}
98
+.fa-copy{
99
+  color: white;
100
+}
101
+.fa-pen{
102
+  color:   #3f5efb    ;
103
+}
104
+th{
105
+  text-align: center;
106
+}
107
+thead{
108
+
109
+
110
+}
111
+.t-row{
112
+  height: 25%;
113
+  width: 100%;
114
+  display: flex;
115
+      animation: alternate_color ease-in-out;
116
+    animation-iteration-count: infinite;
117
+    animation-duration: 4s;
118
+}
119
+tr{
120
+  width: 100%;
121
+
122
+}
123
+td { max-width: 300px;  /*  position: relative; */  z-index:1;
124
+  padding: 7.5px;/* 
125
+    white-space: nowrap;
126
+  overflow: hidden; */
127
+  word-wrap: break-word;
128
+  text-overflow: ellipsis;
129
+  border: none;
130
+
131
+/*       vertical-align: bottom;
132
+ */
133
+} 
134
+
135
+.table td, .table th {
136
+    padding: .75rem;
137
+    vertical-align: top;
138
+    border-top: none;
139
+}
140
+th{
141
+        border-bottom: 1px solid black;
142
+}
143
+.no-padding{
144
+  padding: 0px;
145
+}
146
+.options-cell{
147
+  display: flex ;
148
+}
149
+
150
+.changes-wrapper{
151
+  margin: 2%;
152
+  display: block;
153
+  text-align: center;
154
+}
155
+
156
+.changes{
157
+  min-width: 100px;
158
+  cursor: pointer;
159
+  color: #ffffff;
160
+  border-radius: 5px;
161
+  border: none;
162
+  padding: 10px;
163
+  background-color: #fd351d;
164
+
165
+}.changes:hove{
166
+    opacity: 0.75;
167
+  transition: opacity 0.5s;
168
+}
169
+.submit{
170
+    background-color: #3f5efb;
171
+
172
+}
173
+
174
+p{
175
+/*   display: inline-block;
176
+  float: left; */
177
+  margin: 0px;
178
+}
179
+
180
+.text:-webkit-autofill,
181
+.text:-webkit-autofill:hover, 
182
+.text:-webkit-autofill:focus, 
183
+.text:-webkit-autofill:active{
184
+    -webkit-text-fill-color: gray !important;
185
+  -webkit-box-shadow: 0 0 0 30px #eaeded inset !important;
186
+  background-color: #eaeded;}
187
+/* success/warning - styling */
188
+.success,.warning{
189
+  color: #ffffff;
190
+  padding: 7.5px;
191
+  display: none;
192
+  margin-top: 1%;
193
+  margin-bottom: 1%;
194
+  background-color: rgba(205,97,85,1.0);
195
+}
196
+.success{
197
+  background-color: rgba(82,190,128,1.0);
198
+}
199
+
200
+/* redirect links - formatting */
201
+.redir{
202
+  color: #8cc2ff;
203
+}
204
+.redir:hover{
205
+  text-decoration: none;
206
+}
207
+
208
+/* Loading div styling/formatting */
209
+.loading-screen{
210
+  width: 100%;
211
+  height: 100%;
212
+  color: white;
213
+  display: block;
214
+  text-align: center;
215
+  position: absolute;
216
+  z-index: 9999;
217
+  background-color: rgb(2,2,12);
218
+}
219
+/* Loading text styling/formatting */
220
+.ls-wrapper{
221
+  position: relative;
222
+  top: 50%;
223
+  transform: translateY(-50%);
224
+  overflow: hidden;
225
+  margin: auto;
226
+  text-align: center;
227
+}
228
+/* Loading animation */
229
+.loading-icon{
230
+  margin: auto;
231
+  border: 2.5px solid lightgray;
232
+  border-radius: 50%;
233
+  border-right: 2.5px solid rgba(0,0,0,0.5);
234
+  width: 100px;
235
+  height: 100px;
236
+  -webkit-animation: spin 3s linear infinite; /* Safari */
237
+  animation: spin 3s linear infinite;
238
+}
239
+.loading-text{
240
+  margin-top: 0.5%;
241
+}
242
+/* Fade in animation. */
243
+@keyframes fadein{
244
+  from{
245
+      opacity:0;
246
+  }
247
+  to{
248
+      opacity:1;
249
+  }
250
+}
251
+@-moz-keyframes fadein{ /* Firefox */
252
+  from{
253
+      opacity:0;
254
+  }
255
+  to{
256
+      opacity:1;
257
+  }
258
+}
259
+@-webkit-keyframes fadein{ /* Safari and Chrome */
260
+  from{
261
+      opacity:0;
262
+  }
263
+  to{
264
+      opacity:1;
265
+  }
266
+}
267
+@-o-keyframes fadein{ /* Opera */
268
+  from{
269
+      opacity:0;
270
+  }
271
+  to{
272
+      opacity: 1;
273
+  }
274
+}
275
+/* Spinning animation - Safari */
276
+@-webkit-keyframes spin {
277
+0% { -webkit-transform: rotate(0deg); }
278
+100% { -webkit-transform: rotate(360deg); }
279
+}
280
+/* Spinning animation */
281
+@keyframes spin {
282
+0% { transform: rotate(0deg); }
283
+100% { transform: rotate(360deg); }
284
+}
285
+
286
+.error{
287
+  font-size: 17.5px;
288
+  display: block;
289
+  padding: 1%;
290
+}
291
+
292
+@keyframes alternate_color{
293
+  0% {
294
+    background-color: rgba(0, 0, 0, 0.5);
295
+  }
296
+  
297
+  50% {
298
+    background-color: #eaeded;
299
+  }
300
+  
301
+  100% {
302
+    background-color: rgba(0, 0, 0, 0.5);
303
+  }
304
+}
305
+
306
+/* ------------------------------------ navbar -------------------------------- */
307
+
308
+/* navbar wrapper - formatting */
309
+.nav{
310
+	display: block;
311
+}
312
+.collapse-wrapper{
313
+    padding-left: calc(2.5% - 7.5px);
314
+
315
+  width: 100%;
316
+  display: block;
317
+  overflow-y: auto;
318
+
319
+    max-height: 0;
320
+    transition: max-height 0.50s ease-out;
321
+    }
322
+
323
+.navbar:hover .collapse-wrapper{
324
+    max-height: 500px;
325
+    transition: max-height 0.75s ease-in;
326
+
327
+}
328
+
329
+/* navbar - styling/formatting */
330
+.navbar{
331
+  position: relative;
332
+  text-align: left;
333
+  justify-content: space-between;
334
+  color: #ffffff;
335
+  width: 100%;
336
+  height: 7%;
337
+  padding: 0.25%;
338
+	padding-left: 2.5%;
339
+  padding-right: 2.5%;
340
+  background: rgb(2,0,36);
341
+  background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 75%, rgba(0,212,255,1) 100%);
342
+}
343
+/* navbar-nav .dropdown-menu{
344
+    position: absolute;
345
+  z-index: 9999;
346
+} */
347
+.navbar-nav{
348
+  display: block;
349
+  width: 100%;
350
+}
351
+
352
+.navbar-collapse{
353
+
354
+}
355
+
356
+.navbar-dark .navbar-brand{
357
+  color: #ffffff;
358
+}
359
+.navbar-toggler{
360
+  display: none;
361
+}
362
+/* brand - sizing */
363
+.navbar-brand{
364
+  color: #ffffff;
365
+  display: inline-block;
366
+  float: left;
367
+	font-size: 27px;
368
+	margin-right: 2.5%;
369
+  font-weight: bold;
370
+  text-transform: capitalize;
371
+}
372
+
373
+/* collapse container - sizing */
374
+.collapse{
375
+	width: 100%;
376
+}
377
+.link:hover{
378
+  color: #ffffff;
379
+  background-color: rgba(0,0,0,0.25);
380
+  text-decoration: none;
381
+}
382
+.nav-item{
383
+  display: inline-block;
384
+  float: left;
385
+}
386
+
387
+.link{
388
+  font-size: 17.5px;
389
+  color: darkgray;
390
+  text-decoration: none;
391
+  display: inline-block;
392
+  float: left;
393
+  border-radius: 5px;
394
+  padding: 7.5px;
395
+  margin-right: 2.5px;
396
+  margin-bottom: 1px;
397
+}
398
+.current{
399
+  color: #ffffff;
400
+  background-color: rgba(0,0,0,0.25);
401
+}
402
+.fas{
403
+  display: inline-flex;
404
+}
405
+
406
+.link .fas{
407
+  margin-left: 2.5px;
408
+}
409
+
410
+
411
+/* search form wrapper - formatting */
412
+.sf-wrapper{
413
+  float: right;
414
+  border-radius: 5px;
415
+	width: 30%;
416
+  padding: 7.5px;
417
+  padding-right: 0px;
418
+}
419
+/* search form - formatting */
420
+.search-form{
421
+	display: flex;
422
+	border: none;
423
+  background-color: #eaeded;
424
+}
425
+.search-form:focus{
426
+  background-color: #eaeded;
427
+}
428
+.search-form::-webkit-input-placeholder { /* Edge */
429
+  color: rgba(0,0,0,0.5);
430
+}
431
+
432
+.search-form:-ms-input-placeholder { /* Internet Explorer */
433
+  color: rgba(0,0,0,0.5);
434
+}
435
+
436
+.search-form::placeholder {
437
+  color: rgba(0,0,0,0.5);
438
+}
439
+/* submit button - styling */
440
+.submit-query{
441
+  border:  1px solid lightgray;
442
+  color: rgba(0,0,0,0.5);
443
+	background-color: #eaeded;
444
+}
445
+/* user menu wrapper - formatting */
446
+/* .um-wrapper{
447
+  position: relative;
448
+  float: right;
449
+	display: inline-block;
450
+  padding: 0px;
451
+} */
452
+/* user menu - styling */
453
+.user-menu{
454
+  display: block;
455
+  background-color: transparent;
456
+  float: right;
457
+  /* position: relative; */
458
+	color: white;
459
+  /* overflow-y: auto; */
460
+}
461
+
462
+.user{
463
+  color: white;
464
+}
465
+.um-wrapper{
466
+  display: flex;
467
+  float: right;
468
+}
469
+/* .um-wrapper:hover .dropdown-menu{
470
+  display: block;
471
+  transition: display 0.5s ease-in;
472
+
473
+}
474
+.um-wrapper:hover .user{
475
+  color: #ffffff;
476
+  background-color: rgba(0,0,0,0.25);
477
+
478
+} */
479
+
480
+.um-icons{
481
+  float: right;
482
+}
483
+/* user dropdown menu - styling */
484
+.dropdown-menu{
485
+  margin: 0%;
486
+  top: 100%;
487
+  right: 2.5%;
488
+  /* position: absolute; */
489
+	padding: 0px;
490
+  background-color: #020024;
491
+}
492
+
493
+/* divider - styling */
494
+.dropdown-divider{
495
+	margin: 0px;
496
+	border-top: 0.5px solid #000000;
497
+}
498
+/* dropdown item - styling/formatting */
499
+.dropdown-item{
500
+	color: lightgray;
501
+	margin-bottom: 0px;
502
+}
503
+.dropdown-item:hover{
504
+  color: #ffffff;
505
+  background-color: #020024;
506
+
507
+  /* transition: color 0.50s ease-in; */
508
+}
509
+.log-out-wrapper{
510
+    float: right;
511
+  display: inline-block;
512
+}
513
+.log-out{
514
+  color: #ffffff;
515
+  margin-top: 1.5%;
516
+  padding: 5px;
517
+}
518
+/* log out - formatting */
519
+.log-out{
520
+	cursor: pointer;
521
+}
522
+/* navbar sizing on smaller screens */
523
+@media screen and (max-width: 991px){
524
+	/* navbar link items - formatting */
525
+	.navbar-nav{
526
+		text-align: center;
527
+	}
528
+	/* wrappers - formatting */
529
+	.left,.right,.um-wrapper{
530
+		float: none;
531
+	}
532
+	.sf-wrapper{
533
+		display: flex;
534
+		margin: auto;
535
+		text-align: center;
536
+		margin-bottom: 1%;
537
+	}
538
+	.um-wrapper{
539
+		display: block;
540
+		margin: auto;
541
+		text-align: center;
542
+	}
543
+	/* collapse wrapper - formatting childs */
544
+	.collapse *{
545
+		margin: auto;
546
+	}
547
+	/* user menu - formatting */
548
+	.user-menu{
549
+		margin: auto;
550
+		margin-top: 1%;
551
+		text-align: center;
552
+	}
553
+	/* user dropdown menu - formatting */
554
+	.dropdown-menu{
555
+		left: 0%;
556
+		margin: auto;
557
+		text-align: center;
558
+	}
559
+	.dropdown-menu.show{
560
+		width: 100%;
561
+		display: inline-block;
562
+	}
563
+	/* hide placeholder text */
564
+	::-webkit-input-placeholder{
565
+    	color: transparent !important; 
566
+    }
567
+	:-moz-placeholder{
568
+    	color: transparent !important; 
569
+    }
570
+	::-moz-placeholder{
571
+    	color: transparent !important; 
572
+    }
573
+	:-ms-input-placeholder{
574
+    	color: transparent !important; 
575
+    }
576
+}
577
+/* expand search form on smaller screens */
578
+@media screen and (max-width: 576px){
579
+	.sf-wrapper{
580
+		width: 50%;
581
+	}
582
+}
583
+/* ------------------------------------ FOOTER --------------------------------- */
584
+
585
+.footer{
586
+  margin-top: 1%;
587
+  padding-left: 5%;
588
+  padding-right: 5%;
589
+  padding-top: 2.5%;
590
+  color: white;
591
+  display: flex;
592
+  height: 100px;
593
+  background-color: rgba(40,41,45,1.0);
594
+  width: 100%;
595
+}
596
+.copyright-wrapper{
597
+  width: 100%;
598
+  text-align: right;
599
+}