-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
250 lines (217 loc) · 5.35 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
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');
@import url('https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css');
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Lato', sans-serif;
}
body {
padding: 32px 0;
background-color: #111827;
color: #fff;
}
.pages-container,
.main-container {
max-width: 1170px;
margin: auto;
margin-top: -16px;
padding: 0 16px;
}
.pages-container {
margin-bottom: 32px;
}
.pages {
list-style-type: none;
display: flex;
gap: 16px;
}
.page {
width: 48px;
height: 32px;
display: flex;
justify-content: center;
align-items: center;
font-size: 20px;
border: 1px solid #4b5563;
border-radius: 4px;
cursor: pointer;
}
.page.active {
background-color: #1c64f2;
color: #fff;
border: none;
}
.text-block-form {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 16px;
}
.text-block-inp {
background-color: #374151;
border: 1px solid #4b5563;
outline: none;
padding: 16px;
height: 180px;
width: 100%;
border-radius: 4px;
resize: none;
color: #fff;
}
.text-block-submit-btn,
.ctc-btn {
width: 160px;
padding: 16px;
background-color: #1c64f2;
color: #fff;
border: none;
outline: none;
border-radius: 4px;
cursor: pointer;
}
.main-container-bottom {
display: flex;
gap: 128px;
margin-top: 48px;
}
.indexes-wrapper {
flex-basis: 50%;
text-align: center;
}
.text-blocks-wrapper {
flex-basis: 50%;
text-align: left;
}
.indexes-heading,
.text-blocks-heading {
text-align: center;
margin-bottom: 32px;
}
.indexes-list {
list-style: none;
overflow-y: auto;
}
.text-blocks-list {
max-width: calc(100vw - 32px); /* Adjust according to your padding */
overflow-x: auto;
overflow-wrap: break-word; /* Add this line */
}
.indexes-item,
.text-blocks-item {
display: flex;
justify-content: space-between;
background-color: #111827;
padding: 8px;
margin-bottom: 8px;
border-radius: 4px;
}
.indexes-item-content {
width: 220px; /* Fixed width to accommodate 20 characters */
border: 1px solid #4b5563;
border-radius: 4px;
padding: 8px;
word-wrap: break-word;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.text-blocks-item-content {
border: 1px solid #4b5563;
border-radius: 4px;
padding: 16px;
word-wrap: break-word; /* Enable word wrapping */
}
.move-up-down-icons,
.delete-icon {
display: flex;
}
.move-up-icon,
.move-down-icon,
.delete-icon {
font-size: 20px;
cursor: pointer;
}
.move-up-icon:hover,
.move-down-icon:hover,
.delete-icon:hover {
color: #1c64f2;
}
.ctc-item {
display: block;
text-align: center;
margin-top: 16px; /* Adjust margin as needed */
}
.page {
font-size: 16px; /* Adjusted font size for bigger text */
padding-left: 10px; /* Add padding to the left to push the number to the left */
padding-right: 30px; /* Add padding to the right to make room for the delete button */
display: flex; /* Makes the tab a flex container */
justify-content: start; /* Aligns the number to the left */
align-items: center; /* Centers items vertically */
position: relative; /* Ensures the positioning context for the delete button */
}
.delete-page-btn {
position: absolute;
right: 3px;
top: 50%;
transform: translateY(-50%);
font-size: 12px; /* Adjust the font size of the icon inside the button */
padding: 2px 5px; /* Reduce padding to decrease overall button size */
background-color: transparent; /* Optional: make the button background transparent */
border: none; /* Remove border if not needed */
cursor: pointer; /* Ensure it's clear the button is clickable */
}
.delete-page-btn i {
font-size: 12px; /* Adjust the font size of the icon */
color: #FF69B4;
}
.light-faded-green-btn {
width: 160px;
padding: 16px;
background-color: #1c64f2; /* Blue color for normal buttons */
color: #fff;
border: none;
outline: none;
border-radius: 4px;
cursor: pointer;
margin-bottom: 16px;
}
.light-faded-green-btn {
background-color: #ccffcc; /* Light faded green color */
color: #333; /* Darker text color for better contrast */
margin-left: 8px; /* Space between this and the Clear All button */
}
.pink-btn {
width: 160px;
padding: 16px;
background-color: #FF69B4;
color: #fff;
border: none;
outline: none;
border-radius: 4px;
cursor: pointer;
margin-bottom: 16px;
}
.time-zones-table {
max-height: 0;
overflow: hidden;
visibility: hidden;
opacity: 0;
transition: max-height 0.5s ease, opacity 0.5s ease, visibility 0s 0.5s;
}
#timeZonesBtn:hover + .time-zones-table {
max-height: 500px; /* Adjust based on the content size */
visibility: visible;
opacity: 1;
transition: max-height 0.5s ease, opacity 0.5s ease;
margin-bottom: 16px;
}
.time-zones-table td:first-child {
padding-right: 20px; /* Adds space on the right of the first column */
}
.time-zones-table td:last-child {
padding-left: 20px; /* Adds space on the left of the second column (optional) */
}