mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Premium Badge - BS5 migration (#20496)
* migrating premium badge to BS5 and changing the unit test * fixing unit test * using badge badge-prepend classes for the premium badge * fixing unit test * adding font-weight variable * removing unused CSS * adding aria-hidden GitOrigin-RevId: a1ab2eeedd95ee500c21607abd09a0a8a07289f0
This commit is contained in:
parent
248fc3699a
commit
4c2425fe25
2 changed files with 12 additions and 0 deletions
|
@ -85,3 +85,11 @@ $max-width: 160px;
|
|||
height: var(--spacing-04);
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.badge-premium {
|
||||
background-color: var(--neutral-20);
|
||||
color: var(--neutral-90);
|
||||
vertical-align: middle;
|
||||
margin-left: 5px;
|
||||
font-weight: var(--badge-font-weight);
|
||||
}
|
||||
|
|
|
@ -40,4 +40,8 @@
|
|||
--bs-card-spacer-y: var(--spacing-08);
|
||||
--bs-card-spacer-x: var(--spacing-08);
|
||||
}
|
||||
|
||||
.badge-premium {
|
||||
--badge-font-weight: 600;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue