-
Notifications
You must be signed in to change notification settings - Fork 5
/
carcolorapp2.css
136 lines (119 loc) · 2.4 KB
/
carcolorapp2.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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
html, body, input, section, header, footer {
margin: 0;
padding: 0;
border: 0;
}
body {
font: 14px 'Helvetica Neue', Helvetica, Arial, sans-serif;
line-height: 1.4em;
background: #eaeaea;
color: #4d4d4d;
width: 100%;
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;
}
*/
.opaque{
font-style : italic;
font-weight : bold;
font-size : 108%;
-webkit-backface-visibility: hidden;
-webkit-filter: opacity(89%);
-moz-filter: opacity(89%);
-o-filter: opacity(89%);
-ms-filter: opacity(89%);
filter: opacity(89%);
}
.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: 10px;
top: 10px;
z-index: 1;
}
.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;
border: 1px solid #888;
width: 100%;
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 {
-webkit-border-radius: 30px;
-moz-border-radius: 30px;
border-radius: 30px;
margin-left: auto;
margin-right: auto;
background-color: #F2F3F4;
text-align: center;
color: black;
font: 14px 'Helvetica Neue', Helvetica, Arial, sans-serif;
line-height: 1.4em;
color: #4d4d4d;
height: 40px;
width: 100px;
}