Last change
on this file since 188ee53 was fa375fe, checked in by Ema <ema_spirova@…>, 3 years ago |
adding new components
|
-
Property mode
set to
100644
|
File size:
803 bytes
|
Line | |
---|
1 | // stylelint-disable selector-no-qualifying-type
|
---|
2 |
|
---|
3 | //
|
---|
4 | // Thumbnails
|
---|
5 | // --------------------------------------------------
|
---|
6 |
|
---|
7 |
|
---|
8 | // Mixin and adjust the regular image class
|
---|
9 | .thumbnail {
|
---|
10 | display: block;
|
---|
11 | padding: @thumbnail-padding;
|
---|
12 | margin-bottom: @line-height-computed;
|
---|
13 | line-height: @line-height-base;
|
---|
14 | background-color: @thumbnail-bg;
|
---|
15 | border: 1px solid @thumbnail-border;
|
---|
16 | border-radius: @thumbnail-border-radius;
|
---|
17 | .transition(border .2s ease-in-out);
|
---|
18 |
|
---|
19 | > img,
|
---|
20 | a > img {
|
---|
21 | &:extend(.img-responsive);
|
---|
22 | margin-right: auto;
|
---|
23 | margin-left: auto;
|
---|
24 | }
|
---|
25 |
|
---|
26 | // Add a hover state for linked versions only
|
---|
27 | a&:hover,
|
---|
28 | a&:focus,
|
---|
29 | a&.active {
|
---|
30 | border-color: @link-color;
|
---|
31 | }
|
---|
32 |
|
---|
33 | // Image captions
|
---|
34 | .caption {
|
---|
35 | padding: @thumbnail-caption-padding;
|
---|
36 | color: @thumbnail-caption-color;
|
---|
37 | }
|
---|
38 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.