Skip to content

Commit dacc6f7

Browse files
committed
Tweak ticket listing styles and padding
1 parent 9984273 commit dacc6f7

2 files changed

Lines changed: 397 additions & 446 deletions

File tree

src/assets/css/ticket-listing.css

Lines changed: 7 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
background-color: #fff;
77
@apply border-gray-400;
88
@apply rounded;
9+
@apply mb-4;
910

1011
&.open {
1112
max-height: 600px;
@@ -120,62 +121,6 @@
120121
}
121122
}
122123

123-
.ticket-columns-container {
124-
padding: 0;
125-
overflow: scroll;
126-
transition: max-height ease-out 0.4s;
127-
max-height: 0px;
128-
background-color: #fff;
129-
@apply border-gray-400;
130-
@apply rounded;
131-
132-
&.open {
133-
max-height: 600px;
134-
}
135-
136-
& legend {
137-
cursor: pointer;
138-
@apply text-gray-600;
139-
@apply px-2 py-0;
140-
@apply ml-3;
141-
@apply underline;
142-
}
143-
144-
& ul {
145-
margin: 0;
146-
list-style: none;
147-
display: flex;
148-
149-
@apply p-2;
150-
151-
& li {
152-
padding: 0;
153-
margin: 0;
154-
}
155-
}
156-
}
157-
158-
.ticket-columns-container li label {
159-
@apply text-xs;
160-
display: inline-block;
161-
transition: all ease-in-out 0.1s;
162-
cursor: pointer;
163-
164-
@apply mx-1 my-1;
165-
@apply text-gray-500;
166-
@apply bg-gray-100;
167-
@apply border border-solid border-gray-400 rounded;
168-
@apply py-2 px-3;
169-
170-
& input {
171-
display: none;
172-
}
173-
174-
&:has(input:checked) {
175-
@apply border-emerald-300 bg-emerald-50 text-emerald-800;
176-
}
177-
}
178-
179124
table.ticket-listing {
180125
& th {
181126
cursor: pointer;
@@ -320,9 +265,7 @@ table.ticket-listing {
320265

321266
.ticket-listing-filter-bar {
322267
@apply flex flex-row items-center justify-between;
323-
@apply p-2 mb-2;
324-
@apply bg-gray-100;
325-
@apply rounded;
268+
@apply p-2 mb-4;
326269

327270
& input.search-filter {
328271
@apply w-full min-w-96;
@@ -331,3 +274,8 @@ table.ticket-listing {
331274
@apply border border-solid border-gray-400 rounded;
332275
}
333276
}
277+
278+
.ticket-listing-table-container {
279+
@apply rounded-md overflow-hidden;
280+
@apply mb-4;
281+
}

0 commit comments

Comments
 (0)