mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-02 06:58:49 +02:00
N°2847 - Work on TabContainer: Move SCSS and HTML files to the layout folder
This commit is contained in:
@@ -13,8 +13,6 @@
|
||||
@import "popover-menu/popover-menu-item";
|
||||
@import "newsroom-menu";
|
||||
|
||||
@import "tab-container/tab-container";
|
||||
@import "tab-container/tab";
|
||||
@import "title";
|
||||
@import "form";
|
||||
@import "input";
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
/*!
|
||||
* @copyright Copyright (C) 2010-2020 Combodo SARL
|
||||
* @license http://opensource.org/licenses/AGPL-3.0
|
||||
*/
|
||||
|
||||
/* SCSS variables */
|
||||
$ibo-tab-container--tabs-list--height: 36px !default;
|
||||
$ibo-tab-container--tabs-list--padding-x: 24px !default;
|
||||
$ibo-tab-container--tabs-list--background-color: $ibo-color-grey-100 !default;
|
||||
|
||||
$ibo-tab-container--tab-header--max-width: 110px !default;
|
||||
$ibo-tab-container--tab-header--text-color: $ibo-color-grey-700 !default;
|
||||
$ibo-tab-container--tab-header--text-color--is-active: $ibo-color-blue-800 !default;
|
||||
$ibo-tab-container--tab-header--text-color--on-hover: $ibo-color-blue-800 !default;
|
||||
$ibo-tab-container--tab-header--background-color--on-hover: $ibo-color-grey-200 !default;
|
||||
|
||||
$ibo-tab-container--tab-toggler--padding-x: 24px !default;
|
||||
|
||||
/* Rules */
|
||||
.ibo-tab-container--tabs-list {
|
||||
@extend %ibo-full-height-content;
|
||||
height: $ibo-tab-container--tabs-list--height;
|
||||
|
||||
background-color: $ibo-tab-container--tabs-list--background-color;
|
||||
@extend %ibo-font-ral-nor-150;
|
||||
}
|
||||
.ibo-tab-container--tab-header{
|
||||
@extend %ibo-full-height-content;
|
||||
|
||||
color: $ibo-tab-container--tab-header--text-color;
|
||||
|
||||
&:hover{
|
||||
color: $ibo-tab-container--tab-header--text-color--on-hover;
|
||||
background-color: $ibo-tab-container--tab-header--background-color--on-hover;
|
||||
}
|
||||
&.ui-tabs-active{
|
||||
@extend %ibo-font-ral-bol-150;
|
||||
color: $ibo-tab-container--tab-header--text-color--is-active;
|
||||
}
|
||||
}
|
||||
.ibo-tab-container--tab-toggler{
|
||||
@extend %ibo-fully-centered-content;
|
||||
padding-left: $ibo-tab-container--tab-toggler--padding-x;
|
||||
padding-right: $ibo-tab-container--tab-toggler--padding-x;
|
||||
|
||||
@extend %ibo-text-truncated-with-ellipsis;
|
||||
color: inherit; /* To get color from parent */
|
||||
|
||||
&:hover,
|
||||
&:active{
|
||||
color: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
/*!
|
||||
* @copyright Copyright (C) 2010-2020 Combodo SARL
|
||||
* @license http://opensource.org/licenses/AGPL-3.0
|
||||
*/
|
||||
|
||||
.ibo-tab--header {
|
||||
a {
|
||||
@extend %ibo-font-ral-med-200;
|
||||
color: $ibo-color-grey-700;
|
||||
|
||||
:hover {
|
||||
color: $ibo-color-grey-900;
|
||||
}
|
||||
}
|
||||
|
||||
&.ui-state-active a {
|
||||
color: $ibo-color-blue-800;
|
||||
@extend %ibo-font-ral-bol-200;
|
||||
|
||||
:hover {
|
||||
color: $ibo-color-blue-800;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ibo-tab--content {
|
||||
background: $ibo-color-white-100;
|
||||
}
|
||||
Reference in New Issue
Block a user