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.

639 lines
13 KiB

9 years ago
9 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
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
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
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
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
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 2014 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(0, 0, 0, 0.05);
  18. margin: 1rem 0em;
  19. padding: 1em 1em;
  20. border-radius: 0.2857rem;
  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.2857rem;
  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(0, 0, 0, 0.05);
  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.3;
  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.2857rem;
  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: #aaaaaa 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. .ui.black.segment:not(.inverted) {
  311. border-top: 2px solid #1b1c1d;
  312. }
  313. .ui.blue.segment:not(.inverted) {
  314. border-top: 2px solid #2185d0;
  315. }
  316. .ui.green.segment:not(.inverted) {
  317. border-top: 2px solid #21ba45;
  318. }
  319. .ui.orange.segment:not(.inverted) {
  320. border-top: 2px solid #f2711c;
  321. }
  322. .ui.pink.segment:not(.inverted) {
  323. border-top: 2px solid #e03997;
  324. }
  325. .ui.purple.segment:not(.inverted) {
  326. border-top: 2px solid #6a33c8;
  327. }
  328. .ui.red.segment:not(.inverted) {
  329. border-top: 2px solid #db2828;
  330. }
  331. .ui.teal.segment:not(.inverted) {
  332. border-top: 2px solid #00b5ad;
  333. }
  334. .ui.yellow.segment:not(.inverted) {
  335. border-top: 2px solid #fbbd08;
  336. }
  337. .ui.black.segment:not(.inverted):not(.attached) {
  338. border-top-left-radius: 0.2857rem !important;
  339. border-top-right-radius: 0.2857rem !important;
  340. }
  341. .ui.blue.segment:not(.inverted):not(.attached) {
  342. border-top-left-radius: 0.2857rem !important;
  343. border-top-right-radius: 0.2857rem !important;
  344. }
  345. .ui.green.segment:not(.inverted):not(.attached) {
  346. border-top-left-radius: 0.2857rem !important;
  347. border-top-right-radius: 0.2857rem !important;
  348. }
  349. .ui.orange.segment:not(.inverted):not(.attached) {
  350. border-top-left-radius: 0.2857rem !important;
  351. border-top-right-radius: 0.2857rem !important;
  352. }
  353. .ui.pink.segment:not(.inverted):not(.attached) {
  354. border-top-left-radius: 0.2857rem !important;
  355. border-top-right-radius: 0.2857rem !important;
  356. }
  357. .ui.purple.segment:not(.inverted):not(.attached) {
  358. border-top-left-radius: 0.2857rem !important;
  359. border-top-right-radius: 0.2857rem !important;
  360. }
  361. .ui.red.segment:not(.inverted):not(.attached) {
  362. border-top-left-radius: 0.2857rem !important;
  363. border-top-right-radius: 0.2857rem !important;
  364. }
  365. .ui.teal.segment:not(.inverted):not(.attached) {
  366. border-top-left-radius: 0.2857rem !important;
  367. border-top-right-radius: 0.2857rem !important;
  368. }
  369. .ui.yellow.segment:not(.inverted):not(.attached) {
  370. border-top-left-radius: 0.2857rem !important;
  371. border-top-right-radius: 0.2857rem !important;
  372. }
  373. /*-------------------
  374. Inverted Colors
  375. --------------------*/
  376. .ui.inverted.segment,
  377. .ui.inverted.black.segment {
  378. background-color: #1b1c1d !important;
  379. color: #ffffff !important;
  380. }
  381. .ui.inverted.blue.segment {
  382. background-color: #2185d0 !important;
  383. color: #ffffff !important;
  384. }
  385. .ui.inverted.green.segment {
  386. background-color: #21ba45 !important;
  387. color: #ffffff !important;
  388. }
  389. .ui.inverted.orange.segment {
  390. background-color: #f2711c !important;
  391. color: #ffffff !important;
  392. }
  393. .ui.inverted.pink.segment {
  394. background-color: #e03997 !important;
  395. color: #ffffff !important;
  396. }
  397. .ui.inverted.purple.segment {
  398. background-color: #6a33c8 !important;
  399. color: #ffffff !important;
  400. }
  401. .ui.inverted.red.segment {
  402. background-color: #db2828 !important;
  403. color: #ffffff !important;
  404. }
  405. .ui.inverted.teal.segment {
  406. background-color: #00b5ad !important;
  407. color: #ffffff !important;
  408. }
  409. .ui.inverted.yellow.segment {
  410. background-color: #fbbd08 !important;
  411. color: #ffffff !important;
  412. }
  413. /*-------------------
  414. Aligned
  415. --------------------*/
  416. .ui[class*="left aligned"].segment {
  417. text-align: left;
  418. }
  419. .ui[class*="right aligned"].segment {
  420. text-align: right;
  421. }
  422. .ui[class*="center aligned"].segment {
  423. text-align: center;
  424. }
  425. /*-------------------
  426. Floated
  427. --------------------*/
  428. .ui.floated.segment,
  429. .ui[class*="left floated"].segment {
  430. float: left;
  431. margin-right: 1rem;
  432. }
  433. .ui[class*="right floated"].segment {
  434. float: right;
  435. margin-left: 1rem;
  436. }
  437. /*-------------------
  438. Inverted
  439. --------------------*/
  440. .ui.inverted.segment {
  441. border: none;
  442. box-shadow: none;
  443. }
  444. .ui.inverted.segment .segment {
  445. color: rgba(0, 0, 0, 0.8);
  446. }
  447. .ui.inverted.segment .inverted.segment {
  448. color: #ffffff;
  449. }
  450. .ui.inverted.segment,
  451. .ui.primary.inverted.segment {
  452. background-color: #1b1c1d;
  453. color: #ffffff;
  454. }
  455. .ui.inverted.block.segment,
  456. .ui.inverted.attached.segment {
  457. border-color: #555555;
  458. }
  459. /*-------------------
  460. Ordinality
  461. --------------------*/
  462. .ui.secondary.segment {
  463. background: #faf9fa;
  464. color: rgba(0, 0, 0, 0.8);
  465. }
  466. .ui.tertiary.segment {
  467. background: #ebebeb;
  468. color: rgba(0, 0, 0, 0.8);
  469. }
  470. .ui.secondary.inverted.segment {
  471. background: -webkit-linear-gradient(rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%);
  472. background: linear-gradient(rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%);
  473. color: #fafafa;
  474. }
  475. .ui.tertiary.inverted.segment {
  476. background: -webkit-linear-gradient(rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.5) 100%);
  477. background: linear-gradient(rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.5) 100%);
  478. color: #f0f0f0;
  479. }
  480. /*-------------------
  481. Attached
  482. --------------------*/
  483. .ui.segment.attached {
  484. top: 0px;
  485. bottom: 0px;
  486. margin: 0em -1px;
  487. width: -webkit-calc(100% + 2px );
  488. width: calc(100% + 2px );
  489. max-width: -webkit-calc(100% + 2px );
  490. max-width: calc(100% + 2px );
  491. border-radius: 0px;
  492. box-shadow: none;
  493. border: 1px solid #d4d4d5;
  494. }
  495. .ui.segment.attached + .ui.segment.attached:not(.top) {
  496. border-top: none;
  497. }
  498. /* Top */
  499. .ui[class*="top attached"].segment {
  500. top: 0px;
  501. bottom: 0px;
  502. margin-top: 1rem;
  503. margin-bottom: 0em;
  504. border-radius: 0.2857rem 0.2857rem 0em 0em;
  505. }
  506. .ui.segment[class*="top attached"]:first-child {
  507. margin-top: 0em;
  508. }
  509. /* Bottom */
  510. .ui.segment[class*="bottom attached"] {
  511. top: 0px;
  512. bottom: 0px;
  513. margin-top: 0em;
  514. margin-bottom: 1rem;
  515. box-shadow: none, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  516. border-radius: 0em 0em 0.2857rem 0.2857rem;
  517. }
  518. .ui.segment[class*="bottom attached"]:last-child {
  519. margin-bottom: 0em;
  520. }
  521. /*-------------------
  522. Groups
  523. --------------------*/
  524. .ui.segments {
  525. margin: 1rem 0em;
  526. }
  527. .ui.segments:first-child {
  528. margin-top: 0em;
  529. }
  530. .ui.segments:last-child {
  531. margin-bottom: 0em;
  532. }
  533. .ui.segments > .segment {
  534. top: 0px;
  535. bottom: 0px;
  536. margin: 0em -1px;
  537. width: -webkit-calc(100% + 2px );
  538. width: calc(100% + 2px );
  539. max-width: -webkit-calc(100% + 2px );
  540. max-width: calc(100% + 2px );
  541. border-radius: 0px;
  542. box-shadow: none;
  543. border: 1px solid #d4d4d5;
  544. }
  545. .ui.segments > .segment:not(:last-child) {
  546. border-bottom: none;
  547. }
  548. /* Top */
  549. .ui.segments > .segment:first-child {
  550. margin-top: 0em;
  551. bottom: 0px;
  552. margin-bottom: 0em;
  553. top: 0px;
  554. border-radius: 0.2857rem 0.2857rem 0em 0em;
  555. }
  556. /* Bottom */
  557. .ui.segments > .segment:last-child {
  558. bottom: 0px;
  559. margin-top: 0em;
  560. margin-bottom: 0em;
  561. top: 0px;
  562. box-shadow: none, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  563. border-radius: 0em 0em 0.2857rem 0.2857rem;
  564. }
  565. /*******************************
  566. Theme Overrides
  567. *******************************/
  568. /*******************************
  569. Site Overrides
  570. *******************************/