-
Notifications
You must be signed in to change notification settings - Fork 5
/
carcolorapp.css
113 lines (97 loc) · 1.89 KB
/
carcolorapp.css
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
html, body, input, section, header, footer {
margin: 0;
padding: 0;
}
body {
font: 14px 'Helvetica Neue', Helvetica, Arial, sans-serif;
line-height: 1.4em;
background: #eaeaea;
color: #4d4d4d;
width: 1200px;
margin: 0 auto;
font-smoothing: antialiased;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
justify-content: center;
}
section .adding {
animation: appeareffect 2s;
}
/* section .removing {
animation: disappeareffect 2s forwards;
}
*/
.invalid {
background : white;
animation: invalideffect 0.5s 5 forwards;
}
@keyframes appeareffect {
0% {
box-shadow: inset 0 0 15px rgba(0, 100, 0, 1);
}
100%
{
box-shadow:none;
}
}
/* @keyframes disappeareffect {
0% {
box-shadow: 0 0 15px rgba(255, 0, 0, 1);
}
100% {
box-shadow:none;
}
} */
@keyframes invalideffect {
0% {
box-shadow: none;
}
100%
{
box-shadow: inset 0 0 15px rgba(255,0,0,1);
}
}
.close {
font-size: 40px;
font-weight: bold;
text-align:right;
text-decoration: none;
position: absolute;
right: 5px;
top: 0px;
}
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.modal-content {
position: relative;
background-color: #fefefe;
margin: auto;
padding: 0;
border: 1px solid #888;
width: 80%;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
animation: animatetop 0.4s
}
section .adding .modal-content{
animation: animatetop 0.4s
}
@keyframes animatetop {
from {top: -300px; opacity: 0}
to {top: 0; opacity: 1}
}
.buttonUser {
background-color: #9e9e9e;
text-align: center;
color: black;
}