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 Aug 6, 2011
2 parents b335201 + fb54d03 commit 721cfbd
Show file tree
Hide file tree
Showing 2 changed files with 97 additions and 0 deletions.
96 changes: 96 additions & 0 deletions humane-themes/gshellish.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
@import 'http://fonts.googleapis.com/css?family=Ubuntu&v2';

/* recommended base settings */
html, body { height: 100%; }
.humane {
filter : progid:DXImageTransform.Microsoft.alpha(opacity=100);
-ms-filter : "progid:DXImageTransform.Microsoft.alpha(opacity=100)";
position : fixed;
_position : absolute; /* ie6 */
-moz-transition : all .2s ease-in; /* .2s transition */
-webkit-transition : all .2s ease-in;
-o-transition : all .2s ease-in;
-ms-transition : all .2s ease-in;
transition : all .2s ease-in;
z-index : -1;
}
.humane.humane-show { z-index: 100000; }
/* ie hover state, recommended */
.humane:hover {
filter : progid:DXImageTransform.Microsoft.alpha(opacity=20);
-ms-filter : "progid:DXImageTransform.Microsoft.alpha(opacity=20)";
}
/* standards hover state, recommended */
div.humane.humane-show:hover { opacity: 0.2; }

/* custom settings */
.humane {
font-family : Ubuntu, Verdana, sans-serif;
font-size : 25px;
letter-spacing : -1px;
bottom : 0;
left : 0;
opacity : 0;
width : 100%;
color : #000;
padding : 10px;
text-align : center;
background-color : rgb(50,50,50);
background-color : rgba(50,50,50,0.0);
background-image : -webkit-gradient(linear, left top, left bottom, from(rgba(50,50,50,0.0)), to(rgba(0,0,0,0.8)));
background-image : -webkit-linear-gradient( top, rgba(50,50,50,0.0), rgba(0,0,0,0.8));
background-image : -moz-linear-gradient( top, rgba(50,50,50,0.0), rgba(0,0,0,0.8));
background-image : -ms-linear-gradient( top, rgba(50,50,50,0.0), rgba(0,0,0,0.8));
background-image : -o-linear-gradient( top, rgba(50,50,50,0.0), rgba(0,0,0,0.8));
background-image : linear-gradient( top, rgba(50,50,50,0.0), rgba(0,0,0,0.8));;
text-shadow : 0 -1px 1px #ddd;
-moz-box-shadow : 0 4px 4px -4px #000;
-webkit-box-shadow : 0 4px 4px -4px #000;
box-shadow : 0 4px 4px -4px #000;
-webkit-transform : translateY(100px);
-moz-transform : translateY(100px);
-o-transform : translateY(100px);
-ms-transform : translateY(100px);
transform : translateY(100px);
}

/* custom animation for css transition supported browsers */
.humane.humane-show {
opacity: 1;
-webkit-transform : translateY(0px);
-moz-transform : translateY(0px);
-o-transform : translateY(0px);
-ms-transform : translateY(0px);
transform : translateY(0px);
}

/* other customizations */
.humane p, .humane li {
color : #fff;
margin : 1em;
display : inline;
padding : 10px 20px;
-moz-border-radius : 10px 10px 0 0;
-webkit-border-radius : 10px 10px 0 0;
border-radius : 10px 10px 0 0;
background-color : rgb(50,50,50);
background-color : rgba(50,50,50,0.8);
background-image : -webkit-gradient(linear, left top, left bottom, from(rgba(50,50,50,0.8)), to(rgba(0,0,0,0.8)));
background-image : -webkit-linear-gradient( top, rgba(50,50,50,0.8), rgba(0,0,0,0.8));
background-image : -moz-linear-gradient( top, rgba(50,50,50,0.8), rgba(0,0,0,0.8));
background-image : -ms-linear-gradient( top, rgba(50,50,50,0.8), rgba(0,0,0,0.8));
background-image : -o-linear-gradient( top, rgba(50,50,50,0.8), rgba(0,0,0,0.8));
background-image : linear-gradient( top, rgba(50,50,50,0.8), rgba(0,0,0,0.8));;
-moz-box-shadow : 0 0 4px #000;
-webkit-box-shadow : 0 0 4px #000;
box-shadow : 0 0 4px #000;
}
.humane ul {
list-style : none;
margin : 0;
padding : 0;
}
.humane .error {
color : red;
text-shadow : 0 -1px 1px #f11;
}
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ <h1>Humane JS</h1>
<option selected>bold-dark</option>
<option>bold-light</option>
<option>libnotify</option>
<option>gshellish</option>
</select>

<a href='javascript:humane("Welcome Back")'>
Expand Down

0 comments on commit 721cfbd

Please sign in to comment.