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.

370 lines
8.5 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
  1. /*
  2. * # Semantic - Image
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2014 Contributor
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Theme
  13. *******************************/
  14. /*
  15. */
  16. /*******************************
  17. Folders
  18. *******************************/
  19. /* Path to theme packages */
  20. /* Path to site override folder */
  21. /*******************************
  22. Themes
  23. *******************************/
  24. /* To override a theme for an individual element
  25. specify theme name below
  26. Be sure to update the user folder name (see README)
  27. */
  28. /* Global */
  29. /* Elements */
  30. /* Collections */
  31. /* Modules */
  32. /* Views */
  33. /*******************************
  34. Import Directives
  35. *******************************/
  36. /*------------------
  37. Load Default
  38. -------------------*/
  39. /*******************************
  40. Site Settings
  41. *******************************/
  42. /*-------------------
  43. Paths
  44. --------------------*/
  45. /*-------------------
  46. Fonts
  47. --------------------*/
  48. /*-------------------
  49. Site Colors
  50. --------------------*/
  51. /*--- Colors ---*/
  52. /*-------------------
  53. Page
  54. --------------------*/
  55. /*-------------------
  56. Background Colors
  57. --------------------*/
  58. /* Used for differentiating neutrals */
  59. /* Used for differentiating layers */
  60. /*-------------------
  61. Grid
  62. --------------------*/
  63. /*-------------------
  64. Breakpoints
  65. --------------------*/
  66. /*******************************
  67. Power-User
  68. *******************************/
  69. /*-------------------
  70. Icons
  71. --------------------*/
  72. /* Max Width of Icon */
  73. /*-------------------
  74. Easing
  75. --------------------*/
  76. /*--- Light Variations ---*/
  77. /*--- Neutrals ---*/
  78. /*--- Colored Backgrounds ---*/
  79. /*--- Colored Text ---*/
  80. /*--- Colored Headers ---*/
  81. /*-------------------
  82. Emotive Colors
  83. --------------------*/
  84. /* Mood */
  85. /* Solid Background Color */
  86. /* Status */
  87. /* Darkened Headers */
  88. /*-------------------
  89. Neutral Text
  90. --------------------*/
  91. /*-------------------
  92. Brand Colors
  93. --------------------*/
  94. /*-------------------
  95. Grid Columns
  96. --------------------*/
  97. /*-------------------
  98. Borders
  99. --------------------*/
  100. /*-------------------
  101. Sizes
  102. --------------------*/
  103. /*-------------------
  104. Transitions
  105. --------------------*/
  106. /*******************************
  107. States
  108. *******************************/
  109. /*-------------------
  110. Disabled
  111. --------------------*/
  112. /*-------------------
  113. Hover
  114. --------------------*/
  115. /*--- Colors ---*/
  116. /*--- Emotive ---*/
  117. /*--- Neutrals ---*/
  118. /*-------------------
  119. Down (:active)
  120. --------------------*/
  121. /*--- Colors ---*/
  122. /*--- Emotive ---*/
  123. /*--- Neutrals ---*/
  124. /*-------------------
  125. Active
  126. --------------------*/
  127. /*--- Standard ---*/
  128. /*--- Emotive ---*/
  129. /*--- Neutrals ---*/
  130. /*******************************
  131. Image
  132. *******************************/
  133. /*-------------------
  134. Element
  135. --------------------*/
  136. /*-------------------
  137. Types
  138. --------------------*/
  139. /* Avatar */
  140. /*-------------------
  141. Variations
  142. --------------------*/
  143. /* Floated */
  144. /* Sizing */
  145. /* Size */
  146. /*------------------
  147. Load Theme
  148. -------------------*/
  149. /*------------------
  150. Load Site
  151. -------------------*/
  152. /*******************************
  153. User Global Variables
  154. *******************************/
  155. /*******************************
  156. User Variable Overrides
  157. *******************************/
  158. /*------------------
  159. Override Mix-in
  160. -------------------*/
  161. /*******************************
  162. Image
  163. *******************************/
  164. .ui.image {
  165. position: relative;
  166. display: inline-block;
  167. vertical-align: middle;
  168. max-width: 100%;
  169. background-color: transparent;
  170. }
  171. img.ui.image {
  172. display: block;
  173. background: none;
  174. }
  175. .ui.image img {
  176. display: block;
  177. max-width: 100%;
  178. height: auto;
  179. }
  180. /*******************************
  181. States
  182. *******************************/
  183. .ui.disabled.image {
  184. cursor: default;
  185. opacity: 0.3;
  186. }
  187. /*******************************
  188. Variations
  189. *******************************/
  190. /*--------------
  191. Inline
  192. ---------------*/
  193. .ui.inline.image,
  194. .ui.inline.image img {
  195. display: inline-block;
  196. }
  197. /*------------------
  198. Vertical Aligned
  199. -------------------*/
  200. .ui.top.aligned.images .image,
  201. .ui.top.aligned.image,
  202. .ui.top.aligned.image img {
  203. display: inline-block;
  204. vertical-align: top;
  205. }
  206. .ui.middle.aligned.images .image,
  207. .ui.middle.aligned.image,
  208. .ui.middle.aligned.image img {
  209. display: inline-block;
  210. vertical-align: middle;
  211. }
  212. .ui.bottom.aligned.images .image,
  213. .ui.bottom.aligned.image,
  214. .ui.bottom.aligned.image img {
  215. display: inline-block;
  216. vertical-align: bottom;
  217. }
  218. /*--------------
  219. Rounded
  220. ---------------*/
  221. .ui.rounded.images .image,
  222. .ui.rounded.images img,
  223. .ui.rounded.image img,
  224. .ui.rounded.image {
  225. border-radius: 0.3125em;
  226. }
  227. /*--------------
  228. Bordered
  229. ---------------*/
  230. .ui.bordered.images .image,
  231. .ui.bordered.images img,
  232. .ui.bordered.image img,
  233. img.ui.bordered.image {
  234. border: 1px solid rgba(0, 0, 0, 0.1);
  235. }
  236. /*--------------
  237. Circular
  238. ---------------*/
  239. .ui.circular.images .image,
  240. .ui.circular.images img,
  241. .ui.circular.image img,
  242. .ui.circular.image {
  243. border-radius: 500rem;
  244. }
  245. /*--------------
  246. Fluid
  247. ---------------*/
  248. .ui.fluid.images,
  249. .ui.fluid.image,
  250. .ui.fluid.images img,
  251. .ui.fluid.image img {
  252. display: block;
  253. width: 100%;
  254. }
  255. /*--------------
  256. Avatar
  257. ---------------*/
  258. .ui.avatar.images .image,
  259. .ui.avatar.images img,
  260. .ui.avatar.image img,
  261. .ui.avatar.image {
  262. margin-right: 0.25rem;
  263. display: inline-block;
  264. width: 2.5em;
  265. height: 2.5em;
  266. border-radius: 500rem;
  267. }
  268. /*-------------------
  269. Floated
  270. --------------------*/
  271. .ui.floated.image,
  272. .ui.floated.images {
  273. float: left;
  274. margin-right: 1em;
  275. margin-bottom: 1em;
  276. }
  277. .ui.right.floated.images,
  278. .ui.right.floated.image {
  279. float: right;
  280. margin-right: 0em;
  281. margin-bottom: 1em;
  282. margin-left: 1em;
  283. }
  284. .ui.floated.images:last-child,
  285. .ui.floated.image:last-child {
  286. margin-bottom: 0em;
  287. }
  288. .ui.centered.images,
  289. .ui.centered.image {
  290. margin-left: auto;
  291. margin-right: auto;
  292. }
  293. /*--------------
  294. Sizes
  295. ---------------*/
  296. .ui.mini.images .image,
  297. .ui.mini.images img,
  298. .ui.mini.image {
  299. width: 20px;
  300. font-size: 0.7em;
  301. }
  302. .ui.tiny.images .image,
  303. .ui.tiny.images img,
  304. .ui.tiny.image {
  305. width: 80px;
  306. font-size: 0.8em;
  307. }
  308. .ui.small.images .image,
  309. .ui.small.images img,
  310. .ui.small.image {
  311. width: 150px;
  312. font-size: 0.875em;
  313. }
  314. .ui.medium.images .image,
  315. .ui.medium.images img,
  316. .ui.medium.image {
  317. width: 300px;
  318. font-size: 1em;
  319. }
  320. .ui.large.images .image,
  321. .ui.large.images img,
  322. .ui.large.image {
  323. width: 450px;
  324. font-size: 1.125em;
  325. }
  326. .ui.big.images .image,
  327. .ui.big.images img,
  328. .ui.big.image {
  329. width: 600px;
  330. font-size: 1.25em;
  331. }
  332. .ui.huge.images .image,
  333. .ui.huge.images img,
  334. .ui.huge.image {
  335. width: 800px;
  336. font-size: 1.375em;
  337. }
  338. .ui.massive.images .image,
  339. .ui.massive.images img,
  340. .ui.massive.image {
  341. width: 960px;
  342. font-size: 1.5em;
  343. }
  344. /*******************************
  345. Groups
  346. *******************************/
  347. .ui.images {
  348. font-size: 0em;
  349. margin: 0em -0.25rem 0rem;
  350. }
  351. .ui.images .image,
  352. .ui.images img {
  353. display: inline-block;
  354. margin: 0em 0.25rem 0.5rem;
  355. }
  356. /*******************************
  357. Overrides
  358. *******************************/
  359. /*******************************
  360. Overrides
  361. *******************************/