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.

646 lines
14 KiB

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