source: trip-planner-front/node_modules/bootstrap/less/media.less@ fa375fe

Last change on this file since fa375fe was fa375fe, checked in by Ema <ema_spirova@…>, 3 years ago

adding new components

  • Property mode set to 100644
File size: 900 bytes
Line 
1.media {
2 // Proper spacing between instances of .media
3 margin-top: 15px;
4
5 &:first-child {
6 margin-top: 0;
7 }
8}
9
10.media,
11.media-body {
12 overflow: hidden;
13 zoom: 1;
14}
15
16.media-body {
17 width: 10000px;
18}
19
20.media-object {
21 display: block;
22
23 // Fix collapse in webkit from max-width: 100% and display: table-cell.
24 &.img-thumbnail {
25 max-width: none;
26 }
27}
28
29.media-right,
30.media > .pull-right {
31 padding-left: 10px;
32}
33
34.media-left,
35.media > .pull-left {
36 padding-right: 10px;
37}
38
39.media-left,
40.media-right,
41.media-body {
42 display: table-cell;
43 vertical-align: top;
44}
45
46.media-middle {
47 vertical-align: middle;
48}
49
50.media-bottom {
51 vertical-align: bottom;
52}
53
54// Reset margins on headings for tighter default spacing
55.media-heading {
56 margin-top: 0;
57 margin-bottom: 5px;
58}
59
60// Media list variation
61//
62// Undo default ul/ol styles
63.media-list {
64 padding-left: 0;
65 list-style: none;
66}
Note: See TracBrowser for help on using the repository browser.