-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from btzr-io/master
Split components
- Loading branch information
Showing
11 changed files
with
74 additions
and
341 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import React, { Component } from 'react'; | ||
import { translate } from 'react-i18next'; | ||
import style from './theme.styl'; | ||
|
||
export default (props) => ( | ||
<div className={style['success']}> | ||
{props.message} | ||
<i className="material-icons">check</i> | ||
</div> | ||
) |
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
.success | ||
background: #33AA65 | ||
padding: 10px 30px | ||
border-radius: 30px | ||
z-index: 999 | ||
position fixed | ||
bottom 25px | ||
right 50px | ||
color $Text1 | ||
font-family $MainFont, $AlternateFont | ||
font-size 16px | ||
i | ||
font-size 14px | ||
|
||
#checkmark-notify | ||
display inline-block | ||
width 20px | ||
height 20px | ||
transform rotate(45deg) | ||
|
||
#stem-notify | ||
position absolute | ||
width 3px | ||
height 12px | ||
background-color $Text1 | ||
left 11px | ||
top 6px | ||
|
||
#kick-notify | ||
position absolute | ||
width 6px | ||
height 3px | ||
background-color $Text1 | ||
left 6px | ||
top 15px |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import React, { Component } from 'react'; | ||
import { translate } from 'react-i18next'; | ||
import style from './theme.styl'; | ||
|
||
export default (props) => ( | ||
<div className={style.button}> | ||
{props.text} | ||
</div> | ||
) |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.button | ||
font-family: $TitleFont | ||
background: $MainColor | ||
color: $Pure_White | ||
text-transform: uppercase | ||
display: inline-block | ||
padding: 5px 10px | ||
border-radius: 4px | ||
cursor: pointer |
File renamed without changes.
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
File renamed without changes.
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.