diff options
author | 2017-09-28 09:28:41 +0000 | |
---|---|---|
committer | 2017-09-28 09:28:41 +0000 | |
commit | 61820ee85c967d90021e4089c6a7907046685639 (patch) | |
tree | 0c3f23e2146f0855fb5be0ff55343d59e3a9c9ab /cvp/3rd_party/static/testapi-ui/assets/lib/bootstrap/less/thumbnails.less | |
parent | 0cc2fdefa9e6e959e7c69beede736738f339f636 (diff) | |
parent | 0cf6b232ac9cf128ee9183a27c08f4f74ab2e2e6 (diff) |
Merge "add api&web services for cvp"
Diffstat (limited to 'cvp/3rd_party/static/testapi-ui/assets/lib/bootstrap/less/thumbnails.less')
-rw-r--r-- | cvp/3rd_party/static/testapi-ui/assets/lib/bootstrap/less/thumbnails.less | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/cvp/3rd_party/static/testapi-ui/assets/lib/bootstrap/less/thumbnails.less b/cvp/3rd_party/static/testapi-ui/assets/lib/bootstrap/less/thumbnails.less new file mode 100644 index 00000000..0713e67d --- /dev/null +++ b/cvp/3rd_party/static/testapi-ui/assets/lib/bootstrap/less/thumbnails.less @@ -0,0 +1,36 @@ +// +// Thumbnails +// -------------------------------------------------- + + +// Mixin and adjust the regular image class +.thumbnail { + display: block; + padding: @thumbnail-padding; + margin-bottom: @line-height-computed; + line-height: @line-height-base; + background-color: @thumbnail-bg; + border: 1px solid @thumbnail-border; + border-radius: @thumbnail-border-radius; + .transition(border .2s ease-in-out); + + > img, + a > img { + &:extend(.img-responsive); + margin-left: auto; + margin-right: auto; + } + + // Add a hover state for linked versions only + a&:hover, + a&:focus, + a&.active { + border-color: @link-color; + } + + // Image captions + .caption { + padding: @thumbnail-caption-padding; + color: @thumbnail-caption-color; + } +} |