appearance_tab.scss (2517B)
- .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;
- }
- }
- }
- h4 {
- margin: 0.5em 0;
- }
- .palettes-container {
- height: 15em;
- overflow-y: auto;
- overflow-x: hidden;
- scrollbar-gutter: stable;
- border-radius: var(--roundness);
- border: 1px solid var(--border);
- margin: -0.5em;
- }
- .palettes {
- display: grid;
- grid-template-columns: 1fr 1fr;
- grid-gap: 0.5em;
- padding: 0.5em;
- width: 100%;
- h4 {
- margin: 0;
- grid-column: 1 / span 2;
- }
- }
- .palette-entry {
- display: grid;
- grid-template-columns: 1fr auto;
- align-items: center;
- justify-content: space-between;
- padding: 0 0.5em;
- height: max-content;
- .palette-label {
- height: auto;
- label {
- text-align: center;
- }
- }
- .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;
- }
- .modal-view.-mobile & {
- .palettes {
- grid-template-columns: 1fr;
- }
- .palette-entry {
- grid-column: 1;
- justify-content: center;
- }
- .palette-label {
- line-height: 1.5em;
- margin-top: 0.5em;
- }
- }
- .palette-preview {
- display: grid;
- grid-template-columns: 1fr 1fr 1fr 1fr;
- grid-template-rows: 1em 1em;
- margin: 0.5em 0;
- }
- .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;
- margin-bottom: 1em;
- .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;
- }
- }
- }
- }