This repository has been archived by the owner on Mar 2, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Organize the Sass into a few different files
- Loading branch information
1 parent
b8eaf69
commit dac35f6
Showing
6 changed files
with
268 additions
and
276 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,143 @@ | ||
/****************** | ||
HEATMAP | ||
hottest = heat10 | ||
coldest = heat1 | ||
*******************/ | ||
.stackview { | ||
.heat1 { | ||
$bg: #ccebff; | ||
$border: #adf; | ||
|
||
a { | ||
backround-color:$bg; | ||
background-image:url('images/superGloss.png'); | ||
color:#222; | ||
text-shadow:0 1px 0 #fff; | ||
border-color:$border; | ||
} | ||
|
||
@include book-decoration($bg, $border); | ||
} | ||
|
||
.heat2 { | ||
$bg: #adf; | ||
$border: #88cfff; | ||
|
||
a { | ||
background-color:$bg; | ||
background-image:url('images/superGloss.png'); | ||
color:#222; | ||
text-shadow:0 1px 0 #ddf1ff; | ||
border-color:$border; | ||
} | ||
|
||
@include book-decoration($bg, $border); | ||
} | ||
|
||
.heat3 { | ||
$bg: #77c9ff; | ||
$border: #59b6ef; | ||
|
||
a { | ||
background-color:$bg; | ||
background-image:url('images/highGloss.png'); | ||
color:#111; | ||
text-shadow:0 1px 0 #adf; | ||
border-color:$border; | ||
} | ||
|
||
@include book-decoration($bg, $border); | ||
} | ||
|
||
.heat4 { | ||
$bg: #44b4ff; | ||
$border: #11a0ff; | ||
|
||
a { | ||
background-color:$bg; | ||
text-shadow:0 -1px 0 $border; | ||
border-color:$border; | ||
} | ||
|
||
@include book-decoration($bg, $border); | ||
} | ||
|
||
.heat5 { | ||
$bg: #22a7ff; | ||
$border: #008fee; | ||
|
||
a { | ||
background-color:$bg; | ||
text-shadow:0 -1px 0 $border; | ||
border-color:$border; | ||
} | ||
|
||
@include book-decoration($bg, $border); | ||
} | ||
|
||
.heat6 { | ||
$bg: #0099ff; | ||
$border: #007acc; | ||
|
||
a { | ||
background-color:$bg; | ||
text-shadow:0 -1px 0 #0085dd; | ||
border-color:$border; | ||
} | ||
|
||
@include book-decoration($bg, $border); | ||
} | ||
|
||
.heat7 { | ||
$bg: #0085dd; | ||
$border: #06a; | ||
|
||
a { | ||
background-color:$bg; | ||
text-shadow:0 -1px 0 #0070bb; | ||
border-color:$border; | ||
} | ||
|
||
@include book-decoration($bg, $border); | ||
} | ||
|
||
.heat8 { | ||
$bg: #0070bb; | ||
$border: #004777; | ||
|
||
a { | ||
background-color:$bg; | ||
text-shadow:0 -1px 0 #005c99; | ||
border-color:$border; | ||
} | ||
|
||
@include book-decoration($bg, $border); | ||
} | ||
|
||
.heat9 { | ||
$bg: #005c99; | ||
$border: #002944; | ||
|
||
a { | ||
background-color:$bg; | ||
text-shadow:0 -1px 0 #004777; | ||
border-color:$border; | ||
} | ||
|
||
@include book-decoration($bg, $border); | ||
} | ||
|
||
.heat10 { | ||
$bg: #004777; | ||
$border: #001522; | ||
|
||
a { | ||
background-color:$bg; | ||
text-shadow:0 -1px 0 #035; | ||
border-color:$border; | ||
} | ||
|
||
@include book-decoration($bg, $border); | ||
} | ||
} |
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,41 @@ | ||
@mixin rotate($deg) { | ||
-webkit-transform:rotate($deg); | ||
-moz-transform:rotate($deg); | ||
-o-transform:rotate($deg); | ||
-ms-transform:rotate($deg); | ||
transform:rotate($deg); | ||
} | ||
|
||
@mixin transform-origin($val) { | ||
-o-transform-origin:$val; | ||
-ms-transform-origin:$val; | ||
-moz-transform-origin:$val; | ||
-webkit-transform-origin:$val; | ||
transform-origin:$val; | ||
} | ||
|
||
@mixin skew($x, $y) { | ||
-webkit-transform:skew($x, $y); | ||
-moz-transform:skew($x, $y); | ||
-o-transform:skew($x, $y); | ||
-ms-transform:skew($x, $y); | ||
transform:skew($x, $y); | ||
} | ||
|
||
@mixin book-decoration($bg, $border) { | ||
.stack-pages { | ||
border-color:$border; | ||
} | ||
|
||
.stack-cover { | ||
border-color:$border; | ||
background:$bg; | ||
} | ||
} | ||
|
||
@mixin user-select($val) { | ||
-webkit-user-select:$val; | ||
-moz-user-select:$val; | ||
-ms-user-select:$val; | ||
user-select:$val; | ||
} |
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,48 @@ | ||
/************** | ||
NAVIGATION | ||
***************/ | ||
.stack-navigation { | ||
position:absolute; | ||
left:5px; | ||
top:5px; | ||
width:41px; | ||
text-align:center; | ||
|
||
.upstream, .downstream { | ||
height:43px; | ||
text-indent:-999em; | ||
overflow:hidden; | ||
} | ||
|
||
.upstream { | ||
background:url('images/nav.png') 0 -87px no-repeat; | ||
|
||
&:hover, &:focus { | ||
background-position:0 -44px; | ||
} | ||
|
||
&:active { | ||
background-position:0 -1px; | ||
} | ||
} | ||
|
||
.downstream { | ||
background:url('images/nav.png') 0 -130px no-repeat; | ||
|
||
&:hover, &:focus { | ||
background-position:0 -173px; | ||
} | ||
|
||
&:active { | ||
background-position:0 -216px; | ||
} | ||
} | ||
|
||
.num-found { | ||
font-size:15px; | ||
line-height:16px; | ||
margin:10px 0; | ||
color:#09f; | ||
text-shadow: 0 1px 0 #ddd; | ||
} | ||
} |
Oops, something went wrong.