You are here

jcarousel-default.css in jCarousel 7.3

/**
 * A simple sample carousel skin.
 *
 * This skin includes a sample arrows.svg file that may be edited with the free
 * illustration application InkScape (http://inkscape.org).
 *
 * CSS and icons by Nathan Haug.
 */

/**
 * Carousel
 */
.jcarousel-skin-default.jcarousel-wrapper {
  border: 10px solid #fff;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: 0 0 2px #999;
  -moz-box-shadow: 0 0 2px #999;
  box-shadow: 0 0 2px #999;
}

/**
 * Controls
 */

.jcarousel-skin-default .jcarousel-next,
.jcarousel-skin-default .jcarousel-prev {
  visibility: hidden;
}

.jcarousel-skin-default .jcarousel-next:after {
  content: '›';
  left: 15px;
}
.jcarousel-skin-default .jcarousel-prev:after {
  content: '‹';
  right: 15px;
}

.jcarousel-skin-default .jcarousel-next:after,
.jcarousel-skin-default .jcarousel-prev:after {
  visibility: visible;
  position: absolute;
  top: 50%;
  margin-top: -15px;
  width: 30px;
  height: 30px;
  text-align: center;
  text-decoration: none;
  background: #4E443C;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 0 1px #000;
  font: 24px/27px Arial, sans-serif;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  -webkit-box-shadow: 0 0 4px #F0EFE7;
  -moz-box-shadow: 0 0 4px #F0EFE7;
  box-shadow: 0 0 4px #F0EFE7;
}

File

skins/default/jcarousel-default.css
View source
  1. /**
  2. * A simple sample carousel skin.
  3. *
  4. * This skin includes a sample arrows.svg file that may be edited with the free
  5. * illustration application InkScape (http://inkscape.org).
  6. *
  7. * CSS and icons by Nathan Haug.
  8. */
  9. /**
  10. * Carousel
  11. */
  12. .jcarousel-skin-default.jcarousel-wrapper {
  13. border: 10px solid #fff;
  14. -webkit-border-radius: 5px;
  15. -moz-border-radius: 5px;
  16. border-radius: 5px;
  17. -webkit-box-shadow: 0 0 2px #999;
  18. -moz-box-shadow: 0 0 2px #999;
  19. box-shadow: 0 0 2px #999;
  20. }
  21. /**
  22. * Controls
  23. */
  24. .jcarousel-skin-default .jcarousel-next,
  25. .jcarousel-skin-default .jcarousel-prev {
  26. visibility: hidden;
  27. }
  28. .jcarousel-skin-default .jcarousel-next:after {
  29. content: '›';
  30. left: 15px;
  31. }
  32. .jcarousel-skin-default .jcarousel-prev:after {
  33. content: '‹';
  34. right: 15px;
  35. }
  36. .jcarousel-skin-default .jcarousel-next:after,
  37. .jcarousel-skin-default .jcarousel-prev:after {
  38. visibility: visible;
  39. position: absolute;
  40. top: 50%;
  41. margin-top: -15px;
  42. width: 30px;
  43. height: 30px;
  44. text-align: center;
  45. text-decoration: none;
  46. background: #4E443C;
  47. color: #fff;
  48. text-decoration: none;
  49. text-shadow: 0 0 1px #000;
  50. font: 24px/27px Arial, sans-serif;
  51. -webkit-border-radius: 30px;
  52. -moz-border-radius: 30px;
  53. border-radius: 30px;
  54. -webkit-box-shadow: 0 0 4px #F0EFE7;
  55. -moz-box-shadow: 0 0 4px #F0EFE7;
  56. box-shadow: 0 0 4px #F0EFE7;
  57. }