diff options
author | Eran (ev672n), Vosk <ev672n@att.com> | 2018-10-29 18:38:10 +0200 |
---|---|---|
committer | Eran (ev672n), Vosk <ev672n@att.com> | 2018-10-29 18:38:10 +0200 |
commit | bb60d2fc7c06ec661e4c66ac8778e1f2070103cd (patch) | |
tree | 2497848e3667f0ec99b2bea61e129c52dd37db60 /app/bower_components/bootstrap/less/labels.less | |
parent | bdc15ad66739869abef7413e5da40191875781d1 (diff) |
Sync code3.0.0-ONAP1.2.0casablanca
Sync the code between repositories
Change-Id: Ic431c58c68716b6d401954fb854a183e0d222f57
Issue-ID: SDC-1874
Signed-off-by: Eran (ev672n), Vosk <ev672n@att.com>
Diffstat (limited to 'app/bower_components/bootstrap/less/labels.less')
-rw-r--r-- | app/bower_components/bootstrap/less/labels.less | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/app/bower_components/bootstrap/less/labels.less b/app/bower_components/bootstrap/less/labels.less new file mode 100644 index 0000000..9a5a270 --- /dev/null +++ b/app/bower_components/bootstrap/less/labels.less @@ -0,0 +1,64 @@ +// +// Labels +// -------------------------------------------------- + +.label { + display: inline; + padding: .2em .6em .3em; + font-size: 75%; + font-weight: bold; + line-height: 1; + color: @label-color; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + border-radius: .25em; + + // Add hover effects, but only for links + a& { + &:hover, + &:focus { + color: @label-link-hover-color; + text-decoration: none; + cursor: pointer; + } + } + + // Empty labels collapse automatically (not available in IE8) + &:empty { + display: none; + } + + // Quick fix for labels in buttons + .btn & { + position: relative; + top: -1px; + } +} + +// Colors +// Contextual variations (linked labels get darker on :hover) + +.label-default { + .label-variant(@label-default-bg); +} + +.label-primary { + .label-variant(@label-primary-bg); +} + +.label-success { + .label-variant(@label-success-bg); +} + +.label-info { + .label-variant(@label-info-bg); +} + +.label-warning { + .label-variant(@label-warning-bg); +} + +.label-danger { + .label-variant(@label-danger-bg); +} |