Files
blap/packages/shared-components/src/room/timeline/event-tile/body/MFileBodyView/FileBodyView.module.css
T
rbondesson b0ee6f5323 Add CSS cascade layers for Compound, shared components, and app/web styles (#33302)
* Layer Compound and shared component CSS

* Layer app theme CSS

* Remove !important flags from ActionBarView

* Remove unnecessary !important statements from shared components

* Avoid dead code errors for *.pcss just because layer is specified after @import url

* Remove unnecessary !important styling

* Override Banner defaults in RoomStatusBarView

* Updated snaps

* Updated snaps

* Fix styling of media body in app/web

* Fix styling for Compound anchors

* Fix styling issues in app/web

* More styling fixes

* Fix a problem extracting css for HTMLExport

* Revert changes

* Fix for theme styling

* Add test to improve coverage

* Prettier

* Fix styling issues

* Add data-kind attribute to avoid global styling override

* Update screenshot that now is correct

* Revert data-kind attribute

* Handle LinkPreview styling in .pcss

* Fix flaky test: Avoid racing the lazy-loaded ManageEventIndexDialog

* Take care of review comments

* Updated snaps

* Updated snaps again after merge

* Remove !important from RoomStatusBar
2026-04-30 11:54:49 +00:00

72 lines
1.5 KiB
CSS

/*
* Copyright 2026 Element Creations Ltd.
*
* SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial
* Please see LICENSE files in the repository root for full details.
*/
.content {
display: flex;
flex-direction: column;
min-width: 0;
gap: var(--cpd-space-2x);
& a {
display: flex;
flex-grow: 1;
text-decoration: none;
color: inherit;
}
}
.content [data-type="info"] {
display: inline-flex;
align-items: center;
flex-grow: 1;
& button {
display: flex;
margin: 0;
padding: 0;
border: none;
width: 100%;
min-block-size: unset;
color: inherit;
background-color: inherit;
gap: var(--cpd-space-3x);
& svg {
width: 16px;
height: 16px;
padding: var(--cpd-space-2x);
}
& span {
flex: 1;
min-width: 0;
text-align: start;
font: var(--cpd-font-body-md-regular);
letter-spacing: var(--cpd-font-letter-spacing-body-md);
color: var(--cpd-color-text-primary);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
}
.content [data-type="download"] {
align-items: center;
& iframe {
margin: 0;
padding: 0;
border: none;
width: 100%;
}
}
.invalid {
color: var(--cpd-color-text-critical-primary);
}