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.

549 lines
13 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
11 years ago
10 years ago
10 years ago
  1. /*
  2. * # Semantic - Segment
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2013 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 Default
  38. -------------------*/
  39. /*******************************
  40. Site Variables
  41. *******************************/
  42. /*-------------------
  43. Paths
  44. --------------------*/
  45. /*-------------------
  46. Page
  47. --------------------*/
  48. /*-------------------
  49. Grid
  50. --------------------*/
  51. /*-------------------
  52. Breakpoints
  53. --------------------*/
  54. /*-------------------
  55. Fonts
  56. --------------------*/
  57. /*-------------------
  58. Icons
  59. --------------------*/
  60. /* Max Width of Icon */
  61. /*-------------------
  62. Easing
  63. --------------------*/
  64. /*******************************
  65. BG Colors
  66. *******************************/
  67. /*******************************
  68. Colors
  69. *******************************/
  70. /*--- Colors ---*/
  71. /*--- Neutrals ---*/
  72. /*--- Text Colors ---*/
  73. /* Preserve */
  74. /* Adjust for Legibility */
  75. /*--- Backgrounds ---*/
  76. /*-------------------
  77. Emotive Colors
  78. --------------------*/
  79. /* Positive / Negative */
  80. /* Messages */
  81. /*-------------------
  82. Text Colors
  83. --------------------*/
  84. /*-------------------
  85. Brand Colors
  86. --------------------*/
  87. /*-------------------
  88. Borders
  89. --------------------*/
  90. /*-------------------
  91. Sizes
  92. --------------------*/
  93. /*-------------------
  94. Transitions
  95. --------------------*/
  96. /*******************************
  97. States
  98. *******************************/
  99. /*-------------------
  100. Disabled
  101. --------------------*/
  102. /*-------------------
  103. Hover
  104. --------------------*/
  105. /*--- Colors ---*/
  106. /*--- Emotive ---*/
  107. /*--- Neutrals ---*/
  108. /*-------------------
  109. Down (:active)
  110. --------------------*/
  111. /*--- Colors ---*/
  112. /*--- Emotive ---*/
  113. /*--- Neutrals ---*/
  114. /*-------------------
  115. Active
  116. --------------------*/
  117. /*--- Standard ---*/
  118. /*--- Emotive ---*/
  119. /*--- Neutrals ---*/
  120. /*******************************
  121. Segment
  122. *******************************/
  123. /*-------------------
  124. Element
  125. --------------------*/
  126. /*-------------------
  127. Coupling
  128. --------------------*/
  129. /* Page Grid Segment */
  130. /*******************************
  131. Variations
  132. *******************************/
  133. /* Piled */
  134. /* Circular */
  135. /* Stacked */
  136. /* Raised */
  137. /* Colors */
  138. /* Ordinality */
  139. /*------------------
  140. Load Theme
  141. -------------------*/
  142. /*------------------
  143. Load Site
  144. -------------------*/
  145. /*******************************
  146. User Global Variables
  147. *******************************/
  148. /*******************************
  149. User Variable Overrides
  150. *******************************/
  151. /*------------------
  152. Override Mix-in
  153. -------------------*/
  154. /*******************************
  155. Segment
  156. *******************************/
  157. .ui.segment {
  158. position: relative;
  159. background-color: #ffffff;
  160. -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
  161. box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
  162. margin: 1em 0em;
  163. padding: 1em 1em;
  164. border-radius: 0.25em;
  165. border: none;
  166. -webkit-box-sizing: border-box;
  167. box-sizing: border-box;
  168. }
  169. .ui.segment:first-child {
  170. margin-top: 0em;
  171. }
  172. .ui.segment:last-child {
  173. margin-bottom: 0em;
  174. }
  175. .ui.segment:after {
  176. content: '';
  177. display: block;
  178. height: 0px;
  179. clear: both;
  180. visibility: hidden;
  181. }
  182. .ui.vertical.segment {
  183. margin: 0em;
  184. padding-left: 0em;
  185. padding-right: 0em;
  186. background-color: transparent;
  187. border-radius: 0px;
  188. border: none;
  189. -webkit-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
  190. box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
  191. }
  192. .ui.vertical.segment:first-child {
  193. padding-top: 0em;
  194. }
  195. .ui.horizontal.segment {
  196. margin: 0em;
  197. padding-top: 0em;
  198. padding-bottom: 0em;
  199. background-color: transparent;
  200. border-radius: 0px;
  201. border: none;
  202. -webkit-box-shadow: 1px 0px 0px rgba(0, 0, 0, 0.1);
  203. box-shadow: 1px 0px 0px rgba(0, 0, 0, 0.1);
  204. }
  205. .ui.horizontal.segment:first-child {
  206. padding-left: 0em;
  207. }
  208. /*-------------------
  209. Loose Coupling
  210. --------------------*/
  211. .ui.pointing.menu + .ui.attached.segment {
  212. top: 1px;
  213. }
  214. .ui.page.grid.segment,
  215. .ui.grid .ui.segment.column {
  216. padding-top: 2em;
  217. padding-bottom: 2em;
  218. }
  219. .ui.grid.segment,
  220. .ui.grid .ui.segment.row,
  221. .ui.grid .ui.segment.column {
  222. border-radius: 0em;
  223. -webkit-box-shadow: none;
  224. box-shadow: none;
  225. border: none;
  226. }
  227. /* No padding on edge content */
  228. .ui.segment > :first-child {
  229. margin-top: 0em;
  230. }
  231. .ui.segment > :last-child {
  232. margin-bottom: 0em;
  233. }
  234. /*******************************
  235. Types
  236. *******************************/
  237. /*-------------------
  238. Piled
  239. --------------------*/
  240. .ui.piled.segment {
  241. margin: 2em 0em;
  242. -webkit-box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.1);
  243. box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.1);
  244. }
  245. .ui.piled.segment:first-child {
  246. margin-top: 0em;
  247. }
  248. .ui.piled.segment:last-child {
  249. margin-bottom: 0em;
  250. }
  251. .ui.piled.segment:after,
  252. .ui.piled.segment:before {
  253. background-color: #ffffff;
  254. visibility: visible;
  255. content: "";
  256. display: block;
  257. height: 100%;
  258. left: -1px;
  259. position: absolute;
  260. width: 100%;
  261. -webkit-box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.1);
  262. box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.1);
  263. }
  264. .ui.piled.segment:after {
  265. -webkit-transform: rotate(1.2deg);
  266. -ms-transform: rotate(1.2deg);
  267. transform: rotate(1.2deg);
  268. top: 0;
  269. z-index: -1;
  270. }
  271. .ui.piled.segment:before {
  272. -webkit-transform: rotate(-1.2deg);
  273. -ms-transform: rotate(-1.2deg);
  274. transform: rotate(-1.2deg);
  275. top: 0;
  276. z-index: -2;
  277. }
  278. /*-------------------
  279. Stacked
  280. --------------------*/
  281. .ui.stacked.segment {
  282. padding-bottom: 1.7em;
  283. }
  284. .ui.stacked.segment:after,
  285. .ui.stacked.segment:before {
  286. content: '';
  287. position: absolute;
  288. bottom: -3px;
  289. left: 0%;
  290. border-top: 1px solid rgba(0, 0, 0, 0.1);
  291. background-color: rgba(0, 0, 0, 0.01);
  292. width: 100%;
  293. height: 5px;
  294. visibility: visible;
  295. }
  296. .ui.stacked.segment:before {
  297. bottom: 0px;
  298. }
  299. /* Inverted */
  300. .ui.stacked.inverted.segment:after,
  301. .ui.stacked.inverted.segment:before {
  302. background-color: rgba(0, 0, 0, 0.01);
  303. border-top: 1px solid rgba(0, 0, 0, 0.2);
  304. }
  305. /*-------------------
  306. Circular
  307. --------------------*/
  308. .ui.circular.segment {
  309. display: table-cell;
  310. padding: 2em;
  311. text-align: center;
  312. vertical-align: middle;
  313. border-radius: 500em;
  314. }
  315. /*-------------------
  316. Raised
  317. --------------------*/
  318. .ui.raised.segment {
  319. -webkit-box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.1);
  320. box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.1);
  321. }
  322. /*******************************
  323. States
  324. *******************************/
  325. .ui.disabled.segment {
  326. opacity: 0.3;
  327. color: rgba(0, 0, 0, 0.2);
  328. }
  329. /*******************************
  330. Variations
  331. *******************************/
  332. /*-------------------
  333. Basic
  334. --------------------*/
  335. .ui.basic.segment {
  336. position: relative;
  337. background-color: transparent;
  338. -webkit-box-shadow: none;
  339. box-shadow: none;
  340. border-radius: 0px;
  341. }
  342. .ui.basic.segment:first-child {
  343. padding-top: 0em;
  344. }
  345. .ui.basic.segment:last-child {
  346. padding-bottom: 0em;
  347. }
  348. /*-------------------
  349. Fittted
  350. --------------------*/
  351. .ui.fitted.segment {
  352. padding: 0em;
  353. }
  354. /*-------------------
  355. Colors
  356. --------------------*/
  357. .ui.black.segment {
  358. border-top: 0.2em solid #333333;
  359. border-radius: 0em;
  360. }
  361. .ui.blue.segment {
  362. border-top: 0.2em solid #0074d9;
  363. border-radius: 0em;
  364. }
  365. .ui.green.segment {
  366. border-top: 0.2em solid #2ecc40;
  367. border-radius: 0em;
  368. }
  369. .ui.orange.segment {
  370. border-top: 0.2em solid #ff851b;
  371. border-radius: 0em;
  372. }
  373. .ui.pink.segment {
  374. border-top: 0.2em solid #d9499a;
  375. border-radius: 0em;
  376. }
  377. .ui.purple.segment {
  378. border-top: 0.2em solid #564f8a;
  379. border-radius: 0em;
  380. }
  381. .ui.red.segment {
  382. border-top: 0.2em solid #ff4136;
  383. border-radius: 0em;
  384. }
  385. .ui.teal.segment {
  386. border-top: 0.2em solid #39cccc;
  387. border-radius: 0em;
  388. }
  389. .ui.yellow.segment {
  390. border-top: 0.2em solid #ffcb08;
  391. border-radius: 0em;
  392. }
  393. /*-------------------
  394. Inverted Colors
  395. --------------------*/
  396. .ui.inverted.segment,
  397. .ui.inverted.black.segment {
  398. background-color: #333333 !important;
  399. color: #ffffff !important;
  400. }
  401. .ui.inverted.blue.segment {
  402. background-color: #0074d9 !important;
  403. color: #ffffff !important;
  404. }
  405. .ui.inverted.green.segment {
  406. background-color: #2ecc40 !important;
  407. color: #ffffff !important;
  408. }
  409. .ui.inverted.orange.segment {
  410. background-color: #ff851b !important;
  411. color: #ffffff !important;
  412. }
  413. .ui.inverted.pink.segment {
  414. background-color: #d9499a !important;
  415. color: #ffffff !important;
  416. }
  417. .ui.inverted.purple.segment {
  418. background-color: #564f8a !important;
  419. color: #ffffff !important;
  420. }
  421. .ui.inverted.red.segment {
  422. background-color: #ff4136 !important;
  423. color: #ffffff !important;
  424. }
  425. .ui.inverted.teal.segment {
  426. background-color: #39cccc !important;
  427. color: #ffffff !important;
  428. }
  429. .ui.inverted.yellow.segment {
  430. background-color: #ffcb08 !important;
  431. color: #ffffff !important;
  432. }
  433. /*-------------------
  434. Aligned
  435. --------------------*/
  436. .ui.left.aligned.segment {
  437. text-align: left;
  438. }
  439. .ui.right.aligned.segment {
  440. text-align: right;
  441. }
  442. .ui.center.aligned.segment {
  443. text-align: center;
  444. }
  445. .ui.justified.segment {
  446. text-align: justify;
  447. -webkit-hyphens: auto;
  448. -moz-hyphens: auto;
  449. -ms-hyphens: auto;
  450. hyphens: auto;
  451. }
  452. /*-------------------
  453. Floated
  454. --------------------*/
  455. .ui.floated.segment,
  456. .ui.left.floated.segment {
  457. float: left;
  458. }
  459. .ui.right.floated.segment {
  460. float: right;
  461. }
  462. /*-------------------
  463. Inverted
  464. --------------------*/
  465. .ui.inverted.segment {
  466. border: none;
  467. -webkit-box-shadow: none;
  468. box-shadow: none;
  469. }
  470. .ui.inverted.segment .segment {
  471. color: rgba(0, 0, 0, 0.8);
  472. }
  473. .ui.inverted.segment .inverted.segment {
  474. color: #ffffff;
  475. }
  476. .ui.inverted.segment,
  477. .ui.primary.inverted.segment {
  478. background-color: #333333;
  479. color: #ffffff;
  480. }
  481. /*-------------------
  482. Ordinality
  483. --------------------*/
  484. .ui.secondary.segment {
  485. background-color: #faf9fa;
  486. color: rgba(0, 0, 0, 0.8);
  487. }
  488. .ui.tertiary.segment {
  489. background-color: #ebebeb;
  490. color: rgba(0, 0, 0, 0.8);
  491. }
  492. .ui.secondary.inverted.segment {
  493. background-color: #333333;
  494. background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.3)), to(rgba(255, 255, 255, 0.3)));
  495. background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%);
  496. background-image: linear-gradient(rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%);
  497. color: #fafafa;
  498. }
  499. .ui.tertiary.inverted.segment {
  500. background-color: #333333;
  501. background-image: #f0f0f0;
  502. color: #f0f0f0;
  503. }
  504. /*-------------------
  505. Attached
  506. --------------------*/
  507. .ui.segment.attached {
  508. top: -1px;
  509. bottom: -1px;
  510. margin: 0em;
  511. border-radius: 0px;
  512. -webkit-box-shadow: 0px 0px 0px 1px #dddddd;
  513. box-shadow: 0px 0px 0px 1px #dddddd;
  514. }
  515. .ui.top.attached.segment {
  516. top: 0px;
  517. bottom: -1px;
  518. margin-top: 1em;
  519. margin-bottom: 0em;
  520. border-radius: 0.25em 0.25em 0em 0em;
  521. }
  522. .ui.segment.top.attached:first-child {
  523. margin-top: 0em;
  524. }
  525. .ui.segment.bottom.attached {
  526. top: -1px;
  527. bottom: 0px;
  528. margin-top: 0em;
  529. margin-bottom: 1em;
  530. border-radius: 0px 0px 0.25em 0.25em;
  531. }
  532. .ui.segment.bottom.attached:last-child {
  533. margin-bottom: 0em;
  534. }
  535. /*******************************
  536. Overrides
  537. *******************************/
  538. /*******************************
  539. Overrides
  540. *******************************/