mirror of
https://github.com/jgthms/bulma
synced 2026-03-22 05:04:28 -07:00
Add narrow columns, Push 0.0.21
This commit is contained in:
@@ -1,5 +1,11 @@
|
|||||||
# Bulma Changelog
|
# Bulma Changelog
|
||||||
|
|
||||||
|
## 0.0.21
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
* `.column.is-narrow` to make a column `flex: none`
|
||||||
|
|
||||||
## 0.0.20
|
## 0.0.20
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ npm install bulma
|
|||||||
|
|
||||||
### CDN
|
### CDN
|
||||||
|
|
||||||
[https://cdnjs.cloudflare.com/ajax/libs/bulma/0.0.20/css/bulma.min.css](https://cdnjs.cloudflare.com/ajax/libs/bulma/0.0.20/css/bulma.min.css)
|
[https://cdnjs.cloudflare.com/ajax/libs/bulma/0.0.21/css/bulma.min.css](https://cdnjs.cloudflare.com/ajax/libs/bulma/0.0.21/css/bulma.min.css)
|
||||||
|
|
||||||
Feel free to raise an issue or submit a pull request.
|
Feel free to raise an issue or submit a pull request.
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "bulma",
|
"name": "bulma",
|
||||||
"version": "0.0.20",
|
"version": "0.0.21",
|
||||||
"homepage": "http://bulma.io",
|
"homepage": "http://bulma.io",
|
||||||
"authors": [
|
"authors": [
|
||||||
"jgthms <bbxdesign@gmail.com>"
|
"jgthms <bbxdesign@gmail.com>"
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
.column
|
.column
|
||||||
flex: 1
|
flex: 1
|
||||||
padding: 10px
|
padding: 10px
|
||||||
|
.columns.is-mobile > &.is-narrow
|
||||||
|
flex: none
|
||||||
.columns.is-mobile > &.is-full
|
.columns.is-mobile > &.is-full
|
||||||
flex: none
|
flex: none
|
||||||
width: 100%
|
width: 100%
|
||||||
@@ -36,6 +38,8 @@
|
|||||||
.columns.is-mobile > &.is-offset-#{$i}
|
.columns.is-mobile > &.is-offset-#{$i}
|
||||||
margin-left: ($i / 12) * 100%
|
margin-left: ($i / 12) * 100%
|
||||||
+mobile
|
+mobile
|
||||||
|
&.is-narrow-mobile
|
||||||
|
flex: none
|
||||||
&.is-full-mobile
|
&.is-full-mobile
|
||||||
flex: none
|
flex: none
|
||||||
width: 100%
|
width: 100%
|
||||||
@@ -71,6 +75,9 @@
|
|||||||
&.is-offset-#{$i}-mobile
|
&.is-offset-#{$i}-mobile
|
||||||
margin-left: ($i / 12) * 100%
|
margin-left: ($i / 12) * 100%
|
||||||
+tablet
|
+tablet
|
||||||
|
&.is-narrow,
|
||||||
|
&.is-narrow-tablet
|
||||||
|
flex: none
|
||||||
&.is-full,
|
&.is-full,
|
||||||
&.is-full-tablet
|
&.is-full-tablet
|
||||||
flex: none
|
flex: none
|
||||||
@@ -119,6 +126,8 @@
|
|||||||
&.is-offset-#{$i}-tablet
|
&.is-offset-#{$i}-tablet
|
||||||
margin-left: ($i / 12) * 100%
|
margin-left: ($i / 12) * 100%
|
||||||
+desktop
|
+desktop
|
||||||
|
&.is-narrow-desktop
|
||||||
|
flex: none
|
||||||
&.is-full-desktop
|
&.is-full-desktop
|
||||||
flex: none
|
flex: none
|
||||||
width: 100%
|
width: 100%
|
||||||
|
|||||||
25
css/bulma.css
vendored
25
css/bulma.css
vendored
@@ -2652,6 +2652,13 @@ table th {
|
|||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.columns.is-mobile > .column.is-narrow {
|
||||||
|
-webkit-box-flex: 0;
|
||||||
|
-webkit-flex: none;
|
||||||
|
-ms-flex: none;
|
||||||
|
flex: none;
|
||||||
|
}
|
||||||
|
|
||||||
.columns.is-mobile > .column.is-full {
|
.columns.is-mobile > .column.is-full {
|
||||||
-webkit-box-flex: 0;
|
-webkit-box-flex: 0;
|
||||||
-webkit-flex: none;
|
-webkit-flex: none;
|
||||||
@@ -2865,6 +2872,12 @@ table th {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 768px) {
|
@media screen and (max-width: 768px) {
|
||||||
|
.column.is-narrow-mobile {
|
||||||
|
-webkit-box-flex: 0;
|
||||||
|
-webkit-flex: none;
|
||||||
|
-ms-flex: none;
|
||||||
|
flex: none;
|
||||||
|
}
|
||||||
.column.is-full-mobile {
|
.column.is-full-mobile {
|
||||||
-webkit-box-flex: 0;
|
-webkit-box-flex: 0;
|
||||||
-webkit-flex: none;
|
-webkit-flex: none;
|
||||||
@@ -3045,6 +3058,12 @@ table th {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px) {
|
||||||
|
.column.is-narrow, .column.is-narrow-tablet {
|
||||||
|
-webkit-box-flex: 0;
|
||||||
|
-webkit-flex: none;
|
||||||
|
-ms-flex: none;
|
||||||
|
flex: none;
|
||||||
|
}
|
||||||
.column.is-full, .column.is-full-tablet {
|
.column.is-full, .column.is-full-tablet {
|
||||||
-webkit-box-flex: 0;
|
-webkit-box-flex: 0;
|
||||||
-webkit-flex: none;
|
-webkit-flex: none;
|
||||||
@@ -3225,6 +3244,12 @@ table th {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 980px) {
|
@media screen and (min-width: 980px) {
|
||||||
|
.column.is-narrow-desktop {
|
||||||
|
-webkit-box-flex: 0;
|
||||||
|
-webkit-flex: none;
|
||||||
|
-ms-flex: none;
|
||||||
|
flex: none;
|
||||||
|
}
|
||||||
.column.is-full-desktop {
|
.column.is-full-desktop {
|
||||||
-webkit-box-flex: 0;
|
-webkit-box-flex: 0;
|
||||||
-webkit-flex: none;
|
-webkit-flex: none;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
2
css/bulma.min.css
vendored
2
css/bulma.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "bulma",
|
"name": "bulma",
|
||||||
"version": "0.0.20",
|
"version": "0.0.21",
|
||||||
"homepage": "http://bulma.io",
|
"homepage": "http://bulma.io",
|
||||||
"author": "jgthms <bbxdesign@gmail.com>",
|
"author": "jgthms <bbxdesign@gmail.com>",
|
||||||
"description": "Modern CSS framework based on Flexbox",
|
"description": "Modern CSS framework based on Flexbox",
|
||||||
|
|||||||
Reference in New Issue
Block a user