2020-01-05 13:27:54 +00:00
|
|
|
$media-border-color: bulmaRgba($border, 0.5) !default
|
2020-01-20 19:39:09 +00:00
|
|
|
$media-spacing: 1rem
|
|
|
|
$media-spacing-large: 1.5rem
|
2019-10-13 14:12:30 +00:00
|
|
|
|
2016-01-24 00:03:43 +00:00
|
|
|
.media
|
|
|
|
align-items: flex-start
|
2016-02-14 22:10:05 +00:00
|
|
|
display: flex
|
2020-01-20 19:39:09 +00:00
|
|
|
text-align: inherit
|
2016-01-24 00:03:43 +00:00
|
|
|
.content:not(:last-child)
|
2016-12-22 19:37:38 +00:00
|
|
|
margin-bottom: 0.75rem
|
2016-01-24 00:03:43 +00:00
|
|
|
.media
|
2019-10-13 14:12:30 +00:00
|
|
|
border-top: 1px solid $media-border-color
|
2016-01-24 00:03:43 +00:00
|
|
|
display: flex
|
2016-10-30 17:35:39 +00:00
|
|
|
padding-top: 0.75rem
|
2016-01-24 00:03:43 +00:00
|
|
|
.content:not(:last-child),
|
|
|
|
.control:not(:last-child)
|
2016-10-29 17:53:30 +00:00
|
|
|
margin-bottom: 0.5rem
|
2016-01-24 00:03:43 +00:00
|
|
|
.media
|
2016-10-29 17:53:30 +00:00
|
|
|
padding-top: 0.5rem
|
2016-01-24 00:03:43 +00:00
|
|
|
& + .media
|
2016-10-29 17:53:30 +00:00
|
|
|
margin-top: 0.5rem
|
2016-01-24 00:03:43 +00:00
|
|
|
& + .media
|
2019-10-13 14:12:30 +00:00
|
|
|
border-top: 1px solid $media-border-color
|
2020-01-20 19:39:09 +00:00
|
|
|
margin-top: $media-spacing
|
|
|
|
padding-top: $media-spacing
|
2016-04-10 15:27:27 +00:00
|
|
|
// Sizes
|
2016-01-24 00:03:43 +00:00
|
|
|
&.is-large
|
|
|
|
& + .media
|
2020-01-20 19:39:09 +00:00
|
|
|
margin-top: $media-spacing-large
|
|
|
|
padding-top: $media-spacing-large
|
2017-07-28 20:05:15 +00:00
|
|
|
|
|
|
|
.media-left,
|
|
|
|
.media-right
|
|
|
|
flex-basis: auto
|
|
|
|
flex-grow: 0
|
|
|
|
flex-shrink: 0
|
|
|
|
|
2020-01-22 09:14:04 +00:00
|
|
|
.media-left
|
|
|
|
+ltr-property("margin", $media-spacing)
|
|
|
|
|
|
|
|
.media-right
|
|
|
|
+ltr-property("margin", $media-spacing, false)
|
|
|
|
|
2017-07-28 20:05:15 +00:00
|
|
|
.media-content
|
|
|
|
flex-basis: auto
|
|
|
|
flex-grow: 1
|
|
|
|
flex-shrink: 1
|
2020-01-20 19:39:09 +00:00
|
|
|
text-align: inherit
|
2018-09-04 13:37:15 +00:00
|
|
|
|
|
|
|
+mobile
|
|
|
|
.media-content
|
|
|
|
overflow-x: auto
|