pleroma-fe/src/components/settings_modal/tabs/appearance_tab.scss

98 lines
1.7 KiB
SCSS
Raw Normal View History

2024-10-01 00:42:33 +03:00
.appearance-tab {
.palette,
.theme-notice {
padding: 0.5em;
margin: 1em;
}
.setting-item {
padding-bottom: 0;
&.heading {
display: grid;
align-items: baseline;
grid-template-columns: 1fr auto auto auto;
grid-gap: 0.5em;
h2 {
flex: 1 0 auto;
}
}
}
2024-10-01 00:42:33 +03:00
.palettes {
display: grid;
grid-template-columns: 1fr 1fr;
grid-gap: 0.5em;
2024-11-12 23:24:28 +02:00
h4,
2024-11-14 21:42:45 +02:00
.unsupported-theme-v2,
.userPalette {
grid-column: 1 / span 2;
}
2024-10-01 00:42:33 +03:00
}
.palette-entry {
display: flex;
align-items: center;
> label {
flex: 1 0 auto;
}
.palette-square {
flex: 0 0 auto;
display: inline-block;
min-width: 1em;
min-height: 1em;
}
}
.column-settings {
display: flex;
justify-content: space-evenly;
flex-wrap: wrap;
}
.column-settings .size-label {
display: block;
margin-bottom: 0.5em;
margin-top: 0.5em;
}
.theme-list {
list-style: none;
display: flex;
flex-wrap: wrap;
margin: -0.5em 0;
height: 25em;
overflow-x: hidden;
overflow-y: auto;
scrollbar-gutter: stable;
border-radius: var(--roundness);
border: 1px solid var(--border);
padding: 0;
2024-11-14 21:42:45 +02:00
margin-bottom: 1em;
2024-10-01 00:42:33 +03:00
.theme-preview {
font-size: 1rem; // fix for firefox
width: 19rem;
display: flex;
flex-direction: column;
align-items: center;
margin: 0.5em;
&.placeholder {
opacity: 0.2;
}
.theme-preview-container {
pointer-events: none;
zoom: 0.5;
border: none;
border-radius: var(--roundness);
text-align: left;
}
}
}
}