ace.min.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. .ace-thumbnails {
  2. list-style: none;
  3. margin: 0;
  4. padding: 0;
  5. }
  6. .ace-thumbnails > li {
  7. float: left;
  8. display: block;
  9. position: relative;
  10. overflow: hidden;
  11. margin: 2px;
  12. border: 2px solid #333;
  13. }
  14. .ace-thumbnails > li > :first-child {
  15. display: block;
  16. position: relative;
  17. }
  18. .ace-thumbnails > li > :first-child:focus {
  19. outline: none;
  20. }
  21. .ace-thumbnails > li .tags {
  22. display: inline-block;
  23. position: absolute;
  24. bottom: 0;
  25. right: 0;
  26. overflow: visible;
  27. direction: rtl;
  28. padding: 0;
  29. margin: 0;
  30. height: auto;
  31. width: auto;
  32. background-color: transparent;
  33. border-width: 0;
  34. vertical-align: inherit;
  35. }
  36. .ace-thumbnails > li .tags > .label-holder {
  37. opacity: 0.92;
  38. filter: alpha(opacity=92);
  39. display: table;
  40. margin: 1px 0 0 0;
  41. direction: ltr;
  42. text-align: left;
  43. }
  44. .ace-thumbnails > li .tags > .label-holder:hover {
  45. opacity: 1;
  46. filter: alpha(opacity=100);
  47. }
  48. .ace-thumbnails > li > .tools {
  49. position: absolute;
  50. top: 0;
  51. bottom: 0;
  52. left: -30px;
  53. width: 24px;
  54. background-color: rgba(0, 0, 0, 0.55);
  55. text-align: center;
  56. vertical-align: middle;
  57. -webkit-transition: all 0.2s ease;
  58. -o-transition: all 0.2s ease;
  59. transition: all 0.2s ease;
  60. }
  61. .ace-thumbnails > li > .tools.tools-right {
  62. left: auto;
  63. right: -30px;
  64. }
  65. .ace-thumbnails > li > .tools.tools-bottom {
  66. width: auto;
  67. height: 28px;
  68. left: 0;
  69. right: 0;
  70. top: auto;
  71. bottom: -30px;
  72. }
  73. .ace-thumbnails > li > .tools.tools-top {
  74. width: auto;
  75. height: 28px;
  76. left: 0;
  77. right: 0;
  78. top: -30px;
  79. bottom: auto;
  80. }
  81. .ace-thumbnails > li:hover > .tools {
  82. left: 0;
  83. right: 0;
  84. }
  85. .ace-thumbnails > li:hover > .tools.tools-bottom {
  86. top: auto;
  87. bottom: 0;
  88. }
  89. .ace-thumbnails > li:hover > .tools.tools-top {
  90. bottom: auto;
  91. top: 0;
  92. }
  93. .ace-thumbnails > li:hover > .tools.tools-right {
  94. left: auto;
  95. right: 0;
  96. }
  97. .ace-thumbnails > li > .in.tools {
  98. left: 0;
  99. right: 0;
  100. }
  101. .ace-thumbnails > li > .in.tools.tools-bottom {
  102. top: auto;
  103. bottom: 0;
  104. }
  105. .ace-thumbnails > li > .in.tools.tools-top {
  106. bottom: auto;
  107. top: 0;
  108. }
  109. .ace-thumbnails > li > .in.tools.tools-right {
  110. left: auto;
  111. right: 0;
  112. }
  113. .ace-thumbnails > li > .tools > a,
  114. .ace-thumbnails > li > :first-child .inner a {
  115. display: inline-block;
  116. color: #FFF;
  117. font-size: 18px;
  118. font-weight: normal;
  119. padding: 0 4px;
  120. }
  121. .ace-thumbnails > li > .tools > a:hover,
  122. .ace-thumbnails > li > :first-child .inner a:hover {
  123. text-decoration: none;
  124. color: #C9E2EA;
  125. }
  126. .ace-thumbnails > li .tools.tools-bottom > a,
  127. .ace-thumbnails > li .tools.tools-top > a {
  128. display: inline-block;
  129. }
  130. .ace-thumbnails > li > :first-child > .text {
  131. position: absolute;
  132. right: 0;
  133. left: 0;
  134. bottom: 0;
  135. top: 0;
  136. text-align: center;
  137. color: #FFF;
  138. background-color: rgba(0, 0, 0, 0.55);
  139. opacity: 0;
  140. filter: alpha(opacity=0);
  141. -webkit-transition: all 0.2s ease;
  142. -o-transition: all 0.2s ease;
  143. transition: all 0.2s ease;
  144. }
  145. .ace-thumbnails > li > :first-child > .text:before {
  146. /* makes the inner text become vertically centered*/
  147. content: '';
  148. display: inline-block;
  149. height: 100%;
  150. vertical-align: middle;
  151. margin-right: 0;
  152. /* Adjusts for spacing */
  153. }
  154. .ace-thumbnails > li > :first-child > .text > .inner {
  155. padding: 4px 0;
  156. margin: 0;
  157. display: inline-block;
  158. vertical-align: middle;
  159. max-width: 90%;
  160. }
  161. .ace-thumbnails > li:hover > :first-child > .text {
  162. opacity: 1;
  163. filter: alpha(opacity=100);
  164. }