Commit 55e072c8 authored by Tristan Cavelier's avatar Tristan Cavelier

[erp5_web_renderjs_ui] Add icons to header action bar buttons

parent fba2f021
......@@ -786,9 +786,9 @@ div[data-gadget-scope='header'] .ui-header .ui-controlgroup-controls a:active {
@media only screen and (min-width: 45em) and (max-width: 85em), not screen and (max-width: 85em) {
div[data-gadget-scope='header'] .ui-header .ui-controlgroup-controls button::before,
div[data-gadget-scope='header'] .ui-header .ui-controlgroup-controls a::before {
width: 1em;
margin-right: 6pt;
text-align: center;
width: 1em;
}
}
@media not screen and (min-width: 45em) {
......@@ -973,7 +973,9 @@ div[data-gadget-scope='header'] .ui-header ul {
min-width: 5em;
}
div[data-gadget-scope='header'] .ui-header ul li a::before {
display: none;
margin-right: 6pt;
text-align: center;
width: 1em;
}
}
/**********************************************
......
......@@ -371,6 +371,11 @@ a {
background-color: @colorblocklinkbackground;
}
}
.beforeHeaderButton() {
margin-right: @margin-size;
text-align: center;
width: 1em;
}
/**********************************************
* Preformatted
......@@ -960,9 +965,7 @@ div[data-gadget-scope='header'] .ui-header {
&::before {
@media @tablet, @desktop {
width: 1em;
margin-right: @margin-size;
text-align: center;
.beforeHeaderButton()
}
@media @smartphone {
......@@ -1135,7 +1138,7 @@ div[data-gadget-scope='header'] .ui-header {
white-space: nowrap;
overflow: hidden;
&::before {
display: none;
.beforeHeaderButton()
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment