Skip to content

Commit

Permalink
oops, left out a vital stylesheet
Browse files Browse the repository at this point in the history
  • Loading branch information
mattvanhorn committed Jul 8, 2012
1 parent 64aa61f commit 46600c4
Showing 1 changed file with 80 additions and 0 deletions.
80 changes: 80 additions & 0 deletions app/assets/stylesheets/carousel.css.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
html, body {
height: 100%;
padding: 0;
margin: 0;
position: relative;
}
#wrapper {
width: 100%;
height: 790px;
margin-top: -395px;
position: absolute;
left: 0;
top: 50%;
overflow: hidden;
}

#carousel li {
border: none;
display: block;
margin: 30px;
float: left;
box-shadow: 0 0 20px #000;
div {
background-color: #fff;
padding: 15px;
}
p.note {
text-align: center;
color: #FFF;
margin-top: 5px;
}
}

#carousel .empty {
display: block;
width: 600px;
height: 400px;
float: left;
}

#bar {
background-color: rgba(25,25,25,0.5);
border-bottom: 1px solid #000;
font-family: arial, sans-serif;
font-size: 18px;
font-weight: bold;
color: #fff;
text-align: center;
line-height: 50px;
width: 100%;
position: absolute;
top: 40px;
left: 0;
}
#prev, #next {
font-size: 30px;
color: #fff;
text-decoration: none;
display: block;
width: 50px;
height: 50px;
position: absolute;
top: 0;
}
#prev:hover, #next:hover {
background-color: #000;
}
#prev.disabled, #next.disabled {
background-color: transparent !important;
cursor: default;

opacity: 0.1;
}
#prev {
left: 0;
}
#next {
right: 0;
}

0 comments on commit 46600c4

Please sign in to comment.