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.

460 lines
8.1 KiB

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