Use postcss-modules-local-by-default

This commit is contained in:
Nicolas Gallagher
2015-06-09 14:08:48 -07:00
parent 90779f702a
commit 78b23428bd
26 changed files with 249 additions and 243 deletions
+10 -10
View File
@@ -1,13 +1,13 @@
:local .backgroundColor-#fff { background-color: #fff; } .backgroundColor-#fff { background-color: #fff; }
:local .backgroundColor-transparent { background-color: currentcolor; } .backgroundColor-transparent { background-color: currentcolor; }
:local .backgroundImage { background-image: none; } .backgroundImage { background-image: none; }
:local .backgroundPosition-center { background-position: center; } .backgroundPosition-center { background-position: center; }
:local .backgroundSize-contain { background-size: contain; } .backgroundSize-contain { background-size: contain; }
:local .backgroundSize-cover { background-size: cover; } .backgroundSize-cover { background-size: cover; }
:local .backgroundRepeat-no-repeat { background-repeat: no-repeat; } .backgroundRepeat-no-repeat { background-repeat: no-repeat; }
:local .backgroundRepeat-repeat { background-repeat: repeat; } .backgroundRepeat-repeat { background-repeat: repeat; }
:local .backgroundRepeat-repeat-x { background-repeat: repeat-x; } .backgroundRepeat-repeat-x { background-repeat: repeat-x; }
:local .backgroundRepeat-repeat-y { background-repeat: repeat-y; } .backgroundRepeat-repeat-y { background-repeat: repeat-y; }
+35 -35
View File
@@ -1,42 +1,42 @@
:local .borderColor-currentcolor { border-color: currentcolor; } .borderColor-currentcolor { border-color: currentcolor; }
:local .borderColor-transparent { border-color: transparent; } .borderColor-transparent { border-color: transparent; }
:local .borderStyle-dotted { border-style: dotted; } .borderStyle-dotted { border-style: dotted; }
:local .borderStyle-dashed { border-style: dashed; } .borderStyle-dashed { border-style: dashed; }
:local .borderStyle-solid { border-style: solid; } .borderStyle-solid { border-style: solid; }
:local .borderWidth-0 { border-width: 0; } .borderWidth-0 { border-width: 0; }
:local .borderTopWidth-0 { border-top-width: 0; } .borderTopWidth-0 { border-top-width: 0; }
:local .borderRightWidth-0 { border-right-width: 0; } .borderRightWidth-0 { border-right-width: 0; }
:local .borderBottomWidth-0 { border-bottom-width: 0; } .borderBottomWidth-0 { border-bottom-width: 0; }
:local .borderLeftWidth-0 { border-left-width: 0; } .borderLeftWidth-0 { border-left-width: 0; }
:local .borderWidth-1px { border-width: 1px; } .borderWidth-1px { border-width: 1px; }
:local .borderTopWidth-1px { border-top-width: 1px; } .borderTopWidth-1px { border-top-width: 1px; }
:local .borderRightWidth-1px { border-right-width: 1px; } .borderRightWidth-1px { border-right-width: 1px; }
:local .borderBottomWidth-1px { border-bottom-width: 1px; } .borderBottomWidth-1px { border-bottom-width: 1px; }
:local .borderLeftWidth-1px { border-left-width: 1px; } .borderLeftWidth-1px { border-left-width: 1px; }
:local .borderWidth-2px { border-width: 2px; } .borderWidth-2px { border-width: 2px; }
:local .borderTopWidth-2px { border-top-width: 2px; } .borderTopWidth-2px { border-top-width: 2px; }
:local .borderRightWidth-2px { border-right-width: 2px; } .borderRightWidth-2px { border-right-width: 2px; }
:local .borderBottomWidth-2px { border-bottom-width: 2px; } .borderBottomWidth-2px { border-bottom-width: 2px; }
:local .borderLeftWidth-2px { border-left-width: 2px; } .borderLeftWidth-2px { border-left-width: 2px; }
:local .borderWidth-3px { border-width: 3px; } .borderWidth-3px { border-width: 3px; }
:local .borderTopWidth-3px { border-top-width: 3px; } .borderTopWidth-3px { border-top-width: 3px; }
:local .borderRightWidth-3px { border-right-width: 3px; } .borderRightWidth-3px { border-right-width: 3px; }
:local .borderBottomWidth-3px { border-bottom-width: 3px; } .borderBottomWidth-3px { border-bottom-width: 3px; }
:local .borderLeftWidth-3px { border-left-width: 3px; } .borderLeftWidth-3px { border-left-width: 3px; }
:local .borderWidth-4px { border-width: 4px; } .borderWidth-4px { border-width: 4px; }
:local .borderTopWidth-4px { border-top-width: 4px; } .borderTopWidth-4px { border-top-width: 4px; }
:local .borderRightWidth-4px { border-right-width: 4px; } .borderRightWidth-4px { border-right-width: 4px; }
:local .borderBottomWidth-4px { border-bottom-width: 4px; } .borderBottomWidth-4px { border-bottom-width: 4px; }
:local .borderLeftWidth-4px { border-left-width: 4px; } .borderLeftWidth-4px { border-left-width: 4px; }
:local .borderWidth-5px { border-width: 5px; } .borderWidth-5px { border-width: 5px; }
:local .borderTopWidth-5px { border-top-width: 5px; } .borderTopWidth-5px { border-top-width: 5px; }
:local .borderRightWidth-5px { border-right-width: 5px; } .borderRightWidth-5px { border-right-width: 5px; }
:local .borderBottomWidth-5px { border-bottom-width: 5px; } .borderBottomWidth-5px { border-bottom-width: 5px; }
:local .borderLeftWidth-5px { border-left-width: 5px; } .borderLeftWidth-5px { border-left-width: 5px; }
+2 -2
View File
@@ -1,2 +1,2 @@
:local .boxSizing-border-box { box-sizing: border-box; } .boxSizing-border-box { box-sizing: border-box; }
:local .boxSizing-content-box { box-sizing: content-box; } .boxSizing-content-box { box-sizing: content-box; }
+4 -4
View File
@@ -1,4 +1,4 @@
:local .clear-both { clear: both; } .clear-both { clear: both; }
:local .clear-left { clear: left; } .clear-left { clear: left; }
:local .clear-none { clear: none; } .clear-none { clear: none; }
:local .clear-right { clear: right; } .clear-right { clear: right; }
+4 -4
View File
@@ -1,4 +1,4 @@
:local .color-\#fff { color: #fff; } .color-\#fff { color: #fff; }
:local .color-\#000 { color: #000; } .color-\#000 { color: #000; }
:local .color-transparent { color: transparent; } .color-transparent { color: transparent; }
:local .color-inherit { color: inherit; } .color-inherit { color: inherit; }
+3 -3
View File
@@ -1,3 +1,3 @@
:local .direction-auto { direction: auto; } .direction-auto { direction: auto; }
:local .direction-ltr { direction: ltr; } .direction-ltr { direction: ltr; }
:local .direction-rtl { direction: rtl; } .direction-rtl { direction: rtl; }
+12 -12
View File
@@ -1,12 +1,12 @@
:local .display-block { display: block; } .display-block { display: block; }
:local .display-flex { display: flex; } .display-flex { display: flex; }
:local .display-inline { display: inline; } .display-inline { display: inline; }
:local .display-inline-block { display: inline-block; } .display-inline-block { display: inline-block; }
:local .display-inline-flex { display: inline-flex; } .display-inline-flex { display: inline-flex; }
:local .display-inline-table { display: inline-table; } .display-inline-table { display: inline-table; }
:local .display-none { display: none; } .display-none { display: none; }
:local .display-table { display: table; } .display-table { display: table; }
:local .display-table-row { display: table-row; } .display-table-row { display: table-row; }
:local .display-table-cell { display: table-cell; } .display-table-cell { display: table-cell; }
:local .display-table-column { display: table-column; } .display-table-column { display: table-column; }
:local .display-table-column-group { display: table-column-group; } .display-table-column-group { display: table-column-group; }
+61 -61
View File
@@ -1,70 +1,70 @@
:local .alignContent-center { align-content: center; } .alignContent-center { align-content: center; }
:local .alignContent-flex-end { align-content: flex-end; } .alignContent-flex-end { align-content: flex-end; }
:local .alignContent-flex-start { align-content: flex-start; } .alignContent-flex-start { align-content: flex-start; }
:local .alignContent-stretch { align-content: stretch; } .alignContent-stretch { align-content: stretch; }
:local .alignContent-space-around { align-content: space-around; } .alignContent-space-around { align-content: space-around; }
:local .alignContent-space-between { align-content: space-between; } .alignContent-space-between { align-content: space-between; }
:local .alignItems-center { align-items: center; } .alignItems-center { align-items: center; }
:local .alignItems-flex-end { align-items: flex-end; } .alignItems-flex-end { align-items: flex-end; }
:local .alignItems-flex-start { align-items: flex-start; } .alignItems-flex-start { align-items: flex-start; }
:local .alignItems-stretch { align-items: stretch; } .alignItems-stretch { align-items: stretch; }
:local .alignItems-space-around { align-items: space-around; } .alignItems-space-around { align-items: space-around; }
:local .alignItems-space-between { align-items: space-between; } .alignItems-space-between { align-items: space-between; }
:local .alignSelf-auto { align-self: auto; } .alignSelf-auto { align-self: auto; }
:local .alignSelf-baseline { align-self: baseline; } .alignSelf-baseline { align-self: baseline; }
:local .alignSelf-center { align-self: center; } .alignSelf-center { align-self: center; }
:local .alignSelf-flex-end { align-self: flex-end; } .alignSelf-flex-end { align-self: flex-end; }
:local .alignSelf-flex-start { align-self: flex-start; } .alignSelf-flex-start { align-self: flex-start; }
:local .alignSelf-stretch { align-self: stretch; } .alignSelf-stretch { align-self: stretch; }
:local .flexBasis-0 { flex-basis: 0%; } .flexBasis-0 { flex-basis: 0%; }
:local .flexBasis-auto { flex-basis: auto; } .flexBasis-auto { flex-basis: auto; }
:local .flexDirection-column { flex-direction: column; } .flexDirection-column { flex-direction: column; }
:local .flexDirection-column-reverse { flex-direction: column-reverse; } .flexDirection-column-reverse { flex-direction: column-reverse; }
:local .flexDirection-row { flex-direction: row; } .flexDirection-row { flex-direction: row; }
:local .flexDirection-row-reverse { flex-direction: row-reverse; } .flexDirection-row-reverse { flex-direction: row-reverse; }
:local .flexGrow-0 { flex-grow: 0; } .flexGrow-0 { flex-grow: 0; }
:local .flexGrow-1 { flex-grow: 1; } .flexGrow-1 { flex-grow: 1; }
:local .flexGrow-2 { flex-grow: 2; } .flexGrow-2 { flex-grow: 2; }
:local .flexGrow-3 { flex-grow: 3; } .flexGrow-3 { flex-grow: 3; }
:local .flexGrow-4 { flex-grow: 4; } .flexGrow-4 { flex-grow: 4; }
:local .flexGrow-5 { flex-grow: 5; } .flexGrow-5 { flex-grow: 5; }
:local .flexGrow-6 { flex-grow: 6; } .flexGrow-6 { flex-grow: 6; }
:local .flexGrow-7 { flex-grow: 7; } .flexGrow-7 { flex-grow: 7; }
:local .flexGrow-8 { flex-grow: 8; } .flexGrow-8 { flex-grow: 8; }
:local .flexGrow-9 { flex-grow: 9; } .flexGrow-9 { flex-grow: 9; }
:local .flexShrink-0 { flex-shrink: 0; } .flexShrink-0 { flex-shrink: 0; }
:local .flexShrink-1 { flex-shrink: 1; } .flexShrink-1 { flex-shrink: 1; }
:local .flexShrink-2 { flex-shrink: 2; } .flexShrink-2 { flex-shrink: 2; }
:local .flexShrink-3 { flex-shrink: 3; } .flexShrink-3 { flex-shrink: 3; }
:local .flexShrink-4 { flex-shrink: 4; } .flexShrink-4 { flex-shrink: 4; }
:local .flexShrink-5 { flex-shrink: 5; } .flexShrink-5 { flex-shrink: 5; }
:local .flexShrink-6 { flex-shrink: 6; } .flexShrink-6 { flex-shrink: 6; }
:local .flexShrink-7 { flex-shrink: 7; } .flexShrink-7 { flex-shrink: 7; }
:local .flexShrink-8 { flex-shrink: 8; } .flexShrink-8 { flex-shrink: 8; }
:local .flexShrink-9 { flex-shrink: 9; } .flexShrink-9 { flex-shrink: 9; }
:local .flexWrap-nowrap { flex-wrap: nowrap; } .flexWrap-nowrap { flex-wrap: nowrap; }
:local .flexWrap-wrap { flex-wrap: wrap; } .flexWrap-wrap { flex-wrap: wrap; }
:local .flexWrap-wrap-reverse { flex-wrap: wrap-reverse; } .flexWrap-wrap-reverse { flex-wrap: wrap-reverse; }
:local .justifyContent-center { justify-content: center; } .justifyContent-center { justify-content: center; }
:local .justifyContent-flex-end { justify-content: flex-end; } .justifyContent-flex-end { justify-content: flex-end; }
:local .justifyContent-flex-start { justify-content: flex-start; } .justifyContent-flex-start { justify-content: flex-start; }
:local .justifyContent-space-around { justify-content: space-around; } .justifyContent-space-around { justify-content: space-around; }
:local .justifyContent-space-between { justify-content: space-between; } .justifyContent-space-between { justify-content: space-between; }
:local .order-1 { order: 1; } .order-1 { order: 1; }
:local .order-2 { order: 2; } .order-2 { order: 2; }
:local .order-3 { order: 3; } .order-3 { order: 3; }
:local .order-4 { order: 4; } .order-4 { order: 4; }
:local .order-5 { order: 5; } .order-5 { order: 5; }
:local .order-6 { order: 6; } .order-6 { order: 6; }
:local .order-7 { order: 7; } .order-7 { order: 7; }
:local .order-8 { order: 8; } .order-8 { order: 8; }
:local .order-9 { order: 9; } .order-9 { order: 9; }
+3 -3
View File
@@ -1,3 +1,3 @@
:local .float-left { float: left; } .float-left { float: left; }
:local .float-none { float: none; } .float-none { float: none; }
:local .float-right { float: right; } .float-right { float: right; }
+14 -14
View File
@@ -1,16 +1,16 @@
:local .font-inherit { font: inherit; } .font-inherit { font: inherit; }
:local .fontStyle-italic { font-style: italic; } .fontStyle-italic { font-style: italic; }
:local .fontStyle-normal { font-style: normal; } .fontStyle-normal { font-style: normal; }
:local .fontWeight-100 { font-weight: 100; } .fontWeight-100 { font-weight: 100; }
:local .fontWeight-200 { font-weight: 200; } .fontWeight-200 { font-weight: 200; }
:local .fontWeight-300 { font-weight: 300; } .fontWeight-300 { font-weight: 300; }
:local .fontWeight-400 { font-weight: 400; } .fontWeight-400 { font-weight: 400; }
:local .fontWeight-500 { font-weight: 500; } .fontWeight-500 { font-weight: 500; }
:local .fontWeight-600 { font-weight: 600; } .fontWeight-600 { font-weight: 600; }
:local .fontWeight-700 { font-weight: 700; } .fontWeight-700 { font-weight: 700; }
:local .fontWeight-800 { font-weight: 800; } .fontWeight-800 { font-weight: 800; }
:local .fontWeight-900 { font-weight: 900; } .fontWeight-900 { font-weight: 900; }
:local .fontWeight-bold { font-weight: bold; } .fontWeight-bold { font-weight: bold; }
:local .fontWeight-normal { font-weight: normal; } .fontWeight-normal { font-weight: normal; }
+3 -3
View File
@@ -1,3 +1,3 @@
:local .maxHeight-100\% { max-height: 100%; } .maxHeight-100\% { max-height: 100%; }
:local .minHeight-100\% { min-height: 100%; } .minHeight-100\% { min-height: 100%; }
:local .height-100\% { height: 100%; } .height-100\% { height: 100%; }
+10 -10
View File
@@ -1,13 +1,13 @@
:local .margin-0 { margin: 0; } .margin-0 { margin: 0; }
:local .margin-auto { margin: auto; } .margin-auto { margin: auto; }
:local .marginTop-0 { margin-top: 0; } .marginTop-0 { margin-top: 0; }
:local .marginTop-auto { margin-top: auto; } .marginTop-auto { margin-top: auto; }
:local .marginRight-0 { margin-right: 0; } .marginRight-0 { margin-right: 0; }
:local .marginRight-auto { margin-right: auto; } .marginRight-auto { margin-right: auto; }
:local .marginBottom-0 { margin-bottom: 0; } .marginBottom-0 { margin-bottom: 0; }
:local .marginBottom-auto { margin-bottom: auto; } .marginBottom-auto { margin-bottom: auto; }
:local .marginLeft-0 { margin-left: 0; } .marginLeft-0 { margin-left: 0; }
:local .marginLeft-auto { margin-left: auto; } .marginLeft-auto { margin-left: auto; }
+12 -12
View File
@@ -1,14 +1,14 @@
:local .overflow-auto { overflow: auto; } .overflow-auto { overflow: auto; }
:local .overflow-hidden { overflow: hidden; } .overflow-hidden { overflow: hidden; }
:local .overflow-scroll { overflow: scroll; } .overflow-scroll { overflow: scroll; }
:local .overflow-visible { overflow: visible; } .overflow-visible { overflow: visible; }
:local .overflowX-auto { overflow-x: auto; } .overflowX-auto { overflow-x: auto; }
:local .overflowX-hidden { overflow-x: hidden; } .overflowX-hidden { overflow-x: hidden; }
:local .overflowX-scroll { overflow-x: scroll; } .overflowX-scroll { overflow-x: scroll; }
:local .overflowX-visible { overflow-x: visible; } .overflowX-visible { overflow-x: visible; }
:local .overflowY-auto { overflow-y: auto; } .overflowY-auto { overflow-y: auto; }
:local .overflowY-hidden { overflow-y: hidden; } .overflowY-hidden { overflow-y: hidden; }
:local .overflowY-scroll { overflow-y: scroll; } .overflowY-scroll { overflow-y: scroll; }
:local .overflowY-visible { overflow-y: visible; } .overflowY-visible { overflow-y: visible; }
+15 -15
View File
@@ -1,17 +1,17 @@
:local .padding-0 { padding: 0; } .padding-0 { padding: 0; }
:local .paddingTop-0 { padding-top: 0; } .paddingTop-0 { padding-top: 0; }
:local .paddingRight-0 { padding-right: 0; } .paddingRight-0 { padding-right: 0; }
:local .paddingBottom-0 { padding-bottom: 0; } .paddingBottom-0 { padding-bottom: 0; }
:local .paddingLeft-0 { padding-left: 0; } .paddingLeft-0 { padding-left: 0; }
:local .padding-1em { padding: 1em; } .padding-1em { padding: 1em; }
:local .paddingTop-1em { padding-top: 1em; } .paddingTop-1em { padding-top: 1em; }
:local .paddingRight-1em { padding-right: 1em; } .paddingRight-1em { padding-right: 1em; }
:local .paddingBottom-1em { padding-bottom: 1em; } .paddingBottom-1em { padding-bottom: 1em; }
:local .paddingLeft-1em { padding-left: 1em; } .paddingLeft-1em { padding-left: 1em; }
:local .padding-1rem { padding: 1rem; } .padding-1rem { padding: 1rem; }
:local .paddingTop-1rem { padding-top: 1rem; } .paddingTop-1rem { padding-top: 1rem; }
:local .paddingRight-1rem { padding-right: 1rem; } .paddingRight-1rem { padding-right: 1rem; }
:local .paddingBottom-1rem { padding-bottom: 1rem; } .paddingBottom-1rem { padding-bottom: 1rem; }
:local .paddingLeft-1rem { padding-left: 1rem; } .paddingLeft-1rem { padding-left: 1rem; }
+6 -6
View File
@@ -1,6 +1,6 @@
:local .pointerEvents-auto { pointer-events: auto; } .pointerEvents-auto { pointer-events: auto; }
:local .pointerEvents-none { pointer-events: none; } .pointerEvents-none { pointer-events: none; }
:local .pointerEvents-box-none { pointer-events: none; } .pointerEvents-box-none { pointer-events: none; }
:local .pointerEvents-box-none * { pointer-events: auto;} .pointerEvents-box-none * { pointer-events: auto;}
:local .pointerEvents-box-only { pointer-events: auto; } .pointerEvents-box-only { pointer-events: auto; }
:local .pointerEvents-box-only * { pointer-events: none; } .pointerEvents-box-only * { pointer-events: none; }
+11 -11
View File
@@ -1,13 +1,13 @@
:local .position-absolute { position: absolute; } .position-absolute { position: absolute; }
:local .position-fixed { position: fixed; } .position-fixed { position: fixed; }
:local .position-relative { position: relative; } .position-relative { position: relative; }
:local .top-0 { top: 0; } .top-0 { top: 0; }
:local .right-0 { right: 0; } .right-0 { right: 0; }
:local .left-0 { left: 0; } .left-0 { left: 0; }
:local .bottom-0 { bottom: 0; } .bottom-0 { bottom: 0; }
:local .top-100\% { top: 100%; } .top-100\% { top: 100%; }
:local .right-100\% { right: 100%; } .right-100\% { right: 100%; }
:local .left-100\% { left: 100%; } .left-100\% { left: 100%; }
:local .bottom-100\% { bottom: 100%; } .bottom-100\% { bottom: 100%; }
+11 -11
View File
@@ -1,14 +1,14 @@
:local .textAlign-center { text-align: center; } .textAlign-center { text-align: center; }
:local .textAlign-left { text-align: left; } .textAlign-left { text-align: left; }
:local .textAlign-right { text-align: right; } .textAlign-right { text-align: right; }
:local .textAlign-justify { text-align: justify; } .textAlign-justify { text-align: justify; }
:local .textDecoration-none { text-decoration: none; } .textDecoration-none { text-decoration: none; }
:local .textDecoration-underline { text-decoration: underline; } .textDecoration-underline { text-decoration: underline; }
:local .textOverflow-ellipsis { text-overflow: ellipsis } .textOverflow-ellipsis { text-overflow: ellipsis }
:local .textTransform-capitalize { text-transform: capitalize; } .textTransform-capitalize { text-transform: capitalize; }
:local .textTransform-lowercase { text-transform: lowercase; } .textTransform-lowercase { text-transform: lowercase; }
:local .textTransform-none { text-transform: none; } .textTransform-none { text-transform: none; }
:local .textTransform-uppercase { text-transform: uppercase; } .textTransform-uppercase { text-transform: uppercase; }
+3 -3
View File
@@ -1,3 +1,3 @@
:local .userSelect-all { user-select: all; } .userSelect-all { user-select: all; }
:local .userSelect-inherit { user-select: inherit; } .userSelect-inherit { user-select: inherit; }
:local .userSelect-none { user-select: none; } .userSelect-none { user-select: none; }
+2 -2
View File
@@ -1,2 +1,2 @@
:local .visibility-hidden { visibility: hidden; } .visibility-hidden { visibility: hidden; }
:local .visibility-visible { visibility: visible; } .visibility-visible { visibility: visible; }
+3 -3
View File
@@ -1,3 +1,3 @@
:local .whiteSpace-normal { white-space: normal; } .whiteSpace-normal { white-space: normal; }
:local .whiteSpace-nowrap { white-space: nowrap; } .whiteSpace-nowrap { white-space: nowrap; }
:local .whiteSpace-pre { white-space: pre; } .whiteSpace-pre { white-space: pre; }
+3 -3
View File
@@ -1,3 +1,3 @@
:local .maxWidth-100\% { max-width: 100%; } .maxWidth-100\% { max-width: 100%; }
:local .minWidth-100\% { min-width: 100%; } .minWidth-100\% { min-width: 100%; }
:local .width-100\% { width: 100%; } .width-100\% { width: 100%; }
+2 -2
View File
@@ -1,2 +1,2 @@
:local .wordWrap-break-word { word-wrap: break-word; } .wordWrap-break-word { word-wrap: break-word; }
:local .wordWrap-normal { word-wrap: normal; } .wordWrap-normal { word-wrap: normal; }
+12 -12
View File
@@ -1,12 +1,12 @@
:local .zIndex--1 { z-index: -1; } .zIndex--1 { z-index: -1; }
:local .zIndex-0 { z-index: 0; } .zIndex-0 { z-index: 0; }
:local .zIndex-1 { z-index: 1; } .zIndex-1 { z-index: 1; }
:local .zIndex-2 { z-index: 2; } .zIndex-2 { z-index: 2; }
:local .zIndex-3 { z-index: 3; } .zIndex-3 { z-index: 3; }
:local .zIndex-4 { z-index: 4; } .zIndex-4 { z-index: 4; }
:local .zIndex-5 { z-index: 5; } .zIndex-5 { z-index: 5; }
:local .zIndex-6 { z-index: 6; } .zIndex-6 { z-index: 6; }
:local .zIndex-7 { z-index: 7; } .zIndex-7 { z-index: 7; }
:local .zIndex-8 { z-index: 8; } .zIndex-8 { z-index: 8; }
:local .zIndex-9 { z-index: 9; } .zIndex-9 { z-index: 9; }
:local .zIndex-10 { z-index: 10; } .zIndex-10 { z-index: 10; }
+5 -1
View File
@@ -1,3 +1,4 @@
import background from './css/background.css';
import border from './css/border.css'; import border from './css/border.css';
import boxSizing from './css/boxSizing.css'; import boxSizing from './css/boxSizing.css';
import clear from './css/clear.css'; import clear from './css/clear.css';
@@ -19,8 +20,10 @@ import visibility from './css/visibility.css';
import whiteSpace from './css/whiteSpace.css'; import whiteSpace from './css/whiteSpace.css';
import width from './css/width.css'; import width from './css/width.css';
import word from './css/word.css'; import word from './css/word.css';
import zIndex from './css/zIndex.css';
const map = Object.assign({}, const map = Object.assign({},
background,
border, border,
boxSizing, boxSizing,
clear, clear,
@@ -41,7 +44,8 @@ const map = Object.assign({},
visibility, visibility,
whiteSpace, whiteSpace,
width, width,
word word,
zIndex
); );
export default map; export default map;
+1
View File
@@ -21,6 +21,7 @@
"css-loader": "^0.14.4", "css-loader": "^0.14.4",
"node-libs-browser": "^0.5.2", "node-libs-browser": "^0.5.2",
"postcss-loader": "^0.4.4", "postcss-loader": "^0.4.4",
"postcss-modules-local-by-default": "0.0.7",
"style-loader": "^0.12.3", "style-loader": "^0.12.3",
"webpack": "^1.9.10" "webpack": "^1.9.10"
}, },
+2 -1
View File
@@ -1,4 +1,5 @@
var autoprefixer = require('autoprefixer-core'); var autoprefixer = require('autoprefixer-core');
var localcss = require('postcss-modules-local-by-default');
module.exports = { module.exports = {
module: { module: {
@@ -15,5 +16,5 @@ module.exports = {
} }
] ]
}, },
postcss: [ autoprefixer ] postcss: [ autoprefixer, localcss ]
}; };