2018-11-07 18:33:14 +03:00
|
|
|
/*
|
|
|
|
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.
|
|
|
|
*/
|
|
|
|
|
2018-11-22 19:00:11 +03:00
|
|
|
.mx_GroupGridView_rooms {
|
2018-11-07 18:33:14 +03:00
|
|
|
display: grid;
|
2018-11-22 19:06:05 +03:00
|
|
|
grid-template-columns: repeat(3, calc(100% / 3));
|
|
|
|
grid-template-rows: repeat(2, calc(100% / 2));
|
2018-11-22 19:00:11 +03:00
|
|
|
flex: 1 1 0;
|
2018-11-07 18:33:14 +03:00
|
|
|
}
|
|
|
|
|
2018-11-22 19:00:11 +03:00
|
|
|
.mx_GroupGridView {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupGridView > .mx_MainSplit {
|
|
|
|
flex: 1 1 0;
|
|
|
|
display: flex;
|
|
|
|
}
|
2018-11-21 17:04:25 +03:00
|
|
|
|
|
|
|
.mx_GroupGridView_emptyTile::before {
|
2018-11-07 18:33:14 +03:00
|
|
|
display: block;
|
|
|
|
margin-top: 100px;
|
|
|
|
text-align: center;
|
|
|
|
content: "no room in this tile yet";
|
|
|
|
}
|
|
|
|
|
2018-11-21 17:04:25 +03:00
|
|
|
.mx_GroupGridView_tile {
|
2018-11-08 13:06:26 +03:00
|
|
|
border-right: 1px solid $panel-divider-color;
|
|
|
|
border-bottom: 1px solid $panel-divider-color;
|
|
|
|
}
|
|
|
|
|
2018-11-21 17:04:25 +03:00
|
|
|
.mx_GroupGridView_activeTile {
|
2018-11-22 14:01:19 +03:00
|
|
|
position: relative;
|
2018-11-21 17:04:25 +03:00
|
|
|
}
|
|
|
|
|
2018-11-22 14:01:19 +03:00
|
|
|
.mx_GroupGridView_activeTile:before,
|
|
|
|
.mx_GroupGridView_activeTile:after {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
content: "";
|
|
|
|
pointer-events: none;
|
|
|
|
z-index: 10000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupGridView_activeTile:before {
|
|
|
|
border-radius: 14px;
|
|
|
|
border: 8px solid rgba(134, 193, 165, 0.5);
|
|
|
|
margin: -8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_GroupGridView_activeTile:after {
|
|
|
|
border-radius: 8px;
|
|
|
|
border: 2px solid rgba(134, 193, 165, 1);
|
|
|
|
margin: -2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2018-11-21 17:04:25 +03:00
|
|
|
.mx_GroupGridView_tile > .mx_RoomView {
|
2018-11-07 18:33:14 +03:00
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2018-11-22 19:00:11 +03:00
|
|
|
.mx_GroupGridView_rooms > *:nth-child(1) {
|
2018-11-07 18:33:14 +03:00
|
|
|
grid-column: 1;
|
|
|
|
grid-row: 1;
|
|
|
|
}
|
|
|
|
|
2018-11-22 19:00:11 +03:00
|
|
|
.mx_GroupGridView_rooms > *:nth-child(2) {
|
2018-11-07 18:33:14 +03:00
|
|
|
grid-column: 2;
|
|
|
|
grid-row: 1;
|
|
|
|
}
|
|
|
|
|
2018-11-22 19:00:11 +03:00
|
|
|
.mx_GroupGridView_rooms > *:nth-child(3) {
|
2018-11-07 18:33:14 +03:00
|
|
|
grid-column: 3;
|
|
|
|
grid-row: 1;
|
|
|
|
}
|
|
|
|
|
2018-11-22 19:00:11 +03:00
|
|
|
.mx_GroupGridView_rooms > *:nth-child(4) {
|
2018-11-07 18:33:14 +03:00
|
|
|
grid-column: 1;
|
|
|
|
grid-row: 2;
|
|
|
|
}
|
|
|
|
|
2018-11-22 19:00:11 +03:00
|
|
|
.mx_GroupGridView_rooms > *:nth-child(5) {
|
2018-11-07 18:33:14 +03:00
|
|
|
grid-column: 2;
|
|
|
|
grid-row: 2;
|
|
|
|
}
|
|
|
|
|
2018-11-22 19:00:11 +03:00
|
|
|
.mx_GroupGridView_rooms > *:nth-child(6) {
|
2018-11-07 18:33:14 +03:00
|
|
|
grid-column: 3;
|
|
|
|
grid-row: 2;
|
|
|
|
}
|