[FIX] web: control_panel, design minors
Use $border-color rather than an arbitrary value. Decrease navigation buttons horizontal gap and adjust margins.
This commit is contained in:
committed by
Aaron Bohy
parent
298d8bbfbd
commit
b66ccbd341
@@ -1,6 +1,6 @@
|
||||
|
||||
.o_control_panel {
|
||||
border-bottom: 1px solid darken($o-control-panel-background-color, 20%);
|
||||
border-bottom: 1px solid $border-color;
|
||||
@include o-webclient-padding($top: 5px, $bottom: 5px);
|
||||
background-color: $o-control-panel-background-color;
|
||||
|
||||
@@ -79,7 +79,6 @@
|
||||
align-items: center;
|
||||
|
||||
.o_pager_counter {
|
||||
margin-right: 5px;
|
||||
min-width: $o-statbutton-height;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -513,7 +513,7 @@
|
||||
|
||||
<t t-name="web.Pager" owl="1">
|
||||
<nav class="o_pager" aria-label="Pager">
|
||||
<span class="o_pager_counter" t-on-click.stop="">
|
||||
<span class="o_pager_counter mr-2" t-on-click.stop="">
|
||||
<input t-if="state.editing" type="text"
|
||||
class="o_pager_value o_input"
|
||||
autofocus=""
|
||||
@@ -533,7 +533,7 @@
|
||||
<span class="btn-group" aria-atomic="true">
|
||||
<!-- accesskeys not wanted in X2Many widgets -->
|
||||
<button type="button"
|
||||
class="fa fa-chevron-left btn btn-secondary o_pager_previous"
|
||||
class="fa fa-chevron-left btn btn-secondary o_pager_previous px-2 rounded-left"
|
||||
t-att-disabled="state.disabled || singlePage"
|
||||
t-att-accesskey="props.withAccessKey ? 'p' : false"
|
||||
aria-label="Previous"
|
||||
@@ -542,7 +542,7 @@
|
||||
t-on-click="_changeSelection(-1)"
|
||||
/>
|
||||
<button type="button"
|
||||
class="fa fa-chevron-right btn btn-secondary o_pager_next"
|
||||
class="fa fa-chevron-right btn btn-secondary o_pager_next px-2 rounded-right"
|
||||
t-att-disabled="state.disabled || singlePage"
|
||||
t-att-accesskey="props.withAccessKey ? 'n' : false"
|
||||
aria-label="Next"
|
||||
|
||||
Reference in New Issue
Block a user