Skip to content

Instantly share code, notes, and snippets.

@vimes1984
Created September 11, 2014 12:09
Show Gist options
  • Save vimes1984/75bcc92e535b36e7e265 to your computer and use it in GitHub Desktop.
Save vimes1984/75bcc92e535b36e7e265 to your computer and use it in GitHub Desktop.
nivoslider css edits...
/*
* jQuery Nivo Slider v2.5.2
* http://nivo.dev7studios.com
*
* Copyright 2011, Gilbert Pellegrom
* Free to use and abuse under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*
* March 2010
*/
/* The Nivo Slider styles */
.nivoSlider {
position: relative;
}
.nivoSlider img {
position: absolute;
top: 0px;
left: 0px;
}
/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
border: 0;
padding: 0;
margin: 0;
z-index: 999999999999999;
display: none;
}
/* The slices and boxes in the Slider */
.nivo-slice {
display:block;
position:absolute;
z-index:5;
height:100%;
}
.nivo-box {
display:block;
position:absolute;
z-index:5;
}
/* Caption styles */
.nivo-caption {
position:absolute;
left:0px;
bottom:0px;
background:#000;
color:#fff;
opacity:0.8; /* Overridden by captionOpacity setting */
width:100%;
z-index:8;
}
.nivo-caption p {
padding:5px;
margin:0;
}
.nivo-caption a {
display:inline !important;
}
.nivo-html-caption {
display:none;
}
/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
position:absolute;
top:45%;
z-index:9;
cursor:pointer;
}
.nivo-prevNav {
left:0px;
}
.nivo-nextNav {
right:0px;
}
/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav a {
position:relative;
z-index:9;
cursor:pointer;
}
.nivo-controlNav a.active {
font-weight:bold;
}
/* slider theme */
.slideshow .nivoSlider {
position: relative;
background: #fff url('../image/loading.gif') no-repeat 50% 50%;
margin-bottom: 20px;
}
.slideshow .nivoSlider img {
position: absolute;
top: 0px;
left: 0px;
display: none;
}
.slideshow .nivoSlider a {
border: 0;
display: block;
}
.slideshow .nivo-controlNav {
position: absolute;
right: 10px;
bottom: 5px;
text-align: center;
height: 22px;
z-index: 99;
}
.slideshow .nivo-controlNav a {
vertical-align: top;
display: block;
width: 22px;
height: 22px;
background: url('../image/bullets.png') no-repeat;
text-indent:-9999px;
border:0;
margin-right:3px;
float:left;
}
.slideshow .nivo-controlNav a.active {
background-position:0 -22px;
}
.slideshow .nivo-directionNav a {
display:block;
width:30px;
height:30px;
background:url('../image/arrows.png') no-repeat;
text-indent:-9999px;
border:0;
}
.slideshow a.nivo-nextNav {
background-position:-30px 0;
right:15px;
}
.slideshow a.nivo-prevNav {
left:15px;
}
.slideshow .nivo-caption {
text-shadow:none;
font-family: Helvetica, Arial, sans-serif;
}
.slideshow .nivo-caption a {
color:#efe9d1;
text-decoration:underline;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment