bulma/docs/_sass/footer.sass

194 lines
3.8 KiB
Sass
Raw Normal View History

2018-04-10 16:33:43 +00:00
.bd-footer-title
2019-10-18 18:05:37 +00:00
color: var(--#{$prefix}-text-strong)
2018-04-10 16:33:43 +00:00
font-size: 1.25rem
line-height: 1.25
2018-04-10 17:22:04 +00:00
margin-bottom: 0.5rem
2018-04-10 16:33:43 +00:00
transition-duration: $speed
transition-property: color
strong
font-weight: $weight-semibold
.bd-footer-subtitle
2019-10-18 18:05:37 +00:00
color: var(--#{$prefix}-border-hover)
2018-04-10 17:22:04 +00:00
margin-top: -0.5rem
2018-04-10 16:33:43 +00:00
transition-duration: $speed
transition-property: color
2017-07-02 22:49:54 +00:00
2018-04-10 16:33:43 +00:00
.bd-footer-iframe
2017-07-02 22:49:54 +00:00
display: flex
flex-wrap: wrap
2018-04-10 16:56:38 +00:00
margin-bottom: -10px
2018-04-10 16:33:43 +00:00
min-height: 30px
2018-04-10 16:56:38 +00:00
iframe
2019-02-08 12:15:52 +00:00
height: 30px
2018-04-10 16:56:38 +00:00
margin-bottom: 10px
2017-07-02 22:49:54 +00:00
.fb-like
2018-04-10 16:33:43 +00:00
margin-left: 10px
2019-02-08 12:15:52 +00:00
&.is-github
iframe
width: 100%
2018-04-10 16:33:43 +00:00
.bd-footer-tsp
2019-10-18 18:05:37 +00:00
color: var(--#{$prefix}-border-hover)
2018-04-10 17:22:04 +00:00
margin-top: 1.5rem
2018-04-10 16:33:43 +00:00
%bd-footer-box
2018-04-10 22:02:30 +00:00
@extend %bd-box
2018-04-10 16:33:43 +00:00
text-align: center
.bd-footer-title
font-size: 1.5rem
// Support
.bd-footer-support
@extend %bd-footer-box
2019-10-18 18:05:37 +00:00
border-top: 2px solid var(--#{$prefix}-scheme-main-ter)
2018-06-25 08:40:00 +00:00
box-shadow: none
2018-04-10 17:22:04 +00:00
padding: 3rem
.bd-footer-title
margin-bottom: 1.5rem
2018-04-10 16:33:43 +00:00
.bd-footer-donations
justify-content: center
.bd-footer-donation
flex: none
2018-04-18 16:11:34 +00:00
2019-02-07 18:03:02 +00:00
.bd-footer-sponsor a
@extend %center
height: 70px
2018-04-18 16:11:34 +00:00
+tablet
.bd-footer-donation
2019-10-05 16:53:41 +00:00
padding: 0.75rem 1.5rem
2018-04-10 16:33:43 +00:00
.bd-footer-donation-title
2019-10-18 18:05:37 +00:00
color: var(--#{$prefix}-border-hover)
2018-04-10 16:33:43 +00:00
margin-bottom: 0.5rem
strong
color: currentColor
.bd-footer-donation-action
@extend %center
2018-04-10 17:22:04 +00:00
height: 70px
2019-10-05 16:53:41 +00:00
.bd-github-button
margin-right: 0.5rem
.bd-github-button,
.bd-patreon-button
flex-shrink: 0
2018-04-10 16:33:43 +00:00
.paypal-form
2017-11-14 12:14:58 +00:00
height: 30px
2018-04-10 16:33:43 +00:00
img
display: block
2017-07-02 22:49:54 +00:00
2018-04-10 16:33:43 +00:00
// Stars
2017-07-02 22:49:54 +00:00
2018-04-10 16:33:43 +00:00
$star-figure-height: 156px
.bd-footer-stars
2018-04-18 16:11:34 +00:00
margin-top: 2.5rem
2018-04-10 16:33:43 +00:00
+tablet
align-items: stretch
2017-07-02 22:49:54 +00:00
display: flex
2018-04-10 16:33:43 +00:00
justify-content: space-between
2017-07-02 22:49:54 +00:00
2018-04-10 16:33:43 +00:00
.bd-footer-star
@extend %bd-footer-box
transition-duration: $speed
transition-property: box-shadow, transform
will-change: box-shadow, transform
+mobile
&:not(:last-child)
margin-bottom: 1.5rem
+tablet
width: calc(33.3333% - 2rem)
&:hover
2019-10-18 18:05:37 +00:00
box-shadow: 0 3rem 3rem -1.25rem rgba(var(--#{$prefix}-scheme-invert), 0.1)
2018-04-10 16:33:43 +00:00
transform: translateY(-0.5rem)
.bd-footer-title,
.bd-footer-subtitle
2019-10-18 18:05:37 +00:00
color: var(--#{$prefix}-link)
2018-04-10 16:33:43 +00:00
&.bd-is-expo,
&.bd-is-love
padding-bottom: $star-figure-height
.bd-footer-title
align-items: center
display: flex
justify-content: center
.icon
margin-right: 0.25em
&.bd-is-expo
background-image: url("/images/footer/expo-examples.png")
background-repeat: repeat-x
background-position: bottom center
background-size: 352px $star-figure-height
&.bd-is-love
background-image: url("/images/footer/love.png")
background-repeat: no-repeat
background-position: bottom center
background-size: 440px 180px
.bd-footer-star-header
padding: 1.5rem
.bd-footer-star-figure
@extend %center
height: $star-figure-height
margin-top: -1rem
2018-04-10 16:56:38 +00:00
// Links
.bd-footer-links
margin-top: 6rem
padding-bottom: 6rem
a
color: currentColor
&:hover
2019-10-18 18:05:37 +00:00
color: var(--#{$prefix}-link)
2018-04-10 16:56:38 +00:00
.bd-footer-link-title
2019-10-18 18:05:37 +00:00
color: var(--#{$prefix}-text-strong)
2018-04-10 16:56:38 +00:00
font-size: 1.25rem
font-weight: $weight-semibold
&:not(:first-child)
margin-top: 1.5em
.bd-footer-link
2018-04-10 17:22:04 +00:00
margin-top: 0.5rem
2018-04-10 16:56:38 +00:00
&.bd-is-more
font-size: 0.875rem
a:not(:hover)
2019-10-18 18:05:37 +00:00
color: var(--#{$prefix}-border-hover)
2018-04-10 16:56:38 +00:00
&.bd-has-subtitle
a
2018-04-10 17:22:04 +00:00
align-items: center
display: flex
justify-content: space-between
strong
flex-grow: 1
flex-shrink: 1
font-weight: unset
2018-04-10 16:56:38 +00:00
em
display: block
font-size: 0.875rem
font-style: normal
&:not(:hover)
em
2019-10-18 18:05:37 +00:00
color: var(--#{$prefix}-border-hover)
2018-04-10 17:22:04 +00:00
+mobile
flex-wrap: wrap
margin-top: 1rem
em
width: 100%
2018-04-10 16:56:38 +00:00
+tablet
em
margin-left: 1rem
text-align: right
2018-04-10 17:22:04 +00:00
.bd-footer-link-icon
flex-grow: 0
flex-shrink: 0
margin-right: 0.5em
text-align: center
width: 1em