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.

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