summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorkujiu (@angua.kujiu.org) <kujiu@kujiu.org>2016-12-27 17:06:07 +0100
committerYannick Tivisse <yti@odoo.com>2016-12-27 17:09:20 +0100
commitd8afc7e8336496f6e400daa8b1ce955b0b742fcd (patch)
treea6a6cdd66adc66e832debb36721c8f056c426e65 /addons/web/static/src
parentdccfdb0ddb9c928c7c4d660ce3c29af5af0705c5 (diff)
[ADD] web: Add less classes to be used in the new settings form views
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/less/form_view.less43
1 files changed, 43 insertions, 0 deletions
diff --git a/addons/web/static/src/less/form_view.less b/addons/web/static/src/less/form_view.less
index 22ce69a194f..8ce02b636b3 100644
--- a/addons/web/static/src/less/form_view.less
+++ b/addons/web/static/src/less/form_view.less
@@ -502,3 +502,46 @@
float: left; // Unfortunately needed for the bounce effect
margin-right: 4px;
}
+
+// Light labels (not in bold) for settings forms
+label.o_light_label, .o_light_label label {
+ font-weight: normal;
+}
+
+.o_settings_container {
+ .o-flex-display();
+ .o-flex(0, 1, auto);
+ .o-flex-flow(row, wrap);
+ .o_setting_box:visible:nth-child(odd) {
+ clear: left;
+ }
+ .text-muted {
+ color: #aaaaaa;
+ }
+ .o_setting_box {
+ margin-bottom: 8px;
+ margin-top: 8px;
+ .o_setting_left_pane {
+ width: 24px;
+ float: left;
+ }
+ .o_setting_right_pane {
+ margin-left: 30px;
+ border-left: 1px solid #bbbbbb;
+ padding-left: 10px;
+ .o_form_input_dropdown > .o_form_input {
+ width: 100%;
+ }
+ .o_form_input {
+ width: 50%;
+ }
+ button.btn-link {
+ padding: 0;
+ }
+ }
+ }
+}
+
+.oe_form_configuration h2 {
+ margin-top: 32px !important;
+}