summaryrefslogtreecommitdiff
path: root/addons/website/static/src
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2019-12-18 10:20:24 +0000
committerqsm-odoo <qsm@odoo.com>2020-01-24 13:02:01 +0000
commitca7bb63ebd77cd7efce772c3b9d9098a772c345c (patch)
tree0a0f85719175f822776188f2cb401c741abafdf3 /addons/website/static/src
parent7572cc150d5469af92138533a024cffbd57d878e (diff)
[IMP] website: review 's_hr' snippet
To fit the general look&like of the left panel, the size elements should be handled with an input to allow full control. Part of https://github.com/odoo/odoo/pull/42937 task-2088157 task-2152191
Diffstat (limited to 'addons/website/static/src')
-rw-r--r--addons/website/static/src/snippets/s_hr/000.scss16
1 files changed, 1 insertions, 15 deletions
diff --git a/addons/website/static/src/snippets/s_hr/000.scss b/addons/website/static/src/snippets/s_hr/000.scss
index ec548e3c555..d7b5c0f57aa 100644
--- a/addons/website/static/src/snippets/s_hr/000.scss
+++ b/addons/website/static/src/snippets/s_hr/000.scss
@@ -4,21 +4,7 @@
hr {
padding: 0;
border: 0;
- border-top-color: inherit;
+ border-top: 1px solid inherit;
margin: 0;
}
- // Style
- .s_hr_dashed { border-top-style: dashed; }
- .s_hr_double { border-top-style: double; }
- .s_hr_dotted { border-top-style: dotted; }
- .s_hr_solid { border-top-style: solid; }
- // Thickness
- $count: 5;
- $base-width: 1px;
- @while $count > 0 {
- .s_hr_#{$base-width * $count} {
- border-top-width: $base-width * $count;
- }
- $count: $count - 1;
- }
}