[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:
@@ -302,7 +302,7 @@
|
||||
|
||||
&, &:hover, &:focus, &:active, &.active {
|
||||
border-color: transparent;
|
||||
background-color: transparent
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
&.text-muted, .text-muted {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user