-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Stylus support alongside Sass, Less, and raw CSS, including Bootstrap-Stylus.
- Loading branch information
darryl.snow
committed
Jul 13, 2014
1 parent
306fa12
commit 9d87a2c
Showing
14 changed files
with
155 additions
and
14 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
33 changes: 33 additions & 0 deletions
33
app/templates/client/app/account(auth)/login/login(stylus).styl
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,33 @@ | ||
// Colors | ||
// -------------------------------------------------- | ||
|
||
$btnText = #fff | ||
$btnTextAlt = #000 | ||
|
||
$btnFacebookBackground = #3B5998 | ||
$btnFacebookBackgroundHighlight = #133783 | ||
|
||
$btnTwitterBackground = #2daddc | ||
$btnTwitterBackgroundHighlight = #0271bf | ||
|
||
$btnGithubBackground = #fafafa | ||
$btnGithubBackgroundHighlight = #ccc | ||
|
||
$btnGooglePlusBackground = #dd4b39 | ||
$btnGooglePlusBackgroundHighlight = #c53727 | ||
|
||
|
||
// Social buttons | ||
// -------------------------------------------------- | ||
|
||
.btn-facebook | ||
button-variant($btnText, $btnFacebookBackgroundHighlight, $btnFacebookBackgroundHighlight) | ||
|
||
.btn-twitter | ||
button-variant($btnText, $btnTwitterBackground, $btnTwitterBackgroundHighlight) | ||
|
||
.btn-github | ||
button-variant($btnTextAlt, $btnGithubBackground, $btnGithubBackgroundHighlight) | ||
|
||
.btn-google-plus | ||
button-variant($btnText, $btnGooglePlusBackground, $btnGooglePlusBackgroundHighlight) |
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,2 @@ | ||
.trash | ||
color rgb(209, 91, 71) |
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,27 @@ | ||
$icon-font-path = "/bower_components/bootstrap-stylus/fonts" | ||
$fa-font-path = "/bower_components/font-awesome/fonts" | ||
|
||
@import "bootstrap-stylus/stylus/bootstrap" | ||
@import "font-awesome/css/font-awesome.css" | ||
|
||
// | ||
// App-wide Styles | ||
// | ||
|
||
.browsehappy | ||
background #ccc | ||
color #000 | ||
margin 0.2em 0 | ||
padding 0.2em 0 | ||
|
||
// Responsive: Portrait tablets and up | ||
@media screen and (min-width: 768px) | ||
.container | ||
max-width 730px | ||
|
||
// Component styles are injected through grunt | ||
// injector | ||
@import "account/login/login" | ||
@import "admin/admin" | ||
@import "main/main" | ||
// endinjector |
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,25 @@ | ||
.thing-form | ||
margin 20px 0 | ||
|
||
#banner | ||
border-bottom none | ||
margin-top -20px | ||
|
||
#banner h1 | ||
font-size 60px | ||
letter-spacing -1px | ||
line-height 1 | ||
|
||
.hero-unit | ||
background #4393B9 | ||
color #F5F5F5 | ||
padding 30px 15px | ||
position relative | ||
text-align center | ||
text-shadow 0 1px 0 rgba(0, 0, 0, 0.1) | ||
|
||
.footer | ||
border-top 1px solid #E5E5E5 | ||
margin-top 70px | ||
padding 30px 0 | ||
text-align center |
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