-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
126 lines (109 loc) · 2.52 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
body, html {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
}
.app {
max-width: 600px;
margin: 20px auto;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
header {
background-color: #075E54; /* WhatsApp Green */
color: #fff;
padding: 10px;
text-align: center;
font-size: 24px;
}
.tabs {
display: flex;
justify-content: space-around;
background-color: #EDEDED;
}
.tab {
padding: 10px;
width: 100%;
border: none;
background: none;
font-size: 18px;
cursor: pointer;
}
.tab:hover {
background-color: #D3D3D3;
}
.content, .modal-content {
padding: 20px;
}
.note {
background-color: #DCF8C6; /* Light green background similar to WhatsApp */
margin-bottom: 10px;
padding: 10px;
border-radius: 5px;
position: relative;
}
.delete-btn {
position: absolute;
top: 5px;
right: 5px;
border: none;
background-color: #f44336; /* Red color for delete */
color: white;
border-radius: 50%;
cursor: pointer;
}
.delete-btn:hover {
background-color: #c33c2e;
}
.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 {
background-color: #fefefe;
margin: 15% auto; /* 15% from the top and centered */
padding: 20px;
border: 1px solid #888;
width: 80%; /* Could be more or less, depending on screen size */
}
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
/* Additional styles for handling long content and overall aesthetics */
.message-topic, textarea {
width: calc(100% - 20px);
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
textarea {
height: 100px;
resize: vertical; /* Allow vertical resizing */
}
.modal {
/* Your existing styles */
overflow-y: auto; /* Enables vertical scrolling inside the modal */
max-height: 80vh; /* Adjust based on your preference */
}
.modal-content {
/* Your existing styles */
max-height: 75vh; /* Slightly less than the modal to ensure everything is contained nicely */
overflow-y: auto; /* Just in case */
}