[REF] web, mail: get rid of the btn-icon class
That was pretty useless, better use the btn-secondary class and add particular rules to `.btn.fa` if necessary.
This commit is contained in:
@@ -204,7 +204,7 @@
|
||||
|
||||
<t t-name="ControlPanel.SwitchButton">
|
||||
<button type="button" t-att-accesskey="view.accessKey"
|
||||
t-attf-class="btn btn-icon fa fa-lg #{view.icon} o_cp_switch_#{view.type}"
|
||||
t-attf-class="btn btn-secondary fa fa-lg #{view.icon} o_cp_switch_#{view.type}"
|
||||
t-attf-aria-label="View #{view.type}"
|
||||
t-att-data-view-type="view.type" t-attf-title="View #{view.type}" tabindex="-1"/>
|
||||
</t>
|
||||
@@ -1426,8 +1426,8 @@
|
||||
<t t-set="att_prev" t-value="{'accesskey': 'p'}" />
|
||||
<t t-set="att_next" t-value="{'accesskey': 'n'}" />
|
||||
</t>
|
||||
<button type="button" class="fa fa-chevron-left btn btn-icon o_pager_previous" t-att="att_prev" aria-label="Previous" title="Next" tabindex="-1"/>
|
||||
<button type="button" class="fa fa-chevron-right btn btn-icon o_pager_next" t-att="att_next" aria-label="Next" title="Next" tabindex="-1"/>
|
||||
<button type="button" class="fa fa-chevron-left btn btn-secondary o_pager_previous" t-att="att_prev" aria-label="Previous" title="Next" tabindex="-1"/>
|
||||
<button type="button" class="fa fa-chevron-right btn btn-secondary o_pager_next" t-att="att_next" aria-label="Next" title="Next" tabindex="-1"/>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user