generated from msalloum/CS178A-B-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
form_styles.css
100 lines (89 loc) · 1.92 KB
/
form_styles.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
.open-button{
background-color: #555;
color: white;
padding: 16px 20px;
border: none;
cursor: pointer;
opacity: 0.8;
position: fixed;
/* top: 87px; */
bottom: 15px;
right:28px;
/* left: 28px; */
width: 200px;
}
.anomaly-btn{
background-color: #555;
color: white;
padding: 10px 15px;
border: none;
cursor: pointer;
opacity: 0.8;
position: fixed;
/* top: 87px; */
bottom: 75px;
right:28px;
/* left: 28px; */
width: 200px;
}
.form-popup{
display: none;
position: fixed;
bottom: 0;
right: 15px;
border: 3px solid #f1f1f1;
z-index: 9;
}
.form-container {
max-width: 300px;
padding: 10px;
background-color: white;
}
.form-container input[type = text],
.form-container input[type = graph],
.form-container input[type = anomaly],
.form-container input[type = class],
.form-container input[type = parameters]{
width: 100%;
padding: 15px;
margin: 5px 0 22px 0;
border: none;
background: #f1f1f1;
}
.form-container input[type = text]:focus,
.form-container input[type = graph]:focus,
.form-container input[type = anomaly]:focus,
.form-container input[type = class]:focus,
.form-container input[type = parameters]:focus{
background-color: #ddd;
outline: none;
}
.form-container .btn{
background-color: #04AA6D;
color: white;
padding: 16px 20px;
border: none;
cursor: pointer;
width: 100%;
margin-bottom:10px;
opacity: 0.8;
}
.form-container .ano-btn{
background-color: #04AA6D;
color: white;
padding: 10px 15px;
border: none;
cursor: pointer;
width: 100%;
margin-bottom:10px;
opacity: 0.8;
}
.form-container .btn:hover, .anomaly-button:hover {
opacity: 1;
}
.form-container .cancel{
background-color: red;
}
.form-container .btn:hover, .open-button:hover {
opacity: 1;
}