item.css 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462
  1. /*!
  2. * # Semantic UI 2.5.0 - Item
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Released under the MIT license
  7. * http://opensource.org/licenses/MIT
  8. *
  9. */
  10. /*******************************
  11. Standard
  12. *******************************/
  13. /*--------------
  14. Item
  15. ---------------*/
  16. .ui.items > .item {
  17. display: flex;
  18. margin: 1em 0em;
  19. width: 100%;
  20. min-height: 0px;
  21. background: transparent;
  22. padding: 0em;
  23. border: none;
  24. border-radius: 0rem;
  25. box-shadow: none;
  26. transition: box-shadow 0.1s ease;
  27. z-index: '';
  28. }
  29. .ui.items > .item a {
  30. cursor: pointer;
  31. }
  32. /*--------------
  33. Items
  34. ---------------*/
  35. .ui.items {
  36. margin: 1.5em 0em;
  37. }
  38. .ui.items:first-child {
  39. margin-top: 0em !important;
  40. }
  41. .ui.items:last-child {
  42. margin-bottom: 0em !important;
  43. }
  44. /*--------------
  45. Item
  46. ---------------*/
  47. .ui.items > .item:after {
  48. display: block;
  49. content: ' ';
  50. height: 0px;
  51. clear: both;
  52. overflow: hidden;
  53. visibility: hidden;
  54. }
  55. .ui.items > .item:first-child {
  56. margin-top: 0em;
  57. }
  58. .ui.items > .item:last-child {
  59. margin-bottom: 0em;
  60. }
  61. /*--------------
  62. Images
  63. ---------------*/
  64. .ui.items > .item > .image {
  65. position: relative;
  66. flex: 0 0 auto;
  67. display: block;
  68. float: none;
  69. margin: 0em;
  70. padding: 0em;
  71. max-height: '';
  72. align-self: top;
  73. }
  74. .ui.items > .item > .image > img {
  75. display: block;
  76. width: 100%;
  77. height: auto;
  78. border-radius: 0.125rem;
  79. border: none;
  80. }
  81. .ui.items > .item > .image:only-child > img {
  82. border-radius: 0rem;
  83. }
  84. /*--------------
  85. Content
  86. ---------------*/
  87. .ui.items > .item > .content {
  88. display: block;
  89. flex: 1 1 auto;
  90. background: none;
  91. margin: 0em;
  92. padding: 0em;
  93. box-shadow: none;
  94. font-size: 1em;
  95. border: none;
  96. border-radius: 0em;
  97. }
  98. .ui.items > .item > .content:after {
  99. display: block;
  100. content: ' ';
  101. height: 0px;
  102. clear: both;
  103. overflow: hidden;
  104. visibility: hidden;
  105. }
  106. .ui.items > .item > .image + .content {
  107. min-width: 0;
  108. width: auto;
  109. display: block;
  110. margin-left: 0em;
  111. align-self: top;
  112. padding-left: 1.5em;
  113. }
  114. .ui.items > .item > .content > .header {
  115. display: inline-block;
  116. margin: -0.21425em 0em 0em;
  117. font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  118. font-weight: bold;
  119. color: rgba(0, 0, 0, 0.85);
  120. }
  121. /* Default Header Size */
  122. .ui.items > .item > .content > .header:not(.ui) {
  123. font-size: 1.28571429em;
  124. }
  125. /*--------------
  126. Floated
  127. ---------------*/
  128. .ui.items > .item [class*="left floated"] {
  129. float: left;
  130. }
  131. .ui.items > .item [class*="right floated"] {
  132. float: right;
  133. }
  134. /*--------------
  135. Content Image
  136. ---------------*/
  137. .ui.items > .item .content img {
  138. align-self: middle;
  139. width: '';
  140. }
  141. .ui.items > .item img.avatar,
  142. .ui.items > .item .avatar img {
  143. width: '';
  144. height: '';
  145. border-radius: 500rem;
  146. }
  147. /*--------------
  148. Description
  149. ---------------*/
  150. .ui.items > .item > .content > .description {
  151. margin-top: 0.6em;
  152. max-width: auto;
  153. font-size: 1em;
  154. line-height: 1.4285em;
  155. color: rgba(0, 0, 0, 0.87);
  156. }
  157. /*--------------
  158. Paragraph
  159. ---------------*/
  160. .ui.items > .item > .content p {
  161. margin: 0em 0em 0.5em;
  162. }
  163. .ui.items > .item > .content p:last-child {
  164. margin-bottom: 0em;
  165. }
  166. /*--------------
  167. Meta
  168. ---------------*/
  169. .ui.items > .item .meta {
  170. margin: 0.5em 0em 0.5em;
  171. font-size: 1em;
  172. line-height: 1em;
  173. color: rgba(0, 0, 0, 0.6);
  174. }
  175. .ui.items > .item .meta * {
  176. margin-right: 0.3em;
  177. }
  178. .ui.items > .item .meta :last-child {
  179. margin-right: 0em;
  180. }
  181. .ui.items > .item .meta [class*="right floated"] {
  182. margin-right: 0em;
  183. margin-left: 0.3em;
  184. }
  185. /*--------------
  186. Links
  187. ---------------*/
  188. /* Generic */
  189. .ui.items > .item > .content a:not(.ui) {
  190. color: '';
  191. transition: color 0.1s ease;
  192. }
  193. .ui.items > .item > .content a:not(.ui):hover {
  194. color: '';
  195. }
  196. /* Header */
  197. .ui.items > .item > .content > a.header {
  198. color: rgba(0, 0, 0, 0.85);
  199. }
  200. .ui.items > .item > .content > a.header:hover {
  201. color: #1e70bf;
  202. }
  203. /* Meta */
  204. .ui.items > .item .meta > a:not(.ui) {
  205. color: rgba(0, 0, 0, 0.4);
  206. }
  207. .ui.items > .item .meta > a:not(.ui):hover {
  208. color: rgba(0, 0, 0, 0.87);
  209. }
  210. /*--------------
  211. Labels
  212. ---------------*/
  213. /*-----Star----- */
  214. /* Icon */
  215. .ui.items > .item > .content .favorite.icon {
  216. cursor: pointer;
  217. opacity: 0.75;
  218. transition: color 0.1s ease;
  219. }
  220. .ui.items > .item > .content .favorite.icon:hover {
  221. opacity: 1;
  222. color: #FFB70A;
  223. }
  224. .ui.items > .item > .content .active.favorite.icon {
  225. color: #FFE623;
  226. }
  227. /*-----Like----- */
  228. /* Icon */
  229. .ui.items > .item > .content .like.icon {
  230. cursor: pointer;
  231. opacity: 0.75;
  232. transition: color 0.1s ease;
  233. }
  234. .ui.items > .item > .content .like.icon:hover {
  235. opacity: 1;
  236. color: #FF2733;
  237. }
  238. .ui.items > .item > .content .active.like.icon {
  239. color: #FF2733;
  240. }
  241. /*----------------
  242. Extra Content
  243. -----------------*/
  244. .ui.items > .item .extra {
  245. display: block;
  246. position: relative;
  247. background: none;
  248. margin: 0.5rem 0em 0em;
  249. width: 100%;
  250. padding: 0em 0em 0em;
  251. top: 0em;
  252. left: 0em;
  253. color: rgba(0, 0, 0, 0.4);
  254. box-shadow: none;
  255. transition: color 0.1s ease;
  256. border-top: none;
  257. }
  258. .ui.items > .item .extra > * {
  259. margin: 0.25rem 0.5rem 0.25rem 0em;
  260. }
  261. .ui.items > .item .extra > [class*="right floated"] {
  262. margin: 0.25rem 0em 0.25rem 0.5rem;
  263. }
  264. .ui.items > .item .extra:after {
  265. display: block;
  266. content: ' ';
  267. height: 0px;
  268. clear: both;
  269. overflow: hidden;
  270. visibility: hidden;
  271. }
  272. /*******************************
  273. Responsive
  274. *******************************/
  275. /* Default Image Width */
  276. .ui.items > .item > .image:not(.ui) {
  277. width: 175px;
  278. }
  279. /* Tablet Only */
  280. @media only screen and (min-width: 768px) and (max-width: 991px) {
  281. .ui.items > .item {
  282. margin: 1em 0em;
  283. }
  284. .ui.items > .item > .image:not(.ui) {
  285. width: 150px;
  286. }
  287. .ui.items > .item > .image + .content {
  288. display: block;
  289. padding: 0em 0em 0em 1em;
  290. }
  291. }
  292. /* Mobile Only */
  293. @media only screen and (max-width: 767px) {
  294. .ui.items:not(.unstackable) > .item {
  295. flex-direction: column;
  296. margin: 2em 0em;
  297. }
  298. .ui.items:not(.unstackable) > .item > .image {
  299. display: block;
  300. margin-left: auto;
  301. margin-right: auto;
  302. }
  303. .ui.items:not(.unstackable) > .item > .image,
  304. .ui.items:not(.unstackable) > .item > .image > img {
  305. max-width: 100% !important;
  306. width: auto !important;
  307. max-height: 250px !important;
  308. }
  309. .ui.items:not(.unstackable) > .item > .image + .content {
  310. display: block;
  311. padding: 1.5em 0em 0em;
  312. }
  313. }
  314. /*******************************
  315. Variations
  316. *******************************/
  317. /*-------------------
  318. Aligned
  319. --------------------*/
  320. .ui.items > .item > .image + [class*="top aligned"].content {
  321. align-self: flex-start;
  322. }
  323. .ui.items > .item > .image + [class*="middle aligned"].content {
  324. align-self: center;
  325. }
  326. .ui.items > .item > .image + [class*="bottom aligned"].content {
  327. align-self: flex-end;
  328. }
  329. /*--------------
  330. Relaxed
  331. ---------------*/
  332. .ui.relaxed.items > .item {
  333. margin: 1.5em 0em;
  334. }
  335. .ui[class*="very relaxed"].items > .item {
  336. margin: 2em 0em;
  337. }
  338. /*-------------------
  339. Divided
  340. --------------------*/
  341. .ui.divided.items > .item {
  342. border-top: 1px solid rgba(34, 36, 38, 0.15);
  343. margin: 0em;
  344. padding: 1em 0em;
  345. }
  346. .ui.divided.items > .item:first-child {
  347. border-top: none;
  348. margin-top: 0em !important;
  349. padding-top: 0em !important;
  350. }
  351. .ui.divided.items > .item:last-child {
  352. margin-bottom: 0em !important;
  353. padding-bottom: 0em !important;
  354. }
  355. /* Relaxed Divided */
  356. .ui.relaxed.divided.items > .item {
  357. margin: 0em;
  358. padding: 1.5em 0em;
  359. }
  360. .ui[class*="very relaxed"].divided.items > .item {
  361. margin: 0em;
  362. padding: 2em 0em;
  363. }
  364. /*-------------------
  365. Link
  366. --------------------*/
  367. .ui.items a.item:hover,
  368. .ui.link.items > .item:hover {
  369. cursor: pointer;
  370. }
  371. .ui.items a.item:hover .content .header,
  372. .ui.link.items > .item:hover .content .header {
  373. color: #1e70bf;
  374. }
  375. /*--------------
  376. Size
  377. ---------------*/
  378. .ui.items > .item {
  379. font-size: 1em;
  380. }
  381. /*---------------
  382. Unstackable
  383. ----------------*/
  384. @media only screen and (max-width: 767px) {
  385. .ui.unstackable.items > .item > .image,
  386. .ui.unstackable.items > .item > .image > img {
  387. width: 125px !important;
  388. }
  389. }
  390. /*******************************
  391. Theme Overrides
  392. *******************************/
  393. /*******************************
  394. User Variable Overrides
  395. *******************************/