Advertisement
Guest User

gallery css

a guest
May 28th, 2012
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 5.12 KB | None | 0 0
  1.  
  2.  
  3. .photospace{
  4.     margin-top:30px;
  5.     margin-bottom:40px;
  6.     position:relative;
  7.     overflow:visible;
  8. }
  9.  
  10.  
  11. .photospace_clear{
  12.     clear:both;
  13. }
  14.  
  15. .photospace .thumnail_col{
  16.     float:left;
  17.     opacity:1;
  18.    
  19. }
  20.  
  21. .photospace .gal_content {
  22.     /* The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled. */
  23.     display: none;
  24.     float: right;
  25.     width: 400px;
  26. }
  27. .photospace .gal_content a,
  28. .photospace .thumnail_col a {
  29.     text-decoration: none;
  30.     color: #8E8E8E;
  31. }
  32.  
  33. .photospace .gal_content a:hover{
  34.     text-decoration: underline;
  35. }
  36.  
  37. .photospace .controls {
  38.     margin-top: -20px;
  39.     height: 20px;
  40. }
  41.  
  42. .photospace .controls a.next {
  43.     margin-left:10px;
  44. }
  45.  
  46.  
  47.  
  48. .photospace .ss-controls {
  49.     float: left;
  50. }
  51. .photospace .nav-controls {
  52.     float: right;
  53. }
  54. .photospace .slideshow-container {
  55.     position: relative;
  56.     clear: both;
  57.     height: 450px; /* This should be set to be at least the height of the largest image in the slideshow */
  58. }
  59. .photospace .loader {
  60.     position: absolute;
  61.     top: 0;
  62.     left: 0;
  63.     background-image: url('loader.gif');
  64.     background-repeat: no-repeat;
  65.     background-position: center;
  66.     width: 400px;
  67.     height: 450px; /* This should be set to be at least the height of the largest image in the slideshow */
  68. }
  69.  
  70. .photospace .slideshow span.image-wrapper {
  71.     display: block;
  72.     display: inline-block;
  73.     position: absolute;
  74.     top: 0;
  75.     left: 0;
  76.    
  77.     line-height:0px; /* line space in webkit */
  78.     font-size:0px; /* line space in webkit */
  79.     white-space:nowrap; /* line space in webkit */
  80.     letter-spacing:-1px; /* line space in webkit */
  81. }
  82. .photospace .slideshow a.advance-link {
  83.     display: block;
  84.     width: 400px;
  85.     height: 450px; /* This should be set to be at least the height of the largest image in the slideshow */
  86.     /* line-height: 502px;  This should be set to be at least the height of the largest image in the slideshow */
  87.     text-align: center;
  88.    
  89. }
  90.  
  91. .photospace .slideshow a.advance-link:hover,
  92. .photospace .slideshow a.advance-link:active,
  93. .photospace .slideshow a.advance-link:visited {
  94.     text-decoration: none;
  95. }
  96. .photospace .slideshow img {
  97.     vertical-align: top;
  98. }
  99. .photospace .download {
  100.     float: right;
  101.     padding-top: 12px;
  102. }
  103. .photospace .caption-container {
  104.    
  105. }
  106. .photospace span.image-caption {
  107.     display: block;
  108.     position: absolute;
  109. }  
  110. .photospace .caption {
  111.     color: #8e8e8e;
  112.     text-align:right;
  113.     padding-right:0;
  114.     padding-top:10px;
  115. }
  116.  
  117. .photospace li .caption{
  118.     display:none;
  119. }
  120.  
  121. .photospace .caption a {
  122. }
  123.  
  124. .photospace .image-desc {
  125.     line-height: 1.3em;
  126.     padding-top: 12px;
  127. }
  128. .photospace .thumnail_col {
  129.     /* The thumnail_col style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
  130. }
  131. .photospace ul.thumbs {
  132.     margin: 10;
  133.     padding: 10;
  134.     list-style: none  !important;
  135. }
  136. .photospace ul.thumbs li {
  137.     float: left;
  138.     padding: 0;
  139.     margin: 0;
  140.     margin-right: 10px;
  141.     margin-bottom: 10px;
  142.     list-style: none  !important;
  143.    
  144. }
  145.  
  146. .photospace a.thumb {
  147.     display: block;
  148.     height:auto;
  149.     padding: 0;
  150.     margin: 0;
  151.    
  152.     opacity: 0.67;
  153.    
  154.     -webkit-transition: all 0.4s ease-in-out;
  155.     -moz-transition: all 0.4s ease;
  156.     -o-transition: all 0.4s ease;
  157.     transition: all 0.4s ease;
  158. }
  159.  
  160. .photospace li a:hover,
  161. .photospace li.selected a{
  162.     opacity: 1;
  163. }
  164.  
  165.  
  166. .photospace a.thumb:focus {
  167.     outline: none;
  168. }
  169. .photospace ul.thumbs img {
  170.     display: block;
  171. }
  172.  
  173. .photospace .thumnail_col div.top {
  174.  
  175. }
  176. .photospace .thumnail_col div.bottom {
  177.    
  178. }
  179.  
  180. .photospace .pagination {
  181.     position:absolute;
  182.     left:0;
  183.     top:-38px;
  184.     width:100%;
  185.     height:30px;
  186. }
  187. .photospace .pagination a,
  188. .photospace .pagination span.current,
  189. .photospace .pagination span.ellipsis {
  190.     display: block;
  191.     float: left;
  192.     margin-right: 5px;
  193.     padding:6px;
  194.     padding-left:10px;
  195.     padding-right:10px;
  196.     border: 1px solid #ddd;
  197.     color:#a9a9a9;
  198.     line-height:14px;
  199. }
  200. .photospace .pagination a:hover {
  201.     background-color: #eee;
  202.     text-decoration: none;
  203. }
  204. .photospace .pagination span.current {
  205.     font-weight: bold;
  206.     background-color: #000;
  207.     border-color: #000;
  208.     color: #fff;
  209. }
  210. .photospace .pagination span.ellipsis {
  211.     border: none;
  212.     padding: 5px 0 3px 2px;
  213. }
  214.  
  215. .photospace #captionToggle a {
  216.     float: right;
  217.     display: block;
  218.     background-image: url('caption.png');
  219.     background-repeat: no-repeat;
  220.     background-position: right;
  221.     margin-top: 5px;
  222.     padding: 5px 30px 5px 5px;
  223. }
  224.  
  225. .photospace .thumnail_col a.pageLink {
  226.     height: 50px;
  227.     line-height: 50px;
  228.     background-color:#FFF;
  229.     opacity: 0.7;
  230.     display: block;
  231.     position: relative;
  232.     float: left;
  233.     background-position:center center;
  234.     background-repeat:no-repeat;
  235.     margin-right:10px;
  236.     border:solid 1px #CCC;
  237.    
  238.     -webkit-transition: all 0.2s ease-in-out;
  239.     -moz-transition: all 0.2s ease;
  240.     -o-transition: all 0.2s ease;
  241.     transition: all 0.2s ease;
  242. }
  243. .photospace .thumnail_col a.pageLink:focus {
  244.     outline: none;
  245. }
  246. .photospace .thumnail_col a.pageLink:hover {
  247.     opacity: 1;
  248. }
  249.  
  250. .photospace .thumnail_col a.prev {
  251.     background-image: url('arrow-left.png');
  252. }
  253. .photospace .thumnail_col a.next {
  254.     background-image: url('arrow-right.png');
  255. }
  256.  
  257. .photospace .hide_me{
  258.     display:none !important;
  259. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement