forked from Sulagna-Dutta-Roy/GGExtensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
150 lines (133 loc) · 2.49 KB
/
style.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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
html {
box-sizing: border-box;
}
*,
*::before,
*::after {
box-sizing: inherit;
margin: 0;
padding: 0;
}
:root {
--bg-color: #eef0f4;
--color: #333;
--togglebg: #333;
--contactIconColor: crimson;
--inputTextColor: #111;
--deleteIconColor: #111;
--filter: drop-shadow(-8px -8px 12px #ffffff)
drop-shadow(8px 8px 12px #c3c5c8);
--roundcolor: #eef0f4;
--toggleslider: #111;
--togglesliderColor: #111;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
line-height: 1.4;
background: var(--bg-color);
}
.container {
margin: 0 auto;
padding-left: 10px;
padding-right: 10px;
color: var(--color);
margin-top: 5vh;
margin-bottom: 5vh;
display: flex;
flex-direction: row;
}
.ListContainer {
width: 50%;
margin: 56px 30px 0 51px;
max-width: 500px;
border-radius: 0.25rem;
padding: 1.5rem 2rem;
border-radius: 16px;
background: var(--bg-color);
border: 12px solid var(--bg-color);
filter: var(--filter);
}
.person {
display: flex;
/* justify-content: space-between; */
column-gap: 0.75rem;
margin-bottom: 1.5rem;
align-items: center;
}
.person img {
width: 75px;
height: 75px;
object-fit: cover;
border-radius: 50%;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.contactdetail {
margin-right: 5rem;
}
.contactIcon {
margin: 0 10px 0 5px;
font-size: 14px;
color: var(--contactIconColor);
}
.person h4 {
margin-bottom: 0.35rem;
}
.person p {
margin-bottom: 0;
}
.delete-contact {
border: none;
background-color: transparent;
outline: none;
cursor: pointer;
float: right;
display: block;
position: absolute;
right: 10%;
}
.delete-contact svg {
width: 30px;
height: 30px;
pointer-events: none;
fill: var(--deleteIconColor);
}
form {
width: 50%;
left: 50%;
margin-top: 15%;
margin-left: 7%;
position: fixed;
}
.name,
.number,
.email,
.img {
display: flex;
justify-content: space-evenly;
margin-right: 30%;
align-items: center;
margin-bottom: 30px;
background: var(--bg-color);
border: 5px solid var(--bg-color);
filter: var(--filter);
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"] {
width: 240px;
background: transparent;
border: none;
font-family: "Roboto", sans-serif;
font-size: 16px;
font-weight: 200px;
padding: 10px 0;
transition: border 0.5s;
outline: none;
color: var(--inputTextColor);
font-weight: bold;
}
.submitbtn {
display: none;
}