diff options
| author | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2014-09-29 10:00:24 +0200 |
|---|---|---|
| committer | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2014-10-05 14:40:47 +0200 |
| commit | 841f1eedfc8b2c49f0395d5f0ea2bfa269c19df2 (patch) | |
| tree | bf56c830fbed336796c7586f84b46df82d5c2d81 /searx/static/oscar/less/bootstrap/thumbnails.less | |
| parent | 14b0604bc0a14a110c92457f43b3828fc22e7fc7 (diff) | |
oscar template: generate bootstrap.min.css from source
Diffstat (limited to 'searx/static/oscar/less/bootstrap/thumbnails.less')
| -rw-r--r-- | searx/static/oscar/less/bootstrap/thumbnails.less | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/searx/static/oscar/less/bootstrap/thumbnails.less b/searx/static/oscar/less/bootstrap/thumbnails.less new file mode 100644 index 000000000..c428920bc --- /dev/null +++ b/searx/static/oscar/less/bootstrap/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(all .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; + } +} |