Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2018-04-13 22:46:38 +0300
committerClement Ho <ClemMakesApps@gmail.com>2018-04-13 22:47:25 +0300
commit43de46e28aa023a71ba0dd0c61795773baaf4cc6 (patch)
tree98fe3256c0d95afe86225f823f6da35f0bfacdab /app/assets
parent1968191c523f1ee45e4f7eac75b435df61b75398 (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.scss18
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;
+ }
+}