[MOV] web: move KanbanView variables into the component folder
This commit moves the kanban variables from primary_variables.scss to the KanbanView folder. Part of the overall v16 SCSS optimization/restyle, task-2704984 task-2892062 Part-of: odoo/odoo#96195
This commit is contained in:
@@ -145,28 +145,6 @@ $o-datepicker-week-color: #8f8f8f !default;
|
||||
|
||||
$o-card-body-bg-opacity: 0.9 !default;
|
||||
|
||||
// Kanban
|
||||
|
||||
$o-kanban-default-record-width: 300px !default;
|
||||
$o-kanban-small-record-width: 240px !default;
|
||||
|
||||
$o-kanban-header-title-height: 50px !default;
|
||||
|
||||
$o-kanban-image-width: 64px !default;
|
||||
$o-kanban-image-fill-width: 95px !default;
|
||||
$o-kanban-inside-vgutter: 8px !default;
|
||||
$o-kanban-inside-hgutter: 8px !default;
|
||||
$o-kanban-color-border-width: 2px !default;
|
||||
$o-kanban-inner-hmargin: 5px !default;
|
||||
$o-kanban-progressbar-height: 20px !default;
|
||||
|
||||
$o-kanban-mobile-tabs-height: 40px !default;
|
||||
$o-kanban-mobile-empty-height: $o-kanban-image-width !default;
|
||||
// ------- Kanban dashboard variables -------
|
||||
|
||||
// Used to manage spacing in complex dropdown menu
|
||||
$o-kanban-dashboard-dropdown-complex-gap: 5px !default;
|
||||
|
||||
// Border-radius
|
||||
|
||||
$o-border-radius: .25rem !default;
|
||||
|
||||
@@ -33,17 +33,3 @@ $o-datepicker-week-bg-color: lighten($o-datepicker-week-color, 30%) !default;
|
||||
// is the minimal width of the default form view design for md/lg sizes
|
||||
$o-form-sheet-min-width: 990px !default;
|
||||
$o-form-separator-color: invert($o-view-background-color, 10%) !default;
|
||||
|
||||
// Kanban
|
||||
|
||||
$o-kanban-record-margin: $o-horizontal-padding / 2 !default;
|
||||
$o-kanban-group-padding: $o-horizontal-padding !default; // Cannot be higher than this
|
||||
|
||||
$o-kanban-inside-hgutter-mobile: $o-horizontal-padding !default;
|
||||
|
||||
// ------- Kanban dashboard variables -------
|
||||
|
||||
// Since rows and containers are used inside cards, we're
|
||||
// forced to set the padding relative to the grid system.
|
||||
$o-kanban-dashboard-hpadding: $o-horizontal-padding !default;
|
||||
$o-kanban-dashboard-vpadding: $o-horizontal-padding / 2 !default;
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
$o-kanban-default-record-width: 300px !default;
|
||||
$o-kanban-small-record-width: 240px !default;
|
||||
$o-kanban-header-title-height: 50px !default;
|
||||
$o-kanban-image-width: 64px !default;
|
||||
$o-kanban-image-fill-width: 95px !default;
|
||||
$o-kanban-inside-vgutter: 8px !default;
|
||||
$o-kanban-inside-hgutter: 8px !default;
|
||||
$o-kanban-color-border-width: 2px !default;
|
||||
$o-kanban-inner-hmargin: 5px !default;
|
||||
$o-kanban-progressbar-height: 20px !default;
|
||||
$o-kanban-mobile-tabs-height: 40px !default;
|
||||
$o-kanban-mobile-empty-height: $o-kanban-image-width !default;
|
||||
$o-kanban-record-margin: $o-horizontal-padding / 2 !default;
|
||||
$o-kanban-group-padding: $o-horizontal-padding !default; // Cannot be higher than this
|
||||
$o-kanban-inside-hgutter-mobile: $o-horizontal-padding !default;
|
||||
|
||||
// ------- Kanban dashboard variables -------
|
||||
|
||||
// Used to manage spacing in complex dropdown menu
|
||||
$o-kanban-dashboard-dropdown-complex-gap: 5px !default;
|
||||
|
||||
// Since rows and containers are used inside cards, we're
|
||||
// forced to set the padding relative to the grid system.
|
||||
$o-kanban-dashboard-hpadding: $o-horizontal-padding !default;
|
||||
$o-kanban-dashboard-vpadding: $o-horizontal-padding / 2 !default;
|
||||
Reference in New Issue
Block a user