theme-minimalist-square.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. /*
  2. AnythingSlider v1.5.10 Minimalist Square Theme
  3. By Rob Garrison
  4. */
  5. /****** SET COLORS HERE *******/
  6. /* Default State */
  7. div.anythingSlider-minimalist-square .anythingWindow {
  8. border-top: 3px solid #333;
  9. border-bottom: 3px solid #333;
  10. }
  11. div.anythingSlider-minimalist-square .anythingControls ul a {
  12. border: 1px solid #000;
  13. background: #333;
  14. }
  15. div.anythingSlider-minimalist-square .anythingControls ul a:hover, div.anythingSlider-minimalist-square .anythingControls ul a.cur {
  16. background: #777;
  17. }
  18. div.anythingSlider-minimalist-square .start-stop {
  19. border: 1px solid #000;
  20. }
  21. div.anythingSlider-minimalist-square .start-stop.playing {
  22. background-color: #300;
  23. }
  24. div.anythingSlider-minimalist-square .start-stop:hover, div.anythingSlider-minimalist-square .start-stop.hover {
  25. color: #ddd
  26. }
  27. /* Active State */
  28. div.anythingSlider-minimalist-square.activeSlider .anythingWindow {
  29. border-color: #164054;
  30. }
  31. div.anythingSlider-minimalist-square.activeSlider .anythingControls ul a {
  32. background-color: #164054;
  33. }
  34. div.anythingSlider-minimalist-square.activeSlider .anythingControls ul a:hover, div.anythingSlider-minimalist-square.activeSlider .anythingControls ul a.cur {
  35. background: #fff;
  36. }
  37. div.anythingSlider-minimalist-square.activeSlider .start-stop.playing {
  38. background-color: #f00;
  39. }
  40. div.anythingSlider-minimalist-square .start-stop:hover, div.anythingSlider-minimalist-square .start-stop.hover {
  41. color: #fff
  42. }
  43. /* Navigation Arrows */
  44. div.anythingSlider-minimalist-square .arrow {
  45. top: 50%;
  46. position: absolute;
  47. display: block;
  48. }
  49. div.anythingSlider-minimalist-square .arrow a {
  50. display: block;
  51. height: 40px;
  52. margin-top: -20px; /* half height of image */
  53. width: 30px;
  54. text-align: center;
  55. outline: 0;
  56. background: url(../images/arrows-minimalist.png) no-repeat;
  57. }
  58. div.anythingSlider-minimalist-square .forward { right: 0; }
  59. div.anythingSlider-minimalist-square .back { left: 0; }
  60. div.anythingSlider-minimalist-square .forward a { background-position: right bottom; }
  61. div.anythingSlider-minimalist-square .back a { background-position: left bottom; }
  62. div.anythingSlider-minimalist-square .forward a:hover, div.anythingSlider-minimalist-square .forward a.hover { background-position: right top; }
  63. div.anythingSlider-minimalist-square .back a:hover, div.anythingSlider-minimalist-square .back a.hover { background-position: left top; }
  64. /* Navigation Links */
  65. div.anythingSlider-minimalist-square .anythingControls {
  66. float: right;
  67. position: absolute;
  68. bottom: 0;
  69. right: 15%;
  70. z-index: 100;
  71. opacity: 0.75;
  72. filter: alpha(opacity=75);
  73. }
  74. div.anythingSlider-minimalist-square .anythingControls ul {
  75. margin: 0;
  76. z-index: 100;
  77. }
  78. div.anythingSlider-minimalist-square .anythingControls ul li {
  79. display: block;
  80. float: left;
  81. }
  82. div.anythingSlider-minimalist-square .anythingControls ul a {
  83. display: block;
  84. height: 10px;
  85. width: 10px;
  86. margin: 3px;
  87. padding: 0;
  88. outline: 0;
  89. border-radius: 0;
  90. -moz-border-radius: 0;
  91. -webkit-border-radius: 0;
  92. }
  93. /* Navigation size window arrows */
  94. div.anythingSlider-minimalist-square .anythingControls li.next a span, div.anythingSlider-minimalist-square .anythingControls li.prev a span {
  95. text-indent: 1px;
  96. margin-top: 3px;
  97. }
  98. div.anythingSlider-minimalist-square .anythingControls li.prev a, div.anythingSlider-minimalist-square .anythingControls li.next a {
  99. color: #ddd;
  100. }
  101. div.anythingSlider-minimalist-square .anythingControls li.next a:hover, div.anythingSlider-minimalist-square .anythingControls li.prev a:hover {
  102. color: #000;
  103. }
  104. /* slider autoplay right-to-left, reverse order of nav links to look better */
  105. div.anythingSlider-minimalist-square.rtl .anythingControls ul a { float: right; } /* reverse order of nav links */
  106. div.anythingSlider-minimalist-square.rtl .anythingControls ul { float: left; } /* move nav link group to left */
  107. /* div.anythingSlider-minimalist-square.rtl .start-stop { float: right; } */ /* move start/stop button - in case you want to switch sides */
  108. /* Autoplay Start/Stop button */
  109. div.anythingSlider-minimalist-square .start-stop {
  110. margin: 3px;
  111. padding: 0;
  112. display: inline-block;
  113. width: 14px;
  114. height: 14px;
  115. position: relative;
  116. bottom: 2px;
  117. left: 0;
  118. z-index: 100;
  119. text-align: center;
  120. text-decoration: none;
  121. float: right;
  122. border-radius: 0;
  123. -moz-border-radius: 0;
  124. -webkit-border-radius: 0;
  125. }
  126. /* Extra - replace defaults */
  127. div.anythingSlider-minimalist-square {
  128. padding: 6px 30px;
  129. }
  130. /* text indent moved to span inside "a", for IE7; apparently, a negative text-indent on an "a" link moves the link as well as the text */
  131. div.anythingSlider-minimalist-square .arrow a span, div.anythingSlider-minimalist-square .anythingControls ul a span, div.anythingSlider-minimalist-square .start-stop span {
  132. display: block;
  133. line-height: 1px; /* needed for IE7 */
  134. text-indent: -9999px;
  135. }