mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
3c69886320
Also: - New schema version 8 with video/image thumbnails, screenshots, sizes - Upgrade messages not at current schema version when loading messages to show in conversation - New MessageDetail react component - New ConversationHeader react component
30 lines
584 B
SCSS
30 lines
584 B
SCSS
@mixin button-reset {
|
|
background: none;
|
|
color: inherit;
|
|
border: none;
|
|
padding: 0;
|
|
font: inherit;
|
|
cursor: pointer;
|
|
outline: inherit;
|
|
}
|
|
|
|
@mixin color-svg($svg, $color) {
|
|
-webkit-mask: url($svg) no-repeat center;
|
|
-webkit-mask-size: 100%;
|
|
background-color: $color;
|
|
}
|
|
|
|
@mixin header-icon-white($svg) {
|
|
@include color-svg($svg, rgba(255, 255, 255, 0.8));
|
|
&:focus,
|
|
&:hover {
|
|
@include color-svg($svg, white);
|
|
}
|
|
}
|
|
@mixin header-icon-black($svg) {
|
|
@include color-svg($svg, rgba(0, 0, 0, 0.5));
|
|
&:focus,
|
|
&:hover {
|
|
@include color-svg($svg, black);
|
|
}
|
|
}
|