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.

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