-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
166 changed files
with
7,889 additions
and
1,222 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
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
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
Empty file.
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,24 @@ | ||
# Ðapp styles | ||
|
||
These styles give a simple basic layout for your Ðapps. | ||
|
||
## Usage | ||
|
||
|
||
### CSS | ||
To use it as CSS file just link the css file from the `dist/` folder. | ||
|
||
|
||
### LESS | ||
To use it as less file, which would allow you to overwrite all constants | ||
from the `constant.import.less`, link the `dapp-styles.less`. | ||
|
||
### Meteor | ||
To use it in a Meteor app add the `less` package: | ||
|
||
$ meteor add less | ||
|
||
Copy this dapp-styles repo into your apps `public` folder | ||
and link to the `dapp-styles.less` in the any of our less files in the project with: | ||
|
||
@import 'public/dapp-styles/dapp-styles.less'; |
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,50 @@ | ||
|
||
// buttons | ||
|
||
// TODO we could add a circle on hover | ||
.dapp-icon-button { | ||
.dapp-button-reset; | ||
display: inline-block; | ||
color: @colorBlack; | ||
|
||
// make smaller on click | ||
&:active { | ||
.scale(0.95); | ||
} | ||
&:hover { | ||
opacity: 0.9; | ||
} | ||
} | ||
|
||
.dapp-block-button, | ||
.dapp-block-button:visited { | ||
.dapp-button-reset; | ||
height: @gridHeight * 2; | ||
padding: @gridHeight/4 @gridWidth/4; | ||
background: @colorLink; | ||
color: @colorWhite; | ||
border-bottom: solid 2px darken(@colorLink, 5%); | ||
.border-radius(2px); | ||
.dapp-shorten-text; | ||
|
||
font-family: @fontFamily; | ||
font-size: 1em; | ||
font-weight: 400; | ||
text-transform: uppercase; | ||
} | ||
|
||
|
||
.dapp-tag-button { | ||
.dapp-button-reset; | ||
padding: @gridHeight/4 @gridWidth/4; | ||
background: @colorGray; | ||
color: @colorTextPrimary; | ||
.border-radius(4px); | ||
.dapp-shorten-text; | ||
font-size: 0.8em; | ||
|
||
&.active { | ||
background: @colorLink; | ||
color: @colorWhite; | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.