-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added light version, without selectors of any kind (to be imported on other files) - Added a new folder, only with selectors.
- Loading branch information
Jo Santana
committed
Nov 3, 2015
1 parent
fe0b950
commit b1d7a51
Showing
24 changed files
with
333 additions
and
210 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,6 +1,6 @@ | ||
{ | ||
"name": "dryish.css", | ||
"version": "0.2.2", | ||
"version": "0.3.0", | ||
"homepage": "https://github.com/josantana/dryish.css", | ||
"authors": [ | ||
"Jo Santana <[email protected]>" | ||
|
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// Dryish.css Light | ||
// Without selectors of any kind | ||
|
||
// Setup | ||
|
||
@import 'includes/setup'; | ||
@import 'includes/color-palette'; | ||
|
||
// Includes | ||
|
||
@import 'includes/align'; | ||
@import 'includes/animation'; | ||
@import 'includes/button'; | ||
@import 'includes/loading'; | ||
@import 'includes/media'; | ||
@import 'includes/position'; | ||
@import 'includes/shape'; | ||
@import 'includes/state'; | ||
@import 'includes/text'; |
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,18 +1,33 @@ | ||
// Dryish.css | ||
|
||
// Setup | ||
|
||
@import 'includes/setup'; | ||
@import 'includes/color-palette'; | ||
@import 'includes/normalize'; | ||
@import 'selectors/normalize'; | ||
|
||
// Includes | ||
|
||
@import 'includes/align'; | ||
@import 'includes/animation'; | ||
@import 'includes/button'; | ||
@import 'includes/emojione'; | ||
@import 'includes/layout'; | ||
@import 'includes/loading'; | ||
@import 'includes/media'; | ||
@import 'includes/media-query'; | ||
@import 'includes/position'; | ||
@import 'includes/shape'; | ||
@import 'includes/state'; | ||
@import 'includes/text'; | ||
|
||
// Selectors | ||
|
||
@import 'selectors/align'; | ||
@import 'selectors/animation'; | ||
@import 'selectors/button'; | ||
@import 'selectors/emojione'; | ||
@import 'selectors/layout'; | ||
@import 'selectors/loading'; | ||
@import 'selectors/media'; | ||
@import 'selectors/media-query'; | ||
@import 'selectors/position'; | ||
@import 'selectors/state'; | ||
@import 'selectors/text'; |
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,33 +1,11 @@ | ||
// SHAKE ERROR | ||
// ========================================================================== // | ||
|
||
@keyframes negative { | ||
@keyframes negative-shake { | ||
0% { transform: translateX(0); } | ||
12.5% { transform: translateX(-6px) rotateY(-5deg); } | ||
37.5% { transform: translateX(5px) rotateY(4deg); } | ||
62.5% { transform: translateX(-3px) rotateY(-2deg); } | ||
87.5% { transform: translateX(2px) rotateY(1deg); } | ||
100% { transform: translateX(0); } | ||
} | ||
|
||
.shake-error { | ||
animation: negative 400ms ease-in-out; | ||
} | ||
|
||
// SMOOTH FADE IN/OUT | ||
// ========================================================================== // | ||
|
||
[class*="u-fade-"] { | ||
transition: visibility 0s linear .25s, opacity .25s linear; | ||
} | ||
|
||
.u-fade-out { | ||
opacity: 0; | ||
visibility: hidden; | ||
} | ||
|
||
.u-fade-in { | ||
opacity: 1; | ||
transition-delay: 0; | ||
visibility: visible; | ||
} |
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 |
---|---|---|
|
@@ -46,7 +46,3 @@ | |
} | ||
} | ||
} | ||
|
||
.flat-button { | ||
@extend %flat-button; | ||
} |
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,27 +1,7 @@ | ||
// Loading | ||
// ========================================================================== // | ||
|
||
@keyframes scale { | ||
@keyframes scale-in-out { | ||
0%, 50%, 100% { transform: scale(.35); } | ||
25% { transform: scale(.75); } | ||
} | ||
|
||
.loading-dots { | ||
.dot { | ||
animation: scale 1s ease-in-out infinite; | ||
background-color: color($blue-grey, 50); | ||
border-radius: 32px; | ||
display: block; | ||
height: 32px; | ||
margin: 3px; | ||
width: 32px; | ||
|
||
&:nth-child(2) { | ||
animation-delay: -.9s; | ||
} | ||
|
||
&:nth-child(3) { | ||
animation-delay: -.8s; | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -28,11 +28,7 @@ | |
top: 0; | ||
} | ||
|
||
.fit { @extend %fit; } | ||
|
||
%fullfill { | ||
height: 100vh; | ||
margin: 0; | ||
} | ||
|
||
.fullfill { @extend %fullfill; } |
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// HORIZONTAL ALIGN | ||
// ========================================================================== // | ||
|
||
.u-align-left { | ||
@extend %align-left; | ||
} | ||
|
||
.u-align-center { | ||
@extend %align-center; | ||
} | ||
|
||
.u-align-right { | ||
@extend %align-right; | ||
} | ||
|
||
// VERTICAL ALIGN | ||
// ========================================================================== // | ||
|
||
// Depends on an appropriate `display` value. | ||
// Utility classes for vertically aligning elements. | ||
|
||
.u-align-baseline { | ||
@extend %align-baseline; | ||
} | ||
|
||
.u-align-bottom { | ||
@extend %align-bottom; | ||
} | ||
|
||
.u-align-middle { | ||
@extend %align-middle; | ||
} | ||
|
||
.u-align-top { | ||
@extend %align-top; | ||
} |
Oops, something went wrong.