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.

548 lines
12 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
10 years ago
10 years ago
10 years ago
  1. /*
  2. * # Semantic - Item
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2014 Contributors
  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 Defaults
  38. -------------------*/
  39. /*******************************
  40. Site Settings
  41. *******************************/
  42. /*-------------------
  43. Paths
  44. --------------------*/
  45. /*-------------------
  46. Fonts
  47. --------------------*/
  48. /*-------------------
  49. Site Colors
  50. --------------------*/
  51. /*--- Colors ---*/
  52. /*--- Light Colors ---*/
  53. /*-------------------
  54. Page
  55. --------------------*/
  56. /* Used to match floats with text */
  57. /*-------------------
  58. Background Colors
  59. --------------------*/
  60. /* Used for differentiating neutrals */
  61. /* Used for differentiating layers */
  62. /*-------------------
  63. Grid
  64. --------------------*/
  65. /*-------------------
  66. Breakpoints
  67. --------------------*/
  68. /*******************************
  69. Power-User
  70. *******************************/
  71. /*-------------------
  72. Icons
  73. --------------------*/
  74. /* Max Width of Icon */
  75. /*-------------------
  76. Easing
  77. --------------------*/
  78. /*--- Neutrals ---*/
  79. /*--- Colored Backgrounds ---*/
  80. /*--- Colored Text ---*/
  81. /*--- Colored Headers ---*/
  82. /*-------------------
  83. Emotive Colors
  84. --------------------*/
  85. /* Mood */
  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. Item
  132. *******************************/
  133. /*-------------------
  134. View
  135. --------------------*/
  136. /* Group */
  137. /* Item */
  138. /* Responsive */
  139. /*-------------------
  140. Content
  141. --------------------*/
  142. /* Image */
  143. /* Content */
  144. /* Header */
  145. /* Metadata */
  146. /* Icons */
  147. /* Actions */
  148. /* Links */
  149. /* Description */
  150. /* Content Image */
  151. /* Avatar Image */
  152. /* Paragraph */
  153. /* Additional Content */
  154. /*-------------------
  155. Variations
  156. --------------------*/
  157. /* Divided */
  158. /* Sizes */
  159. /*------------------
  160. Load Theme
  161. -------------------*/
  162. /*------------------
  163. Load Site
  164. -------------------*/
  165. /*******************************
  166. User Global Variables
  167. *******************************/
  168. /*******************************
  169. User Variable Overrides
  170. *******************************/
  171. /*------------------
  172. Override Loader
  173. -------------------*/
  174. /*******************************
  175. Standard
  176. *******************************/
  177. /*--------------
  178. Item
  179. ---------------*/
  180. .ui.items > .item {
  181. table-layout: fixed;
  182. display: table;
  183. margin: 1em 0em;
  184. width: 100%;
  185. min-height: 0px;
  186. background: transparent;
  187. padding: 0em;
  188. border: none;
  189. border-radius: 0rem;
  190. box-shadow: none;
  191. -webkit-transition: box-shadow 0.2s ease;
  192. transition: box-shadow 0.2s ease;
  193. z-index: '';
  194. }
  195. .ui.items > .item a {
  196. cursor: pointer;
  197. }
  198. /*--------------
  199. Items
  200. ---------------*/
  201. .ui.items {
  202. margin: 1.5em 0em;
  203. }
  204. .ui.items:first-child {
  205. margin-top: 0em !important;
  206. }
  207. .ui.items:last-child {
  208. margin-bottom: 0em !important;
  209. }
  210. /*--------------
  211. Item
  212. ---------------*/
  213. .ui.items > .item {
  214. min-width: 100%;
  215. }
  216. .ui.items > .item:after {
  217. display: block;
  218. content: ' ';
  219. height: 0px;
  220. clear: both;
  221. overflow: hidden;
  222. visibility: hidden;
  223. }
  224. .ui.items > .item:first-child {
  225. margin-top: 0em;
  226. }
  227. .ui.items > .item:last-child {
  228. margin-bottom: 0em;
  229. }
  230. /*--------------
  231. Images
  232. ---------------*/
  233. .ui.items > .item > .image {
  234. position: relative;
  235. display: table-cell;
  236. float: none;
  237. margin: 0em;
  238. padding: 0em;
  239. max-height: '';
  240. vertical-align: top;
  241. }
  242. .ui.items > .item > .image > img {
  243. display: block;
  244. width: 100%;
  245. height: auto;
  246. border-radius: 0.125rem;
  247. border: none;
  248. }
  249. .ui.items > .item > .image:only-child > img {
  250. border-radius: 0rem;
  251. }
  252. /*--------------
  253. Content
  254. ---------------*/
  255. .ui.items > .item > .content {
  256. display: block;
  257. background: none;
  258. margin: 0em;
  259. padding: 0em;
  260. box-shadow: none;
  261. font-size: 1em;
  262. border: none;
  263. border-radius: 0em;
  264. }
  265. .ui.items > .item > .content:after {
  266. display: block;
  267. content: ' ';
  268. height: 0px;
  269. clear: both;
  270. overflow: hidden;
  271. visibility: hidden;
  272. }
  273. .ui.items > .item > .image + .content {
  274. width: 100%;
  275. display: table-cell;
  276. margin-left: 0em;
  277. vertical-align: top;
  278. padding-left: 1.5em;
  279. }
  280. .ui.items > .item > .content > .header {
  281. display: inline-block;
  282. margin: -0.165em 0em 0em;
  283. font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  284. font-weight: bold;
  285. color: rgba(0, 0, 0, 0.85);
  286. }
  287. /* Default Header Size */
  288. .ui.items > .item > .content > .header:not(.ui) {
  289. font-size: 1.2em;
  290. }
  291. .ui.items > .item > .content > .meta + .description {
  292. margin-top: 0.6em;
  293. }
  294. /*--------------
  295. Floated
  296. ---------------*/
  297. .ui.items > .item .left.floated {
  298. float: left;
  299. }
  300. .ui.items > .item [class*="right floated"] {
  301. float: right;
  302. }
  303. /*--------------
  304. Content Image
  305. ---------------*/
  306. .ui.items > .item .content img {
  307. display: inline-block;
  308. vertical-align: middle;
  309. width: 2em;
  310. }
  311. .ui.items > .item img.avatar,
  312. .ui.items > .item .avatar img {
  313. width: 2em;
  314. height: 2em;
  315. border-radius: 500rem;
  316. }
  317. /*--------------
  318. Description
  319. ---------------*/
  320. .ui.items > .item > .content > .description {
  321. max-width: 550px;
  322. font-size: 1em;
  323. line-height: 1.33;
  324. color: rgba(0, 0, 0, 0.8);
  325. }
  326. /*--------------
  327. Paragraph
  328. ---------------*/
  329. .ui.items > .item > .content p {
  330. margin: 0em 0em 0.5em;
  331. }
  332. .ui.items > .item > .content p:last-child {
  333. margin-bottom: 0em;
  334. }
  335. /*--------------
  336. Meta
  337. ---------------*/
  338. .ui.items > .item .meta {
  339. font-size: 1em;
  340. line-height: 1em;
  341. color: rgba(0, 0, 0, 0.6);
  342. }
  343. .ui.items > .item .meta * {
  344. margin-right: 0.3em;
  345. }
  346. .ui.items > .item .meta :last-child {
  347. margin-right: 0em;
  348. }
  349. .ui.items > .item .meta [class*="right floated"] {
  350. margin-right: 0em;
  351. margin-left: 0.3em;
  352. }
  353. /*--------------
  354. Links
  355. ---------------*/
  356. /* Generic */
  357. .ui.items > .item > .content a {
  358. color: #009fda;
  359. -webkit-transition: color 0.2s ease;
  360. transition: color 0.2s ease;
  361. }
  362. .ui.items > .item > .content a:hover {
  363. color: #00b2f3;
  364. }
  365. /* Header */
  366. .ui.items > .item > .content > a.header {
  367. color: rgba(0, 0, 0, 0.85);
  368. }
  369. .ui.items > .item > .content > a.header:hover {
  370. color: #00b2f3;
  371. }
  372. /* Meta */
  373. .ui.items > .item .meta a {
  374. color: rgba(0, 0, 0, 0.4);
  375. }
  376. .ui.items > .item .meta a:hover {
  377. color: rgba(0, 0, 0, 0.8);
  378. }
  379. /*--------------
  380. Labels
  381. ---------------*/
  382. /*-----Star----- */
  383. /* Icon */
  384. .ui.items > .item > .content .favorite.icon {
  385. cursor: pointer;
  386. opacity: 0.75;
  387. -webkit-transition: color 0.2s ease;
  388. transition: color 0.2s ease;
  389. }
  390. .ui.items > .item > .content .favorite.icon:hover {
  391. opacity: 1;
  392. color: #ffb70a;
  393. }
  394. .ui.items > .item > .content .active.favorite.icon {
  395. color: #ffb70a;
  396. }
  397. /*-----Like----- */
  398. /* Icon */
  399. .ui.items > .item > .content .like.icon {
  400. cursor: pointer;
  401. opacity: 0.75;
  402. -webkit-transition: color 0.2s ease;
  403. transition: color 0.2s ease;
  404. }
  405. .ui.items > .item > .content .like.icon:hover {
  406. opacity: 1;
  407. color: #ff2733;
  408. }
  409. .ui.items > .item > .content .active.like.icon {
  410. color: #ff2733;
  411. }
  412. /*----------------
  413. Extra Content
  414. -----------------*/
  415. .ui.items > .item .extra {
  416. display: block;
  417. position: relative;
  418. background: none;
  419. margin: 0.5rem 0em 0em;
  420. width: 100%;
  421. padding: 0em 0em 0em;
  422. top: 0em;
  423. left: 0em;
  424. color: rgba(0, 0, 0, 0.4);
  425. box-shadow: none;
  426. -webkit-transition: color 0.2s ease;
  427. transition: color 0.2s ease;
  428. border-top: none;
  429. }
  430. .ui.items > .item .extra > * {
  431. margin: 0.5rem 0.5rem 0em 0em;
  432. }
  433. .ui.items > .item .extra > [class*="right floated"] {
  434. margin: 0.5rem 0em 0em 0.5rem;
  435. }
  436. .ui.items > .item .extra:after {
  437. display: block;
  438. content: ' ';
  439. height: 0px;
  440. clear: both;
  441. overflow: hidden;
  442. visibility: hidden;
  443. }
  444. /*******************************
  445. Responsive
  446. *******************************/
  447. /* Default Image Width */
  448. .ui.items > .item > .image:not(.ui) {
  449. width: 175px;
  450. }
  451. /* Tablet Only */
  452. @media only screen and (min-width: 768px) and (max-width: 991px) {
  453. .ui.items > .item {
  454. margin: 1em 0em;
  455. }
  456. .ui.items > .item > .image:not(.ui) {
  457. width: 150px;
  458. }
  459. .ui.items > .item > .image + .content {
  460. display: block;
  461. padding: 0em 0em 0em 1em;
  462. }
  463. }
  464. /* Mobily Only */
  465. @media only screen and (max-width: 767px) {
  466. .ui.items > .item {
  467. margin: 2em 0em;
  468. }
  469. .ui.items > .item > .image {
  470. display: block;
  471. margin-left: auto;
  472. margin-right: auto;
  473. }
  474. .ui.items > .item > .image,
  475. .ui.items > .item > .image > img {
  476. max-width: 100% !important;
  477. width: auto !important;
  478. max-height: 250px !important;
  479. }
  480. .ui.items > .item > .image + .content {
  481. display: block;
  482. padding: 1.5em 0em 0em;
  483. }
  484. }
  485. /*******************************
  486. Variations
  487. *******************************/
  488. /*-------------------
  489. Aligned
  490. --------------------*/
  491. .ui.items > .item > .image + [class*="top aligned"].content {
  492. vertical-align: top;
  493. }
  494. .ui.items > .item > .image + [class*="middle aligned"].content {
  495. vertical-align: middle;
  496. }
  497. .ui.items > .item > .image + [class*="bottom aligned"].content {
  498. vertical-align: bottom;
  499. }
  500. /*-------------------
  501. Divided
  502. --------------------*/
  503. .ui.divided.items > .item {
  504. border-top: 1px solid rgba(0, 0, 0, 0.15);
  505. margin: 0em;
  506. padding: 1em 0em;
  507. }
  508. .ui.divided.items > .item:first-child {
  509. border-top: none;
  510. margin-top: 0em;
  511. padding-top: 0em;
  512. }
  513. .ui.divided.items > .item:last-child {
  514. margin-bottom: 0em;
  515. padding-bottom: 0em;
  516. }
  517. /*-------------------
  518. Link
  519. --------------------*/
  520. .ui.items a.item:hover,
  521. .ui.link.items > .item:hover {
  522. cursor: pointer;
  523. }
  524. .ui.items a.item:hover .content .header,
  525. .ui.link.items > .item:hover .content .header {
  526. color: #00b2f3;
  527. }
  528. /*--------------
  529. Size
  530. ---------------*/
  531. .ui.items > .item {
  532. font-size: 1em;
  533. }
  534. /*******************************
  535. Overrides
  536. *******************************/
  537. /*******************************
  538. User Variable Overrides
  539. *******************************/