mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-19 00:28:47 +02:00
N°2847 - Improve panel integration regarding the mockups (not done yet)
This commit is contained in:
@@ -28,7 +28,7 @@ $ibo-panel--title--color: $ibo-color-grey-900 !default;
|
||||
$ibo-panel--subtitle--color: $ibo-color-grey-800 !default;
|
||||
|
||||
$ibo-panel--body--background-color: $ibo-color-white-100 !default;
|
||||
$ibo-panel--body--padding-bottom: 16px !default;
|
||||
$ibo-panel--body--padding-bottom: 24px !default;
|
||||
$ibo-panel--body--padding-top: $ibo-panel--body--padding-bottom + $ibo-panel--highlight--height !default;
|
||||
$ibo-panel--body--padding-x: 16px !default;
|
||||
$ibo-panel--body--border-radius: $ibo-border-radius-500 !default;
|
||||
@@ -111,7 +111,7 @@ $ibo-panel-colors: (
|
||||
|
||||
.ibo-panel--body {
|
||||
position: relative;
|
||||
padding: $ibo-panel--body--padding-top $ibo-panel--body--padding-x $ibo-panel--body--padding-bottom;
|
||||
padding: $ibo-panel--body--padding-top $ibo-panel--body--padding-x $ibo-panel--body--padding-bottom $ibo-panel--body--padding-x;
|
||||
background-color: $ibo-panel--body--background-color;
|
||||
border: solid $ibo-panel--body--border-size $ibo-panel--body--border-color;
|
||||
border-radius: $ibo-panel--body--border-radius;
|
||||
|
||||
@@ -10,7 +10,6 @@ $ibo-dashlet-header-dynamic--count--margin-right: 10px !default;
|
||||
.ibo-dashlet-header-dynamic--container {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
padding-top: 12px;
|
||||
}
|
||||
|
||||
.ibo-dashlet-header-dynamic--count {
|
||||
|
||||
@@ -3,6 +3,12 @@
|
||||
* @license http://opensource.org/licenses/AGPL-3.0
|
||||
*/
|
||||
|
||||
// IMPORTANT: We have to cancel the panel padding because the tab-container already has its own.
|
||||
// - As the tab-container can be used outside a panel in another type of block, we can't remove it from its partial (_tab-container.scss)
|
||||
// - This kind of file is the place where *integrations* like this are supposed to be done, keep this in mind when integrating others blocks
|
||||
|
||||
// Note: This might not be named well, maybe "tab-container-within-panel" would have been better?
|
||||
|
||||
$ibo-panel-with-tab-container--padding-top: -1 * ($ibo-panel--body--padding-top - $ibo-panel--highlight--height) !default;
|
||||
$ibo-panel-with-tab-container--margin-x: -1 * $ibo-panel--body--padding-x !default;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user