2018-04-12 01:23:35 +02:00
|
|
|
/*
|
2024-09-09 15:57:16 +02:00
|
|
|
Copyright 2024 New Vector Ltd.
|
|
|
|
Copyright 2015, 2016 , 2021 The Matrix.org Foundation C.I.C.
|
2018-04-12 01:23:35 +02:00
|
|
|
|
2024-09-09 15:57:16 +02:00
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
|
|
|
|
Please see LICENSE files in the repository root for full details.
|
2018-04-12 01:23:35 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
.mx_UploadBar {
|
2022-07-27 15:39:29 +02:00
|
|
|
padding-left: 65px; /* line up with the shield area in the composer */
|
2023-10-19 06:07:38 +02:00
|
|
|
padding-top: 5px;
|
2021-03-05 22:42:15 +01:00
|
|
|
position: relative;
|
2018-04-12 01:23:35 +02:00
|
|
|
|
2021-03-05 22:14:43 +01:00
|
|
|
.mx_ProgressBar {
|
2022-07-27 15:39:29 +02:00
|
|
|
width: calc(100% - 40px); /* cheating at a right margin */
|
2021-03-05 22:14:43 +01:00
|
|
|
}
|
2018-04-12 01:23:35 +02:00
|
|
|
}
|
|
|
|
|
2021-11-03 09:43:24 +01:00
|
|
|
.mx_ThreadView {
|
|
|
|
.mx_UploadBar {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-05 22:42:15 +01:00
|
|
|
.mx_UploadBar_filename {
|
|
|
|
color: $muted-fg-color;
|
|
|
|
position: relative;
|
2023-10-19 06:07:38 +02:00
|
|
|
padding-right: 38px; /* 32px for cancel icon, 6px for padding */
|
2022-07-27 15:39:29 +02:00
|
|
|
padding-left: 22px; /* 18px for icon, 4px for padding */
|
2021-03-05 22:42:15 +01:00
|
|
|
font-size: $font-15px;
|
|
|
|
vertical-align: middle;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
height: 18px;
|
|
|
|
width: 18px;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-position: center;
|
|
|
|
background-color: $muted-fg-color;
|
2022-12-12 12:24:14 +01:00
|
|
|
mask-image: url("$(res)/img/element-icons/upload.svg");
|
2021-03-05 22:42:15 +01:00
|
|
|
}
|
2018-04-12 01:23:35 +02:00
|
|
|
}
|
|
|
|
|
2021-03-05 22:42:15 +01:00
|
|
|
.mx_UploadBar_cancel {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
2022-07-27 15:39:29 +02:00
|
|
|
margin-right: 16px; /* align over rightmost button in composer */
|
2023-10-19 06:07:38 +02:00
|
|
|
margin-top: 5px;
|
2021-03-05 22:42:15 +01:00
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-position: center;
|
|
|
|
background-color: $muted-fg-color;
|
2024-10-02 12:06:17 +02:00
|
|
|
mask-image: url("@vector-im/compound-design-tokens/icons/close.svg");
|
2018-04-12 01:23:35 +02:00
|
|
|
}
|