Files
cinny/src/app/organisms/public-rooms/PublicRooms.scss
T

85 lines
1.7 KiB
SCSS
Raw Normal View History

2021-12-19 10:28:41 +05:30
@use '../../partials/dir';
2021-08-31 18:43:31 +05:30
.public-rooms {
2021-12-19 10:28:41 +05:30
@include dir.side(margin, var(--sp-normal), var(--sp-extra-tight));
2021-07-28 18:45:52 +05:30
margin-top: var(--sp-extra-tight);
&__form {
display: flex;
align-items: flex-end;
& .btn-primary {
padding: {
top: 11px;
bottom: 11px;
}
}
}
&__input-wrapper {
flex: 1;
min-width: 0;
display: flex;
2021-12-19 10:28:41 +05:30
@include dir.side(margin, 0, var(--sp-normal));
2021-07-28 18:45:52 +05:30
& > div:first-child {
flex: 1;
min-width: 0;
& .input {
2021-12-19 10:28:41 +05:30
@include dir.prop(border-radius,
var(--bo-radius) 0 0 var(--bo-radius),
0 var(--bo-radius) var(--bo-radius) 0,
);
2021-07-28 18:45:52 +05:30
}
}
& > div:last-child .input {
width: 120px;
2021-12-19 10:28:41 +05:30
@include dir.prop(border-left-width, 0, 1px);
@include dir.prop(border-right-width, 1px, 0);
@include dir.prop(border-radius,
0 var(--bo-radius) var(--bo-radius) 0,
var(--bo-radius) 0 0 var(--bo-radius),
);
2021-07-28 18:45:52 +05:30
}
}
&__search-status {
margin-top: var(--sp-extra-loose);
margin-bottom: var(--sp-tight);
& .donut-spinner {
margin: 0 var(--sp-tight);
}
.try-join-with-alias {
margin-top: var(--sp-normal);
}
2021-07-28 18:45:52 +05:30
}
&__search-error {
color: var(--bg-danger);
}
&__content {
border-top: 1px solid var(--bg-surface-border);
}
&__view-more {
margin-top: var(--sp-loose);
2021-12-19 10:28:41 +05:30
@include dir.side(margin, calc(var(--av-normal) + var(--sp-normal)), 0);
2021-07-28 18:45:52 +05:30
}
2021-08-31 18:43:31 +05:30
& .room-tile {
2021-07-28 18:45:52 +05:30
margin-top: var(--sp-normal);
&__options {
align-self: flex-end;
}
}
}
.try-join-with-alias {
display: flex;
align-items: center;
& >.text:nth-child(2) {
margin: 0 var(--sp-normal);
}
2021-07-28 18:45:52 +05:30
}