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.

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