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.

745 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
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
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
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.3 - 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. /* Compact Group */
  204. .ui.compact.segments {
  205. display: -webkit-inline-box;
  206. display: -webkit-inline-flex;
  207. display: -ms-inline-flexbox;
  208. display: inline-flex;
  209. }
  210. .ui.compact.segments .segment,
  211. .ui.segments .compact.segment {
  212. display: block;
  213. -webkit-box-flex: 0;
  214. -webkit-flex: 0 1 auto;
  215. -ms-flex: 0 1 auto;
  216. flex: 0 1 auto;
  217. }
  218. /*-------------------
  219. Circular
  220. --------------------*/
  221. .ui.circular.segment {
  222. display: table-cell;
  223. padding: 2em;
  224. text-align: center;
  225. vertical-align: middle;
  226. border-radius: 500em;
  227. }
  228. /*-------------------
  229. Raised
  230. --------------------*/
  231. .ui.raised.segments,
  232. .ui.raised.segment {
  233. box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.08);
  234. }
  235. /*******************************
  236. Groups
  237. *******************************/
  238. /* Group */
  239. .ui.segments {
  240. -webkit-box-orient: vertical;
  241. -webkit-box-direction: normal;
  242. -webkit-flex-direction: column;
  243. -ms-flex-direction: column;
  244. flex-direction: column;
  245. position: relative;
  246. margin: 1rem 0em;
  247. border: 1px solid rgba(34, 36, 38, 0.15);
  248. box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
  249. border-radius: 0.28571429rem;
  250. }
  251. .ui.segments:first-child {
  252. margin-top: 0em;
  253. }
  254. .ui.segments:last-child {
  255. margin-bottom: 0em;
  256. }
  257. /* Nested Segment */
  258. .ui.segments > .segment {
  259. top: 0px;
  260. bottom: 0px;
  261. border-radius: 0px;
  262. margin: 0em;
  263. width: auto;
  264. box-shadow: none;
  265. border: none;
  266. border-top: 1px solid rgba(34, 36, 38, 0.15);
  267. }
  268. .ui.segments:not(.horizontal) > .segment:first-child {
  269. border-top: none;
  270. margin-top: 0em;
  271. bottom: 0px;
  272. margin-bottom: 0em;
  273. top: 0px;
  274. border-radius: 0.28571429rem 0.28571429rem 0em 0em;
  275. }
  276. /* Bottom */
  277. .ui.segments:not(.horizontal) > .segment:last-child {
  278. top: 0px;
  279. bottom: 0px;
  280. margin-top: 0em;
  281. margin-bottom: 0em;
  282. box-shadow: none, 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
  283. border-radius: 0em 0em 0.28571429rem 0.28571429rem;
  284. }
  285. /* Nested Group */
  286. .ui.segments > .ui.segments {
  287. border-top: 1px solid rgba(34, 36, 38, 0.15);
  288. margin: 1rem 1rem;
  289. }
  290. .ui.segments > .segments:first-child {
  291. border-top: none;
  292. }
  293. .ui.segments > .segment + .segments:not(.horizontal) {
  294. margin-top: 0em;
  295. }
  296. /* Horizontal Group */
  297. .ui.horizontal.segments {
  298. display: -webkit-box;
  299. display: -webkit-flex;
  300. display: -ms-flexbox;
  301. display: flex;
  302. -webkit-box-orient: horizontal;
  303. -webkit-box-direction: normal;
  304. -webkit-flex-direction: row;
  305. -ms-flex-direction: row;
  306. flex-direction: row;
  307. background-color: transparent;
  308. border-radius: 0px;
  309. padding: 0em;
  310. background-color: #ffffff;
  311. box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
  312. margin: 1rem 0em;
  313. border-radius: 0.28571429rem;
  314. border: 1px solid rgba(34, 36, 38, 0.15);
  315. }
  316. /* Nested Horizontal Group */
  317. .ui.segments > .horizontal.segments {
  318. margin: 0em;
  319. background-color: transparent;
  320. border-radius: 0px;
  321. border: none;
  322. box-shadow: none;
  323. border-top: 1px solid rgba(34, 36, 38, 0.15);
  324. }
  325. /* Horizontal Segment */
  326. .ui.horizontal.segments > .segment {
  327. -webkit-box-flex: 1;
  328. -webkit-flex: 1 1 auto;
  329. -ms-flex: 1 1 auto;
  330. flex: 1 1 auto;
  331. margin: 0em;
  332. min-width: 0px;
  333. background-color: transparent;
  334. border-radius: 0px;
  335. border: none;
  336. box-shadow: none;
  337. border-left: 1px solid rgba(34, 36, 38, 0.15);
  338. }
  339. .ui.horizontal.segments > .segment:first-child {
  340. border-left: none;
  341. }
  342. /*******************************
  343. States
  344. *******************************/
  345. /*--------------
  346. Disabled
  347. ---------------*/
  348. .ui.disabled.segment {
  349. opacity: 0.45;
  350. color: rgba(40, 40, 40, 0.3);
  351. }
  352. /*--------------
  353. Loading
  354. ---------------*/
  355. .ui.loading.segment {
  356. position: relative;
  357. cursor: default;
  358. point-events: none;
  359. text-shadow: none !important;
  360. color: transparent !important;
  361. -webkit-transition: all 0s linear;
  362. transition: all 0s linear;
  363. }
  364. .ui.loading.segment:before {
  365. position: absolute;
  366. content: '';
  367. top: 0%;
  368. left: 0%;
  369. background: rgba(255, 255, 255, 0.8);
  370. width: 100%;
  371. height: 100%;
  372. border-radius: 0.28571429rem;
  373. z-index: 100;
  374. }
  375. .ui.loading.segment:after {
  376. position: absolute;
  377. content: '';
  378. top: 50%;
  379. left: 50%;
  380. margin: -1.5em 0em 0em -1.5em;
  381. width: 3em;
  382. height: 3em;
  383. -webkit-animation: segment-spin 0.6s linear;
  384. animation: segment-spin 0.6s linear;
  385. -webkit-animation-iteration-count: infinite;
  386. animation-iteration-count: infinite;
  387. border-radius: 500rem;
  388. border-color: #767676 rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1);
  389. border-style: solid;
  390. border-width: 0.2em;
  391. box-shadow: 0px 0px 0px 1px transparent;
  392. visibility: visible;
  393. z-index: 101;
  394. }
  395. @-webkit-keyframes segment-spin {
  396. from {
  397. -webkit-transform: rotate(0deg);
  398. transform: rotate(0deg);
  399. }
  400. to {
  401. -webkit-transform: rotate(360deg);
  402. transform: rotate(360deg);
  403. }
  404. }
  405. @keyframes segment-spin {
  406. from {
  407. -webkit-transform: rotate(0deg);
  408. transform: rotate(0deg);
  409. }
  410. to {
  411. -webkit-transform: rotate(360deg);
  412. transform: rotate(360deg);
  413. }
  414. }
  415. /*******************************
  416. Variations
  417. *******************************/
  418. /*-------------------
  419. Basic
  420. --------------------*/
  421. .ui.basic.segment {
  422. background: none transparent;
  423. box-shadow: none;
  424. border: none;
  425. border-radius: 0px;
  426. }
  427. /*-------------------
  428. Clearing
  429. --------------------*/
  430. .ui.clearing.segment:after {
  431. content: ".";
  432. display: block;
  433. height: 0;
  434. clear: both;
  435. visibility: hidden;
  436. }
  437. /*-------------------
  438. Colors
  439. --------------------*/
  440. /* Red */
  441. .ui.red.segment:not(.inverted) {
  442. border-top: 2px solid #db2828;
  443. }
  444. .ui.inverted.red.segment {
  445. background-color: #db2828 !important;
  446. color: #ffffff !important;
  447. }
  448. /* Orange */
  449. .ui.orange.segment:not(.inverted) {
  450. border-top: 2px solid #f2711c;
  451. }
  452. .ui.inverted.orange.segment {
  453. background-color: #f2711c !important;
  454. color: #ffffff !important;
  455. }
  456. /* Yellow */
  457. .ui.yellow.segment:not(.inverted) {
  458. border-top: 2px solid #fbbd08;
  459. }
  460. .ui.inverted.yellow.segment {
  461. background-color: #fbbd08 !important;
  462. color: #ffffff !important;
  463. }
  464. /* Olive */
  465. .ui.olive.segment:not(.inverted) {
  466. border-top: 2px solid #b5cc18;
  467. }
  468. .ui.inverted.olive.segment {
  469. background-color: #b5cc18 !important;
  470. color: #ffffff !important;
  471. }
  472. /* Green */
  473. .ui.green.segment:not(.inverted) {
  474. border-top: 2px solid #21ba45;
  475. }
  476. .ui.inverted.green.segment {
  477. background-color: #21ba45 !important;
  478. color: #ffffff !important;
  479. }
  480. /* Teal */
  481. .ui.teal.segment:not(.inverted) {
  482. border-top: 2px solid #00b5ad;
  483. }
  484. .ui.inverted.teal.segment {
  485. background-color: #00b5ad !important;
  486. color: #ffffff !important;
  487. }
  488. /* Blue */
  489. .ui.blue.segment:not(.inverted) {
  490. border-top: 2px solid #2185d0;
  491. }
  492. .ui.inverted.blue.segment {
  493. background-color: #2185d0 !important;
  494. color: #ffffff !important;
  495. }
  496. /* Violet */
  497. .ui.violet.segment:not(.inverted) {
  498. border-top: 2px solid #6435c9;
  499. }
  500. .ui.inverted.violet.segment {
  501. background-color: #6435c9 !important;
  502. color: #ffffff !important;
  503. }
  504. /* Purple */
  505. .ui.purple.segment:not(.inverted) {
  506. border-top: 2px solid #a333c8;
  507. }
  508. .ui.inverted.purple.segment {
  509. background-color: #a333c8 !important;
  510. color: #ffffff !important;
  511. }
  512. /* Pink */
  513. .ui.pink.segment:not(.inverted) {
  514. border-top: 2px solid #e03997;
  515. }
  516. .ui.inverted.pink.segment {
  517. background-color: #e03997 !important;
  518. color: #ffffff !important;
  519. }
  520. /* Brown */
  521. .ui.brown.segment:not(.inverted) {
  522. border-top: 2px solid #a5673f;
  523. }
  524. .ui.inverted.brown.segment {
  525. background-color: #a5673f !important;
  526. color: #ffffff !important;
  527. }
  528. /* Grey */
  529. .ui.grey.segment:not(.inverted) {
  530. border-top: 2px solid #767676;
  531. }
  532. .ui.inverted.grey.segment {
  533. background-color: #767676 !important;
  534. color: #ffffff !important;
  535. }
  536. /* Black */
  537. .ui.black.segment:not(.inverted) {
  538. border-top: 2px solid #1b1c1d;
  539. }
  540. .ui.inverted.black.segment {
  541. background-color: #1b1c1d !important;
  542. color: #ffffff !important;
  543. }
  544. /*-------------------
  545. Aligned
  546. --------------------*/
  547. .ui[class*="left aligned"].segment {
  548. text-align: left;
  549. }
  550. .ui[class*="right aligned"].segment {
  551. text-align: right;
  552. }
  553. .ui[class*="center aligned"].segment {
  554. text-align: center;
  555. }
  556. /*-------------------
  557. Floated
  558. --------------------*/
  559. .ui.floated.segment,
  560. .ui[class*="left floated"].segment {
  561. float: left;
  562. margin-right: 1em;
  563. }
  564. .ui[class*="right floated"].segment {
  565. float: right;
  566. margin-left: 1em;
  567. }
  568. /*-------------------
  569. Inverted
  570. --------------------*/
  571. .ui.inverted.segment {
  572. border: none;
  573. box-shadow: none;
  574. }
  575. .ui.inverted.segment .segment {
  576. color: rgba(0, 0, 0, 0.87);
  577. }
  578. .ui.inverted.segment .inverted.segment {
  579. color: #ffffff;
  580. }
  581. .ui.inverted.segment,
  582. .ui.primary.inverted.segment {
  583. background-color: #1b1c1d;
  584. color: #ffffff;
  585. }
  586. .ui.inverted.block.segment,
  587. .ui.inverted.attached.segment {
  588. border-color: #555555;
  589. }
  590. /*-------------------
  591. Emphasis
  592. --------------------*/
  593. /* Secondary */
  594. .ui.secondary.segment {
  595. background: #f3f4f5;
  596. color: rgba(0, 0, 0, 0.6);
  597. }
  598. .ui.secondary.inverted.segment {
  599. background: #4c4f52 -webkit-linear-gradient(rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.2) 100%);
  600. background: #4c4f52 linear-gradient(rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.2) 100%);
  601. color: rgba(255, 255, 255, 0.8);
  602. }
  603. /* Tertiary */
  604. .ui.tertiary.segment {
  605. background: #dcddde;
  606. color: rgba(0, 0, 0, 0.6);
  607. }
  608. .ui.tertiary.inverted.segment {
  609. background: #717579 -webkit-linear-gradient(rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.35) 100%);
  610. background: #717579 linear-gradient(rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.35) 100%);
  611. color: rgba(255, 255, 255, 0.8);
  612. }
  613. /*-------------------
  614. Attached
  615. --------------------*/
  616. .ui.segment.attached {
  617. top: 0px;
  618. bottom: 0px;
  619. margin: 0em -1px;
  620. width: calc(100% + 2px );
  621. max-width: calc(100% + 2px );
  622. border-radius: 0px;
  623. box-shadow: none;
  624. border: 1px solid #d4d4d5;
  625. }
  626. .ui.segment.attached + .ui.segment.attached:not(.top) {
  627. border-top: none;
  628. }
  629. /* Top */
  630. .ui[class*="top attached"].segment {
  631. top: 0px;
  632. bottom: 0px;
  633. margin-top: 1rem;
  634. margin-bottom: 0em;
  635. border-radius: 0.28571429rem 0.28571429rem 0em 0em;
  636. }
  637. .ui.segment[class*="top attached"]:first-child {
  638. margin-top: 0em;
  639. }
  640. /* Bottom */
  641. .ui.segment[class*="bottom attached"] {
  642. top: 0px;
  643. bottom: 0px;
  644. margin-top: 0em;
  645. margin-bottom: 1rem;
  646. box-shadow: none, 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
  647. border-radius: 0em 0em 0.28571429rem 0.28571429rem;
  648. }
  649. .ui.segment[class*="bottom attached"]:last-child {
  650. margin-bottom: 0em;
  651. }
  652. /*******************************
  653. Theme Overrides
  654. *******************************/
  655. /*******************************
  656. Site Overrides
  657. *******************************/