-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
222 lines (186 loc) · 4.12 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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
:root {
--background-color: #282C34;
--text-color: #ABB2BF;
--button-background: #61AFEF;
--button-text: #FFFFFF;
}
body {
font-family: 'Courier New', monospace;
margin: 0;
padding: 0;
background-color: var(--background-color);
color: var(--text-color);
}
.container {
display: flex;
margin: 10px; /* Adjust the margin as needed */
padding: 5px; /* Add padding around the container */
height: 100vh; /* Set height to 100% of the viewport height */
box-sizing: border-box; /* Include padding and border in the element's total width and height */
border-radius: 10px; /* Round the corners */
}
/* Add these styles to your existing style.css file */
/* Input field */
#newContactName {
padding: 10px;
font-size: 16px;
border: 1px solid #4B5263;
border-radius: 5px;
margin-bottom: 10px;
background-color: var(--background-color);
color: var(--text-color);
}
/* Button */
#addContactButton {
padding: 10px 20px;
font-size: 16px;
background-color: #61AFEF;
color: #FFFFFF;
border: none;
border-radius: 5px;
cursor: pointer;
}
#addContactButton:hover {
background-color: #3E90F3;
}
/* Hide the add contact container initially */
.hidden {
display: none;
}
/* Style for the plus button */
.plus-button {
position: absolute;
top: 20px;
right: 20px;
padding: 10px;
font-size: 20px;
background-color: #61AFEF;
color: #FFFFFF;
border: none;
border-radius: 50%;
cursor: pointer;
z-index: 1; /* Ensure it's above other elements */
}
/* Style for the add contact container */
#addContactContainer {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 20px;
background-color: var(--background-color); /* Match with your CSS theme's background color */
border: 2px solid #4B5263; /* Match with your CSS theme's border */
border-radius: 5px;
z-index: 2; /* Ensure it's above other elements except the plus button */
}
.contact {
flex: 1;
padding: 20px;
margin-right: 10px;
border-left: 1px solid #4B5263;
border-right: 1px solid #4B5263;
height: 100svh; /* Set height to 100% of the viewport height */
display: flex;
flex-direction: column;
}
.contact-details {
display: none;
}
.contact-details.expanded {
display: block;
}
.contact-name-container {
display: flex;
align-items: center;
justify-content: space-between;
}
.contact-name {
margin-bottom: 10px;
}
.edit-button {
padding: 5px 10px;
font-size: 14px;
background-color: #61AFEF;
color: #FFFFFF;
border: none;
border-radius: 5px;
cursor: pointer;
}
.main {
flex: 3;
padding-left: 20px;
display: flex;
flex-direction: column;
}
.input-container {
display: flex;
margin-top: 20px;
width: 100%;
}
.message-content {
display: flex;
background-color: var(--background-color);
color: var(--text-color);
padding: 10px;
border-radius: 5px;
align-items: center;
}
.line-number {
color: #4B5263;
padding: 5px;
margin-right: 10px;
}
.line-number.self {
color: #EF596F;
}
.line-number.other {
color: #61AFEF;
}
.text {
flex: 1;
padding-left: 10px;
border-left: 1px solid #4B5263;
height: 100%;
}
.message-input {
flex: 1;
padding: 10px;
border: 1px solid #4B5263;
border-radius: 5px;
font-family: 'Courier New', monospace;
font-size: 14px;
background-color: var(--background-color);
color: #ABB2BF;
resize: none;
}
.send-button {
background-color: #61AFEF;
color: #FFFFFF;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
font-size: 14px;
margin-left: 10px;
}
.send-button:hover {
background-color: #3E90F3;
}
.color-buttons {
margin-top: 20px;
display: flex;
justify-content: center;
}
.color-button {
background-color: #61AFEF;
color: #FFFFFF;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
font-size: 14px;
margin-right: 10px;
}
.color-button:hover {
background-color: #3E90F3;
}