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:
parent
39ae451ff0
commit
edc1b4afaf
@ -44,13 +44,6 @@ you can use the generic selector below, but it's slower:
|
|||||||
-moz-box-sizing: border-box;
|
-moz-box-sizing: border-box;
|
||||||
box-sizing: border-box; }
|
box-sizing: border-box; }
|
||||||
|
|
||||||
a {
|
|
||||||
text-decoration: none; }
|
|
||||||
|
|
||||||
body {
|
|
||||||
margin: 0;
|
|
||||||
font-family: "Helvetica Neue", "Arial", sans-serif; }
|
|
||||||
|
|
||||||
#loader {
|
#loader {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 45%;
|
top: 45%;
|
||||||
@ -63,29 +56,39 @@ body {
|
|||||||
opacity: 0.7;
|
opacity: 0.7;
|
||||||
display: none; }
|
display: none; }
|
||||||
|
|
||||||
header {
|
.header, header {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
width: 100%;
|
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;
|
background: #0019a8;
|
||||||
|
border-bottom: 1px solid #000e5b;
|
||||||
background-color: #758aff;
|
background-color: #758aff;
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #758aff), color-stop(100%, #00158e));
|
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: -webkit-linear-gradient(top, #758aff, #00158e);
|
||||||
background-image: -moz-linear-gradient(top, #758aff, #00158e);
|
background-image: -moz-linear-gradient(top, #758aff, #00158e);
|
||||||
background-image: -ms-linear-gradient(top, #758aff, #00158e);
|
background-image: -ms-linear-gradient(top, #758aff, #00158e);
|
||||||
background-image: -o-linear-gradient(top, #758aff, #00158e);
|
background-image: -o-linear-gradient(top, #758aff, #00158e);
|
||||||
background-image: 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);
|
#refresh {
|
||||||
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 {
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 1em;
|
right: 1em;
|
||||||
top: 0.25em;
|
top: 0.25em;
|
||||||
@ -98,9 +101,9 @@ header {
|
|||||||
color: white;
|
color: white;
|
||||||
font-family: "fontawesome";
|
font-family: "fontawesome";
|
||||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5); }
|
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); }
|
background: rgba(255, 255, 255, 0.2); }
|
||||||
header #refresh:active {
|
#refresh:active {
|
||||||
padding: 0.4em 0.7em 0.3em;
|
padding: 0.4em 0.7em 0.3em;
|
||||||
background-color: rgba(255, 255, 255, 0);
|
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)));
|
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)));
|
||||||
|
|||||||
@ -3,11 +3,7 @@
|
|||||||
$header-color: rgb(0, 25, 168);
|
$header-color: rgb(0, 25, 168);
|
||||||
|
|
||||||
@import "bourbon/bourbon";
|
@import "bourbon/bourbon";
|
||||||
* {
|
@import "bourbon-mobile/bourbon-mobile";
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
@include box-sizing(border-box);
|
|
||||||
}
|
|
||||||
a {
|
a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
@ -16,35 +12,10 @@ body {
|
|||||||
font-family: "Helvetica Neue", "Arial", sans-serif;
|
font-family: "Helvetica Neue", "Arial", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
#loader {
|
header {
|
||||||
position: fixed;
|
@include header(rgb(0, 25, 168));
|
||||||
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 {
|
|
||||||
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;
|
position: absolute;
|
||||||
right: 1em;
|
right: 1em;
|
||||||
@ -66,7 +37,6 @@ header {
|
|||||||
@include box-shadow(0 1px 1px rgba(0, 0, 0, 0.3), inset 0 2px 2px rgba(0, 0, 0, 0.4));
|
@include box-shadow(0 1px 1px rgba(0, 0, 0, 0.3), inset 0 2px 2px rgba(0, 0, 0, 0.4));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user