Fix space hierarchy css not applying as it should
parent
ddb8947c15
commit
489b4be6cf
|
@ -26,7 +26,10 @@ limitations under the License.
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mx_SpaceRoomDirectory,
|
||||||
|
.mx_SpaceRoomView_landing {
|
||||||
.mx_Dialog_title {
|
.mx_Dialog_title {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
|
@ -56,65 +59,63 @@ limitations under the License.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_Dialog_content {
|
.mx_AccessibleButton_kind_link {
|
||||||
.mx_AccessibleButton_kind_link {
|
padding: 0;
|
||||||
padding: 0;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.mx_SearchBox {
|
.mx_SearchBox {
|
||||||
margin: 24px 0 16px;
|
margin: 24px 0 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_SpaceRoomDirectory_noResults {
|
.mx_SpaceRoomDirectory_noResults {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
> div {
|
> div {
|
||||||
font-size: $font-15px;
|
|
||||||
line-height: $font-24px;
|
|
||||||
color: $secondary-fg-color;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.mx_SpaceRoomDirectory_listHeader {
|
|
||||||
display: flex;
|
|
||||||
min-height: 32px;
|
|
||||||
align-items: center;
|
|
||||||
font-size: $font-15px;
|
font-size: $font-15px;
|
||||||
line-height: $font-24px;
|
line-height: $font-24px;
|
||||||
color: $primary-fg-color;
|
color: $secondary-fg-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.mx_AccessibleButton {
|
.mx_SpaceRoomDirectory_listHeader {
|
||||||
padding: 2px 8px;
|
display: flex;
|
||||||
font-weight: normal;
|
min-height: 32px;
|
||||||
|
align-items: center;
|
||||||
|
font-size: $font-15px;
|
||||||
|
line-height: $font-24px;
|
||||||
|
color: $primary-fg-color;
|
||||||
|
|
||||||
& + .mx_AccessibleButton {
|
.mx_AccessibleButton {
|
||||||
margin-left: 16px;
|
padding: 2px 8px;
|
||||||
}
|
font-weight: normal;
|
||||||
}
|
|
||||||
|
|
||||||
> span {
|
& + .mx_AccessibleButton {
|
||||||
margin-left: auto;
|
margin-left: 16px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_SpaceRoomDirectory_error {
|
> span {
|
||||||
position: relative;
|
margin-left: auto;
|
||||||
font-weight: $font-semi-bold;
|
}
|
||||||
color: $notice-primary-color;
|
}
|
||||||
font-size: $font-15px;
|
|
||||||
line-height: $font-18px;
|
|
||||||
margin: 20px auto 12px;
|
|
||||||
padding-left: 24px;
|
|
||||||
width: max-content;
|
|
||||||
|
|
||||||
&::before {
|
.mx_SpaceRoomDirectory_error {
|
||||||
content: "";
|
position: relative;
|
||||||
position: absolute;
|
font-weight: $font-semi-bold;
|
||||||
height: 16px;
|
color: $notice-primary-color;
|
||||||
width: 16px;
|
font-size: $font-15px;
|
||||||
left: 0;
|
line-height: $font-18px;
|
||||||
background-image: url("$(res)/img/element-icons/warning-badge.svg");
|
margin: 20px auto 12px;
|
||||||
}
|
padding-left: 24px;
|
||||||
|
width: max-content;
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
height: 16px;
|
||||||
|
width: 16px;
|
||||||
|
left: 0;
|
||||||
|
background-image: url("$(res)/img/element-icons/warning-badge.svg");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue