Move docs to bulma repo (#299)

* Add package files whitelist

* Add flex shrink

* Add flex shrink

* Add docs config

* Fix flex shrink

* Fix hero pages

* Add docs folder
This commit is contained in:
Jeremy Thomas
2016-09-11 12:00:49 +01:00
committed by GitHub
parent 1d9f6318a5
commit 9094eff30a
127 changed files with 21908 additions and 308 deletions

View File

@@ -100,5 +100,8 @@ $displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex'
.is-marginless
margin: 0 !important
.is-paddingless
padding: 0 !important
.is-unselectable
@extend .unselectable

View File

@@ -23,6 +23,7 @@
.media-content
flex-grow: 1
flex-shrink: 1
text-align: left
.media

View File

@@ -25,8 +25,6 @@
.modal-card
@extend .modal-content
background-color: $white
border-radius: $radius-large
display: flex
flex-direction: column
max-height: calc(100vh - 40px)
@@ -44,21 +42,28 @@
.modal-card-head
border-bottom: 1px solid $border
border-top-left-radius: $radius-large
border-top-right-radius: $radius-large
.modal-card-title
color: $text-strong
flex-grow: 1
flex-shrink: 0
font-size: $size-4
line-height: 1
.modal-card-foot
border-bottom-left-radius: $radius-large
border-bottom-right-radius: $radius-large
border-top: 1px solid $border
.button
&:not(:last-child)
margin-right: 10px
.modal-card-body
background-color: $white
flex-grow: 1
flex-shrink: 1
overflow: auto
padding: 20px

View File

@@ -13,6 +13,7 @@
padding: 10px
a
flex-grow: 1
flex-shrink: 0
img
max-height: 24px
.button + .button
@@ -72,6 +73,7 @@ a.nav-item
display: flex
flex-basis: 0
flex-grow: 1
flex-shrink: 0
justify-content: flex-start
overflow: hidden
overflow-x: auto
@@ -91,6 +93,7 @@ a.nav-item
display: flex
flex-basis: 0
flex-grow: 1
flex-shrink: 0
justify-content: flex-end
// Main container

View File

@@ -17,6 +17,7 @@
align-items: center
display: flex
flex-grow: 1
flex-shrink: 0
justify-content: center
// Responsiveness
+mobile
@@ -27,6 +28,7 @@
margin-left: 10px
li
flex-grow: 1
flex-shrink: 0
ul
margin-top: 10px
+tablet

View File

@@ -31,6 +31,7 @@
border-bottom: 1px solid $border
display: flex
flex-grow: 1
flex-shrink: 0
justify-content: flex-start
&.is-left
padding-right: 10px
@@ -73,6 +74,7 @@
&.is-fullwidth
li
flex-grow: 1
flex-shrink: 0
&.is-toggle
a
border: 1px solid $border

View File

@@ -127,7 +127,9 @@
+mobile
margin-bottom: 5px
+tablet
flex-basis: 0
flex-grow: 1
flex-shrink: 0
margin-right: 20px
padding-top: 7px
text-align: right
@@ -162,6 +164,7 @@
border-radius: 0 $radius $radius 0
&.is-expanded
flex-grow: 1
flex-shrink: 0
&.has-addons-centered
justify-content: center
&.has-addons-right
@@ -171,6 +174,7 @@
.input,
.select
flex-grow: 1
flex-shrink: 0
&.has-icon
& > .fa
+fa(14px, 24px)
@@ -234,6 +238,7 @@
margin-right: 10px
&.is-expanded
flex-grow: 1
flex-shrink: 0
&.is-grouped-centered
justify-content: center
&.is-grouped-right
@@ -243,7 +248,9 @@
display: flex
& > .control
display: flex
flex-basis: 0
flex-grow: 5
flex-shrink: 1
&.is-loading
&:after
@extend .loader

View File

@@ -39,9 +39,10 @@
.hero-body
flex-grow: 1
flex-shrink: 0
padding: 40px 20px
// Responsiveness
+desktop
+from(1240px)
padding-left: 0
padding-right: 0
@@ -144,3 +145,4 @@
display: flex
& > .container
flex-grow: 1
flex-shrink: 0