1
0
mirror of https://github.com/danbee/tube-status-server synced 2025-03-04 08:39:12 +00:00

Moved much into bourbon-mobile.

This commit is contained in:
Dan Barber 2013-02-11 11:14:02 +00:00
parent 39ae451ff0
commit edc1b4afaf
2 changed files with 69 additions and 96 deletions

View File

@ -19,7 +19,7 @@
Instead of a list of all class selectors,
you can use the generic selector below, but it's slower:
[class*="icon-"]:before {
*/
*/
.icon-repeat:before, .icon-time:before, .icon-glass:before {
font-family: 'fontawesome';
speak: none;
@ -44,13 +44,6 @@ you can use the generic selector below, but it's slower:
-moz-box-sizing: border-box;
box-sizing: border-box; }
a {
text-decoration: none; }
body {
margin: 0;
font-family: "Helvetica Neue", "Arial", sans-serif; }
#loader {
position: fixed;
top: 45%;
@ -63,29 +56,39 @@ body {
opacity: 0.7;
display: none; }
header {
.header, header {
position: fixed;
width: 100%;
-webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
color: white;
height: 2.5em;
padding-top: 0.45em; }
.header h1, header h1 {
text-align: center;
font-size: 1.3em;
font-weight: normal;
text-shadow: 0 0 4px rgba(0, 0, 0, 0.4); }
a {
text-decoration: none; }
body {
margin: 0;
font-family: "Helvetica Neue", "Arial", sans-serif; }
header {
background: #0019a8;
border-bottom: 1px solid #000e5b;
background-color: #758aff;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #758aff), color-stop(100%, #00158e));
background-image: -webkit-linear-gradient(top, #758aff, #00158e);
background-image: -moz-linear-gradient(top, #758aff, #00158e);
background-image: -ms-linear-gradient(top, #758aff, #00158e);
background-image: -o-linear-gradient(top, #758aff, #00158e);
background-image: linear-gradient(top, #758aff, #00158e);
-webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
color: white;
height: 2.5em;
padding-top: 0.45em;
border-bottom: 1px solid #0f0f64; }
header h1 {
text-align: center;
font-size: 1.3em;
font-weight: normal;
text-shadow: 0 0 4px rgba(0, 0, 0, 0.4); }
header #refresh {
background-image: linear-gradient(top, #758aff, #00158e); }
#refresh {
position: absolute;
right: 1em;
top: 0.25em;
@ -98,9 +101,9 @@ header {
color: white;
font-family: "fontawesome";
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5); }
header #refresh:hover, header #refresh:focus {
#refresh:hover, #refresh:focus {
background: rgba(255, 255, 255, 0.2); }
header #refresh:active {
#refresh:active {
padding: 0.4em 0.7em 0.3em;
background-color: rgba(255, 255, 255, 0);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(100%, rgba(255, 255, 255, 0.15)));

View File

@ -3,11 +3,7 @@
$header-color: rgb(0, 25, 168);
@import "bourbon/bourbon";
* {
margin: 0;
padding: 0;
@include box-sizing(border-box);
}
@import "bourbon-mobile/bourbon-mobile";
a {
text-decoration: none;
}
@ -16,36 +12,11 @@ body {
font-family: "Helvetica Neue", "Arial", sans-serif;
}
#loader {
position: fixed;
top: 45%;
left: 50%;
width: 52px;
height: 52px;
margin: -26px 0 0 -26px;
background: black url(../images/loader.gif) center center no-repeat;
border-radius: 26px;
opacity: 0.7;
display: none;
header {
@include header(rgb(0, 25, 168));
}
header {
position: fixed;
width: 100%;
background: rgb(0, 25, 168);
@include linear-gradient(lighten($header-color, 40%), darken($header-color, 5%));
@include box-shadow(0 2px 3px rgba(0, 0, 0, 0.5));
color: white;
height: 2.5em;
padding-top: 0.45em;
border-bottom: 1px solid #0f0f64;
h1 {
text-align: center;
font-size: 1.3em;
font-weight: normal;
text-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
}
#refresh {
#refresh {
position: absolute;
right: 1em;
top: 0.25em;
@ -65,7 +36,6 @@ header {
@include linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.15));
@include box-shadow(0 1px 1px rgba(0, 0, 0, 0.3), inset 0 2px 2px rgba(0, 0, 0, 0.4));
}
}
}
footer {