Sass integrated
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
@mixin alpha_gradient($r, $g, $b, $hex) {
|
||||
background: -moz-linear-gradient(left, rgba($r, $g, $b, 0) 0%, rgba($r, $g, $b, 1) 50%, rgba($r, $g, $b, 1) 100%);
|
||||
background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba($r, $g, $b, 0)), color-stop(50%, rgba($r, $g, $b, 1)), color-stop(100%, rgba($r, $g, $b, 1)));
|
||||
background: -webkit-linear-gradient(left, rgba($r, $g, $b, 0) 0%, rgba($r, $g, $b, 1) 50%, rgba($r, $g, $b, 1) 100%);
|
||||
background: -o-linear-gradient(left, rgba($r, $g, $b, 0) 0%, rgba($r, $g, $b, 1) 50%, rgba($r, $g, $b, 1) 100%);
|
||||
background: -ms-linear-gradient(left, rgba($r, $g, $b, 0) 0%, rgba($r, $g, $b, 1) 50%, rgba($r, $g, $b, 1) 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00#{$hex}', endColorstr='##{$hex}', GradientType=1);
|
||||
background: linear-gradient(left, rgba($r, $g, $b, 0) 0%, rgba($r, $g, $b, 1) 50%, rgba($r, $g, $b, 1) 100%);
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
@mixin opacity($val) {
|
||||
-moz-opacity: $val;
|
||||
-ms-filter:”alpha(opacity=$val*100)”;
|
||||
filter:alpha(opacity=$val*100);
|
||||
opacity: $val;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
@mixin rounded($radius: 5) {
|
||||
border-radius: #{$radius}px;
|
||||
-moz-border-radius: #{$radius}px;
|
||||
-webkit-border-radius: #{$radius}px;
|
||||
}
|
||||
@@ -0,0 +1,141 @@
|
||||
@import "alpha_gradient";
|
||||
|
||||
.artist-info {
|
||||
width: 100%;
|
||||
float: left;
|
||||
margin: 0 0 25px 0;
|
||||
clear: both;
|
||||
|
||||
.pic {
|
||||
float: left;
|
||||
width: 250px;
|
||||
margin: 25px 0;
|
||||
|
||||
img {
|
||||
margin-left: 25px;
|
||||
}
|
||||
}
|
||||
|
||||
.name {
|
||||
margin: 25px 0 0 300px;
|
||||
}
|
||||
|
||||
.info {
|
||||
margin: 0 17px 25px 300px;
|
||||
}
|
||||
}
|
||||
|
||||
.albums {
|
||||
width: 100%;
|
||||
float: left;
|
||||
clear: both;
|
||||
|
||||
.album {
|
||||
clear: both;
|
||||
|
||||
.pic {
|
||||
float: left;
|
||||
width: 250px;
|
||||
|
||||
> * {
|
||||
margin-left: 25px;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 248px;
|
||||
height: 248px;
|
||||
border: #DDD 1px solid;
|
||||
}
|
||||
|
||||
.add-album-button-container {
|
||||
position: relative;
|
||||
margin: 10px -25px 0 0;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.name {
|
||||
display: block;
|
||||
margin: 0 0 10px 300px;
|
||||
}
|
||||
|
||||
.tracklist {
|
||||
margin: 0 17px 30px 275px;
|
||||
|
||||
ul {
|
||||
li {
|
||||
display: block;
|
||||
height: 26px;
|
||||
position: relative;
|
||||
padding-left: 25px;
|
||||
|
||||
&:hover {
|
||||
background-color: #FAFAFA;
|
||||
|
||||
.track-container {
|
||||
.fade {
|
||||
@include alpha_gradient(250, 250, 250, "fafafa");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
.add-track {
|
||||
display: none;
|
||||
float: left;
|
||||
padding: 1px 5px;
|
||||
margin: 3px 0 0 -22px;
|
||||
}
|
||||
|
||||
.track-container {
|
||||
height: 20px;
|
||||
padding: 5px 0 0 0;
|
||||
border-top: #EEE 1px solid;
|
||||
|
||||
> * {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.fade {
|
||||
right: 0px;
|
||||
top: 6px;
|
||||
width: 80px;
|
||||
height: 16px;
|
||||
z-index: 20;
|
||||
@include alpha_gradient(255, 255, 255, "ffffff");
|
||||
}
|
||||
|
||||
.index {
|
||||
left: 22px;
|
||||
top: 9px;
|
||||
display: block;
|
||||
width: 15px;
|
||||
text-align: right;
|
||||
font-size: 10px;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.trackname {
|
||||
left: 40px;
|
||||
top: 6px;
|
||||
width: 90%;
|
||||
height: 16px;
|
||||
overflow: hidden;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.length {
|
||||
right: 0px;
|
||||
top: 6px;
|
||||
height: 16px;
|
||||
z-index: 30;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: none;
|
||||
}
|
||||
|
||||
html, body {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
|
||||
font-size: 14px;
|
||||
-moz-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
cursor: default;
|
||||
min-width: 1000px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.header-container {
|
||||
margin-right: 350px;
|
||||
}
|
||||
.player-container {
|
||||
width: 350px;
|
||||
height: 600px;
|
||||
float: right;
|
||||
background-color: #222;
|
||||
}
|
||||
.data-container {
|
||||
width: auto;
|
||||
margin-right: 350px;
|
||||
overflow-y: auto;
|
||||
min-width: 650px;
|
||||
}
|
||||
|
||||
.player {
|
||||
width: 100%;
|
||||
height: 120px;
|
||||
}
|
||||
.playlist {
|
||||
width: 100%;
|
||||
overflow-y: auto;
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
.header-container {
|
||||
.hello {
|
||||
float: right;
|
||||
margin: 6px 10px 0 0;
|
||||
color: #222;
|
||||
|
||||
.greating {
|
||||
display: block;
|
||||
float: left;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.settings {
|
||||
float: right;
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
margin: 1px 0;
|
||||
background-image: url(/images/icns/settings.png);
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.navigation {
|
||||
background-color: #EEE;
|
||||
background-image: url(/images/concrete_wall_2.png);
|
||||
height: 30px;
|
||||
|
||||
li {
|
||||
display: block;
|
||||
float: left;
|
||||
width: auto;
|
||||
height: 30px;
|
||||
margin-left: 10px;
|
||||
color: #222;
|
||||
line-height: 30px;
|
||||
text-shadow: #666 0px 0px 0.5px;
|
||||
|
||||
&:hover {
|
||||
cursor: pointer;
|
||||
text-shadow: #666 0px 0px 2px;
|
||||
}
|
||||
|
||||
&.logo {
|
||||
font-size: 20px;
|
||||
line-height: 32px;
|
||||
font-weight: bold;
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
.vk_auth {
|
||||
display: none;
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: inherit;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,114 @@
|
||||
@import "rounded";
|
||||
|
||||
.fullscreen {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.button {
|
||||
display: inline;
|
||||
width: auto;
|
||||
padding: 5px 10px;
|
||||
border: 1px solid;
|
||||
cursor: pointer;
|
||||
@include rounded(3);
|
||||
|
||||
&.gray {
|
||||
background-color: #EEE;
|
||||
color: #444;
|
||||
border-color: #DDD;
|
||||
}
|
||||
}
|
||||
|
||||
/* Scrollbars */
|
||||
.css-scrollbar {
|
||||
.scrollbar-pane {
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.scrollbar-handle-container {
|
||||
width: 8px;
|
||||
}
|
||||
|
||||
.scrollbar-handle {
|
||||
width: 8px;
|
||||
}
|
||||
|
||||
&.data-container {
|
||||
.scrollbar-handle-container {
|
||||
background-color: #FFF;
|
||||
}
|
||||
.scrollbar-handle {
|
||||
background-color: #CCC;
|
||||
|
||||
&:hover {
|
||||
background-color: #999;
|
||||
}
|
||||
|
||||
&.move {
|
||||
background-color: #AAA;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.player-container {
|
||||
.scrollbar-handle-container {
|
||||
background-color: #222;
|
||||
}
|
||||
.scrollbar-handle {
|
||||
background-color: #444;
|
||||
|
||||
&:hover {
|
||||
background-color: #666;
|
||||
}
|
||||
|
||||
&.move {
|
||||
background-color: #888;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.error_page {
|
||||
position: relative;
|
||||
width: 600px;
|
||||
text-align: center;
|
||||
top: 100px;
|
||||
left: 50%;
|
||||
margin-left: -300px;
|
||||
|
||||
h1 {
|
||||
font-size: 150px;
|
||||
}
|
||||
|
||||
span {
|
||||
font-size: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
.kaboom {
|
||||
width: 100%;
|
||||
height: 30px;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.auth_notice {
|
||||
display: none;
|
||||
position: absolute;
|
||||
background-color: #07F;
|
||||
color: #FFF;
|
||||
top: 32px;
|
||||
left: 230px;
|
||||
padding: 8px;
|
||||
border: #05D 1px solid;
|
||||
@include rounded(3);
|
||||
|
||||
.arrow {
|
||||
float: left;
|
||||
margin: -8px 15px 0 8px;
|
||||
font-size: 25px;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,213 @@
|
||||
@import "alpha_gradient";
|
||||
@import "rounded";
|
||||
@import "opacity";
|
||||
$icons_dir: "/images/icns/";
|
||||
|
||||
.player-container {
|
||||
.player {
|
||||
.now-playing {
|
||||
position: relative;
|
||||
height: 30px;
|
||||
color: #FFF;
|
||||
text-align: center;
|
||||
line-height: 30px;
|
||||
overflow: hidden;
|
||||
|
||||
.fade {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
right: 0px;
|
||||
width: 80px;
|
||||
height: 30px;
|
||||
z-index: 10;
|
||||
@include alpha_gradient(32, 32, 32, '202020');
|
||||
}
|
||||
}
|
||||
|
||||
.progress {
|
||||
width: 330px;
|
||||
height: 5px;
|
||||
background-color: #333;
|
||||
margin: 0 10px;
|
||||
cursor: pointer;
|
||||
|
||||
.loaded {
|
||||
width: 0;
|
||||
height: 5px;
|
||||
background-color: #405050;
|
||||
}
|
||||
|
||||
.played {
|
||||
width: 0;
|
||||
height: 5px;
|
||||
background-color: #09A;
|
||||
}
|
||||
}
|
||||
|
||||
.controls {
|
||||
width: 290px;
|
||||
margin: 20px 95px;
|
||||
|
||||
> * {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
float: left;
|
||||
margin-right: 20px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.prev {
|
||||
background-image: url('#{$icons_dir}prev.png');
|
||||
}
|
||||
|
||||
.play {
|
||||
background-image: url('#{$icons_dir}play.png');
|
||||
}
|
||||
|
||||
.pause {
|
||||
background-image: url('#{$icons_dir}pause.png');
|
||||
display: none;
|
||||
}
|
||||
|
||||
.next {
|
||||
background-image: url('#{$icons_dir}next.png');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.playlist {
|
||||
.playlist-tracks {
|
||||
width: 343px;
|
||||
|
||||
li {
|
||||
display: block;
|
||||
height: 26px;
|
||||
|
||||
.item {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
height: 26px;
|
||||
color: #FFF;
|
||||
|
||||
&:hover {
|
||||
background-color: #444;
|
||||
cursor: default;
|
||||
|
||||
.fade {
|
||||
@include alpha_gradient(64, 64, 64, '404040');
|
||||
}
|
||||
}
|
||||
|
||||
.title {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 5px;
|
||||
z-index: 10;
|
||||
width: 330px;
|
||||
height: 26px;
|
||||
line-height: 26px;
|
||||
display: block;
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.duration {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 5px;
|
||||
z-index: 30;
|
||||
height: 26px;
|
||||
line-height: 26px;
|
||||
}
|
||||
|
||||
.remove {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
right: 5px;
|
||||
z-index: 30;
|
||||
height: 15px;
|
||||
font-size: 11px;
|
||||
background-color: #622;
|
||||
color: #FFF;
|
||||
border: #822 1px solid;
|
||||
padding: 1px 2px 0 2px;
|
||||
@include rounded(2);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.fade {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
z-index: 20;
|
||||
width: 100px;
|
||||
height: 26px;
|
||||
@include alpha_gradient(32, 32, 32, '202020');
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(odd) {
|
||||
.item {
|
||||
background-color: #2A2A2A;
|
||||
|
||||
.fade {
|
||||
@include alpha_gradient(42, 42, 42, '2a2a2a');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.now {
|
||||
.item {
|
||||
color: #09A;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.additional-controls {
|
||||
width: 350px;
|
||||
height: 27px;
|
||||
background-color: #333;
|
||||
border-top: #444 1px solid;
|
||||
|
||||
.item {
|
||||
float: left;
|
||||
margin-left: 10px;
|
||||
font-size: 14px;
|
||||
line-height: 26px;
|
||||
color: #FFF;
|
||||
@include opacity(0.3);
|
||||
|
||||
&:hover {
|
||||
@include opacity(1);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
&.active {
|
||||
@include opacity(0.8);
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
float: left;
|
||||
margin-top: 1px;
|
||||
}
|
||||
|
||||
.annotation {
|
||||
float: left;
|
||||
margin-left: 2px;
|
||||
}
|
||||
|
||||
&#empty-playlist {
|
||||
float: right;
|
||||
margin-right: 10px;
|
||||
|
||||
img {
|
||||
margin-top: 3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,103 @@
|
||||
@import "rounded";
|
||||
|
||||
.search-container {
|
||||
width: 425px;
|
||||
padding: 0 5px;
|
||||
|
||||
#search_form {
|
||||
#search_field {
|
||||
width: 300px;
|
||||
font-size: 24px;
|
||||
padding: 4px;
|
||||
border: #CCC 1px solid;
|
||||
@include rounded(3);
|
||||
}
|
||||
|
||||
#search_button {
|
||||
width: 100px;
|
||||
font-size: 24px;
|
||||
padding: 4px;
|
||||
background-color: #DDD;
|
||||
border: #CCC 1px solid;
|
||||
@include rounded(3);
|
||||
}
|
||||
}
|
||||
|
||||
.spinner {
|
||||
display: none;
|
||||
margin: 20px 0 0 175px;
|
||||
}
|
||||
|
||||
.artist_loading {
|
||||
display: none;
|
||||
margin: 15px 0;
|
||||
font-size: 18;
|
||||
}
|
||||
|
||||
.artist_pics {
|
||||
display: none;
|
||||
|
||||
.pic {
|
||||
float: left;
|
||||
width: 47px;
|
||||
height: 47px;
|
||||
overflow: hidden;
|
||||
margin: 0 5px 5px 0;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 47px;
|
||||
}
|
||||
}
|
||||
|
||||
.suggestions {
|
||||
display: none;
|
||||
width: 415px;
|
||||
text-align: left;
|
||||
font-size: 24px;
|
||||
|
||||
div {
|
||||
margin: 15px 0;
|
||||
}
|
||||
|
||||
ul {
|
||||
li {
|
||||
display: block;
|
||||
width: auto;
|
||||
margin-bottom: 6px;
|
||||
|
||||
.data {
|
||||
&.artist {
|
||||
color: #04F;
|
||||
border-bottom: #04F 1px dotted;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
span {
|
||||
font-size: 14px;
|
||||
font-style: italic;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.autocomplete {
|
||||
margin: 4px 0 0 -1px;
|
||||
|
||||
div {
|
||||
font-size: 24px;
|
||||
padding: 6px 5px;
|
||||
border-top: #BBB 1px solid;
|
||||
margin-bottom: 1px;
|
||||
|
||||
&:first-child {
|
||||
border: none;
|
||||
}
|
||||
|
||||
&.selected {
|
||||
background-color: #DDD;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,104 @@
|
||||
@import "rounded";
|
||||
|
||||
.settings-container {
|
||||
margin: 25px;
|
||||
|
||||
.tabs {
|
||||
height: 26px;
|
||||
|
||||
> div {
|
||||
float: left;
|
||||
height: 25px;
|
||||
}
|
||||
|
||||
.left-space {
|
||||
width: 15px;
|
||||
}
|
||||
|
||||
.middle-space {
|
||||
width: 8px;
|
||||
}
|
||||
|
||||
.tab {
|
||||
position: relative;
|
||||
border-left: #DDD 1px solid;
|
||||
border-top: #DDD 1px solid;
|
||||
border-right: #DDD 1px solid;
|
||||
padding: 0 8px;
|
||||
line-height: 24px;
|
||||
margin-top: 2px;
|
||||
@include rounded(5);
|
||||
background-color: #FAFAFA;
|
||||
cursor: pointer;
|
||||
|
||||
&.active {
|
||||
z-index: 200;
|
||||
background-color: #FFF;
|
||||
border-left: #CCC 1px solid;
|
||||
border-top: #CCC 1px solid;
|
||||
border-right: #CCC 1px solid;
|
||||
border-bottom: #FFF 6px solid;
|
||||
margin-top: -2px;
|
||||
line-height: 29px;
|
||||
font-weight: bold;
|
||||
cursor: default;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.form-container {
|
||||
position: relative;
|
||||
z-index: 100;
|
||||
height: 500px;
|
||||
border-top: #CCC 1px solid;
|
||||
|
||||
.form {
|
||||
margin: 25px;
|
||||
|
||||
.field {
|
||||
height: 40px;
|
||||
margin-bottom: 10px;
|
||||
clear: both;
|
||||
|
||||
.label{
|
||||
float: left;
|
||||
font-size: 24px;
|
||||
line-height: 32px;
|
||||
width: 140px;
|
||||
padding: 3px 6px;
|
||||
@include rounded(3);
|
||||
background-color: #EAEAEA;
|
||||
margin-right: -10px;
|
||||
}
|
||||
|
||||
.value {
|
||||
float: left;
|
||||
|
||||
input[type="text"]{
|
||||
font-size: 24px;
|
||||
padding: 4px;
|
||||
border: #CCC 1px solid;
|
||||
@include rounded(3);
|
||||
width: 300px;
|
||||
}
|
||||
}
|
||||
|
||||
.action-button {
|
||||
input[type="button"]{
|
||||
width: 120px;
|
||||
font-size: 24px;
|
||||
padding: 4px;
|
||||
background-color: #DDD;
|
||||
border: #CCC 1px solid;
|
||||
@include rounded(3);
|
||||
margin-left: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.forms {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user