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.

697 lines
14 KiB

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