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