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.

627 lines
13 KiB

9 years ago
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
9 years ago
10 years ago
  1. /*!
  2. * # Semantic UI 1.10.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(39, 41, 43, 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(39, 41, 43, 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(39, 41, 43, 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(39, 41, 43, 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(39, 41, 43, 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(39, 41, 43, 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(39, 41, 43, 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(39, 41, 43, 0.3);
  191. }
  192. /*-------------------
  193. Compact
  194. --------------------*/
  195. .ui.compact.segment {
  196. display: table;
  197. }
  198. /*-------------------
  199. Circular
  200. --------------------*/
  201. .ui.circular.segment {
  202. display: table-cell;
  203. padding: 2em;
  204. text-align: center;
  205. vertical-align: middle;
  206. border-radius: 500em;
  207. }
  208. /*-------------------
  209. Raised
  210. --------------------*/
  211. .ui.raised.segment {
  212. box-shadow: 0px 0px 0px 1px rgba(39, 41, 43, 0.15), 0px 1px 4px 0px rgba(0, 0, 0, 0.15);
  213. }
  214. /*******************************
  215. States
  216. *******************************/
  217. /*--------------
  218. Disabled
  219. ---------------*/
  220. .ui.disabled.segment {
  221. opacity: 0.3;
  222. color: rgba(40, 40, 40, 0.3);
  223. }
  224. /*--------------
  225. Loading
  226. ---------------*/
  227. .ui.loading.segment {
  228. position: relative;
  229. cursor: default;
  230. point-events: none;
  231. text-shadow: none !important;
  232. color: transparent !important;
  233. -webkit-transition: all 0s linear;
  234. transition: all 0s linear;
  235. }
  236. .ui.loading.segment:before {
  237. position: absolute;
  238. content: '';
  239. top: 0%;
  240. left: 0%;
  241. background: rgba(255, 255, 255, 0.8);
  242. width: 100%;
  243. height: 100%;
  244. border-radius: 0.2857rem;
  245. z-index: 100;
  246. }
  247. .ui.loading.segment:after {
  248. position: absolute;
  249. content: '';
  250. top: 50%;
  251. left: 50%;
  252. margin: -1.5em 0em 0em -1.5em;
  253. width: 3em;
  254. height: 3em;
  255. -webkit-animation: segment-spin 0.6s linear;
  256. animation: segment-spin 0.6s linear;
  257. -webkit-animation-iteration-count: infinite;
  258. animation-iteration-count: infinite;
  259. border-radius: 500rem;
  260. border-color: #aaaaaa rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1);
  261. border-style: solid;
  262. border-width: 0.2em;
  263. box-shadow: 0px 0px 0px 1px transparent;
  264. visibility: visible;
  265. z-index: 101;
  266. }
  267. @-webkit-keyframes segment-spin {
  268. from {
  269. -webkit-transform: rotate(0deg);
  270. transform: rotate(0deg);
  271. }
  272. to {
  273. -webkit-transform: rotate(360deg);
  274. transform: rotate(360deg);
  275. }
  276. }
  277. @keyframes segment-spin {
  278. from {
  279. -webkit-transform: rotate(0deg);
  280. transform: rotate(0deg);
  281. }
  282. to {
  283. -webkit-transform: rotate(360deg);
  284. transform: rotate(360deg);
  285. }
  286. }
  287. /*******************************
  288. Variations
  289. *******************************/
  290. /*-------------------
  291. Basic
  292. --------------------*/
  293. .ui.basic.segment {
  294. position: relative;
  295. background-color: transparent;
  296. box-shadow: none;
  297. border-radius: 0px;
  298. }
  299. /*-------------------
  300. Fittted
  301. --------------------*/
  302. .ui.fitted.segment {
  303. padding: 0em;
  304. }
  305. /*-------------------
  306. Colors
  307. --------------------*/
  308. .ui.black.segment:not(.inverted) {
  309. border-top: 2px solid #1b1c1d;
  310. }
  311. .ui.blue.segment:not(.inverted) {
  312. border-top: 2px solid #3b83c0;
  313. }
  314. .ui.green.segment:not(.inverted) {
  315. border-top: 2px solid #5bbd72;
  316. }
  317. .ui.orange.segment:not(.inverted) {
  318. border-top: 2px solid #e07b53;
  319. }
  320. .ui.pink.segment:not(.inverted) {
  321. border-top: 2px solid #d9499a;
  322. }
  323. .ui.purple.segment:not(.inverted) {
  324. border-top: 2px solid #564f8a;
  325. }
  326. .ui.red.segment:not(.inverted) {
  327. border-top: 2px solid #d95c5c;
  328. }
  329. .ui.teal.segment:not(.inverted) {
  330. border-top: 2px solid #00b5ad;
  331. }
  332. .ui.yellow.segment:not(.inverted) {
  333. border-top: 2px solid #f2c61f;
  334. }
  335. .ui.black.segment:not(.inverted):not(.attached) {
  336. border-top-left-radius: 0.2857rem !important;
  337. border-top-right-radius: 0.2857rem !important;
  338. }
  339. .ui.blue.segment:not(.inverted):not(.attached) {
  340. border-top-left-radius: 0.2857rem !important;
  341. border-top-right-radius: 0.2857rem !important;
  342. }
  343. .ui.green.segment:not(.inverted):not(.attached) {
  344. border-top-left-radius: 0.2857rem !important;
  345. border-top-right-radius: 0.2857rem !important;
  346. }
  347. .ui.orange.segment:not(.inverted):not(.attached) {
  348. border-top-left-radius: 0.2857rem !important;
  349. border-top-right-radius: 0.2857rem !important;
  350. }
  351. .ui.pink.segment:not(.inverted):not(.attached) {
  352. border-top-left-radius: 0.2857rem !important;
  353. border-top-right-radius: 0.2857rem !important;
  354. }
  355. .ui.purple.segment:not(.inverted):not(.attached) {
  356. border-top-left-radius: 0.2857rem !important;
  357. border-top-right-radius: 0.2857rem !important;
  358. }
  359. .ui.red.segment:not(.inverted):not(.attached) {
  360. border-top-left-radius: 0.2857rem !important;
  361. border-top-right-radius: 0.2857rem !important;
  362. }
  363. .ui.teal.segment:not(.inverted):not(.attached) {
  364. border-top-left-radius: 0.2857rem !important;
  365. border-top-right-radius: 0.2857rem !important;
  366. }
  367. .ui.yellow.segment:not(.inverted):not(.attached) {
  368. border-top-left-radius: 0.2857rem !important;
  369. border-top-right-radius: 0.2857rem !important;
  370. }
  371. /*-------------------
  372. Inverted Colors
  373. --------------------*/
  374. .ui.inverted.segment,
  375. .ui.inverted.black.segment {
  376. background-color: #1b1c1d !important;
  377. color: #ffffff !important;
  378. }
  379. .ui.inverted.blue.segment {
  380. background-color: #3b83c0 !important;
  381. color: #ffffff !important;
  382. }
  383. .ui.inverted.green.segment {
  384. background-color: #5bbd72 !important;
  385. color: #ffffff !important;
  386. }
  387. .ui.inverted.orange.segment {
  388. background-color: #e07b53 !important;
  389. color: #ffffff !important;
  390. }
  391. .ui.inverted.pink.segment {
  392. background-color: #d9499a !important;
  393. color: #ffffff !important;
  394. }
  395. .ui.inverted.purple.segment {
  396. background-color: #564f8a !important;
  397. color: #ffffff !important;
  398. }
  399. .ui.inverted.red.segment {
  400. background-color: #d95c5c !important;
  401. color: #ffffff !important;
  402. }
  403. .ui.inverted.teal.segment {
  404. background-color: #00b5ad !important;
  405. color: #ffffff !important;
  406. }
  407. .ui.inverted.yellow.segment {
  408. background-color: #f2c61f !important;
  409. color: #ffffff !important;
  410. }
  411. /*-------------------
  412. Aligned
  413. --------------------*/
  414. .ui[class*="left aligned"].segment {
  415. text-align: left;
  416. }
  417. .ui[class*="right aligned"].segment {
  418. text-align: right;
  419. }
  420. .ui[class*="center aligned"].segment {
  421. text-align: center;
  422. }
  423. /*-------------------
  424. Floated
  425. --------------------*/
  426. .ui.floated.segment,
  427. .ui[class*="left floated"].segment {
  428. float: left;
  429. margin-right: 1rem;
  430. }
  431. .ui[class*="right floated"].segment {
  432. float: right;
  433. margin-left: 1rem;
  434. }
  435. /*-------------------
  436. Inverted
  437. --------------------*/
  438. .ui.inverted.segment {
  439. border: none;
  440. box-shadow: none;
  441. }
  442. .ui.inverted.segment .segment {
  443. color: rgba(0, 0, 0, 0.8);
  444. }
  445. .ui.inverted.segment .inverted.segment {
  446. color: #ffffff;
  447. }
  448. .ui.inverted.segment,
  449. .ui.primary.inverted.segment {
  450. background-color: #1b1c1d;
  451. color: #ffffff;
  452. }
  453. .ui.inverted.block.segment,
  454. .ui.inverted.attached.segment {
  455. border-color: #555555;
  456. }
  457. /*-------------------
  458. Ordinality
  459. --------------------*/
  460. .ui.secondary.segment {
  461. background: #faf9fa;
  462. color: rgba(0, 0, 0, 0.8);
  463. }
  464. .ui.tertiary.segment {
  465. background: #ebebeb;
  466. color: rgba(0, 0, 0, 0.8);
  467. }
  468. .ui.secondary.inverted.segment {
  469. background: -webkit-linear-gradient(rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%);
  470. background: linear-gradient(rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%);
  471. color: #fafafa;
  472. }
  473. .ui.tertiary.inverted.segment {
  474. background: -webkit-linear-gradient(rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.5) 100%);
  475. background: linear-gradient(rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.5) 100%);
  476. color: #f0f0f0;
  477. }
  478. /*-------------------
  479. Attached
  480. --------------------*/
  481. .ui.segment.attached {
  482. top: 0px;
  483. bottom: 0px;
  484. margin: 0em -1px;
  485. width: -webkit-calc(100% + 2px );
  486. width: calc(100% + 2px );
  487. max-width: -webkit-calc(100% + 2px );
  488. max-width: calc(100% + 2px );
  489. border-radius: 0px;
  490. box-shadow: none;
  491. border: 1px solid #d4d4d5;
  492. }
  493. .ui.segment.attached + .ui.segment.attached:not(.top) {
  494. border-top: none;
  495. }
  496. /* Top */
  497. .ui[class*="top attached"].segment {
  498. top: 0px;
  499. bottom: 0px;
  500. margin-top: 1rem;
  501. margin-bottom: 0em;
  502. border-radius: 0.2857rem 0.2857rem 0em 0em;
  503. }
  504. .ui.segment[class*="top attached"]:first-child {
  505. margin-top: 0em;
  506. }
  507. /* Bottom */
  508. .ui.segment[class*="bottom attached"] {
  509. top: 0px;
  510. bottom: 0px;
  511. margin-top: 0em;
  512. margin-bottom: 1rem;
  513. box-shadow: none, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  514. border-radius: 0em 0em 0.2857rem 0.2857rem;
  515. }
  516. .ui.segment[class*="bottom attached"]:last-child {
  517. margin-bottom: 0em;
  518. }
  519. /*-------------------
  520. Groups
  521. --------------------*/
  522. .ui.segments > .segment {
  523. top: 0px;
  524. bottom: 0px;
  525. margin: 0em -1px;
  526. width: -webkit-calc(100% + 2px );
  527. width: calc(100% + 2px );
  528. max-width: -webkit-calc(100% + 2px );
  529. max-width: calc(100% + 2px );
  530. border-radius: 0px;
  531. box-shadow: none;
  532. border: 1px solid #d4d4d5;
  533. }
  534. .ui.segments > .segment:not(:first-child) {
  535. border-top: none;
  536. }
  537. /* Top */
  538. .ui.segments > .segment:first-child {
  539. margin-top: 0em;
  540. bottom: 0px;
  541. margin-bottom: 0em;
  542. top: 0px;
  543. margin-top: 1rem;
  544. border-radius: 0.2857rem 0.2857rem 0em 0em;
  545. }
  546. /* Bottom */
  547. .ui.segments > .segment:last-child {
  548. bottom: 0px;
  549. margin-top: 0em;
  550. margin-bottom: 0em;
  551. top: 0px;
  552. box-shadow: none, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  553. border-radius: 0em 0em 0.2857rem 0.2857rem;
  554. }
  555. /*******************************
  556. Theme Overrides
  557. *******************************/
  558. /*******************************
  559. Site Overrides
  560. *******************************/