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.

275 lines
4.7 KiB

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