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.

594 lines
13 KiB

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