39b0552b6a
Some fixes for the CSS / Phosphor revamp - Corrected avatar position - Corrected various button/icon sizes - Change the way a status background is set - Improved icon-button disabled state - Improved contrast and light theme colours commitb307fa93b4Author: Zoë Bijl <code@moiety.me> Date: Wed Oct 15 17:49:11 2025 +0200 [chore] lint commit1352425b81Author: Zoë Bijl <code@moiety.me> Date: Wed Oct 15 17:46:42 2025 +0200 [chore] lint commit276480b5a4Author: Zoë Bijl <code@moiety.me> Date: Wed Oct 15 17:46:32 2025 +0200 [bugfix] set direct message background commit4e5764a70bAuthor: Zoë Bijl <code@moiety.me> Date: Wed Oct 15 17:44:46 2025 +0200 [bugfix] improve obviousness of disabled icon button state commitdec5bb66e7Author: Zoë Bijl <code@moiety.me> Date: Wed Oct 15 16:52:55 2025 +0200 [chore] lint commit72869917abAuthor: Zoë Bijl <code@moiety.me> Date: Wed Oct 15 16:52:44 2025 +0200 [bugfix] start work on status content spacing commit5aa8333f71Author: Zoë Bijl <code@moiety.me> Date: Wed Oct 15 15:57:56 2025 +0200 lint commitdf0bb84ce4Author: Zoë Bijl <code@moiety.me> Date: Wed Oct 15 15:57:48 2025 +0200 [bugfix] correctly set status background (on focus) fixes an issue where a weird gradient would show up in the status__info section commit2fab5ff2e7Author: Zoë Bijl <code@moiety.me> Date: Wed Oct 15 09:40:28 2025 +0200 [bugfix] fix lint issues commit5d823b2195Author: Zoë Bijl <code@moiety.me> Date: Wed Oct 15 01:19:01 2025 +0200 [bugfix] set avatars to cover available space no more squashed avatars
95 lines
1.7 KiB
SCSS
95 lines
1.7 KiB
SCSS
@mixin avatar-radius() {
|
|
border-radius: $ui-avatar-border-size;
|
|
background-position: 50%;
|
|
background-clip: padding-box;
|
|
}
|
|
|
|
@mixin avatar-size($size: 48px) {
|
|
width: $size;
|
|
height: $size;
|
|
background-size: $size $size;
|
|
}
|
|
|
|
@mixin single-column($media, $parent: "&") {
|
|
.auto-columns #{$parent} {
|
|
@media #{$media} {
|
|
@content;
|
|
}
|
|
}
|
|
.single-column #{$parent} {
|
|
@content;
|
|
}
|
|
}
|
|
|
|
@mixin limited-single-column($media, $parent: "&") {
|
|
.auto-columns #{$parent},
|
|
.single-column #{$parent} {
|
|
@media #{$media} {
|
|
@content;
|
|
}
|
|
}
|
|
}
|
|
|
|
@mixin multi-columns($media, $parent: "&") {
|
|
.auto-columns #{$parent} {
|
|
@media #{$media} {
|
|
@content;
|
|
}
|
|
}
|
|
.multi-columns #{$parent} {
|
|
@content;
|
|
}
|
|
}
|
|
|
|
@mixin fullwidth-gallery {
|
|
&.full-width {
|
|
margin-left: -10px;
|
|
margin-right: -10px;
|
|
width: calc(100% + 20px);
|
|
max-width: none;
|
|
border-radius: 0;
|
|
}
|
|
}
|
|
|
|
@mixin search-input() {
|
|
width: 100%;
|
|
border: 1px solid var(--color-search-lines);
|
|
border-radius: var(--drawer-border-radius);
|
|
box-sizing: border-box;
|
|
color: var(--color-search-fg);
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
background: var(--color-search-bg);
|
|
}
|
|
|
|
@mixin search-popout() {
|
|
background: $simple-background-color;
|
|
border-radius: 4px;
|
|
padding: 10px 14px;
|
|
padding-bottom: 14px;
|
|
margin-top: 10px;
|
|
color: $light-text-color;
|
|
box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
|
|
|
|
h4 {
|
|
text-transform: uppercase;
|
|
color: $light-text-color;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
li {
|
|
padding: 4px 0;
|
|
}
|
|
|
|
ul {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
em {
|
|
font-weight: 500;
|
|
color: $inverted-text-color;
|
|
}
|
|
}
|