[FIX] web: restore btn-link variations and badge style

+ printing improvements

Some style was lost for mysterious reasons during the less2scss
convertion.
This commit is contained in:
qsm-odoo
2018-04-26 12:35:24 +02:00
parent d9662321e2
commit 734724691a
2 changed files with 36 additions and 1 deletions
+1 -1
View File
@@ -302,7 +302,7 @@
&, &:hover, &:focus, &:active, &.active {
border-color: transparent;
background-color: transparent
background-color: transparent;
}
&.text-muted, .text-muted {
+35
View File
@@ -136,3 +136,38 @@ div.o_boolean_toggle {
display: flex;
align-items: center;
}
//== Badges
.badge {
margin: 1px 2px 1px 0;
padding-top: 0;
padding-bottom: 0;
}
// Btn-link variations
.btn-link {
font-weight: $btn-font-weight;
&.btn-default {
@include o-btn-link-variant($text-color, $headings-color);
}
&.btn-success, &.text-success {
@include o-btn-link-variant($text-color, $brand-success);
}
&.btn-warning, &.text-warning {
@include o-btn-link-variant($text-color, $brand-warning);
}
&.btn-danger, &.text-danger {
@include o-btn-link-variant($text-color, $brand-danger);
}
&.btn-info, &.text-info {
@include o-btn-link-variant($text-color, darken($brand-info, 20%));
}
}
//== Printing improvements
@media print {
.table-responsive {
overflow-x: initial;
}
}