-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated to babel7, use webpack extract plugin to create separate styl…
…e.css file (#129) BREAKING CHANGE: styles moved to a separate style.css file * updated to babel7, use webpack extract plugin to create separate styles.css file * fixed broken tests * removed package-lock.json, updated yarn.lock * updated README
- Loading branch information
1 parent
2bd9c91
commit 3f00ad7
Showing
12 changed files
with
3,562 additions
and
4,678 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
{ | ||
"presets": ["babel-preset-react", "babel-preset-env", "stage-2"], | ||
"plugins": ["transform-object-rest-spread"] | ||
"presets": [ | ||
"@babel/preset-react", | ||
"@babel/preset-env" | ||
], | ||
"plugins": [ | ||
"@babel/plugin-proposal-class-properties", | ||
"@babel/plugin-proposal-object-rest-spread" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,5 +27,6 @@ | |
"!**/resources/**", | ||
"!**/stories/**", | ||
"!**/coverage/**" | ||
] | ||
], | ||
"testURL": "http://localhost/" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,37 @@ | ||
.item { | ||
position: relative; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
font-size: 10px; | ||
position: relative; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
font-size: 10px; | ||
|
||
color: #000000; | ||
background-size: cover; | ||
background-color: #fff; | ||
color: #000000; | ||
background-size: cover; | ||
background-color: #fff; | ||
} | ||
|
||
.icon { | ||
position: absolute; | ||
left: 15px; | ||
top: 15px; | ||
width: 50px; | ||
height: 50px; | ||
border-radius: 25px; | ||
font-size: 3em; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
background-color: rgba(255,255,255, 0.2); | ||
position: absolute; | ||
left: 15px; | ||
top: 15px; | ||
width: 50px; | ||
height: 50px; | ||
border-radius: 25px; | ||
font-size: 3em; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
background-color: rgba(255, 255, 255, 0.2); | ||
} | ||
|
||
.icon_checked { | ||
background-color: #41B6E6; | ||
background-color: #41b6e6; | ||
} | ||
|
||
.label { | ||
font-size: 4em; | ||
display: inline-block; | ||
padding: .5em 1em; | ||
border-radius: 5px; | ||
background-color: rgba(255,255,255,.2); | ||
} | ||
font-size: 4em; | ||
display: inline-block; | ||
padding: 0.5em 1em; | ||
border-radius: 5px; | ||
background-color: rgba(255, 255, 255, 0.2); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.