Skip to content

Instantly share code, notes, and snippets.

@robrocker7
Created February 14, 2013 21:13
Show Gist options
  • Save robrocker7/4956459 to your computer and use it in GitHub Desktop.
Save robrocker7/4956459 to your computer and use it in GitHub Desktop.
#station-wrap {
position: relative;
padding-left: 6%;
margin-bottom: 120px;
padding-right: 10px;
.station-title {
font-size: 24px;
position: relative;
max-width: 1512px;
margin-right: 40px;
h1 {
font-weight: 200;
display: inline;
}
> span {
font-size: 12px;
cursor: pointer;
cursor: hand;
color: @purple;
margin-left: 20px;
}
#breadcrumbs {
position: absolute;
right: 0px;
bottom: -8px;
li {
display: inline;
font-size: 10px;
a {
color: @black;
}
span {
padding: 0px 5px;
}
&.active {
font-weight: bold;
}
}
}
}
#station-header {
margin-top: 10px;
margin-right: 40px;
clear: both;
min-width: 960px;
position: relative;
#station-image {
width: 212px;
height: 212px;
position: absolute;
top: 0px;
left: 0px;
.play-me {
position: absolute;
top: 0px;
left: 0px;
width: 64%;
height: 78%;
cursor: pointer;
cursor: hand;
z-index:200;
padding-top: 45px;
padding-left: 75px;
}
.station-loading {
background: @black;
opacity:0.80;
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
z-index: 200;
display: none;
img {
padding-top: 80px;
padding-left: 80px;
}
}
&:after {
content:"";
position:absolute;
bottom:2px;
right:-15px;
border-style:solid;
display:block;
width:0;
border-color: @dd-gray transparent;
border-width:15px 15px 0px 0px;
}
}
#station-details {
background: url(../img/profile_top_bg_repeat.jpg) @l-gray;
position: relative;
max-width: 1300px;
min-width: 748px;
margin-left: 212px;
#station-details-title {
display: block;
text-decoration: none;
height: 30px;
font-size: 20px;
font-weight: bold;
line-height: 28px;
color: @white;
background: @red;
padding-left: 10px;
cursor: pointer;
cursor: hand;
em {
float: right;
font-size: 12px;
padding-right: 10px;
}
}
#station-text {
position: relative;
margin: 20px;
float: left;
height: 160px;
width: 55%;
padding-right: 20px;
h1 {
font-size: 14px;
font-weight: bold;
color: @ddd-gray;
margin-bottom: 10px;
}
h2 {
font-size: 12px;
color: @ddd-gray;
}
#header-divide {
position: absolute;
right: 0px;
top: -2px;
}
.station-actions {
margin: 30px auto;
width: 200px;
}
}
#station-related {
width: 30%;
float: left;
margin-top: 20px;
margin-bottom: 20px;
overflow: hidden;
height: 164px;
> p {
font-size: 12px;
margin-bottom: 10px;
font-weight: bold;
}
ul {
li {
display: inline-block;
width: 56px;
padding: 0px 4px;
font-size: 9px;
a {
display: block;
width: 56px;
height: 56px;
overflow: hidden;
}
> p {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 56px;
}
}
}
}
#station-social {
position: absolute;
top: 20px;
right: -15px;
width: 52px;
border: 1px solid @gray;
background: @white;
width: 37px;
padding: 2px;
&:after {
content:"";
position:absolute;
bottom:-15px;
right:-1px;
border-style:solid;
display:block;
width:0;
border-color: @d-gray transparent;
border-width:15px 15px 0px 0px;
}
li {
height: 38px;
}
}
}
}
#artist-container {
background: url(../img/profile_top_bg_repeat.jpg) @l-gray;
padding-bottom: 10px;
position: relative;
border: 1px solid @d-gray;
h4 {
display: block;
text-align: center;
font-weight: bold;
font-size: 16px;
margin-top: 10px;
}
#add-artist-overlay {
.base-overlay();
.suggested-artists {
position: relative;
z-index: 500;
text-align: center;
padding: 20px 0px;
.loading-artists {
margin-top: 20px;
}
strong {
font-size: 18px;
font-weight: bold;
}
ul {
list-style: none;
clear: both;
margin-left: 3%;
margin-top: 20px;
li {
float: left;
width: 7.7%;
margin: 0px 1%;
cursor: pointer;
cursor: hand;
position: relative;
img {
border: 2px solid @white;
width: 90%;
}
p {
width: 90%;
font-weight: bold;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
position: absolute;
top: 120px
}
}
}
}
.artist_search {
position: relative;
z-index: 500;
text-align: center;
top: 90px;
strong {
font-size: 18px;
font-weight: bold;
margin: 10px 0px
display: block;
}
input {
width: 80%;
font-size: 18px;
line-height: 40px;
margin-top: 20px;
padding-left: 20px;
}
}
}
#artist-items {
padding: 20px;
list-style: none;
margin-left: 8%;
li {
width: 16%;
float: left;
margin-right: 2%;
display: none;
cursor: pointer;
cursor: hand;
&:hover {
.artist-image-container {
span {
img {
display: block;
}
}
}
}
&.added {
.artist-image-container {
.artist-image {
border-color: @green;
}
}
}
&.removed {
.artist-image-container {
.artist-image {
border-color: @purple;
}
}
}
&.active {
.artist-image-container {
.artist-image {
border-color: @red;
}
span {
padding-top: 58px;
bottom: -57px
}
}
}
.artist-image-container {
display: block;
position: relative;
border-bottom: 1px solid @dd-gray;
.artist-image {
border: 2px solid @white;
background-position: center -30px;
background-repeat: no-repeat;
background-color: @l-gray;
height: 80px;
}
span {
position: absolute;
bottom: -1px;
right: 0px;
background-color: @red;
width: 26px;
text-align: center;
color: @white;
font-weight: bold;
z-index:100;
height:0px;
line-height: 0px;
img {
position: relative;
top: -3px;
display: none;
}
}
}
strong {
font-weight: bold;
font-size: 12px;
line-height: 24px;
color: @ddd-gray;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: block;
}
}
}
#artist-left-arrow {
position: absolute;
top: 60px;
left: 0px;
width: 32px;
cursor: pointer;
cursor: hand;
}
#artist-right-arrow {
position: absolute;
top: 56px;
right: -3px;
width: 32px;
cursor: pointer;
cursor: hand;
}
#song-container {
background-color: @l-gray;
padding: 30px 20px;
color: @ddd-gray;
margin-top: 30px;
margin-left: 20px;
margin-right: 20px;
border: 2px dotted @red;
position: relative;
display: none;
#add-song-overlay {
.base-overlay();
text-align: center;
strong {
z-index: 500;
font-weight: bold;
font-size: 18px;
position: relative;
top: 50px;
}
}
.remove-artist {
position: absolute;
top: 10px;
left: 20px;
color: @red;
cursor: pointer;
cursor: hand;
display: none;
}
.readd-artist {
position: absolute;
top: 10px;
right: 10px;
color: @red;
cursor: pointer;
cursor: hand;
display: none;
}
.readd-artist, .remove-artist {
&.active {
display: block;
}
}
> p {
font-weight: bold;
font-size: 16px;
margin-bottom: 30px;
}
#song-items {
list-style: none;
margin-top: 10px;
> li {
display: block;
float: left;
padding: .5%;
width: 16%;
margin: .5% 1%;
border-bottom: 1px solid @dd-gray;
cursor: pointer;
cursor: hand;
position: relative;
&.added {
background: @green;
}
&.removed {
background: @red;
}
&:hover {
.song-overlay {
display: block;
}
}
.song-overlay {
position: absolute;
width: 100%;
height: 100%;
top: 0px;
left: 0px;
background: @white;
opacity: 0.6;
z-index:200;
display: none;
}
p, em{
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: block;
}
p {
font-weight: bold;
}
img {
float: left;
padding-right: 4px;
}
}
}
.song-hover {
display: none;
position: absolute;
top: 13px;
right: 0px;
width: 50px;
z-index:300;
.add-remove {
float: left;
width: 24px
}
.more-actions {
float: left;
width: 24px;
ul {
position: absolute;
left: 30px;
top: 8px;
display: none;
li {
display: block;
width: 80px;
background: @gray;
padding: 4px;
font-size: 12px;
&:hover {
background: @d-gray;
}
}
}
}
}
}
}
#station-tab-container {
position: relative;
margin-top: 50px;
margin-right: 40px;
max-width: 1512px;
min-width: 960px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment