-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.scss
87 lines (77 loc) · 1.58 KB
/
styles.scss
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
.SimpleInput{
transition: all 0.3s, box-shadow 0.1s 0.1s ease-in-out;
outline: none !important;
border-radius: 10px;
color: black;
border: 1px solid #a4a4a4;
padding-top: 1px;
padding-bottom: 1px;
padding-left: 12px;
padding-right: 12px;
position: relative;
height: 50px;
width: 100%;
box-shadow: 0 0 0 0px rgba(103, 201, 113, 0.2);
&.display-as-label{
border: 0px solid rgba(255, 255, 255, 0);
box-shadow: none;
border-radius: 0;
background: none;
padding: 0;
height: 20px;
&:focus{
border: 0px solid rgba(255, 255, 255, 0);
box-shadow: none;
padding: 0;
height: 20px;
}
&:hover{
border: 0px solid rgba(255, 255, 255, 0);
box-shadow: none;
padding: 0;
height: 20px;
}
}
&:hover{
border: 1px solid #67C971;
}
&:focus{
box-shadow: none !important;
}
}
.SimpleInput.not-valid{
padding-top: 0px;
padding-bottom: 0px;
padding-left: 11px;
padding-right: 11px;
border: 2px solid rgba(255, 29, 94, 1) !important;
}
.SimpleInput::placeholder{
color: #9F9F9F;
}
.SimpleInput:focus{
padding-top: 0px;
padding-bottom: 0px;
padding-left: 11px;
padding-right: 11px;
border: 2px solid #67C971;
}
.validation-error-tooltip{
transition: all 0.3s;
position: absolute;
top: -9px;
height: 11px;
left: 12px;
padding-left: 6px;
padding-right: 6px;
max-width: 100%;
font-size: 12px;
background: white;
z-index: 1;
color: rgba(255, 29, 94, 1);
transform: scale(0);
/*border-radius: 2px;*/
}
.validation-error-tooltip.active{
transform: scale(1);
}