MDL-64506 templates: Move BS2 labels to BS4 badges
[moodle.git] / theme / boost / scss / moodle / bs2-compat.scss
1 // Some - backwards compatibility for BS2. We may have plugins and user content targeted for BS2.
3 // Well -> Panel -> Card. We skipped panel (BS3) so lets just support well and card.
4 .well {
5     @extend .card;
6 }
8 // Some things just got renamed.
9 .img-responsive {
10     @extend .img-fluid;
11 }
13 .text-error {
14     @extend .text-danger;
15 }
17 .btn-default {
18     @extend .btn-secondary;
19 }
21 .label {
22     @extend .tag;
23     @include tag-variant($tag-default-bg);
24 }
26 .label-success {
27     @include tag-variant($tag-success-bg);
28 }
30 .label-info {
31     @include tag-variant($tag-info-bg);
32 }
34 .label-warning {
35     @include tag-variant($tag-warning-bg);
36 }
38 .label-important {
39     @include tag-variant($tag-danger-bg);
40 }
42 // Floats.
43 .pull-left {
44     @include pull-left();
45 }
47 .pull-right {
48     @include pull-right();
49 }