/*! * 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 */ /* SCSS variables (can be overloaded) */ $ibo-nav-menu-height: 100% !default; $ibo-nav-menu-padding-x: 16px !default; $ibo-nav-menu-padding-y: 16px !default; $ibo-nav-menu-width-collapsed: 60px !default; $ibo-nav-menu-width-expanded: 310px !default; $ibo-nav-menu--head-background-color: $ibo-color-blue-grey-900 !default; $ibo-nav-menu--head-text-color: $ibo-color-grey-300 !default; $ibo-nav-menu--top-group-spacing: 20px !default; $ibo-nav-menu--middle-group-spacing: 28px !default; /* CSS variables (can be changed directly from the browser) */ :root { --ibo-nav-menu-height: $ibo-nav-menu-height; --ibo-nav-menu-padding-x: $ibo-nav-menu-padding-x; --ibo-nav-menu-padding-y: $ibo-nav-menu-padding-y; --ibo-nav-menu-width-collapsed: $ibo-nav-menu-width-collapsed; --ibo-nav-menu-width-expanded: $ibo-nav-menu-width-expanded; --ibo-nav-menu--head-background-color: $ibo-nav-menu--head-background-color; --ibo-nav-menu--head-text-color: $ibo-nav-menu--head-text-color; --ibo-nav-menu-top-group-spacing: $ibo-nav-menu--top-group-spacing; --ibo-nav-menu-middle-group-spacing: $ibo-nav-menu--middle-group-spacing; } .ibo-nav-menu{ position: relative; overflow-y: auto; .ibo-nav-menu--head, .ibo-nav-menu--body{ height: var(--ibo-nav-menu-height); } .ibo-nav-menu--head{ background-color: var(--ibo-nav-menu--head-background-color); } }