cinny/src/app/molecules/import-export-e2e-room-keys/ImportE2ERoomKeys.scss

61 lines
1.2 KiB
SCSS
Raw Normal View History

@use '../../partials/text';
@use '../../partials/dir';
.import-e2e-room-keys {
&__file {
display: inline-flex;
align-items: center;
background: var(--bg-surface-low);
border-radius: var(--bo-radius);
box-shadow: var(--bs-surface-border);
& button {
--parent-height: 46px;
width: var(--parent-height);
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
& .ic-raw {
background-color: var(--bg-caution);
transform: rotate(45deg);
}
& .text {
@extend .cp-txt__ellipsis;
@include dir.side(margin, var(--sp-tight), var(--sp-loose));
max-width: 86px;
}
}
&__form {
display: flex;
margin-top: var(--sp-extra-tight);
& .input-container {
flex: 1;
margin: 0 var(--sp-tight);
}
}
&__process {
margin-top: var(--sp-tight);
display: flex;
justify-content: center;
align-items: center;
& .text {
margin: 0 var(--sp-tight);
}
}
&__error {
margin-top: var(--sp-tight);
2021-12-06 05:52:45 +01:00
color: var(--tc-danger-high);
}
&__success {
margin-top: var(--sp-tight);
color: var(--tc-positive-high);
}
}