[IMP] web,*: move views.scss out of legacy
*: mrp_subcontracting,project,stock task-3439226 Part-of: odoo/odoo#132787
This commit is contained in:
@@ -77,7 +77,6 @@
|
||||
'web/static/lib/jquery.ba-bbq/jquery.ba-bbq.js',
|
||||
|
||||
'web/static/src/legacy/scss/fields.scss',
|
||||
'web/static/src/legacy/scss/views.scss',
|
||||
'web/static/src/legacy/scss/form_view.scss',
|
||||
'web/static/src/legacy/scss/list_view.scss',
|
||||
|
||||
|
||||
@@ -130,7 +130,6 @@
|
||||
'web/static/lib/jquery.ba-bbq/jquery.ba-bbq.js',
|
||||
|
||||
'web/static/src/legacy/scss/fields.scss',
|
||||
'web/static/src/legacy/scss/views.scss',
|
||||
|
||||
'base/static/src/scss/res_partner.scss',
|
||||
|
||||
|
||||
@@ -97,7 +97,6 @@
|
||||
'post_init_hook': '_assign_default_mail_template_picking_id',
|
||||
'assets': {
|
||||
'web.report_assets_common': [
|
||||
'web/static/src/legacy/scss/views.scss',
|
||||
'stock/static/src/scss/report_stock_reception.scss',
|
||||
'stock/static/src/scss/report_stock_rule.scss',
|
||||
],
|
||||
|
||||
@@ -183,7 +183,6 @@ This module provides the core of the Odoo Web Client.
|
||||
'web/static/src/legacy/scss/dropdown.scss',
|
||||
'web/static/src/legacy/scss/tooltip.scss',
|
||||
'web/static/src/legacy/scss/fields.scss',
|
||||
'web/static/src/legacy/scss/views.scss',
|
||||
'web/static/src/legacy/scss/fields_extra.scss',
|
||||
'web/static/src/legacy/scss/color_picker.scss',
|
||||
'base/static/src/scss/res_partner.scss',
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
/**
|
||||
* This file regroups the rules which apply on elements which are shared between
|
||||
* all renderers. For field default rules, see the fields.scss file.
|
||||
*/
|
||||
|
||||
// Invisible modifier (can be inside the view, the button area, ...)
|
||||
.o_invisible_modifier {
|
||||
display: none!important;
|
||||
}
|
||||
|
||||
// Status
|
||||
// This should normally be put in fields.scss but these classes are used outside
|
||||
// of `.o_field_widget` so it needs to be placed at an upper level.
|
||||
.o_status {
|
||||
@extend .rounded-circle;
|
||||
background-color: map-get($grays, '200');
|
||||
height: 12px;
|
||||
width: 12px;
|
||||
box-shadow: inset 0 0 0 1px rgba($black, .2);
|
||||
|
||||
&.o_status_green {
|
||||
@extend .bg-success;
|
||||
}
|
||||
|
||||
&.o_status_red {
|
||||
@extend .bg-danger;
|
||||
}
|
||||
|
||||
.dropdown-item > & {
|
||||
margin-bottom: .2em;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
}
|
||||
@@ -56,3 +56,32 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Invisible modifier (can be inside the view, the button area, ...)
|
||||
.o_invisible_modifier {
|
||||
display: none!important;
|
||||
}
|
||||
|
||||
// Status
|
||||
// This should normally be put in fields.scss but these classes are used outside
|
||||
// of `.o_field_widget` so it needs to be placed at an upper level.
|
||||
.o_status {
|
||||
@extend .rounded-circle;
|
||||
background-color: map-get($grays, '200');
|
||||
height: 12px;
|
||||
width: 12px;
|
||||
box-shadow: inset 0 0 0 1px rgba($black, .2);
|
||||
|
||||
&.o_status_green {
|
||||
@extend .bg-success;
|
||||
}
|
||||
|
||||
&.o_status_red {
|
||||
@extend .bg-danger;
|
||||
}
|
||||
|
||||
.dropdown-item > & {
|
||||
margin-bottom: .2em;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user