signal-desktop/stylesheets/components/SelectModeActions.scss

69 lines
1.4 KiB
SCSS
Raw Normal View History

2023-03-20 22:23:53 +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 22:23:53 +00:00
.SelectModeActions {
display: flex;
align-items: center;
width: 100%;
2023-05-04 18:04:22 +00:00
padding-inline: 4px;
2023-03-20 22:23:53 +00:00
}
.SelectModeActions__selectedMessages {
flex: 1;
2023-04-20 17:03:43 +00:00
padding-block: 17px;
padding-inline: 10px;
2024-11-15 23:09:31 +00:00
@include mixins.font-body-1;
@include mixins.light-theme() {
color: variables.$color-gray-60;
2023-03-20 22:23:53 +00:00
}
2024-11-15 23:09:31 +00:00
@include mixins.dark-theme() {
color: variables.$color-gray-25;
2023-03-20 22:23:53 +00:00
}
}
.SelectModeActions__button {
appearance: none;
2023-05-04 18:04:22 +00:00
padding: 12px;
2023-03-20 22:23:53 +00:00
border: none;
background: transparent;
}
.SelectModeActions__icon {
display: block;
2023-05-04 18:04:22 +00:00
width: 20px;
height: 20px;
2024-11-15 23:09:31 +00:00
@include mixins.light-theme {
color: variables.$color-gray-75;
2023-03-20 22:23:53 +00:00
}
2024-11-15 23:09:31 +00:00
@include mixins.dark-theme {
color: variables.$color-gray-15;
2023-03-20 22:23:53 +00:00
}
.SelectModeActions__button--disabled & {
2024-11-15 23:09:31 +00:00
@include mixins.light-theme {
color: variables.$color-gray-25;
2023-03-20 22:23:53 +00:00
}
2024-11-15 23:09:31 +00:00
@include mixins.dark-theme {
color: variables.$color-gray-60;
2023-03-20 22:23:53 +00:00
}
}
}
.SelectModeActions__icon--exitSelectMode {
2024-11-15 23:09:31 +00:00
@include mixins.color-svg('../images/icons/v3/x/x.svg', currentColor);
2023-03-20 22:23:53 +00:00
}
.SelectModeActions__icon--forwardSelectedMessages {
2024-11-15 23:09:31 +00:00
@include mixins.color-svg(
'../images/icons/v3/forward/forward.svg',
currentColor
);
2023-03-20 22:23:53 +00:00
}
.SelectModeActions__icon--deleteSelectedMessages {
2024-11-15 23:09:31 +00:00
@include mixins.color-svg('../images/icons/v3/trash/trash.svg', currentColor);
2023-03-20 22:23:53 +00:00
}