Skip to content

Commit 273165b

Browse files
committed
remove unused css tags
1 parent 2df3825 commit 273165b

File tree

3 files changed

+25
-76
lines changed

3 files changed

+25
-76
lines changed

frontend/css/journal-table.css

Lines changed: 25 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,19 @@
4141
margin-top: 0.25rem;
4242
}
4343

44+
.journal .head .container {
45+
padding: 1.5em 1.5em 0 1.5em;
46+
margin-bottom: 0.25em;
47+
}
48+
49+
.journal .head .table-head {
50+
padding: 0 1.5em;
51+
}
52+
53+
.journal .entry {
54+
padding: 0 1.5em;
55+
}
56+
4457
.journal p,
4558
.journal dl {
4659
border-bottom: thin solid var(--table-border);
@@ -83,50 +96,6 @@
8396
cursor: pointer;
8497
}
8598

86-
.journal.ssr > li,
87-
.journal.ssr.show-custom .custom.budget,
88-
.journal.ssr.show-document .document.discovered,
89-
.journal.ssr.show-document .document.linked,
90-
.journal.ssr .metadata,
91-
.journal.ssr .postings {
92-
display: none;
93-
}
94-
95-
.journal.ssr .head,
96-
.journal.ssr.show-balance .balance,
97-
.journal.ssr.show-close .close,
98-
.journal.ssr.show-custom .custom,
99-
.journal.ssr.show-document .document,
100-
.journal.ssr.show-note .note,
101-
.journal.ssr.show-open .open,
102-
.journal.ssr.show-pad .pad,
103-
.journal.ssr.show-query .query {
104-
display: block;
105-
}
106-
107-
/* Show metadata and postings if it was toggled for the whole journal. */
108-
.journal.ssr.show-metadata .metadata,
109-
.journal.ssr.show-postings .postings {
110-
display: block;
111-
}
112-
113-
/* TODO */
114-
115-
/* Show metadata and postings where it was explicitly toggled with the indicators. */
116-
.journal > li.show-full-entry .postings,
117-
.journal > li.show-full-entry .metadata {
118-
display: block;
119-
}
120-
121-
.journal.ssr.show-transaction.show-cleared .transaction.cleared,
122-
.journal.ssr.show-transaction.show-pending .transaction.pending,
123-
.journal.ssr.show-transaction.show-other .transaction.other,
124-
.journal.ssr.show-document.show-discovered .document.discovered,
125-
.journal.ssr.show-document.show-linked .document.linked,
126-
.journal.ssr.show-custom.show-budget .custom.budget {
127-
display: block;
128-
}
129-
13099
.journal .transaction:hover {
131100
background: var(--journal-hover-highlight);
132101
}
@@ -252,6 +221,18 @@
252221
flex-wrap: wrap;
253222
}
254223

224+
.journal .head .container {
225+
padding: 1em 1em 0 1em;
226+
}
227+
228+
.journal .head .table-head {
229+
padding: 0 1em;
230+
}
231+
232+
.journal .entry {
233+
padding: 0 1.5em;
234+
}
235+
255236
/* show a colored top border for all entries */
256237
.journal > li > p {
257238
border-top: thin solid var(--entry-background);

frontend/src/journal/JournalEntry.svelte

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -339,15 +339,3 @@
339339
</ul>
340340
{/if}
341341
</li>
342-
343-
<style>
344-
.entry {
345-
padding: 0 1.5em;
346-
}
347-
348-
@media (width <= 767px) {
349-
.entry {
350-
padding: 0 1em;
351-
}
352-
}
353-
</style>

frontend/src/journal/JournalTable.svelte

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,6 @@
274274
<style>
275275
.vlist-outer {
276276
height: 100%;
277-
/* padding: 1.5em; */
278277
contain: strict;
279278
overflow-y: auto;
280279
}
@@ -291,23 +290,4 @@
291290
left: 0;
292291
width: 100%;
293292
}
294-
295-
.head > .container {
296-
padding: 1.5em 1.5em 0 1.5em;
297-
margin-bottom: 0.25em;
298-
}
299-
300-
.head .table-head {
301-
padding: 0 1.5em;
302-
}
303-
304-
@media (width <= 767px) {
305-
.head > .container {
306-
padding: 1em 1em 0 1em;
307-
}
308-
309-
.head .table-head {
310-
padding: 0 1em;
311-
}
312-
}
313293
</style>

0 commit comments

Comments
 (0)