mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 23:44:11 +01:00
43 lines
1.4 KiB
SCSS
43 lines
1.4 KiB
SCSS
/*!
|
|
* Copyright (C) 2013-2020 Combodo SARL
|
|
*
|
|
* This file is part of iTop.
|
|
*
|
|
* iTop is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU Affero General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* iTop is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Affero General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
*/
|
|
|
|
/* Note: We have to wrap it in the ID in order to overload its rules, otherwise, the ID takes over the simple CSS class... */
|
|
#ibo-center-container {
|
|
&.ibo-center-container--with-side-content {
|
|
display: flex;
|
|
align-items: stretch;
|
|
overflow: hidden; /* Only the content areas should scroll */
|
|
|
|
> * {
|
|
height: 100%;
|
|
}
|
|
#ibo-main-content {
|
|
flex-grow: 1; /* To occupy maximum width, side content will handle its width */
|
|
overflow-x: auto; /* To avoid main content to be too wide when the blocks within it have no width constraints. This way it will occupy only the remaining space left by the side part. */
|
|
}
|
|
}
|
|
}
|
|
|
|
.ibo-v-spacer {
|
|
padding-top: 1em;
|
|
}
|
|
|
|
#ibo-side-content {
|
|
background-color: $ibo-content-block--background-color;
|
|
border-left: $ibo-content-block--border;
|
|
} |