signal-desktop/stylesheets/components/InstallScreenUpdateDialog.scss

53 lines
1.2 KiB
SCSS
Raw Normal View History

2023-03-20 20:42:00 +00:00
// Copyright 2023 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
2024-11-15 23:09:31 +00:00
@use '../mixins';
@use '../variables';
2023-03-20 20:42:00 +00:00
.InstallScreenUpdateDialog {
&__download-size {
font-weight: 400;
}
&__progress {
&--container {
2024-11-15 23:09:31 +00:00
@include mixins.light-theme() {
background-color: variables.$color-gray-15;
2023-03-20 20:42:00 +00:00
}
2024-11-15 23:09:31 +00:00
@include mixins.dark-theme() {
background-color: variables.$color-gray-65;
}
& {
border-radius: 2px;
height: 4px;
overflow: hidden;
width: 100%;
margin-block: 16px;
margin-inline: 0;
2023-03-20 20:42:00 +00:00
}
}
&--bar {
2024-11-15 23:09:31 +00:00
background-color: variables.$color-ultramarine;
2023-03-20 20:42:00 +00:00
border-radius: 2px;
display: block;
height: 100%;
width: 100%;
2023-04-20 17:03:43 +00:00
&:dir(ltr) {
/* stylelint-disable-next-line declaration-property-value-disallowed-list */
transform: translateX(-100%);
}
&:dir(rtl) {
/* stylelint-disable-next-line declaration-property-value-disallowed-list */
transform: translateX(100%);
}
2023-03-20 20:42:00 +00:00
transition: transform 500ms ease-out;
}
}
a {
// Prevent breaking the text
display: inline-block;
}
}