mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-18 06:35:35 +08:00
131 lines
2.6 KiB
SCSS
131 lines
2.6 KiB
SCSS
/*
|
|
Copyright 2017 Vector Creations Ltd
|
|
|
|
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.
|
|
*/
|
|
|
|
.mx_GroupGridView {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.mx_GroupGridView_rooms {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, calc(100% / 3));
|
|
grid-template-rows: repeat(2, calc(100% / 2));
|
|
flex: 1 1 0;
|
|
min-width: 0;
|
|
}
|
|
|
|
.mx_GroupGridView_rightPanel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
.mx_GroupGridView_tabs {
|
|
flex: 0 0 52px;
|
|
border-bottom: 1px solid $primary-hairline-color;
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
> div {
|
|
justify-content: flex-end;
|
|
width: 100%;
|
|
margin-right: 10px;
|
|
}
|
|
}
|
|
|
|
.mx_RightPanel {
|
|
flex: 1 0 auto !important;
|
|
}
|
|
}
|
|
|
|
|
|
.mx_GroupGridView > .mx_MainSplit {
|
|
flex: 1 1 0;
|
|
display: flex;
|
|
}
|
|
|
|
.mx_GroupGridView_emptyTile {
|
|
display: block;
|
|
margin-top: 100px;
|
|
text-align: center;
|
|
user-select: none;
|
|
}
|
|
|
|
.mx_GroupGridView_tile {
|
|
border-right: 1px solid $panel-divider-color;
|
|
border-bottom: 1px solid $panel-divider-color;
|
|
}
|
|
|
|
.mx_GroupGridView_activeTile {
|
|
position: relative;
|
|
}
|
|
|
|
.mx_GroupGridView_activeTile:before,
|
|
.mx_GroupGridView_activeTile:after {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
content: "";
|
|
pointer-events: none;
|
|
z-index: 3500;
|
|
}
|
|
|
|
.mx_GroupGridView_activeTile:before {
|
|
border-radius: 14px;
|
|
border: 8px solid $gridview-focus-border-glow-color;
|
|
margin: -8px;
|
|
}
|
|
|
|
.mx_GroupGridView_activeTile:after {
|
|
border-radius: 8px;
|
|
border: 2px solid $gridview-focus-border-color;
|
|
margin: -2px;
|
|
}
|
|
|
|
.mx_GroupGridView_tile > .mx_RoomView {
|
|
height: 100%;
|
|
}
|
|
|
|
.mx_GroupGridView_rooms > *:nth-child(1) {
|
|
grid-column: 1;
|
|
grid-row: 1;
|
|
}
|
|
|
|
.mx_GroupGridView_rooms > *:nth-child(2) {
|
|
grid-column: 2;
|
|
grid-row: 1;
|
|
}
|
|
|
|
.mx_GroupGridView_rooms > *:nth-child(3) {
|
|
grid-column: 3;
|
|
grid-row: 1;
|
|
}
|
|
|
|
.mx_GroupGridView_rooms > *:nth-child(4) {
|
|
grid-column: 1;
|
|
grid-row: 2;
|
|
}
|
|
|
|
.mx_GroupGridView_rooms > *:nth-child(5) {
|
|
grid-column: 2;
|
|
grid-row: 2;
|
|
}
|
|
|
|
.mx_GroupGridView_rooms > *:nth-child(6) {
|
|
grid-column: 3;
|
|
grid-row: 2;
|
|
}
|