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.

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