feat: adopt ep-design 1.3.0 in admin
This commit is contained in:
1 parent
df564c30ae
commit
e517163c9a
19 files changed
+127
-140
No files matched your search
@@ -92,6 +92,12 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* text size of every E&P app: 14px; text-base (16px) and up only for headings */
|
||||
body {
|
||||
font-size: var(--text-sm);
|
||||
line-height: var(--text-sm--line-height);
|
||||
}
|
||||
|
||||
/* modals: centred (Preflight resets the browser's margin: auto), the page behind dimmed and blurred */
|
||||
dialog:modal {
|
||||
margin: auto;
|
||||
@@ -275,7 +281,7 @@
|
||||
|
||||
/*
|
||||
* Lists of entries in a card, as on a dashboard (components/dashboard/): one line per entry, the
|
||||
* whole line is the link or button, its parts separated by a dot, the last part cut off with "…".
|
||||
* whole line is the link or button, its parts separated by a dot, the text cut off with "…".
|
||||
*/
|
||||
.entry-list {
|
||||
@apply divide-y divide-line;
|
||||
@@ -299,14 +305,20 @@
|
||||
}
|
||||
|
||||
.entry-link > * {
|
||||
@apply shrink-0 whitespace-nowrap;
|
||||
@apply shrink-0;
|
||||
}
|
||||
|
||||
.entry-link > :last-child {
|
||||
/* the text after the icon: one line, cut off as a whole with "…" */
|
||||
.entry-text {
|
||||
@apply min-w-0 shrink truncate;
|
||||
}
|
||||
|
||||
.entry-link > .entry-dot {
|
||||
/* icons and dots inside the text flow with it (Tailwind's preflight makes svg a block) */
|
||||
.entry-text :is(svg, img) {
|
||||
@apply inline-block align-middle;
|
||||
}
|
||||
|
||||
.entry-dot {
|
||||
@apply text-muted;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user