summaryrefslogtreecommitdiff
path: root/addons/web/static/src/less/fields_extra.less
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2018-03-12 16:27:41 +0100
committerqsm-odoo <qsm@odoo.com>2018-04-18 15:59:15 +0200
commitb04dec4025013c60e4857c1e177bb20d811cd41a (patch)
treedb8b38a5e1df34ee6f0402fab9a0bd8b4b769f8e /addons/web/static/src/less/fields_extra.less
parenta6393130e6fcc4ad706f3df08557e5434416e4ab (diff)
[REF] *: rename all LESS files to SCSS
This is a simple renaming without adaptation.
Diffstat (limited to 'addons/web/static/src/less/fields_extra.less')
-rw-r--r--addons/web/static/src/less/fields_extra.less59
1 files changed, 0 insertions, 59 deletions
diff --git a/addons/web/static/src/less/fields_extra.less b/addons/web/static/src/less/fields_extra.less
deleted file mode 100644
index 577cfacacb4..00000000000
--- a/addons/web/static/src/less/fields_extra.less
+++ /dev/null
@@ -1,59 +0,0 @@
-//
-// This file regroups all the rules which apply to field widgets wherever they
-// are in the DOM, in the community version.
-//
-
-// Required
-.o_required_modifier {
- &.o_input, .o_input {
- background-color: #D2D2FF!important;
- }
-}
-
-//------------------------------------------------------------------------------
-// Fields
-//------------------------------------------------------------------------------
-
-.o_field_widget {
- // Dropdowns input carret
- .o_input_dropdown .o_dropdown_button {
- .o-position-absolute(2px, 4px);
- }
-
- // Many2one
- &.o_field_many2one .o_external_button {
- padding: 0;
- margin-left: 2px;
- font-size: 19px;
- color: #7C7BAD;
- border: none;
- &:hover {
- background-color: transparent;
- }
- }
-
- // Percent pie field
- &.o_field_percent_pie {
- @pie-dimension: 34px;
- @pie-ring-width: 4px;
-
- .o_pie {
- width: @pie-dimension;
- height: @pie-dimension;
- margin-left: 5px;
-
- &:after { // Outside pie border to go over border-radius irregularities
- border: 1px solid @odoo-brand-primary;
- }
-
- .o_pie_value {
- .o-position-absolute(@pie-ring-width, @pie-ring-width);
- width: @pie-dimension - 2 * @pie-ring-width;
- height: @pie-dimension - 2 * @pie-ring-width;
- border: 1px solid white;
- background-color: white;
- font-size: 10px;
- }
- }
- }
-}