2018-04-10 11:48:58 +00:00
|
|
|
// Index common
|
2018-04-10 11:26:37 +00:00
|
|
|
|
2018-04-10 11:48:58 +00:00
|
|
|
.bd-index-header
|
2018-04-10 11:26:37 +00:00
|
|
|
text-align: center
|
2018-04-10 11:48:58 +00:00
|
|
|
a
|
|
|
|
color: currentColor
|
|
|
|
&:hover
|
|
|
|
color: $blue
|
|
|
|
strong
|
|
|
|
color: currentColor
|
2018-04-10 11:26:37 +00:00
|
|
|
strong
|
|
|
|
font-weight: $weight-semibold
|
2018-04-10 11:48:58 +00:00
|
|
|
.title
|
|
|
|
strong
|
|
|
|
color: $primary
|
2018-04-10 11:26:37 +00:00
|
|
|
.subtitle
|
2018-04-10 13:28:45 +00:00
|
|
|
color: $grey-light !important
|
2018-04-10 11:48:58 +00:00
|
|
|
strong
|
|
|
|
color: currentColor
|
2018-04-10 14:38:50 +00:00
|
|
|
&:not(:last-child)
|
|
|
|
margin-bottom: 3rem
|
2018-04-10 11:48:58 +00:00
|
|
|
&.bd-is-left
|
|
|
|
text-align: left
|
|
|
|
|
2018-04-10 14:38:50 +00:00
|
|
|
// JS
|
|
|
|
|
|
|
|
.bd-index-js-tweet
|
|
|
|
.bd-tw
|
|
|
|
margin-left: auto
|
|
|
|
margin-right: auto
|
|
|
|
|
2018-04-10 13:28:45 +00:00
|
|
|
// Customize
|
|
|
|
|
|
|
|
.bd-index-custom-title
|
|
|
|
color: $grey-light
|
|
|
|
|
|
|
|
.bd-index-custom-example
|
|
|
|
padding: 1rem
|
|
|
|
.subtitle
|
|
|
|
margin-bottom: 0.5rem
|
|
|
|
|
|
|
|
.bd-index-custom.bd-is-after
|
|
|
|
color: $brown
|
|
|
|
font-family: "Nunito", serif
|
|
|
|
margin-top: 0.5rem
|
|
|
|
a
|
|
|
|
color: $pink
|
|
|
|
&:hover
|
|
|
|
color: #363636
|
|
|
|
.subtitle
|
|
|
|
color: $brown
|
|
|
|
.input,
|
|
|
|
.select select
|
|
|
|
background-color: $beige-lighter
|
|
|
|
border-color: transparent
|
|
|
|
border-width: 2px
|
|
|
|
box-shadow: none
|
|
|
|
font-family: "Nunito", serif
|
|
|
|
&:hover
|
|
|
|
border-color: $beige-light
|
|
|
|
&:focus
|
|
|
|
border-color: $pink
|
|
|
|
box-shadow: 0 0 0 0.125em rgba($pink, 0.25)
|
|
|
|
.select
|
|
|
|
&:not(.is-multiple):not(:hover)
|
|
|
|
&::after
|
|
|
|
border-color: $pink
|
|
|
|
.button
|
|
|
|
&.is-primary
|
|
|
|
background-color: $mauve
|
|
|
|
color: $white
|
|
|
|
&:hover
|
|
|
|
background-color: darken($mauve, 2.5%)
|
|
|
|
&:active
|
|
|
|
background-color: darken($mauve, 5%)
|
|
|
|
&.is-link
|
|
|
|
background-color: $pink
|
|
|
|
color: $white
|
|
|
|
&:hover
|
|
|
|
background-color: darken($pink, 2.5%)
|
|
|
|
&:active
|
|
|
|
background-color: darken($pink, 5%)
|
2018-04-10 14:38:50 +00:00
|
|
|
+selection
|
|
|
|
background-color: $pink
|
|
|
|
color: $white
|
2018-04-10 13:28:45 +00:00
|
|
|
|
|
|
|
// Fullscreen
|
|
|
|
|
|
|
|
.bd-index-fullscreen
|
|
|
|
.tabs
|
|
|
|
a
|
|
|
|
color: $grey-light !important
|
|
|
|
|
2018-04-10 11:48:58 +00:00
|
|
|
// Columns
|
2018-04-10 11:26:37 +00:00
|
|
|
|
|
|
|
#grid
|
|
|
|
.notification
|
|
|
|
padding-left: 0
|
|
|
|
padding-right: 0
|
|
|
|
|
|
|
|
.bd-columns-tools
|
|
|
|
margin-top: 3rem
|
|
|
|
|
|
|
|
.bd-columns-tool
|
|
|
|
@extend %center
|
|
|
|
&.bd-is-try
|
|
|
|
.buttons
|
|
|
|
justify-content: center
|
|
|
|
.button
|
|
|
|
strong
|
|
|
|
font-weight: $weight-semibold
|
|
|
|
|
|
|
|
#markup
|
|
|
|
width: 100%
|
|
|
|
.highlight pre
|
|
|
|
max-height: none
|
|
|
|
|
|
|
|
#message
|
|
|
|
display: none
|
|
|
|
margin-top: 3rem
|
|
|
|
|
|
|
|
+mobile
|
|
|
|
.bd-columns-tool
|
|
|
|
&.bd-is-markup
|
|
|
|
margin-top: 3rem
|
|
|
|
|
|
|
|
+tablet
|
|
|
|
.bd-columns-tools
|
|
|
|
align-items: flex-start
|
|
|
|
display: flex
|
|
|
|
.bd-columns-tool
|
|
|
|
width: 50%
|
|
|
|
&.bd-is-try
|
|
|
|
padding-top: 60px
|
|
|
|
|
|
|
|
// Focus
|
|
|
|
|
2018-04-09 22:53:34 +00:00
|
|
|
.bd-focus
|
|
|
|
margin: 6rem auto 0
|
2018-04-10 11:04:10 +00:00
|
|
|
max-width: $intro-width
|
2018-04-09 22:53:34 +00:00
|
|
|
|
|
|
|
.bd-focus-item
|
2018-04-10 14:38:50 +00:00
|
|
|
border-radius: $radius-large
|
|
|
|
padding-top: 1.25rem
|
|
|
|
transition-duration: $speed * 2
|
|
|
|
transition-property: background-color
|
2018-04-09 22:53:34 +00:00
|
|
|
.subtitle
|
|
|
|
color: $grey-light
|
|
|
|
strong
|
|
|
|
color: currentColor
|
2018-04-10 14:38:50 +00:00
|
|
|
.title
|
|
|
|
transition-duration: $speed * 2
|
|
|
|
transition-property: color
|
|
|
|
&:hover
|
|
|
|
background-color: $white-bis
|
|
|
|
.title
|
|
|
|
color: $link
|
2018-04-09 22:53:34 +00:00
|
|
|
|
|
|
|
.bd-focus-icon
|
|
|
|
.fa-mobile-alt
|
|
|
|
color: $purple
|
|
|
|
margin-right: -20px
|
|
|
|
.fa-tablet-alt
|
|
|
|
color: $red
|
|
|
|
margin-left: -20px
|
|
|
|
.fa-desktop
|
|
|
|
color: $orange
|
|
|
|
margin-left: -20px
|
|
|
|
position: relative
|
|
|
|
top: 2px
|
|
|
|
.fa-cubes
|
|
|
|
color: $green
|
|
|
|
.fa-css3
|
|
|
|
color: $blue
|
|
|
|
.fa-github-alt
|
|
|
|
color: $github
|
|
|
|
|
2018-04-10 11:26:37 +00:00
|
|
|
// Intro
|
|
|
|
|
2017-10-10 16:24:19 +00:00
|
|
|
.intro-content
|
|
|
|
margin-left: auto
|
|
|
|
margin-right: auto
|
2017-10-10 18:18:52 +00:00
|
|
|
max-width: 640px
|
2017-10-10 16:24:19 +00:00
|
|
|
|
|
|
|
.intro-title
|
|
|
|
font-weight: $weight-normal
|
|
|
|
line-height: 1.375
|
|
|
|
strong
|
|
|
|
font-weight: $weight-semibold
|
|
|
|
|
|
|
|
.intro-ghbtns
|
|
|
|
height: 30px
|
2018-04-10 14:56:31 +00:00
|
|
|
margin-bottom: 26px
|
|
|
|
iframe,
|
|
|
|
img
|
|
|
|
height: 30px
|
2017-10-10 16:24:19 +00:00
|
|
|
|
|
|
|
.intro-npm
|
|
|
|
background: $black-ter
|
|
|
|
border-radius: $radius-large
|
|
|
|
color: $white
|
2017-07-02 22:49:54 +00:00
|
|
|
display: flex
|
2017-10-10 16:24:19 +00:00
|
|
|
font-size: 15px
|
|
|
|
justify-content: space-between
|
|
|
|
line-height: 20px
|
|
|
|
padding: 15px 25px
|
|
|
|
position: relative
|
2017-07-02 22:49:54 +00:00
|
|
|
code
|
2017-10-10 16:24:19 +00:00
|
|
|
font-size: inherit
|
|
|
|
-moz-osx-font-smoothing: grayscale
|
|
|
|
-webkit-font-smoothing: antialiased
|
|
|
|
.intro-npm-copy
|
2017-07-02 22:49:54 +00:00
|
|
|
border-radius: $radius
|
2017-10-10 16:24:19 +00:00
|
|
|
color: $yellow
|
|
|
|
cursor: pointer
|
|
|
|
margin: -2px -7px -3px
|
|
|
|
padding: 2px 7px 3px
|
|
|
|
&:hover
|
|
|
|
background-color: $yellow
|
|
|
|
color: $black-ter
|
|
|
|
&.is-success,
|
|
|
|
&.is-error
|
|
|
|
color: $white
|
|
|
|
pointer-events: none
|
|
|
|
text-decoration: none
|
|
|
|
&.is-success
|
|
|
|
background-color: $green
|
|
|
|
&.is-error
|
|
|
|
background-color: $red
|
|
|
|
\::-moz-selection
|
|
|
|
background: $yellow
|
|
|
|
color: $black-ter
|
|
|
|
\::selection
|
|
|
|
background: $yellow
|
|
|
|
color: $black-ter
|
|
|
|
|
|
|
|
.intro-buttons
|
|
|
|
margin-top: 1.5rem
|
|
|
|
.button
|
|
|
|
padding-left: 1.375em
|
|
|
|
padding-right: 1.375em
|
|
|
|
|
|
|
|
.intro-video
|
2017-10-10 16:48:01 +00:00
|
|
|
background-color: $white
|
2017-10-10 16:24:19 +00:00
|
|
|
margin-left: auto
|
|
|
|
margin-right: auto
|
|
|
|
max-width: 640px
|
|
|
|
position: relative
|
2017-10-10 16:48:01 +00:00
|
|
|
&.has-loaded
|
|
|
|
.intro-spinner
|
|
|
|
display: none
|
|
|
|
.intro-iframe
|
|
|
|
opacity: 1
|
|
|
|
|
|
|
|
@keyframes introSpinner
|
|
|
|
from
|
|
|
|
opacity: 0
|
|
|
|
transform: scale(1.14)
|
|
|
|
to
|
|
|
|
opacity: 1
|
|
|
|
transform: scale(1)
|
|
|
|
|
|
|
|
.intro-spinner,
|
|
|
|
.intro-shadow
|
2017-10-11 16:25:33 +00:00
|
|
|
animation-duration: 500ms
|
2017-10-10 16:48:01 +00:00
|
|
|
animation-easing-function: ease-out
|
|
|
|
animation-fill-mode: both
|
|
|
|
transform-origin: center
|
|
|
|
|
|
|
|
.intro-spinner
|
|
|
|
+overlay
|
|
|
|
animation-name: introSpinner
|
|
|
|
&::before
|
|
|
|
+loader
|
|
|
|
border-bottom-color: $primary
|
|
|
|
border-left-color: $primary
|
|
|
|
height: 1.5em
|
|
|
|
left: calc(50% - 0.75em)
|
|
|
|
position: absolute
|
|
|
|
top: calc(50% - 0.75em)
|
|
|
|
width: 1.5em
|
|
|
|
|
|
|
|
@keyframes introShadow
|
|
|
|
from
|
|
|
|
opacity: 0
|
|
|
|
transform: scale(0.86)
|
|
|
|
to
|
|
|
|
opacity: 1
|
|
|
|
transform: scale(1)
|
|
|
|
|
|
|
|
.intro-shadow
|
|
|
|
+overlay
|
2017-10-11 16:25:33 +00:00
|
|
|
background-color: #776e70
|
2017-10-10 18:18:52 +00:00
|
|
|
background-position: center center
|
|
|
|
background-repeat: no-repeat
|
|
|
|
background-size: cover
|
2017-10-10 16:48:01 +00:00
|
|
|
box-shadow: 0 1.5rem 3rem rgba(#000, 0.2)
|
|
|
|
animation-name: introShadow
|
2017-07-02 22:49:54 +00:00
|
|
|
|
2017-10-10 16:24:19 +00:00
|
|
|
.intro-iframe
|
2017-10-10 16:48:01 +00:00
|
|
|
opacity: 0
|
2017-10-11 16:32:01 +00:00
|
|
|
// padding-top: 52.8125%
|
|
|
|
padding-top: 56.25%
|
2017-10-10 16:48:01 +00:00
|
|
|
position: relative
|
|
|
|
transition-duration: 500ms
|
|
|
|
transition-property: opacity
|
2017-10-10 16:24:19 +00:00
|
|
|
iframe
|
|
|
|
height: 100%
|
|
|
|
left: 0
|
|
|
|
position: absolute
|
|
|
|
top: 0
|
|
|
|
width: 100%
|
|
|
|
|
2017-10-11 16:25:33 +00:00
|
|
|
.intro-author
|
|
|
|
color: $text-light
|
|
|
|
font-size: $size-small
|
2018-04-10 14:56:31 +00:00
|
|
|
margin-top: 40px
|
2017-10-11 16:25:33 +00:00
|
|
|
text-align: center
|
|
|
|
a
|
|
|
|
color: $text-strong
|
|
|
|
&:hover
|
|
|
|
text-decoration: underline
|
|
|
|
span
|
|
|
|
opacity: 0.5
|
|
|
|
transition: 100ms opacity
|
|
|
|
&:hover
|
|
|
|
opacity: 1
|
|
|
|
|
2017-10-10 16:24:19 +00:00
|
|
|
+mobile
|
|
|
|
.intro-buttons
|
|
|
|
.button
|
|
|
|
display: flex
|
|
|
|
width: 100%
|
|
|
|
&.is-light
|
|
|
|
margin-top: 0.5rem
|
|
|
|
|
|
|
|
+tablet
|
|
|
|
.intro-title
|
|
|
|
font-size: 2.25rem
|
|
|
|
.intro-buttons
|
|
|
|
align-items: center
|
|
|
|
display: flex
|
|
|
|
justify-content: space-between
|
|
|
|
|
|
|
|
+touch
|
2018-04-04 14:00:45 +00:00
|
|
|
.intro-column.is-video
|
2017-10-10 18:18:52 +00:00
|
|
|
margin-top: 3rem
|
2017-10-10 16:24:19 +00:00
|
|
|
|
|
|
|
+desktop
|
|
|
|
.intro-columns
|
|
|
|
display: flex
|
|
|
|
justify-content: center
|
|
|
|
.intro-column
|
|
|
|
width: calc(50% - 1.5rem)
|
2018-04-04 14:00:45 +00:00
|
|
|
&.is-content
|
2017-10-10 16:24:19 +00:00
|
|
|
margin-right: 1.5rem
|
2018-04-04 14:00:45 +00:00
|
|
|
&.is-video
|
2017-10-10 16:24:19 +00:00
|
|
|
margin-left: 1.5rem
|
2018-04-04 14:00:45 +00:00
|
|
|
.intro-content
|
2017-10-10 18:18:52 +00:00
|
|
|
max-width: 440px
|
2017-10-10 16:24:19 +00:00
|
|
|
.intro-title
|
|
|
|
margin-top: -11px
|
|
|
|
&:not(:last-child)
|
|
|
|
margin-bottom: 20px
|