diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-13 22:46:38 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-13 22:47:25 +0300 |
commit | 43de46e28aa023a71ba0dd0c61795773baaf4cc6 (patch) | |
tree | 98fe3256c0d95afe86225f823f6da35f0bfacdab /app/assets | |
parent | 1968191c523f1ee45e4f7eac75b435df61b75398 (diff) |
[skip ci] convert label-gray and label-inverse to badge-gray and badge-inverse
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/stylesheets/bootstrap_migration.scss | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app/assets/stylesheets/bootstrap_migration.scss b/app/assets/stylesheets/bootstrap_migration.scss index 1def26011d7..f1efed5e578 100644 --- a/app/assets/stylesheets/bootstrap_migration.scss +++ b/app/assets/stylesheets/bootstrap_migration.scss @@ -50,3 +50,21 @@ button, html [type="button"], [type="reset"], [type="submit"] { // Remove bootstrap's dropdown caret display: none; } + +.badge { + padding: 4px 5px; + font-size: 12px; + font-style: normal; + font-weight: $gl-font-weight-normal; + display: inline-block; + + &.badge-gray { + background-color: $label-gray-bg; + color: $gl-text-color; + text-shadow: none; + } + + &.badge-inverse { + background-color: $label-inverse-bg; + } +} |