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.

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