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.

603 lines
13 KiB

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