signal-desktop/sticker-creator/elements/DropZone.scss

65 lines
1,022 B
SCSS
Raw Normal View History

2021-05-28 16:15:17 +00:00
// Copyright 2019-2021 Signal Messenger, LLC
2020-10-30 20:34:04 +00:00
// SPDX-License-Identifier: AGPL-3.0-only
2019-12-17 20:25:57 +00:00
@import '../../stylesheets/variables';
@import '../mixins';
.base {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
flex-grow: 1;
@include light-theme() {
color: $color-gray-60;
2019-12-17 20:25:57 +00:00
}
@include dark-theme() {
color: $color-gray-45;
2019-12-17 20:25:57 +00:00
}
}
.text {
margin: 16px 0 0 0;
font-family: $inter;
font-size: 14px;
font-weight: normal;
@include light-theme() {
color: $color-gray-60;
2019-12-17 20:25:57 +00:00
}
@include dark-theme() {
color: $color-gray-45;
2019-12-17 20:25:57 +00:00
}
}
.standalone {
composes: base;
border-radius: 4px;
border: 2px solid;
@include light-theme() {
border-color: $color-gray-25;
}
@include dark-theme() {
border-color: $color-gray-60;
}
}
.active {
composes: standalone;
@include light-theme() {
2021-05-28 16:15:17 +00:00
border-color: $color-ultramarine;
2019-12-17 20:25:57 +00:00
}
@include dark-theme() {
2021-05-28 16:15:17 +00:00
border-color: $color-ultramarine-light;
2019-12-17 20:25:57 +00:00
}
}