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

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
10 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
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
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
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
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
10 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
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
  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.3);
  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 1px 4px 0px rgba(0, 0, 0, 0.15);
  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: #889090 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. Fittted
  303. --------------------*/
  304. .ui.fitted.segment {
  305. padding: 0em;
  306. }
  307. /*-------------------
  308. Colors
  309. --------------------*/
  310. /* Red */
  311. .ui.red.segment:not(.inverted) {
  312. border-top: 2px solid #db2828;
  313. }
  314. .ui.inverted.red.segment {
  315. background-color: #db2828 !important;
  316. color: #ffffff !important;
  317. }
  318. /* Orange */
  319. .ui.orange.segment:not(.inverted) {
  320. border-top: 2px solid #f2711c;
  321. }
  322. .ui.inverted.orange.segment {
  323. background-color: #f2711c !important;
  324. color: #ffffff !important;
  325. }
  326. /* Yellow */
  327. .ui.yellow.segment:not(.inverted) {
  328. border-top: 2px solid #fbbd08;
  329. }
  330. .ui.inverted.yellow.segment {
  331. background-color: #fbbd08 !important;
  332. color: #ffffff !important;
  333. }
  334. /* Olive */
  335. .ui.olive.segment:not(.inverted) {
  336. border-top: 2px solid #b5cc18;
  337. }
  338. .ui.inverted.olive.segment {
  339. background-color: #b5cc18 !important;
  340. color: #ffffff !important;
  341. }
  342. /* Green */
  343. .ui.green.segment:not(.inverted) {
  344. border-top: 2px solid #21ba45;
  345. }
  346. .ui.inverted.green.segment {
  347. background-color: #21ba45 !important;
  348. color: #ffffff !important;
  349. }
  350. /* Teal */
  351. .ui.teal.segment:not(.inverted) {
  352. border-top: 2px solid #00b5ad;
  353. }
  354. .ui.inverted.teal.segment {
  355. background-color: #00b5ad !important;
  356. color: #ffffff !important;
  357. }
  358. /* Blue */
  359. .ui.blue.segment:not(.inverted) {
  360. border-top: 2px solid #2185d0;
  361. }
  362. .ui.inverted.blue.segment {
  363. background-color: #2185d0 !important;
  364. color: #ffffff !important;
  365. }
  366. /* Violet */
  367. .ui.violet.segment:not(.inverted) {
  368. border-top: 2px solid #6435c9;
  369. }
  370. .ui.inverted.violet.segment {
  371. background-color: #6435c9 !important;
  372. color: #ffffff !important;
  373. }
  374. /* Purple */
  375. .ui.purple.segment:not(.inverted) {
  376. border-top: 2px solid #a333c8;
  377. }
  378. .ui.inverted.purple.segment {
  379. background-color: #a333c8 !important;
  380. color: #ffffff !important;
  381. }
  382. /* Pink */
  383. .ui.pink.segment:not(.inverted) {
  384. border-top: 2px solid #e03997;
  385. }
  386. .ui.inverted.pink.segment {
  387. background-color: #e03997 !important;
  388. color: #ffffff !important;
  389. }
  390. /* Brown */
  391. .ui.brown.segment:not(.inverted) {
  392. border-top: 2px solid #a5673f;
  393. }
  394. .ui.inverted.brown.segment {
  395. background-color: #a5673f !important;
  396. color: #ffffff !important;
  397. }
  398. /* Grey */
  399. .ui.grey.segment:not(.inverted) {
  400. border-top: 2px solid #889090;
  401. }
  402. .ui.inverted.grey.segment {
  403. background-color: #889090 !important;
  404. color: #ffffff !important;
  405. }
  406. /* Black */
  407. .ui.black.segment:not(.inverted) {
  408. border-top: 2px solid #1b1c1d;
  409. }
  410. .ui.inverted.black.segment {
  411. background-color: #1b1c1d !important;
  412. color: #ffffff !important;
  413. }
  414. /*-------------------
  415. Aligned
  416. --------------------*/
  417. .ui[class*="left aligned"].segment {
  418. text-align: left;
  419. }
  420. .ui[class*="right aligned"].segment {
  421. text-align: right;
  422. }
  423. .ui[class*="center aligned"].segment {
  424. text-align: center;
  425. }
  426. /*-------------------
  427. Floated
  428. --------------------*/
  429. .ui.floated.segment,
  430. .ui[class*="left floated"].segment {
  431. float: left;
  432. margin-right: 1rem;
  433. }
  434. .ui[class*="right floated"].segment {
  435. float: right;
  436. margin-left: 1rem;
  437. }
  438. /*-------------------
  439. Inverted
  440. --------------------*/
  441. .ui.inverted.segment {
  442. border: none;
  443. box-shadow: none;
  444. }
  445. .ui.inverted.segment .segment {
  446. color: rgba(0, 0, 0, 0.87);
  447. }
  448. .ui.inverted.segment .inverted.segment {
  449. color: #ffffff;
  450. }
  451. .ui.inverted.segment,
  452. .ui.primary.inverted.segment {
  453. background-color: #1b1c1d;
  454. color: #ffffff;
  455. }
  456. .ui.inverted.block.segment,
  457. .ui.inverted.attached.segment {
  458. border-color: #555555;
  459. }
  460. /*-------------------
  461. Ordinality
  462. --------------------*/
  463. .ui.secondary.segment {
  464. background: #faf9fa;
  465. color: rgba(0, 0, 0, 0.87);
  466. }
  467. .ui.tertiary.segment {
  468. background: #ebebeb;
  469. color: rgba(0, 0, 0, 0.87);
  470. }
  471. .ui.secondary.inverted.segment {
  472. background: -webkit-linear-gradient(rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%);
  473. background: linear-gradient(rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%);
  474. color: #fafafa;
  475. }
  476. .ui.tertiary.inverted.segment {
  477. background: -webkit-linear-gradient(rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.5) 100%);
  478. background: linear-gradient(rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.5) 100%);
  479. color: #f4f4f4;
  480. }
  481. /*-------------------
  482. Attached
  483. --------------------*/
  484. .ui.segment.attached {
  485. top: 0px;
  486. bottom: 0px;
  487. margin: 0em -1px;
  488. width: -webkit-calc(100% + 2px );
  489. width: calc(100% + 2px );
  490. max-width: -webkit-calc(100% + 2px );
  491. max-width: calc(100% + 2px );
  492. border-radius: 0px;
  493. box-shadow: none;
  494. border: 1px solid #d4d4d5;
  495. }
  496. .ui.segment.attached + .ui.segment.attached:not(.top) {
  497. border-top: none;
  498. }
  499. /* Top */
  500. .ui[class*="top attached"].segment {
  501. top: 0px;
  502. bottom: 0px;
  503. margin-top: 1rem;
  504. margin-bottom: 0em;
  505. border-radius: 0.285714rem 0.285714rem 0em 0em;
  506. }
  507. .ui.segment[class*="top attached"]:first-child {
  508. margin-top: 0em;
  509. }
  510. /* Bottom */
  511. .ui.segment[class*="bottom attached"] {
  512. top: 0px;
  513. bottom: 0px;
  514. margin-top: 0em;
  515. margin-bottom: 1rem;
  516. box-shadow: none, 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
  517. border-radius: 0em 0em 0.285714rem 0.285714rem;
  518. }
  519. .ui.segment[class*="bottom attached"]:last-child {
  520. margin-bottom: 0em;
  521. }
  522. /*-------------------
  523. Groups
  524. --------------------*/
  525. .ui.segments {
  526. margin: 1rem 0em;
  527. }
  528. .ui.segments:first-child {
  529. margin-top: 0em;
  530. }
  531. .ui.segments:last-child {
  532. margin-bottom: 0em;
  533. }
  534. .ui.segments > .segment {
  535. top: 0px;
  536. bottom: 0px;
  537. margin: 0em -1px;
  538. width: -webkit-calc(100% + 2px );
  539. width: calc(100% + 2px );
  540. max-width: -webkit-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. *******************************/