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.

726 lines
15 KiB

9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
10 years ago
  1. /*!
  2. * # Semantic UI 2.0.0 - Segment
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2015 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Segment
  13. *******************************/
  14. .ui.segment {
  15. position: relative;
  16. background-color: #ffffff;
  17. box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
  18. margin: 1rem 0em;
  19. padding: 1em 1em;
  20. border-radius: 0.28571429rem;
  21. border: 1px solid rgba(34, 36, 38, 0.15);
  22. }
  23. .ui.segment:first-child {
  24. margin-top: 0em;
  25. }
  26. .ui.segment:last-child {
  27. margin-bottom: 0em;
  28. }
  29. /* Vertical */
  30. .ui.vertical.segment {
  31. margin: 0em;
  32. padding-left: 0em;
  33. padding-right: 0em;
  34. background-color: transparent;
  35. border-radius: 0px;
  36. box-shadow: none;
  37. border: none;
  38. border-bottom: 1px solid rgba(34, 36, 38, 0.15);
  39. }
  40. .ui.vertical.segment:last-child {
  41. border-bottom: none;
  42. }
  43. /*-------------------
  44. Loose Coupling
  45. --------------------*/
  46. /* Header */
  47. .ui.inverted.segment > .ui.header {
  48. color: #ffffff;
  49. }
  50. /* Label */
  51. .ui[class*="bottom attached"].segment > [class*="top attached"].label {
  52. border-top-left-radius: 0em;
  53. border-top-right-radius: 0em;
  54. }
  55. .ui[class*="top attached"].segment > [class*="bottom attached"].label {
  56. border-bottom-left-radius: 0em;
  57. border-bottom-right-radius: 0em;
  58. }
  59. .ui.attached.segment:not(.top):not(.bottom) > [class*="top attached"].label {
  60. border-top-left-radius: 0em;
  61. border-top-right-radius: 0em;
  62. }
  63. .ui.attached.segment:not(.top):not(.bottom) > [class*="bottom attached"].label {
  64. border-bottom-left-radius: 0em;
  65. border-bottom-right-radius: 0em;
  66. }
  67. /* Grid */
  68. .ui.page.grid.segment,
  69. .ui.grid .ui.segment.column {
  70. padding-top: 2em;
  71. padding-bottom: 2em;
  72. }
  73. .ui.grid.segment {
  74. margin: 1rem 0em;
  75. border-radius: 0.28571429rem;
  76. }
  77. /* Table */
  78. .ui.basic.table.segment {
  79. background: #ffffff;
  80. border: 1px solid rgba(34, 36, 38, 0.15);
  81. box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
  82. }
  83. .ui[class*="very basic"].table.segment {
  84. padding: 1em 1em;
  85. }
  86. /*******************************
  87. Types
  88. *******************************/
  89. /*-------------------
  90. Piled
  91. --------------------*/
  92. .ui.piled.segments,
  93. .ui.piled.segment {
  94. margin: 3em 0em;
  95. box-shadow: '';
  96. z-index: auto;
  97. }
  98. .ui.piled.segment:first-child {
  99. margin-top: 0em;
  100. }
  101. .ui.piled.segment:last-child {
  102. margin-bottom: 0em;
  103. }
  104. .ui.piled.segments:after,
  105. .ui.piled.segments:before,
  106. .ui.piled.segment:after,
  107. .ui.piled.segment:before {
  108. background-color: #ffffff;
  109. visibility: visible;
  110. content: '';
  111. display: block;
  112. height: 100%;
  113. left: 0px;
  114. position: absolute;
  115. width: 100%;
  116. border: 1px solid rgba(34, 36, 38, 0.15);
  117. box-shadow: '';
  118. }
  119. .ui.piled.segments:before,
  120. .ui.piled.segment:before {
  121. -webkit-transform: rotate(-1.2deg);
  122. -ms-transform: rotate(-1.2deg);
  123. transform: rotate(-1.2deg);
  124. top: 0;
  125. z-index: -2;
  126. }
  127. .ui.piled.segments:after,
  128. .ui.piled.segment:after {
  129. -webkit-transform: rotate(1.2deg);
  130. -ms-transform: rotate(1.2deg);
  131. transform: rotate(1.2deg);
  132. top: 0;
  133. z-index: -1;
  134. }
  135. /* Piled Attached */
  136. .ui[class*="top attached"].piled.segment {
  137. margin-top: 3em;
  138. margin-bottom: 0em;
  139. }
  140. .ui.piled.segment[class*="top attached"]:first-child {
  141. margin-top: 0em;
  142. }
  143. .ui.piled.segment[class*="bottom attached"] {
  144. margin-top: 0em;
  145. margin-bottom: 3em;
  146. }
  147. .ui.piled.segment[class*="bottom attached"]:last-child {
  148. margin-bottom: 0em;
  149. }
  150. /*-------------------
  151. Stacked
  152. --------------------*/
  153. .ui.stacked.segment {
  154. padding-bottom: 1.4em;
  155. }
  156. .ui.stacked.segments:before,
  157. .ui.stacked.segments:after,
  158. .ui.stacked.segment:before,
  159. .ui.stacked.segment:after {
  160. content: '';
  161. position: absolute;
  162. bottom: -3px;
  163. left: 0%;
  164. border-top: 1px solid rgba(34, 36, 38, 0.15);
  165. background-color: rgba(0, 0, 0, 0.03);
  166. width: 100%;
  167. height: 6px;
  168. visibility: visible;
  169. }
  170. .ui.stacked.segments:before,
  171. .ui.stacked.segment:before {
  172. display: none;
  173. }
  174. /* Add additional page */
  175. .ui.tall.stacked.segments:before,
  176. .ui.tall.stacked.segment:before {
  177. display: block;
  178. bottom: 0px;
  179. }
  180. /* Inverted */
  181. .ui.stacked.inverted.segments:before,
  182. .ui.stacked.inverted.segments:after,
  183. .ui.stacked.inverted.segment:before,
  184. .ui.stacked.inverted.segment:after {
  185. background-color: rgba(0, 0, 0, 0.03);
  186. border-top: 1px solid rgba(34, 36, 38, 0.35);
  187. }
  188. /*-------------------
  189. Padded
  190. --------------------*/
  191. .ui.padded.segment {
  192. padding: 1.5em;
  193. }
  194. .ui[class*="very padded"].segment {
  195. padding: 3em;
  196. }
  197. /*-------------------
  198. Compact
  199. --------------------*/
  200. .ui.compact.segment {
  201. display: table;
  202. }
  203. /*-------------------
  204. Circular
  205. --------------------*/
  206. .ui.circular.segment {
  207. display: table-cell;
  208. padding: 2em;
  209. text-align: center;
  210. vertical-align: middle;
  211. border-radius: 500em;
  212. }
  213. /*-------------------
  214. Raised
  215. --------------------*/
  216. .ui.raised.segments,
  217. .ui.raised.segment {
  218. box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.08);
  219. }
  220. /*******************************
  221. Groups
  222. *******************************/
  223. /* Group */
  224. .ui.segments {
  225. position: relative;
  226. margin: 1rem 0em;
  227. border: 1px solid rgba(34, 36, 38, 0.15);
  228. box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
  229. border-radius: 0.28571429rem;
  230. }
  231. .ui.segments:first-child {
  232. margin-top: 0em;
  233. }
  234. .ui.segments:last-child {
  235. margin-bottom: 0em;
  236. }
  237. /* Nested Segment */
  238. .ui.segments > .segment {
  239. top: 0px;
  240. bottom: 0px;
  241. border-radius: 0px;
  242. margin: 0em;
  243. width: auto;
  244. box-shadow: none;
  245. border: none;
  246. border-top: 1px solid rgba(34, 36, 38, 0.15);
  247. }
  248. .ui.segments:not(.horizontal) > .segment:first-child {
  249. border-top: none;
  250. margin-top: 0em;
  251. bottom: 0px;
  252. margin-bottom: 0em;
  253. top: 0px;
  254. border-radius: 0.28571429rem 0.28571429rem 0em 0em;
  255. }
  256. /* Bottom */
  257. .ui.segments:not(.horizontal) > .segment:last-child {
  258. top: 0px;
  259. bottom: 0px;
  260. margin-top: 0em;
  261. margin-bottom: 0em;
  262. box-shadow: none, 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
  263. border-radius: 0em 0em 0.28571429rem 0.28571429rem;
  264. }
  265. /* Nested Group */
  266. .ui.segments > .ui.segments {
  267. border-top: 1px solid rgba(34, 36, 38, 0.15);
  268. margin: 1rem 1rem;
  269. }
  270. .ui.segments > .segments:first-child {
  271. border-top: none;
  272. }
  273. .ui.segments > .segment + .segments:not(.horizontal) {
  274. margin-top: 0em;
  275. }
  276. /* Horizontal Group */
  277. .ui.horizontal.segments {
  278. display: -webkit-box;
  279. display: -webkit-flex;
  280. display: -ms-flexbox;
  281. display: flex;
  282. -webkit-box-orient: horizontal;
  283. -webkit-box-direction: normal;
  284. -webkit-flex-direction: row;
  285. -ms-flex-direction: row;
  286. flex-direction: row;
  287. background-color: transparent;
  288. border-radius: 0px;
  289. padding: 0em;
  290. background-color: #ffffff;
  291. box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
  292. margin: 1rem 0em;
  293. border-radius: 0.28571429rem;
  294. border: 1px solid rgba(34, 36, 38, 0.15);
  295. }
  296. /* Nested Horizontal Group */
  297. .ui.segments > .horizontal.segments {
  298. margin: 0em;
  299. background-color: transparent;
  300. border-radius: 0px;
  301. border: none;
  302. box-shadow: none;
  303. border-top: 1px solid rgba(34, 36, 38, 0.15);
  304. }
  305. /* Horizontal Segment */
  306. .ui.horizontal.segments > .segment {
  307. -webkit-box-flex: 1;
  308. -webkit-flex: 1 1 auto;
  309. -ms-flex: 1 1 auto;
  310. flex: 1 1 auto;
  311. margin: 0em;
  312. min-width: 0px;
  313. background-color: transparent;
  314. border-radius: 0px;
  315. border: none;
  316. box-shadow: none;
  317. border-left: 1px solid rgba(34, 36, 38, 0.15);
  318. }
  319. .ui.horizontal.segments > .segment:first-child {
  320. border-left: none;
  321. }
  322. /*******************************
  323. States
  324. *******************************/
  325. /*--------------
  326. Disabled
  327. ---------------*/
  328. .ui.disabled.segment {
  329. opacity: 0.45;
  330. color: rgba(40, 40, 40, 0.3);
  331. }
  332. /*--------------
  333. Loading
  334. ---------------*/
  335. .ui.loading.segment {
  336. position: relative;
  337. cursor: default;
  338. point-events: none;
  339. text-shadow: none !important;
  340. color: transparent !important;
  341. -webkit-transition: all 0s linear;
  342. transition: all 0s linear;
  343. }
  344. .ui.loading.segment:before {
  345. position: absolute;
  346. content: '';
  347. top: 0%;
  348. left: 0%;
  349. background: rgba(255, 255, 255, 0.8);
  350. width: 100%;
  351. height: 100%;
  352. border-radius: 0.28571429rem;
  353. z-index: 100;
  354. }
  355. .ui.loading.segment:after {
  356. position: absolute;
  357. content: '';
  358. top: 50%;
  359. left: 50%;
  360. margin: -1.5em 0em 0em -1.5em;
  361. width: 3em;
  362. height: 3em;
  363. -webkit-animation: segment-spin 0.6s linear;
  364. animation: segment-spin 0.6s linear;
  365. -webkit-animation-iteration-count: infinite;
  366. animation-iteration-count: infinite;
  367. border-radius: 500rem;
  368. border-color: #757676 rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1);
  369. border-style: solid;
  370. border-width: 0.2em;
  371. box-shadow: 0px 0px 0px 1px transparent;
  372. visibility: visible;
  373. z-index: 101;
  374. }
  375. @-webkit-keyframes segment-spin {
  376. from {
  377. -webkit-transform: rotate(0deg);
  378. transform: rotate(0deg);
  379. }
  380. to {
  381. -webkit-transform: rotate(360deg);
  382. transform: rotate(360deg);
  383. }
  384. }
  385. @keyframes segment-spin {
  386. from {
  387. -webkit-transform: rotate(0deg);
  388. transform: rotate(0deg);
  389. }
  390. to {
  391. -webkit-transform: rotate(360deg);
  392. transform: rotate(360deg);
  393. }
  394. }
  395. /*******************************
  396. Variations
  397. *******************************/
  398. /*-------------------
  399. Basic
  400. --------------------*/
  401. .ui.basic.segment {
  402. background-color: none transparent;
  403. box-shadow: none;
  404. border: none;
  405. border-radius: 0px;
  406. }
  407. /*-------------------
  408. Clearing
  409. --------------------*/
  410. .ui.clearing.segment:after {
  411. content: ".";
  412. display: block;
  413. height: 0;
  414. clear: both;
  415. visibility: hidden;
  416. }
  417. /*-------------------
  418. Colors
  419. --------------------*/
  420. /* Red */
  421. .ui.red.segment:not(.inverted) {
  422. border-top: 2px solid #db2828;
  423. }
  424. .ui.inverted.red.segment {
  425. background-color: #db2828 !important;
  426. color: #ffffff !important;
  427. }
  428. /* Orange */
  429. .ui.orange.segment:not(.inverted) {
  430. border-top: 2px solid #f2711c;
  431. }
  432. .ui.inverted.orange.segment {
  433. background-color: #f2711c !important;
  434. color: #ffffff !important;
  435. }
  436. /* Yellow */
  437. .ui.yellow.segment:not(.inverted) {
  438. border-top: 2px solid #fbbd08;
  439. }
  440. .ui.inverted.yellow.segment {
  441. background-color: #fbbd08 !important;
  442. color: #ffffff !important;
  443. }
  444. /* Olive */
  445. .ui.olive.segment:not(.inverted) {
  446. border-top: 2px solid #b5cc18;
  447. }
  448. .ui.inverted.olive.segment {
  449. background-color: #b5cc18 !important;
  450. color: #ffffff !important;
  451. }
  452. /* Green */
  453. .ui.green.segment:not(.inverted) {
  454. border-top: 2px solid #21ba45;
  455. }
  456. .ui.inverted.green.segment {
  457. background-color: #21ba45 !important;
  458. color: #ffffff !important;
  459. }
  460. /* Teal */
  461. .ui.teal.segment:not(.inverted) {
  462. border-top: 2px solid #00b5ad;
  463. }
  464. .ui.inverted.teal.segment {
  465. background-color: #00b5ad !important;
  466. color: #ffffff !important;
  467. }
  468. /* Blue */
  469. .ui.blue.segment:not(.inverted) {
  470. border-top: 2px solid #2185d0;
  471. }
  472. .ui.inverted.blue.segment {
  473. background-color: #2185d0 !important;
  474. color: #ffffff !important;
  475. }
  476. /* Violet */
  477. .ui.violet.segment:not(.inverted) {
  478. border-top: 2px solid #6435c9;
  479. }
  480. .ui.inverted.violet.segment {
  481. background-color: #6435c9 !important;
  482. color: #ffffff !important;
  483. }
  484. /* Purple */
  485. .ui.purple.segment:not(.inverted) {
  486. border-top: 2px solid #a333c8;
  487. }
  488. .ui.inverted.purple.segment {
  489. background-color: #a333c8 !important;
  490. color: #ffffff !important;
  491. }
  492. /* Pink */
  493. .ui.pink.segment:not(.inverted) {
  494. border-top: 2px solid #e03997;
  495. }
  496. .ui.inverted.pink.segment {
  497. background-color: #e03997 !important;
  498. color: #ffffff !important;
  499. }
  500. /* Brown */
  501. .ui.brown.segment:not(.inverted) {
  502. border-top: 2px solid #a5673f;
  503. }
  504. .ui.inverted.brown.segment {
  505. background-color: #a5673f !important;
  506. color: #ffffff !important;
  507. }
  508. /* Grey */
  509. .ui.grey.segment:not(.inverted) {
  510. border-top: 2px solid #757676;
  511. }
  512. .ui.inverted.grey.segment {
  513. background-color: #757676 !important;
  514. color: #ffffff !important;
  515. }
  516. /* Black */
  517. .ui.black.segment:not(.inverted) {
  518. border-top: 2px solid #1b1c1d;
  519. }
  520. .ui.inverted.black.segment {
  521. background-color: #1b1c1d !important;
  522. color: #ffffff !important;
  523. }
  524. /*-------------------
  525. Aligned
  526. --------------------*/
  527. .ui[class*="left aligned"].segment {
  528. text-align: left;
  529. }
  530. .ui[class*="right aligned"].segment {
  531. text-align: right;
  532. }
  533. .ui[class*="center aligned"].segment {
  534. text-align: center;
  535. }
  536. /*-------------------
  537. Floated
  538. --------------------*/
  539. .ui.floated.segment,
  540. .ui[class*="left floated"].segment {
  541. float: left;
  542. margin-right: 1em;
  543. }
  544. .ui[class*="right floated"].segment {
  545. float: right;
  546. margin-left: 1em;
  547. }
  548. /*-------------------
  549. Inverted
  550. --------------------*/
  551. .ui.inverted.segment {
  552. border: none;
  553. box-shadow: none;
  554. }
  555. .ui.inverted.segment .segment {
  556. color: rgba(0, 0, 0, 0.87);
  557. }
  558. .ui.inverted.segment .inverted.segment {
  559. color: #ffffff;
  560. }
  561. .ui.inverted.segment,
  562. .ui.primary.inverted.segment {
  563. background-color: #1b1c1d;
  564. color: #ffffff;
  565. }
  566. .ui.inverted.block.segment,
  567. .ui.inverted.attached.segment {
  568. border-color: #555555;
  569. }
  570. /*-------------------
  571. Emphasis
  572. --------------------*/
  573. /* Secondary */
  574. .ui.secondary.segment {
  575. background: #f3f4f5;
  576. color: rgba(0, 0, 0, 0.6);
  577. }
  578. .ui.secondary.inverted.segment {
  579. background: #4c4f52 -webkit-linear-gradient(rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.2) 100%);
  580. background: #4c4f52 linear-gradient(rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.2) 100%);
  581. color: rgba(255, 255, 255, 0.8);
  582. }
  583. /* Tertiary */
  584. .ui.tertiary.segment {
  585. background: #dcddde;
  586. color: rgba(0, 0, 0, 0.6);
  587. }
  588. .ui.tertiary.inverted.segment {
  589. background: #717579 -webkit-linear-gradient(rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.35) 100%);
  590. background: #717579 linear-gradient(rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.35) 100%);
  591. color: rgba(255, 255, 255, 0.8);
  592. }
  593. /*-------------------
  594. Attached
  595. --------------------*/
  596. .ui.segment.attached {
  597. top: 0px;
  598. bottom: 0px;
  599. margin: 0em -1px;
  600. width: -webkit-calc(100% + 2px );
  601. width: calc(100% + 2px );
  602. max-width: -webkit-calc(100% + 2px );
  603. max-width: calc(100% + 2px );
  604. border-radius: 0px;
  605. box-shadow: none;
  606. border: 1px solid #d4d4d5;
  607. }
  608. .ui.segment.attached + .ui.segment.attached:not(.top) {
  609. border-top: none;
  610. }
  611. /* Top */
  612. .ui[class*="top attached"].segment {
  613. top: 0px;
  614. bottom: 0px;
  615. margin-top: 1rem 0em;
  616. margin-bottom: 0em;
  617. border-radius: 0.28571429rem 0.28571429rem 0em 0em;
  618. }
  619. .ui.segment[class*="top attached"]:first-child {
  620. margin-top: 0em;
  621. }
  622. /* Bottom */
  623. .ui.segment[class*="bottom attached"] {
  624. top: 0px;
  625. bottom: 0px;
  626. margin-top: 0em;
  627. margin-bottom: 1rem 0em;
  628. box-shadow: none, 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
  629. border-radius: 0em 0em 0.28571429rem 0.28571429rem;
  630. }
  631. .ui.segment[class*="bottom attached"]:last-child {
  632. margin-bottom: 0em;
  633. }
  634. /*******************************
  635. Theme Overrides
  636. *******************************/
  637. /*******************************
  638. Site Overrides
  639. *******************************/