Fix imports

This commit is contained in:
Jeremy Thomas 2016-09-22 20:30:09 +01:00
parent 9928f2b9f0
commit 70b1367053
34 changed files with 2523 additions and 51 deletions

2460
css/bulma.css vendored

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

2
docs/.gitignore vendored
View File

@ -1,6 +1,8 @@
# Files # Files
.DS_Store .DS_Store
_config.local.yml _config.local.yml
css/bulma-test.css
bulma-test.sass
bulma-website-local.sass bulma-website-local.sass
npm-debug.log npm-debug.log

View File

@ -36,7 +36,9 @@
"docs-sass": "node-sass --output-style expanded docs/bulma-docs.sass docs/css/bulma-docs.css", "docs-sass": "node-sass --output-style expanded docs/bulma-docs.sass docs/css/bulma-docs.css",
"pre-push": "npm run build && git add css && git commit --amend --no-edit", "pre-push": "npm run build && git add css && git commit --amend --no-edit",
"start": "npm run build-sass -- --watch", "start": "npm run build-sass -- --watch",
"start-docs": "npm run docs-sass -- --watch" "start-docs": "npm run docs-sass -- --watch",
"start-test": "npm run test-sass -- --watch",
"test-sass": "node-sass --output-style expanded docs/bulma-test.sass docs/css/bulma-test.css"
}, },
"files": [ "files": [
"css", "css",

View File

@ -1,3 +1,5 @@
@import "../utilities/mixins.sass"
.block .block
&:not(:last-child) &:not(:last-child)
margin-bottom: 20px margin-bottom: 20px

View File

@ -1,3 +1,6 @@
@import "../utilities/mixins.sass"
@import "../utilities/variables.sass"
html html
background-color: $body-background background-color: $body-background
font-size: $size-normal font-size: $size-normal

View File

@ -1,3 +1,6 @@
@import "../elements/other.sass"
@import "../utilities/mixins.sass"
// Display // Display
$displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex' $displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex'

View File

@ -1,3 +1,5 @@
@import "../utilities/variables.sass"
.card-header .card-header
align-items: stretch align-items: stretch
box-shadow: 0 1px 2px rgba($black, 0.1) box-shadow: 0 1px 2px rgba($black, 0.1)

View File

@ -1,3 +1,6 @@
@import "../utilities/mixins.sass"
@import "../utilities/variables.sass"
.column .column
flex-basis: 0 flex-basis: 0
flex-grow: 1 flex-grow: 1

View File

@ -1,3 +1,7 @@
@import "../base/classes.sass"
@import "../utilities/mixins.sass"
@import "../utilities/variables.sass"
.level-item .level-item
.title, .title,
.subtitle .subtitle

View File

@ -1,3 +1,6 @@
@import "../utilities/mixins.sass"
@import "../utilities/variables.sass"
.media-number .media-number
background-color: $background background-color: $background
border-radius: 290486px border-radius: 290486px

View File

@ -1,3 +1,5 @@
@import "../utilities/variables.sass"
.menu-nav .menu-nav
a a
display: block display: block

View File

@ -1,3 +1,7 @@
@import "../base/classes.sass"
@import "../utilities/functions.sass"
@import "../utilities/variables.sass"
.message-body .message-body
border: 1px solid $border border: 1px solid $border
border-radius: $radius border-radius: $radius

View File

@ -1,3 +1,7 @@
@import "../elements/other.sass"
@import "../utilities/mixins.sass"
@import "../utilities/variables.sass"
.modal-background .modal-background
+overlay +overlay
background-color: rgba($black, 0.86) background-color: rgba($black, 0.86)

View File

@ -1,3 +1,7 @@
@import "../elements/other.sass"
@import "../utilities/mixins.sass"
@import "../utilities/variables.sass"
// Components // Components
.nav-toggle .nav-toggle

View File

@ -1,3 +1,6 @@
@import "../utilities/mixins.sass"
@import "../utilities/variables.sass"
.pagination .pagination
align-items: center align-items: center
display: flex display: flex

View File

@ -1,3 +1,6 @@
@import "../utilities/mixins.sass"
@import "../utilities/variables.sass"
.panel-icon .panel-icon
+fa(14px, 16px) +fa(14px, 16px)
color: $text-light color: $text-light

View File

@ -1,3 +1,7 @@
@import "../base/classes.sass"
@import "../elements/other.sass"
@import "../utilities/variables.sass"
.tabs .tabs
@extend .block @extend .block
@extend .unselectable @extend .unselectable

View File

@ -1,3 +1,6 @@
@import "../base/classes.sass"
@import "../utilities/variables.sass"
.box .box
@extend .block @extend .block
background-color: $white background-color: $white

View File

@ -1,3 +1,7 @@
@import "../elements/other.sass"
@import "../utilities/controls.sass"
@import "../utilities/variables.sass"
=button-small =button-small
border-radius: $radius-small border-radius: $radius-small
font-size: 11px font-size: 11px

View File

@ -1,3 +1,6 @@
@import "../base/classes.sass"
@import "../utilities/variables.sass"
.content .content
@extend .block @extend .block
color: $text color: $text

View File

@ -1,3 +1,7 @@
@import "../elements/other.sass"
@import "../utilities/controls.sass"
@import "../utilities/mixins.sass"
=form-control =form-control
+control +control
@each $name, $pair in $colors @each $name, $pair in $colors

View File

@ -1,3 +1,5 @@
@import "../utilities/mixins.sass"
$dimensions: 16 24 32 48 64 96 128 $dimensions: 16 24 32 48 64 96 128
.image .image

View File

@ -1,3 +1,7 @@
@import "../base/classes.sass"
@import "../utilities/mixins.sass"
@import "../utilities/variables.sass"
.notification .notification
@extend .block @extend .block
+clearfix +clearfix

View File

@ -1,3 +1,7 @@
@import "../base/classes.sass"
@import "../utilities/mixins.sass"
@import "../utilities/variables.sass"
.delete .delete
@extend .unselectable @extend .unselectable
-moz-appearance: none -moz-appearance: none
@ -147,9 +151,6 @@
.delete .delete
margin-left: 4px margin-left: 4px
margin-right: -6px margin-right: -6px
&:not(.is-large)
.delete
@extend .delete.is-small
// Colors // Colors
@each $name, $pair in $colors @each $name, $pair in $colors
$color: nth($pair, 1) $color: nth($pair, 1)

View File

@ -1,3 +1,6 @@
@import "../base/classes.sass"
@import "../utilities/variables.sass"
.progress .progress
@extend .block @extend .block
-moz-appearance: none -moz-appearance: none

View File

@ -1,3 +1,6 @@
@import "../utilities/mixins.sass"
@import "../utilities/variables.sass"
.table .table
background-color: $white background-color: $white
color: $text-strong color: $text-strong

View File

@ -1,3 +1,7 @@
@import "../base/classes.sass"
@import "../utilities/mixins.sass"
@import "../utilities/variables.sass"
.title, .title,
.subtitle .subtitle
@extend .block @extend .block

View File

@ -1,3 +1,5 @@
@import "../utilities/variables.sass"
.footer .footer
background-color: $background background-color: $background
padding: 40px 20px 80px padding: 40px 20px 80px

View File

@ -1,3 +1,6 @@
@import "../utilities/mixins.sass"
@import "../utilities/variables.sass"
// Components // Components
.hero-video .hero-video

View File

@ -1,3 +1,6 @@
@import "../utilities/mixins.sass"
@import "../utilities/variables.sass"
.section .section
background-color: $white background-color: $white
padding: 40px 20px padding: 40px 20px

View File

@ -1,3 +1,6 @@
@import "./mixins.sass"
@import "./variables.sass"
=control =control
-moz-appearance: none -moz-appearance: none
-webkit-appearance: none -webkit-appearance: none

View File

@ -57,6 +57,12 @@
text-indent: -290486px text-indent: -290486px
width: $width width: $width
// Responsiveness
$tablet: 769px !default
$desktop: 980px !default
$widescreen: 1180px !default
=from($device) =from($device)
@media screen and (min-width: $device) @media screen and (min-width: $device)
@content @content

View File

@ -1,3 +1,5 @@
@import "./functions.sass"
// 1. Initial variables // 1. Initial variables
// Colors // Colors
@ -37,12 +39,6 @@ $weight-bold: 700 !default
$weight-title-normal: 300 !default $weight-title-normal: 300 !default
$weight-title-bold: 500 !default $weight-title-bold: 500 !default
// Breakpoints
$tablet: 769px !default
$desktop: 980px !default
$widescreen: 1180px !default
// Dimensions // Dimensions
$column-gap: 20px !default $column-gap: 20px !default