refactor(backend): rename mediacore package to media
This commit is contained in:
1 parent
e8cb7c6c68
commit
75c08beec6
34 files changed
+837
-656
No files matched your search
+17
-11
@@ -745,26 +745,33 @@ html[data-wide-layout='true'] .sc-main {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 0.75rem;
|
||||
margin-top: 1rem;
|
||||
gap: 0.75rem 1rem;
|
||||
}
|
||||
|
||||
.sc-pagination-page-size {
|
||||
/* Nested under .sc-pagination so it outranks `.sc-root select { font: inherit }` and keeps the 0.8rem size. */
|
||||
.sc-pagination .sc-pagination-page-size {
|
||||
flex: 0 0 auto;
|
||||
width: auto;
|
||||
height: 2.5rem;
|
||||
padding: 0.375rem 0.6rem;
|
||||
padding: 0 2rem 0 0.75rem;
|
||||
color: var(--sc-fg);
|
||||
background: var(--sc-bg);
|
||||
border: 1px solid var(--sc-border);
|
||||
border-radius: var(--sc-radius-sm);
|
||||
font-size: 0.8rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.sc-pagination .sc-pagination-page-size:focus-visible {
|
||||
outline: 3px solid color-mix(in srgb, var(--sc-ring) 45%, transparent);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.sc-pagination-info {
|
||||
margin: 0;
|
||||
color: var(--sc-muted-fg);
|
||||
font-size: 0.8rem;
|
||||
font-variant-numeric: tabular-nums;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@@ -807,12 +814,11 @@ html[data-wide-layout='true'] .sc-main {
|
||||
}
|
||||
|
||||
@media (max-width: 620px) {
|
||||
.sc-pagination {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.sc-pagination-controls {
|
||||
margin-left: 0;
|
||||
/* On phones the count gets its own centred line, with the page size and buttons on the row below. */
|
||||
.sc-pagination-info {
|
||||
order: -1;
|
||||
flex-basis: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user