Skip to content

Commit

Permalink
Merge branch 'master' into gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
wavded committed Nov 28, 2011
2 parents b394cc2 + 4ec68e8 commit d34e85b
Show file tree
Hide file tree
Showing 3 changed files with 173 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ <h1>Humane JS</h1>
<option selected>bigbox</option>
<option>libnotify</option>
<option>boldlight</option>
<option>jackedup</option>
</select>

<a href='javascript:humane.log("Welcome Back")'>
Expand Down
62 changes: 62 additions & 0 deletions theme-src/jackedup.styl
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
@import 'nib'
vendor-prefixes = moz webkit ms o official

html, body { height: 100% }
.humane
position : fixed
transition : all .6s ease-in-out
z-index : -1
.humane.humane-animate, .humane.humane-js-animate
z-index : 100000

.humane
font-family : Helvetica Neue, Helvetica, san-serif
font-size : 18px
letter-spacing : -1px
top : -100px
left : 30%
opacity : 0
width : 40%
color : #333
padding : 10px
text-align : center
background-image : linear-gradient-image(150px, rgba(0,0,0,.1), rgba(0,0,0,.2))
background : linear-gradient(top, rgba(0,0,0,.1), rgba(0,0,0,.2)) no-repeat
background-color : #fff
border-radius : 3px
text-shadow : 0 1px 1px rgba(rgba(255,255,255,.8))
box-shadow : 0 1px 2px rgba(0,0,0,.5)
p, ul
margin: 0
padding: 0
ul
list-style: none
&.humane-info
background-image : linear-gradient-image(200px, rgba(100,100,255,1), rgba(100,100,255,0.8))
background : linear-gradient(top, rgba(0,0,0,.7), rgba(0,0,0,.85)) no-repeat
background-color : #fff
color : #fff
text-shadow : 0 -1px 1px rgba(0,0,0,.35)
&.humane-success
background-image : linear-gradient-image(200px, rgba(100,255,100,1), rgba(100,255,100,0.8))
background : linear-gradient(top, rgba(98,196,98,1), rgba(87,169,87,1)) no-repeat
background-color : rgb(100,255,100)
color : #fff
text-shadow : 0 -1px 1px rgba(0,0,0,.35)
&.humane-error
background-image : linear-gradient-image(200px, rgba(238,95,91,1), rgba(196,60,53,1))
background : linear-gradient(top, rgba(238,95,91,1), rgba(196,60,53,1)) no-repeat
background-color : rgb(238,95,91)
color : #fff
text-shadow : 0 -1px 1px rgba(rgba(0,0,0,.35))

.humane.humane-animate
opacity : 1
top : 20px
&:hover
opacity : .7

