1
1
mirror of https://github.com/primer/css.git synced 2024-09-20 21:28:20 +03:00

Merge branch 'dev' into shawnbot/friendly-scripts

This commit is contained in:
Shawn Allen 2017-08-31 09:49:57 -07:00 committed by GitHub
commit f855f56102
5 changed files with 14 additions and 6 deletions

View File

@ -8,7 +8,8 @@
"style": "build/build.css",
"main": "build/index.js",
"primer": {
"category": "core"
"category": "core",
"module_type": "meta"
},
"files": [
"index.scss",

View File

@ -6,6 +6,9 @@
"author": "GitHub, Inc.",
"license": "MIT",
"style": "build/build.css",
"primer": {
"module_type": "meta"
},
"files": [
"index.scss",
"lib",

View File

@ -8,7 +8,8 @@
"style": "build/build.css",
"main": "build/index.js",
"primer": {
"category": "marketing"
"category": "marketing",
"module_type": "meta"
},
"files": [
"index.scss",

View File

@ -8,7 +8,8 @@
"style": "build/build.css",
"main": "build/index.js",
"primer": {
"category": "product"
"category": "product",
"module_type": "meta"
},
"files": [
"index.scss",

View File

@ -30,6 +30,8 @@
.v-align-text-top { vertical-align: text-top !important; }
/* Vertical align to the bottom of the text */
.v-align-text-bottom { vertical-align: text-bottom !important; }
/* Vertical align to the parent's baseline */
.v-align-baseline { vertical-align: baseline !important; }
// Overflow utilities
// overflow-hidden can also be used to create a new
@ -81,14 +83,14 @@
.min-width-0 { min-width: 0 !important; }
// Direction utilities
/* Set the direction to rtl */
.direction-rtl { direction: rtl !important; }
/* Set the direction to ltr */
.direction-ltr { direction: ltr !important; }
@each $breakpoint in map-keys($breakpoints) {
@include breakpoint($breakpoint) {
/* Set the direction to ltr at the #{$breakpoint} breakpoint */
/* Set the direction to rtl at the #{$breakpoint} breakpoint */
.direction-#{$breakpoint}-rtl { direction: rtl !important; }
/* Set the direction to ltr at the #{$breakpoint} breakpoint */
.direction-#{$breakpoint}-ltr { direction: ltr !important; }