Files
element-web/res/css/views/dialogs/_ShareDialog.pcss
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

78 lines
2.0 KiB
Plaintext
Raw Normal View History

2018-06-12 11:12:26 +01:00
/*
2024-09-09 14:57:16 +01:00
Copyright 2018-2024 New Vector Ltd.
2018-06-12 11:12:26 +01:00
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial
2024-09-09 14:57:16 +01:00
Please see LICENSE files in the repository root for full details.
2018-06-12 11:12:26 +01:00
*/
2024-12-02 19:10:17 +01:00
.mx_ShareDialog {
/* Value from figma design */
width: 416px;
.mx_Dialog_header {
text-align: center;
margin-bottom: var(--cpd-space-6x);
/* Override dialog header padding to able to center it */
padding-inline-end: 0;
}
2018-06-12 11:12:26 +01:00
2024-12-02 19:10:17 +01:00
.mx_ShareDialog_content {
display: flex;
flex-direction: column;
gap: var(--cpd-space-6x);
align-items: center;
2018-06-12 11:12:26 +01:00
2024-12-02 19:10:17 +01:00
.mx_ShareDialog_top {
display: flex;
flex-direction: column;
gap: var(--cpd-space-4x);
align-items: center;
width: 100%;
2024-12-02 19:10:17 +01:00
span {
text-align: center;
font: var(--cpd-font-body-sm-semibold);
color: var(--cpd-color-text-secondary);
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
width: 100%;
}
}
2018-06-12 11:12:26 +01:00
2024-12-02 19:10:17 +01:00
label {
display: inline-flex;
gap: var(--cpd-space-3x);
justify-content: center;
align-items: center;
font: var(--cpd-font-body-md-medium);
}
2018-06-12 11:12:26 +01:00
2024-12-02 19:10:17 +01:00
button {
width: 100%;
}
2018-06-12 11:12:26 +01:00
2024-12-02 19:10:17 +01:00
.mx_ShareDialog_social {
display: flex;
gap: var(--cpd-space-3x);
justify-content: center;
2024-12-02 19:10:17 +01:00
a {
width: 48px;
height: 48px;
border-radius: 99px;
box-sizing: border-box;
border: 1px solid var(--cpd-color-border-interactive-secondary);
display: flex;
justify-content: center;
align-items: center;
2018-06-12 11:12:26 +01:00
2024-12-02 19:10:17 +01:00
img {
width: 24px;
height: 24px;
}
}
}
}
2018-06-12 11:12:26 +01:00
}