.humane.humane-js-animate
opacity : 1
&:hover
opacity : 0.7
110 changes: 110 additions & 0 deletions themes/jackedup.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
html,
body {
height: 100%;
}
.humane {
position: fixed;
-moz-transition: all 0.6s ease-in-out;
-webkit-transition: all 0.6s ease-in-out;
-ms-transition: all 0.6s ease-in-out;
-o-transition: all 0.6s ease-in-out;
transition: all 0.6s ease-in-out;
z-index: -1;
}
.humane.humane-animate,
.humane.humane-js-animate {
z-index: 100000;
}
.humane {
font-family: Helvetica Neue, Helvetica, san-serif;
font-size: 18px;
letter-spacing: -1px;
top: -100px;
left: 30%;
opacity: 0;
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
width: 40%;
color: #333;
padding: 10px;
text-align: center;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAACWCAYAAAAfduJyAAAABmJLR0QA/wD/AP+gvaeTAAAAIklEQVQokWNgYGCQZGJgYGDARTDSQnboGDqsnDt0DKWNLAAkiQFdC+vZNQAAAABJRU5ErkJggg==');
background: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(0,0,0,0.10)), color-stop(1, rgba(0,0,0,0.20))) no-repeat;
background: -moz-linear-gradient(top, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.20) 100%) no-repeat;
background: -webkit-linear-gradient(top, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.20) 100%) no-repeat;
background: -ms-linear-gradient(top, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.20) 100%) no-repeat;
background: -o-linear-gradient(top, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.20) 100%) no-repeat;
background: linear-gradient(top, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.20) 100%) no-repeat;
background-color: #fff;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 3px;
text-shadow: 0 1px 1px rgba(255,255,255,0.80);
-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.50);
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.50);
-ms-box-shadow: 0 1px 2px rgba(0,0,0,0.50);
-o-box-shadow: 0 1px 2px rgba(0,0,0,0.50);
box-shadow: 0 1px 2px rgba(0,0,0,0.50);
}
.humane p,
.humane ul {
margin: 0;
padding: 0;
}
.humane ul {
list-style: none;
}
.humane.humane-info {
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADICAYAAAAp8ov1AAAABmJLR0QA/wD/AP+gvaeTAAAAR0lEQVQokWNISfn/n4mBgeE/EwMDAwMqQYQYmdoGlxgjI4rY//+Dx2nUFRsQZ2ALTrQQp8QL1DWeqASC014y7aCx8QwMDAwA1aZBIulmpvwAAAAASUVORK5CYII=');
background: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(0,0,0,0.70)), color-stop(1, rgba(0,0,0,0.85))) no-repeat;
background: -moz-linear-gradient(top, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.85) 100%) no-repeat;
background: -webkit-linear-gradient(top, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.85) 100%) no-repeat;
background: -ms-linear-gradient(top, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.85) 100%) no-repeat;
background: -o-linear-gradient(top, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.85) 100%) no-repeat;
background: linear-gradient(top, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.85) 100%) no-repeat;
background-color: #fff;
color: #fff;
text-shadow: 0 -1px 1px rgba(0,0,0,0.35);
}
.humane.humane-success {
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADICAYAAAAp8ov1AAAABmJLR0QA/wD/AP+gvaeTAAAASElEQVQokc2SMQ4AIAgDD9/K/79QVzWaENTownAJbWnA5SqACkA/Aiy59hczrGVC30Q7y57EmNU5NL5zwln50IMsfZMel+UBKtFBQSLWM9wLAAAAAElFTkSuQmCC');
background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #62c462), color-stop(1, #57a957)) no-repeat;
background: -moz-linear-gradient(top, #62c462 0%, #57a957 100%) no-repeat;
background: -webkit-linear-gradient(top, #62c462 0%, #57a957 100%) no-repeat;
background: -ms-linear-gradient(top, #62c462 0%, #57a957 100%) no-repeat;
background: -o-linear-gradient(top, #62c462 0%, #57a957 100%) no-repeat;
background: linear-gradient(top, #62c462 0%, #57a957 100%) no-repeat;
background-color: #64ff64;
color: #fff;
text-shadow: 0 -1px 1px rgba(0,0,0,0.35);
}
.humane.humane-error {
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADICAIAAACmkByiAAAABmJLR0QA/wD/AP+gvaeTAAAAf0lEQVQokY2TOQ7AIAwER/5mivy/yRc2RQDhA0jhghFYO5bhuS+TZMAoIUMEhhH4loGhfu71cenM3DutWMsaeGKjv3zO5N17KLPJ0+fQD8cpv5uVLPo4vnX0PpXj0nuaaeVzdmw+yXG1O96n2p3kozB757Ni1Z5UPsU9SP8AeAG1kHXE+7RlPAAAAABJRU5ErkJggg==');
background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ee5f5b), color-stop(1, #c43c35)) no-repeat;
background: -moz-linear-gradient(top, #ee5f5b 0%, #c43c35 100%) no-repeat;
background: -webkit-linear-gradient(top, #ee5f5b 0%, #c43c35 100%) no-repeat;
background: -ms-linear-gradient(top, #ee5f5b 0%, #c43c35 100%) no-repeat;
background: -o-linear-gradient(top, #ee5f5b 0%, #c43c35 100%) no-repeat;
background: linear-gradient(top, #ee5f5b 0%, #c43c35 100%) no-repeat;
background-color: #ee5f5b;
color: #fff;
text-shadow: 0 -1px 1px rgba(0,0,0,0.35);
}
.humane.humane-animate {
opacity: 1;
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
top: 20px;
}
.humane.humane-animate:hover {
opacity: 0.7;
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
}
.humane.humane-js-animate {
opacity: 1;
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
}
.humane.humane-js-animate:hover {
opacity: 0.7;
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
}

0 comments on commit d34e85b

Please sign in to comment.