2016-09-22 19:30:09 +00:00
|
|
|
@import "../utilities/mixins.sass"
|
|
|
|
@import "../utilities/variables.sass"
|
|
|
|
|
2016-01-24 00:03:43 +00:00
|
|
|
.media-number
|
2016-06-29 22:59:48 +00:00
|
|
|
background-color: $background
|
2016-01-24 00:03:43 +00:00
|
|
|
border-radius: 290486px
|
|
|
|
display: inline-block
|
|
|
|
font-size: $size-medium
|
|
|
|
height: 32px
|
|
|
|
line-height: 24px
|
|
|
|
min-width: 32px
|
|
|
|
padding: 4px 8px
|
|
|
|
text-align: center
|
|
|
|
vertical-align: top
|
2016-04-10 15:27:27 +00:00
|
|
|
// Responsiveness
|
2016-01-24 00:03:43 +00:00
|
|
|
+mobile
|
|
|
|
margin-bottom: 10px
|
|
|
|
+tablet
|
|
|
|
margin-right: 10px
|
|
|
|
|
2016-01-31 22:27:58 +00:00
|
|
|
.media-left
|
2016-02-14 22:10:05 +00:00
|
|
|
margin-right: 10px
|
2016-01-31 22:27:58 +00:00
|
|
|
|
|
|
|
.media-right
|
2016-02-14 22:10:05 +00:00
|
|
|
margin-left: 10px
|
2016-01-31 22:27:58 +00:00
|
|
|
|
2016-01-24 00:03:43 +00:00
|
|
|
.media-content
|
2016-07-31 10:45:56 +00:00
|
|
|
flex-grow: 1
|
2016-09-11 11:00:49 +00:00
|
|
|
flex-shrink: 1
|
2016-01-31 22:27:58 +00:00
|
|
|
text-align: left
|
2016-01-24 00:03:43 +00:00
|
|
|
|
|
|
|
.media
|
|
|
|
align-items: flex-start
|
2016-02-14 22:10:05 +00:00
|
|
|
display: flex
|
2016-01-31 22:27:58 +00:00
|
|
|
text-align: left
|
2016-01-24 00:03:43 +00:00
|
|
|
.content:not(:last-child)
|
|
|
|
margin-bottom: 10px
|
|
|
|
.media
|
|
|
|
border-top: 1px solid rgba($border, 0.5)
|
|
|
|
display: flex
|
|
|
|
padding-top: 10px
|
|
|
|
.content:not(:last-child),
|
|
|
|
.control:not(:last-child)
|
|
|
|
margin-bottom: 5px
|
|
|
|
.media
|
|
|
|
padding-top: 5px
|
|
|
|
& + .media
|
|
|
|
margin-top: 5px
|
|
|
|
& + .media
|
|
|
|
border-top: 1px solid rgba($border, 0.5)
|
|
|
|
margin-top: 10px
|
|
|
|
padding-top: 10px
|
2016-04-10 15:27:27 +00:00
|
|
|
// Sizes
|
2016-01-24 00:03:43 +00:00
|
|
|
&.is-large
|
|
|
|
& + .media
|
|
|
|
margin-top: 20px
|
|
|
|
padding-top: 20px
|
2016-04-10 15:27:27 +00:00
|
|
|
// Responsiveness
|
2016-01-24 00:03:43 +00:00
|
|
|
+tablet
|
|
|
|
&.is-large
|
|
|
|
.media-number
|
|
|
|
margin-right: 20px
|