mirror of
https://github.com/danbee/julep
synced 2025-03-04 08:59:10 +00:00
Initial commit. Code pulled from tubestatus.
This commit is contained in:
commit
fff8ebd403
8
_bourbon-mobile.scss
Normal file
8
_bourbon-mobile.scss
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
@include box-sizing(border-box);
|
||||||
|
}
|
||||||
|
|
||||||
|
@import "includes/loader";
|
||||||
|
@import "includes/header";
|
||||||
21
includes/_header.scss
Normal file
21
includes/_header.scss
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
.header {
|
||||||
|
position: fixed;
|
||||||
|
width: 100%;
|
||||||
|
@include box-shadow(0 2px 3px rgba(0, 0, 0, 0.5));
|
||||||
|
color: white;
|
||||||
|
height: 2.5em;
|
||||||
|
padding-top: 0.45em;
|
||||||
|
h1 {
|
||||||
|
text-align: center;
|
||||||
|
font-size: 1.3em;
|
||||||
|
font-weight: normal;
|
||||||
|
text-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@mixin header($color) {
|
||||||
|
background: $color;
|
||||||
|
border-bottom: 1px solid darken($color, 15%);
|
||||||
|
@include linear-gradient(lighten($color, 40%), darken($color, 5%));
|
||||||
|
@extend .header;
|
||||||
|
}
|
||||||
12
includes/_loader.scss
Normal file
12
includes/_loader.scss
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#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;
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user