N°4315 - Polish bulk modify screens

This commit is contained in:
acognet
2021-09-28 16:39:02 +02:00
parent 4297b854e1
commit 8dbbc9a124
5 changed files with 66 additions and 9 deletions

View File

@@ -175,16 +175,29 @@ $ibo-field--enable-bulk--checkbox--margin-left: 8px !default;
} }
} }
} }
.ibo-field--label > .ibo-field--comments {
flex: auto;
padding-bottom: 2px;
}
.ibo-fieldset-legend > .ibo-field--comments {
display: contents;
padding-bottom: 2px;
font-size: $ibo-font-size-150;
}
.ibo-field--comments { .ibo-field--comments {
display: table-cell; display: table-cell;
vertical-align: top; vertical-align: top;
width: 5em;
> input[type="checkbox"] { > input[type="checkbox"] {
margin-left: 5px; margin-left: 5px;
float: right; float: right;
} }
> .multi_values, > .mono_value, > .ibo-field--comments--synchro{ > .multi_values, > .mono_value, > .ibo-field--comments--synchro {
float: right; float: right;
} }
} }

View File

@@ -18,6 +18,10 @@ $ibo-fieldset--legend--border-bottom-style: solid !default;
} }
} }
.ibo-multi-column & ~ .ibo-fieldset {
margin-top: $ibo-fieldset--sibling-spacing;
}
.ibo-fieldset-legend { .ibo-fieldset-legend {
width: $ibo-fieldset--legend--width; width: $ibo-fieldset--legend--width;
margin-bottom: $ibo-fieldset--legend--margin-bottom; margin-bottom: $ibo-fieldset--legend--margin-bottom;

View File

@@ -70,8 +70,13 @@ body{
height: 100%; height: 100%;
} }
} }
#ibo-main-content{
padding-top: $ibo-main-content--padding-top; #ibo-main-content {
padding-bottom: $ibo-main-content--padding-bottom; padding-top: $ibo-main-content--padding-top;
padding-bottom: $ibo-main-content--padding-bottom;
overflow: auto; /* For scroll to happen in the main content instead of the center content */ overflow: auto; /* For scroll to happen in the main content instead of the center content */
}
.ui-dialog, .ui-dialog-content {
box-sizing: content-box;
} }

View File

@@ -2,12 +2,35 @@
@media print { @media print {
html { html {
font-size: 10px; font-size: 10px;
break-after:auto; break-after: auto;
} }
.not-printable { .not-printable {
display: none; display: none;
} }
.ibo-panel--icon {
-webkit-print-color-adjust: exact !important; /* Chrome, Safari, Edge */
color-adjust: exact !important; /*Firefox*/
}
.printable-content legend::before,
.printable-content .ibo-activity-panel--tab-toolbar-action::before {
display: none;
}
.printable-content .strikethrough {
display: none;
}
#hiddeable_chapters .ibo-block-print--tab.strikethrough {
display: none;
}
#hiddeable_chapters .ibo-block-print--tab span::before {
display: none;
}
span.ui-layout-resizer { span.ui-layout-resizer {
display: none; display: none;
} }
@@ -97,6 +120,10 @@
background-image: none; background-image: none;
} }
.ibo-field--label > .ibo-has-description::after {
display: none;
}
/** /**
* PRINT Stylesheet * PRINT Stylesheet
* *

View File

@@ -23,13 +23,21 @@
{% endfor %} {% endfor %}
{% endif %} {% endif %}
> >
<div class="ibo-field--label">{{ oUIBlock.GetLabel()|raw }}</div> <div class="ibo-field--label">{{ oUIBlock.GetLabel()|raw }}
<div class="ibo-field--value" {% if oUIBlock.GetValueId() %}id="{{ oUIBlock.GetValueId() }}"{% endif %}> {% if oUIBlock.GetLayout()=='large' %}
{% if oUIBlock.GetComments() %}
<div class="ibo-field--comments">{{ oUIBlock.GetComments()|raw }}</div>
{% endif %}
{% endif %}
</div>
<div class="ibo-field--value compo" {% if oUIBlock.GetValueId() %}id="{{ oUIBlock.GetValueId() }}"{% endif %}>
{% for oSubBlock in oUIBlock.GetSubBlocks() %} {% for oSubBlock in oUIBlock.GetSubBlocks() %}
{{ render_block(oSubBlock, {aPage: aPage}) }} {{ render_block(oSubBlock, {aPage: aPage}) }}
{% endfor %} {% endfor %}
</div> </div>
{% if oUIBlock.GetComments() %} {% if oUIBlock.GetLayout()!='large' %}
<div class="ibo-field--comments">{{ oUIBlock.GetComments()|raw }}</div> {% if oUIBlock.GetComments() %}
<div class="ibo-field--comments">{{ oUIBlock.GetComments()|raw }}</div>
{% endif %}
{% endif %} {% endif %}
</div> </div>