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.

306 lines
5.2 KiB

9 years ago
9 years ago
10 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
9 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
  1. /*!
  2. * # Semantic UI x.x - Image
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2015 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. height: auto;
  126. }
  127. /*--------------
  128. Avatar
  129. ---------------*/
  130. .ui.avatar.images .image,
  131. .ui.avatar.images img,
  132. .ui.avatar.images svg,
  133. .ui.avatar.image img,
  134. .ui.avatar.image svg,
  135. .ui.avatar.image {
  136. margin-right: 0.25em;
  137. display: inline-block;
  138. width: 2em;
  139. height: 2em;
  140. border-radius: 500rem;
  141. }
  142. /*-------------------
  143. Spaced
  144. --------------------*/
  145. .ui.spaced.image {
  146. display: inline-block !important;
  147. margin-left: 0.5em;
  148. margin-right: 0.5em;
  149. }
  150. .ui[class*="left spaced"].image {
  151. margin-left: 0.5em;
  152. margin-right: 0em;
  153. }
  154. .ui[class*="right spaced"].image {
  155. margin-left: 0em;
  156. margin-right: 0.5em;
  157. }
  158. /*-------------------
  159. Floated
  160. --------------------*/
  161. .ui.floated.image,
  162. .ui.floated.images {
  163. float: left;
  164. margin-right: 1em;
  165. margin-bottom: 1em;
  166. }
  167. .ui.right.floated.images,
  168. .ui.right.floated.image {
  169. float: right;
  170. margin-right: 0em;
  171. margin-bottom: 1em;
  172. margin-left: 1em;
  173. }
  174. .ui.floated.images:last-child,
  175. .ui.floated.image:last-child {
  176. margin-bottom: 0em;
  177. }
  178. .ui.centered.images,
  179. .ui.centered.image {
  180. margin-left: auto;
  181. margin-right: auto;
  182. }
  183. /*--------------
  184. Sizes
  185. ---------------*/
  186. .ui.mini.images .image,
  187. .ui.mini.images img,
  188. .ui.mini.images svg,
  189. .ui.mini.image {
  190. width: 35px;
  191. height: auto;
  192. font-size: 0.71428571rem;
  193. }
  194. .ui.tiny.images .image,
  195. .ui.tiny.images img,
  196. .ui.tiny.images svg,
  197. .ui.tiny.image {
  198. width: 80px;
  199. height: auto;
  200. font-size: 0.85714286rem;
  201. }
  202. .ui.small.images .image,
  203. .ui.small.images img,
  204. .ui.small.images svg,
  205. .ui.small.image {
  206. width: 150px;
  207. height: auto;
  208. font-size: 0.92857143rem;
  209. }
  210. .ui.medium.images .image,
  211. .ui.medium.images img,
  212. .ui.medium.images svg,
  213. .ui.medium.image {
  214. width: 300px;
  215. height: auto;
  216. font-size: 1rem;
  217. }
  218. .ui.large.images .image,
  219. .ui.large.images img,
  220. .ui.large.images svg,
  221. .ui.large.image {
  222. width: 450px;
  223. height: auto;
  224. font-size: 1.14285714rem;
  225. }
  226. .ui.big.images .image,
  227. .ui.big.images img,
  228. .ui.big.images svg,
  229. .ui.big.image {
  230. width: 600px;
  231. height: auto;
  232. font-size: 1.28571429rem;
  233. }
  234. .ui.huge.images .image,
  235. .ui.huge.images img,
  236. .ui.huge.images svg,
  237. .ui.huge.image {
  238. width: 800px;
  239. height: auto;
  240. font-size: 1.42857143rem;
  241. }
  242. .ui.massive.images .image,
  243. .ui.massive.images img,
  244. .ui.massive.images svg,
  245. .ui.massive.image {
  246. width: 960px;
  247. height: auto;
  248. font-size: 1.71428571rem;
  249. }
  250. /*******************************
  251. Groups
  252. *******************************/
  253. .ui.images {
  254. font-size: 0em;
  255. margin: 0em -0.25rem 0rem;
  256. }
  257. .ui.images .image,
  258. .ui.images img,
  259. .ui.images svg {
  260. display: inline-block;
  261. margin: 0em 0.25rem 0.5rem;
  262. }
  263. /*******************************
  264. Theme Overrides
  265. *******************************/
  266. /*******************************
  267. Site Overrides
  268. *******************************/