You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

279 lines
4.7 KiB

9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. /*!
  2. * # Semantic UI 1.10.4 - Image
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2014 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Image
  13. *******************************/
  14. .ui.image {
  15. position: relative;
  16. display: inline-block;
  17. vertical-align: middle;
  18. max-width: 100%;
  19. background-color: transparent;
  20. }
  21. img.ui.image {
  22. display: block;
  23. }
  24. .ui.image svg,
  25. .ui.image img {
  26. display: block;
  27. max-width: 100%;
  28. height: auto;
  29. }
  30. /*******************************
  31. States
  32. *******************************/
  33. .ui.hidden.images,
  34. .ui.hidden.image {
  35. display: none;
  36. }
  37. .ui.disabled.images,
  38. .ui.disabled.image {
  39. cursor: default;
  40. opacity: 0.3;
  41. }
  42. /*******************************
  43. Variations
  44. *******************************/
  45. /*--------------
  46. Inline
  47. ---------------*/
  48. .ui.inline.image,
  49. .ui.inline.image svg,
  50. .ui.inline.image img {
  51. display: inline-block;
  52. }
  53. /*------------------
  54. Vertical Aligned
  55. -------------------*/
  56. .ui.top.aligned.images .image,
  57. .ui.top.aligned.image,
  58. .ui.top.aligned.image svg,
  59. .ui.top.aligned.image img {
  60. display: inline-block;
  61. vertical-align: top;
  62. }
  63. .ui.middle.aligned.images .image,
  64. .ui.middle.aligned.image,
  65. .ui.middle.aligned.image svg,
  66. .ui.middle.aligned.image img {
  67. display: inline-block;
  68. vertical-align: middle;
  69. }
  70. .ui.bottom.aligned.images .image,
  71. .ui.bottom.aligned.image,
  72. .ui.bottom.aligned.image svg,
  73. .ui.bottom.aligned.image img {
  74. display: inline-block;
  75. vertical-align: bottom;
  76. }
  77. /*--------------
  78. Rounded
  79. ---------------*/
  80. .ui.rounded.images .image,
  81. .ui.rounded.images img,
  82. .ui.rounded.images svg,
  83. .ui.rounded.image img,
  84. .ui.rounded.image svg,
  85. .ui.rounded.image {
  86. border-radius: 0.3125em;
  87. }
  88. /*--------------
  89. Bordered
  90. ---------------*/
  91. .ui.bordered.images .image,
  92. .ui.bordered.images img,
  93. .ui.bordered.images svg,
  94. .ui.bordered.image img,
  95. .ui.bordered.image svg,
  96. img.ui.bordered.image {
  97. border: 1px solid rgba(0, 0, 0, 0.1);
  98. }
  99. /*--------------
  100. Circular
  101. ---------------*/
  102. .ui.circular.images,
  103. .ui.circular.image {
  104. overflow: hidden;
  105. }
  106. .ui.circular.images .image,
  107. .ui.circular.images img,
  108. .ui.circular.images svg,
  109. .ui.circular.image img,
  110. .ui.circular.image svg,
  111. .ui.circular.image {
  112. border-radius: 500rem;
  113. }
  114. /*--------------
  115. Fluid
  116. ---------------*/
  117. .ui.fluid.images,
  118. .ui.fluid.image,
  119. .ui.fluid.images img,
  120. .ui.fluid.images svg,
  121. .ui.fluid.image svg,
  122. .ui.fluid.image img {
  123. display: block;
  124. width: 100%;
  125. }
  126. /*--------------
  127. Avatar
  128. ---------------*/
  129. .ui.avatar.images .image,
  130. .ui.avatar.images img,
  131. .ui.avatar.images svg,
  132. .ui.avatar.image img,
  133. .ui.avatar.image svg,
  134. .ui.avatar.image {
  135. margin-right: 0.25em;
  136. display: inline-block;
  137. width: 2.5em;
  138. height: 2.5em;
  139. border-radius: 500rem;
  140. }
  141. /*-------------------
  142. Floated
  143. --------------------*/
  144. .ui.floated.image,
  145. .ui.floated.images {
  146. float: left;
  147. margin-right: 1em;
  148. margin-bottom: 1em;
  149. }
  150. .ui.right.floated.images,
  151. .ui.right.floated.image {
  152. float: right;
  153. margin-right: 0em;
  154. margin-bottom: 1em;
  155. margin-left: 1em;
  156. }
  157. .ui.floated.images:last-child,
  158. .ui.floated.image:last-child {
  159. margin-bottom: 0em;
  160. }
  161. .ui.centered.images,
  162. .ui.centered.image {
  163. margin-left: auto;
  164. margin-right: auto;
  165. }
  166. /*--------------
  167. Sizes
  168. ---------------*/
  169. .ui.mini.images .image,
  170. .ui.mini.images img,
  171. .ui.mini.images svg,
  172. .ui.mini.image {
  173. width: 20px;
  174. font-size: 0.71428571rem;
  175. }
  176. .ui.tiny.images .image,
  177. .ui.tiny.images img,
  178. .ui.tiny.images svg,
  179. .ui.tiny.image {
  180. width: 80px;
  181. font-size: 0.85714286rem;
  182. }
  183. .ui.small.images .image,
  184. .ui.small.images img,
  185. .ui.small.images svg,
  186. .ui.small.image {
  187. width: 150px;
  188. font-size: 0.92857143rem;
  189. }
  190. .ui.medium.images .image,
  191. .ui.medium.images img,
  192. .ui.medium.images svg,
  193. .ui.medium.image {
  194. width: 300px;
  195. font-size: 1rem;
  196. }
  197. .ui.large.images .image,
  198. .ui.large.images img,
  199. .ui.large.images svg,
  200. .ui.large.image {
  201. width: 450px;
  202. font-size: 1.14285714rem;
  203. }
  204. .ui.big.images .image,
  205. .ui.big.images img,
  206. .ui.big.images svg,
  207. .ui.big.image {
  208. width: 600px;
  209. font-size: 1.28571429rem;
  210. }
  211. .ui.huge.images .image,
  212. .ui.huge.images img,
  213. .ui.huge.images svg,
  214. .ui.huge.image {
  215. width: 800px;
  216. font-size: 1.42857143rem;
  217. }
  218. .ui.massive.images .image,
  219. .ui.massive.images img,
  220. .ui.massive.images svg,
  221. .ui.massive.image {
  222. width: 960px;
  223. font-size: 1.71428571rem;
  224. }
  225. /*******************************
  226. Groups
  227. *******************************/
  228. .ui.images {
  229. font-size: 0em;
  230. margin: 0em -0.25rem 0rem;
  231. }
  232. .ui.images .image,
  233. .ui.images img,
  234. .ui.images svg {
  235. display: inline-block;
  236. margin: 0em 0.25rem 0.5rem;
  237. }
  238. /*******************************
  239. Theme Overrides
  240. *******************************/
  241. /*******************************
  242. Site Overrides
  243. *******************************/