You are here

tgf-elegant.css in Total Gallery Formatter 7

.tgf-slides img {
  border-radius: 5px;
  display: block;
}

/**
 * Only Carousel.
 */
.tgf-carousel-container {
  background: url(images/tgf-elegant-bg-pag.jpg) bottom repeat-x;
  border-radius: 5px;
  box-sizing: border-box;
  display: inline-block;
  padding: 5px 35px 5px 35px;
  position: relative;
  text-align: center;
}
.tgf-carousel-container .tgf-slide-item {
  display: inline-block;
  float: left;
  margin: 5px;
}
.tgf-carousel-container a.tgf-next-button {
  background-position: -35px 0;
  bottom: 45px;
  right: -6px;
}
.tgf-carousel-container a.tgf-prev-button {
  bottom: 45px;
  left: -6px;
}

/**
 * Gallery with carousel.
 */
.tgf-container {
  background: url(images/tgf-elegant-shadow.png) no-repeat bottom center;
  display: inline-block;
  padding-bottom: 13px;
  position: relative;
  text-align: center;
}
.tgf-container .tgf-slides div,
.tgf-container .tgf-slides a {
  background: url(images/tgf-elegant-shadow.png) no-repeat bottom center;
  padding-bottom: 13px;
}
.tgf-container .caroufredsel_wrapper {
  margin: auto !important;
}
.tgf-container .tgf-controls-container {
  background: url(images/tgf-elegant-bg-pag.jpg) bottom repeat-x;
  border-radius: 5px;
  box-sizing: border-box;
  display: inline-block;
  padding: 10px 25px 10px 35px;
  position: relative;
}
.tgf-container .tgf-pagination img {
  border: thin solid #d4d4d4;
  margin-right: 10px;
}
a.tgf-next-button,
a.tgf-prev-button,
a.tgf-pag-next-button,
a.tgf-pag-prev-button {
  background-image: url(images/tgf-elegant-btns.png);
  background-repeat: no-repeat;
  display: block;
  height: 0;
  overflow: hidden;
  padding-top: 39px;
  position: absolute;
  bottom: 41px;
  width: 35px;
  z-index: 5;
}
.tgf-container a.tgf-pag-next-button {
  background-position: -35px 0;
  right: -7px;
}
.tgf-container a.tgf-next-button:hover,
.tgf-container a.tgf-pag-next-button:hover {
  background-position: -35px -39px;
}
.tgf-container a.tgf-pag-prev-button {
  left: -7px;
}
.tgf-container a.tgf-prev-button:hover,
.tgf-container a.tgf-pag-prev-button:hover {
  background-position: 0 -39px;
}
.tgf-container a.tgf-next-button {
  background-position: -35px 0;
  bottom: 170px;
  right: -6px;
}
.tgf-container a.tgf-prev-button {
  bottom: 170px;
  left: -6px;
}

File

styles/elegant/tgf-elegant.css
View source
  1. .tgf-slides img {
  2. border-radius: 5px;
  3. display: block;
  4. }
  5. /**
  6. * Only Carousel.
  7. */
  8. .tgf-carousel-container {
  9. background: url(images/tgf-elegant-bg-pag.jpg) bottom repeat-x;
  10. border-radius: 5px;
  11. box-sizing: border-box;
  12. display: inline-block;
  13. padding: 5px 35px 5px 35px;
  14. position: relative;
  15. text-align: center;
  16. }
  17. .tgf-carousel-container .tgf-slide-item {
  18. display: inline-block;
  19. float: left;
  20. margin: 5px;
  21. }
  22. .tgf-carousel-container a.tgf-next-button {
  23. background-position: -35px 0;
  24. bottom: 45px;
  25. right: -6px;
  26. }
  27. .tgf-carousel-container a.tgf-prev-button {
  28. bottom: 45px;
  29. left: -6px;
  30. }
  31. /**
  32. * Gallery with carousel.
  33. */
  34. .tgf-container {
  35. background: url(images/tgf-elegant-shadow.png) no-repeat bottom center;
  36. display: inline-block;
  37. padding-bottom: 13px;
  38. position: relative;
  39. text-align: center;
  40. }
  41. .tgf-container .tgf-slides div,
  42. .tgf-container .tgf-slides a {
  43. background: url(images/tgf-elegant-shadow.png) no-repeat bottom center;
  44. padding-bottom: 13px;
  45. }
  46. .tgf-container .caroufredsel_wrapper {
  47. margin: auto !important;
  48. }
  49. .tgf-container .tgf-controls-container {
  50. background: url(images/tgf-elegant-bg-pag.jpg) bottom repeat-x;
  51. border-radius: 5px;
  52. box-sizing: border-box;
  53. display: inline-block;
  54. padding: 10px 25px 10px 35px;
  55. position: relative;
  56. }
  57. .tgf-container .tgf-pagination img {
  58. border: thin solid #d4d4d4;
  59. margin-right: 10px;
  60. }
  61. a.tgf-next-button,
  62. a.tgf-prev-button,
  63. a.tgf-pag-next-button,
  64. a.tgf-pag-prev-button {
  65. background-image: url(images/tgf-elegant-btns.png);
  66. background-repeat: no-repeat;
  67. display: block;
  68. height: 0;
  69. overflow: hidden;
  70. padding-top: 39px;
  71. position: absolute;
  72. bottom: 41px;
  73. width: 35px;
  74. z-index: 5;
  75. }
  76. .tgf-container a.tgf-pag-next-button {
  77. background-position: -35px 0;
  78. right: -7px;
  79. }
  80. .tgf-container a.tgf-next-button:hover,
  81. .tgf-container a.tgf-pag-next-button:hover {
  82. background-position: -35px -39px;
  83. }
  84. .tgf-container a.tgf-pag-prev-button {
  85. left: -7px;
  86. }
  87. .tgf-container a.tgf-prev-button:hover,
  88. .tgf-container a.tgf-pag-prev-button:hover {
  89. background-position: 0 -39px;
  90. }
  91. .tgf-container a.tgf-next-button {
  92. background-position: -35px 0;
  93. bottom: 170px;
  94. right: -6px;
  95. }
  96. .tgf-container a.tgf-prev-button {
  97. bottom: 170px;
  98. left: -6px;
  99. }