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.

476 lines
8.8 KiB

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