Apply prettier formatting

This commit is contained in:
Michael Weimann 2022-12-12 12:24:14 +01:00
parent 1cac306093
commit 526645c791
No known key found for this signature in database
GPG key ID: 53F535A266BB9584
1576 changed files with 65385 additions and 62478 deletions

View file

@ -70,7 +70,7 @@ limitations under the License.
&::before {
transform: rotate(90deg);
mask-size: 22px;
mask-image: url('$(res)/img/feather-customised/chevron-down.svg');
mask-image: url("$(res)/img/feather-customised/chevron-down.svg");
}
/* Header title with the back button */
@ -89,7 +89,7 @@ limitations under the License.
margin-inline-end: calc(var(--BaseCard_header_button-margin) - $spacing-4);
&::before {
mask-image: url('$(res)/img/icons-close.svg');
mask-image: url("$(res)/img/icons-close.svg");
mask-size: 8px;
}
}
@ -115,7 +115,7 @@ limitations under the License.
height: var(--BaseCard_header-button-size);
&::after {
content: '';
content: "";
position: absolute;
inset-block-start: 0;
inset-inline-start: 0;

View file

@ -30,7 +30,8 @@ limitations under the License.
text-overflow: ellipsis;
}
h2, .mx_RoomSummaryCard_alias {
h2,
.mx_RoomSummaryCard_alias {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
@ -52,7 +53,7 @@ limitations under the License.
border: 3px solid $dark-panel-bg-color;
&::before {
content: '';
content: "";
position: absolute;
top: 13px;
left: 13px;
@ -61,7 +62,7 @@ limitations under the License.
mask-size: cover;
mask-repeat: no-repeat;
mask-position: center;
mask-image: url('$(res)/img/e2e/disabled.svg');
mask-image: url("$(res)/img/e2e/disabled.svg");
background-color: #ffffff;
}
}
@ -69,21 +70,21 @@ limitations under the License.
.mx_RoomSummaryCard_e2ee_normal {
background-color: #424446;
&::before {
mask-image: url('$(res)/img/e2e/normal.svg');
mask-image: url("$(res)/img/e2e/normal.svg");
}
}
.mx_RoomSummaryCard_e2ee_verified {
background-color: #0dbd8b;
&::before {
mask-image: url('$(res)/img/e2e/verified.svg');
mask-image: url("$(res)/img/e2e/verified.svg");
}
}
.mx_RoomSummaryCard_e2ee_warning {
background-color: #ff5b55;
&::before {
mask-image: url('$(res)/img/e2e/warning.svg');
mask-image: url("$(res)/img/e2e/warning.svg");
}
}
}
@ -94,7 +95,7 @@ limitations under the License.
padding-left: 44px;
&::before {
content: '';
content: "";
position: absolute;
top: 8px;
left: 10px;
@ -143,7 +144,7 @@ limitations under the License.
&:hover {
&::after {
content: '';
content: "";
position: absolute;
height: 24px;
width: 24px;
@ -155,7 +156,7 @@ limitations under the License.
}
&::before {
content: '';
content: "";
position: absolute;
height: 16px;
width: 16px;
@ -170,7 +171,7 @@ limitations under the License.
right: 8px;
&::before {
mask-image: url('$(res)/img/element-icons/room/pin-upright.svg');
mask-image: url("$(res)/img/element-icons/room/pin-upright.svg");
}
}
.mx_RoomSummaryCard_app_maximiseToggle {
@ -186,7 +187,7 @@ limitations under the License.
right: 56px; /* 2*24 + 8 */
display: none;
&::before {
mask-image: url('$(res)/img/element-icons/room/ellipsis.svg');
mask-image: url("$(res)/img/element-icons/room/ellipsis.svg");
}
}
@ -244,25 +245,25 @@ limitations under the License.
}
.mx_RoomSummaryCard_icon_files::before {
mask-image: url('$(res)/img/element-icons/room/files.svg');
mask-image: url("$(res)/img/element-icons/room/files.svg");
}
.mx_RoomSummaryCard_icon_pins::before {
mask-image: url('$(res)/img/element-icons/room/pin-upright.svg');
mask-image: url("$(res)/img/element-icons/room/pin-upright.svg");
}
.mx_RoomSummaryCard_icon_threads::before {
mask-image: url('$(res)/img/element-icons/message/thread.svg');
mask-image: url("$(res)/img/element-icons/message/thread.svg");
}
.mx_RoomSummaryCard_icon_share::before {
mask-image: url('$(res)/img/element-icons/room/share.svg');
mask-image: url("$(res)/img/element-icons/room/share.svg");
}
.mx_RoomSummaryCard_icon_settings::before {
mask-image: url('$(res)/img/element-icons/settings.svg');
mask-image: url("$(res)/img/element-icons/settings.svg");
}
.mx_RoomSummaryCard_icon_export::before {
mask-image: url('$(res)/img/element-icons/export.svg');
mask-image: url("$(res)/img/element-icons/export.svg");
}

View file

@ -94,7 +94,8 @@ limitations under the License.
}
}
.mx_RoomView_messagePanel { /* To avoid the rule from being applied to .mx_ThreadPanel_empty */
.mx_RoomView_messagePanel {
/* To avoid the rule from being applied to .mx_ThreadPanel_empty */
.mx_RoomView_messageListWrapper {
width: calc(100% + 6px); /* 8px - 2px */
}
@ -149,11 +150,11 @@ limitations under the License.
}
.mx_ThreadPanel_viewInRoom::before {
mask-image: url('$(res)/img/element-icons/view-in-room.svg');
mask-image: url("$(res)/img/element-icons/view-in-room.svg");
}
.mx_ThreadPanel_copyLinkToThread::before {
mask-image: url('$(res)/img/element-icons/link.svg');
mask-image: url("$(res)/img/element-icons/link.svg");
}
.mx_ThreadPanel_empty {
@ -202,7 +203,7 @@ limitations under the License.
font-size: $font-12px;
line-height: $font-15px;
>b {
> b {
font-weight: $font-semi-bold;
}
}

View file

@ -37,7 +37,7 @@ limitations under the License.
padding-right: 11px;
&::after {
content: '';
content: "";
display: block;
position: absolute;
left: 0;
@ -171,13 +171,15 @@ limitations under the License.
}
.mx_GenericEventListSummary_unstyledList, /* RR next to a message on the event list summary */
.mx_RoomView_MessageList { /* RR next to a message on the messsge list */
.mx_RoomView_MessageList {
/* RR next to a message on the messsge list */
.mx_EventTile[data-layout="bubble"] {
.mx_ReadReceiptGroup {
/* 6px: scroll bar width (magic number) */
/* stylelint-disable-next-line declaration-colon-space-after */
inset-inline-end:
calc(-1 * var(--ReadReceiptGroup_EventBubbleTile-spacing-end) + $container-gap-width + 6px);
inset-inline-end: calc(
-1 * var(--ReadReceiptGroup_EventBubbleTile-spacing-end) + $container-gap-width + 6px
);
}
&.mx_EventTile_info {

View file

@ -34,7 +34,7 @@ limitations under the License.
height: 16px;
width: 16px;
padding: 4px;
mask-image: url('$(res)/img/minimise.svg');
mask-image: url("$(res)/img/minimise.svg");
mask-repeat: no-repeat;
mask-position: 7px center;
background-color: $header-panel-text-primary-color;
@ -69,7 +69,7 @@ limitations under the License.
}
.mx_UserInfo_separator {
border-bottom: 1px solid rgba($primary-content, .1);
border-bottom: 1px solid rgba($primary-content, 0.1);
}
.mx_UserInfo_memberDetailsContainer {

View file

@ -25,7 +25,6 @@ limitations under the License.
.mx_UserInfo.mx_BaseCard {
.mx_UserInfo_container:not(.mx_UserInfo_separator) {
> div > p {
margin-top: 0;
margin-bottom: 0;
@ -88,7 +87,8 @@ limitations under the License.
}
/* Special case styling for EncryptionPanel in a Modal dialog */
.mx_Dialog, .mx_CompleteSecurity_body {
.mx_Dialog,
.mx_CompleteSecurity_body {
.mx_VerificationPanel_QRPhase_startOptions {
display: flex;
margin-top: 10px;
@ -117,7 +117,8 @@ limitations under the License.
max-width: 310px;
justify-content: space-between;
canvas, .mx_VerificationPanel_QRPhase_noQR {
canvas,
.mx_VerificationPanel_QRPhase_noQR {
width: 220px !important;
height: 220px !important;
background-color: #fff;