hydrogen-web/src/platform/web/ui/css/left-panel.css
2020-10-26 10:28:11 +01:00

60 lines
1.2 KiB
CSS

/*
Copyright 2020 Bruno Windels <bruno@windels.cloud>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
.LeftPanel {
display: flex;
flex-direction: column;
}
.LeftPanel .utilities {
display: flex;
}
.LeftPanel .utilities .FilterField {
flex: 1;
min-width: 0;
}
.LeftPanel ul {
list-style: none;
padding: 0;
margin: 0;
}
.RoomList {
flex: 1 0 0;
overflow-y: auto;
overscroll-behavior: contain;
}
.RoomList > li > a {
display: flex;
align-items: center;
}
.RoomList .description {
margin: 0;
flex: 1 1 0;
min-width: 0;
display: flex;
}
.RoomList .description > .name {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
flex: 1;
}