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.

1562 lines
28 KiB

11 years ago
11 years ago
10 years ago
10 years ago
10 years ago
11 years ago
11 years ago
10 years ago
10 years ago
10 years ago
  1. /*******************************
  2. Highlighted Colors
  3. *******************************/
  4. ::-webkit-selection {
  5. background-color: #FFFFCC;
  6. color: #555555;
  7. }
  8. ::-moz-selection {
  9. background-color: #FFFFCC;
  10. color: #555555;
  11. }
  12. ::selection {
  13. background-color: #FFFFCC;
  14. color: #555555;
  15. }
  16. h1::-moz-selection,
  17. h2::-moz-selection,
  18. h3::-moz-selection {
  19. background-color: #F1C1C2;
  20. color: #222222;
  21. }
  22. h1::selection,
  23. h2::selection,
  24. h3::selection {
  25. background-color: #F1C1C2;
  26. color: #222222;
  27. }
  28. .ui *::-moz-selection {
  29. background-color: #CCE2FF;
  30. }
  31. .ui *::selection {
  32. background-color: #CCE2FF;
  33. }
  34. /*******************************
  35. Global
  36. *******************************/
  37. html,
  38. body {
  39. font-size: 14px;
  40. }
  41. body#example {
  42. background: #FCFCFC url(../images/bg.jpg) repeat;
  43. margin: 0px;
  44. padding: 0px;
  45. color: #555555;
  46. min-width: 320px;
  47. font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  48. }
  49. body > .content {
  50. background: #FCFCFC url(../images/bg.jpg) repeat;
  51. }
  52. h1,
  53. h2,
  54. h3,
  55. h4,
  56. h5 {
  57. font-family: "Lato", "Helvetica Neue", "Helvetica", "Arial", sans-serif/*rtl:prepend:"Droid Arabic Kufi","Droid Sans", */;
  58. }
  59. p:first-child {
  60. margin-top: 0em;
  61. }
  62. p:last-child {
  63. margin-bottom: 0em;
  64. }
  65. /* links */
  66. a {
  67. color: #009FDA;
  68. text-decoration: none;
  69. }
  70. a:hover {
  71. color: #00BAFF;
  72. }
  73. ul.list {
  74. list-style-type: disc;
  75. }
  76. ul.list li {
  77. list-style-position: outside;
  78. }
  79. /* text and headers */
  80. h1 {
  81. margin: 0px 0px 20px;
  82. padding: 50px 0px 5px;
  83. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  84. }
  85. h4 + p {
  86. margin: 0px 0px 1em;
  87. }
  88. pre {
  89. background-color: #F0F0F0;
  90. }
  91. /*rtl:ignore*/
  92. pre.console {
  93. background-color: transparent;
  94. line-height: 1.6;
  95. font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
  96. height: 300px;
  97. overflow: auto;
  98. direction:ltr;
  99. }
  100. code {
  101. background-color: rgba(0, 0, 0, 0.02);
  102. border: 1px solid rgba(0, 0, 0, 0.1);
  103. display: inline-block;
  104. font-family: Courier New;
  105. font-size: 14px;
  106. margin: 0.25em;
  107. padding: 0.125em 0.5em;
  108. vertical-align: baseline;
  109. }
  110. .ui.message .code {
  111. background-color: rgba(0, 0, 0, 0.05);
  112. }
  113. pre code {
  114. border: none;
  115. padding: 0px;
  116. }
  117. table pre,
  118. table code {
  119. margin: 0px !important;
  120. padding: 0px;
  121. background-color: transparent;
  122. }
  123. p {
  124. margin: 1em 0em;
  125. }
  126. p:first-child {
  127. margin-top: 0em;
  128. }
  129. p:last-child {
  130. margin-bottom: 0em;
  131. }
  132. /* links */
  133. a {
  134. color: #009FDA;
  135. text-decoration: none;
  136. }
  137. a:hover {
  138. color: #00BAFF;
  139. }
  140. #example #menu .item {
  141. -webkit-border-radius: 0px;
  142. -moz-border-radius: 0px;
  143. border-radius: 0px;
  144. }
  145. #example #menu .hide.item {
  146. display: none;
  147. }
  148. #example #menu .item .item {
  149. font-size: 0.875rem;
  150. }
  151. #example .segment > .dimmer {
  152. z-index: 800;
  153. }
  154. /* segment headers */
  155. #example > .content > .page > .segment,
  156. #example > .segment {
  157. margin: 0px 0px 3em;
  158. padding-top: 70px;
  159. padding-bottom: 30px;
  160. background-color: #FFFFFF;
  161. border-bottom: 1px solid #DDDDDD;
  162. }
  163. #example > .tab.segment {
  164. padding-bottom: 0em;
  165. margin-bottom: 2em;
  166. }
  167. #example > .tab.segment .fixed .tabular.menu {
  168. position: fixed;
  169. top: 50px;
  170. }
  171. #example > .tab.segment .vertical.menu {
  172. display: none;
  173. margin: 2rem 0em 1rem;
  174. }
  175. #example > .tab.segment .tabular.menu {
  176. margin: 2rem 0em 0em;
  177. border-bottom: none;
  178. }
  179. #example > .tab.segment .tabular.menu .active.item {
  180. background-color: #FAFAFA;
  181. border-bottom-color: #FAFAFA;
  182. }
  183. #example .download.menu {
  184. margin-top: 0em;
  185. margin-bottom: 3rem;
  186. }
  187. #example .main.menu {
  188. min-width: 320px;
  189. z-index: 900;
  190. -webkit-box-sizing: border-box;
  191. -moz-box-sizing: border-box;
  192. -ms-box-sizing: border-box;
  193. box-sizing: border-box;
  194. -webkit-transition: margin 0.3s ease;
  195. -moz-transition: margin 0.3s ease;
  196. -o-transition: margin 0.3s ease;
  197. -ms-transition: margin 0.3s ease;
  198. transition: margin 0.3s ease;
  199. }
  200. #example .main.menu iframe {
  201. margin: 0px 0px 0px 0px;
  202. }
  203. /* lists */
  204. #example .features {
  205. list-style-position: inside;
  206. margin: 10px 0px 0px;
  207. padding: 0px;
  208. }
  209. #example .features li {
  210. list-style-type: disc;
  211. margin: 0px 0px 10px;
  212. font-weight: bold;
  213. }
  214. #example .advertisement {
  215. float: right;
  216. margin-left: 2em;
  217. }
  218. /*--------------
  219. Intro
  220. ---------------*/
  221. body.guide .main h3 {
  222. margin: 2rem 0em 0.5rem;
  223. }
  224. body.guide .main.container > * {
  225. max-width: 800px;
  226. }
  227. /*--------------
  228. Masthead
  229. ---------------*/
  230. #example .error.masthead {
  231. position: absolute;
  232. margin-top: -290px;
  233. top: 50%;
  234. width: 100%;
  235. }
  236. #example .error.masthead .container {
  237. position: relative;
  238. z-index: 100;
  239. }
  240. #example .masthead {
  241. position: relative;
  242. overflow: hidden;
  243. background: #111111 url(../images/bg-moonlight.jpg);
  244. background-size: cover;
  245. text-align: center;
  246. padding: 7em 0px;
  247. color: rgba(255, 255, 255, 0.9);
  248. margin-bottom: 0px;
  249. border-bottom: none;
  250. }
  251. #example .masthead:before {
  252. position: absolute;
  253. z-index: 1;
  254. width: 500%;
  255. height: 500%;
  256. top: 0px;
  257. left: 0px;
  258. content: '';
  259. background: url(../images/icons.png);
  260. -moz-transform-origin: 50% 50%;
  261. -o-transform-origin: 50% 50%;
  262. -ms-transform-origin: 50% 50%;
  263. transform-origin: 50% 50%;
  264. -webkit-animation-name: masthead;
  265. -moz-animation-name: masthead;
  266. -o-animation-name: masthead;
  267. animation-name: masthead;
  268. -webkit-animation-duration: 120s;
  269. -moz-animation-duration: 120s;
  270. -ms-animation-duration: 120s;
  271. -o-animation-duration: 120s;
  272. animation-duration: 120s;
  273. -webkit-animation-fill-mode: both;
  274. -moz-animation-fill-mode: both;
  275. -ms-animation-fill-mode: both;
  276. -o-animation-fill-mode: both;
  277. animation-fill-mode: both;
  278. animation-timing-function: linear;
  279. -webkit-animation-timing-function: linear;
  280. -webkit-animation-iteration-count: infinite;
  281. -moz-animation-iteration-count: infinite;
  282. -ms-animation-iteration-count: infinite;
  283. -o-animation-iteration-count: infinite;
  284. animation-iteration-count: infinite;
  285. transform: rotateZ(1deg);
  286. }
  287. @keyframes masthead {
  288. 0% {
  289. background-position: 0% 0%;
  290. }
  291. 50% {
  292. background-position: -50% -100%;
  293. }
  294. 100% {
  295. background-position: -100% -200%;
  296. }
  297. }
  298. @-moz-keyframes masthead {
  299. 0% {
  300. background-position: 0% 0%;
  301. }
  302. 50% {
  303. background-position: -50% -100%;
  304. }
  305. 100% {
  306. background-position: -100% -200%;
  307. }
  308. }
  309. @-webkit-keyframes masthead {
  310. 0% {
  311. background-position: 0% 0%;
  312. }
  313. 50% {
  314. background-position: -50% -100%;
  315. }
  316. 100% {
  317. background-position: -100% -200%;
  318. }
  319. }
  320. @-ms-keyframes masthead {
  321. 0% {
  322. background-position: 0% 0%;
  323. }
  324. 50% {
  325. background-position: -50% -100%;
  326. }
  327. 100% {
  328. background-position: -100% -200%;
  329. }
  330. }
  331. @-o-keyframes masthead {
  332. 0% {
  333. background-position: 0% 0%;
  334. }
  335. 50% {
  336. background-position: -50% -100%;
  337. }
  338. 100% {
  339. background-position: -100% -200%;
  340. }
  341. }
  342. #example.index .main.menu {
  343. background-color: rgba(0, 0, 0, 0.3);
  344. box-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
  345. -webkit-transition: all 1s ease;
  346. transition: all 1s ease;
  347. }
  348. #example.index .filled.main.menu {
  349. background-color: rgba(0, 0, 0, 0.9);
  350. box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
  351. }
  352. #example.index .introduction {
  353. text-align: center;
  354. }
  355. #example .masthead .grid {
  356. position: relative;
  357. z-index: 2;
  358. }
  359. #example .masthead .column {
  360. display: table;
  361. }
  362. #example .introduction {
  363. display: table-cell;
  364. vertical-align: top;
  365. width: 100%;
  366. }
  367. #example .introduction .buttons {
  368. margin-top: 3em;
  369. }
  370. #example .introduction .label {
  371. position: absolute;
  372. top: 1em;
  373. right: 0em;
  374. }
  375. #example .introduction .theme.buttons {
  376. margin: -0.1em 0em 0em 0.5em;
  377. vertical-align: middle;
  378. }
  379. #example .advertisement {
  380. float: none;
  381. display: table-cell;
  382. vertical-align: top;
  383. padding-left: 2em;
  384. }
  385. #example #carbonads-container {
  386. float: right;
  387. }
  388. #example .advertisement .carbonad {
  389. -moz-border-radius: 5px;
  390. -webkit-border-radius: 5px;
  391. border-radius: 5px;
  392. border: 1px solid rgba(0, 0, 0, 0.1);
  393. }
  394. #example .advertisement .carbonad-text {
  395. height: auto;
  396. font-size: 12px;
  397. line-height: 1.3;
  398. }
  399. #example .carbonad-tag {
  400. text-align: left;
  401. }
  402. #example .inverted.advertisement .carbonad {
  403. background-color: rgba(0, 31, 30, 0.5);
  404. border: none;
  405. overflow: hidden;
  406. height: auto;
  407. padding: 6px 0px 13px;
  408. }
  409. #example .inverted.advertisement .carbonad-text {
  410. color: rgba(255, 255, 255, 0.6);
  411. }
  412. #example .inverted.advertisement .carbonad-tag {
  413. margin-top: 10px;
  414. color: rgba(255, 255, 255, 0.4);
  415. }
  416. #example .inverted.advertisement .carbonad-tag a {
  417. color: rgba(255, 255, 255, 0.8);
  418. }
  419. #example .inverted.advertisement .carbonad-tag a:hover {
  420. color: #FFFFFF;
  421. }
  422. #example .masthead .labeled.button {
  423. position: relative;
  424. left: 0px;
  425. top: 0px;
  426. width: auto !important;
  427. margin-right: 1em;
  428. }
  429. #example .masthead.segment h1 {
  430. font-size: 5em;
  431. color: #FFFFFF;
  432. line-height: 1.2;
  433. margin: -20px 0px 0px;
  434. padding-bottom: 0px;
  435. }
  436. #example .masthead strike {
  437. color: rgba(0, 0, 0, 0.2);
  438. }
  439. #example .masthead h2 {
  440. font-weight: normal;
  441. margin: 0px 0 16px 0px;
  442. font-size: 1.75em;
  443. border-bottom: none;
  444. line-height: 1;
  445. }
  446. #example .masthead .menu {
  447. width: 375px;
  448. }
  449. #example .masthead p {
  450. font-size: 1.5em;
  451. margin: 1em 0em 1.5em;
  452. padding: 0px;
  453. }
  454. #example .footer.link.list {
  455. display: block;
  456. text-align: center;
  457. margin-bottom: 1.5rem;
  458. }
  459. /*--------------
  460. Transparent
  461. ---------------*/
  462. .ui.transparent.menu {
  463. opacity: 0.95;
  464. }
  465. /* content */
  466. #example .container {
  467. width: 915px;
  468. margin: 0px auto;
  469. }
  470. #example .solid,
  471. #example .stripe {
  472. padding: 50px 0px;
  473. }
  474. #example .dark.stripe {
  475. background-color: #333333;
  476. background: url(/images/dark-bg.png) repeat;
  477. color: #FFFFFF;
  478. }
  479. #example .stripe .column .label {
  480. margin-bottom: 1em;
  481. }
  482. #example .solid {
  483. background-color: #FFFFFF;
  484. -webkit-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.1);
  485. -moz-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.1);
  486. box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.1);
  487. }
  488. #example .solid .column {
  489. color: #555555;
  490. }
  491. #example .solid .column p b {
  492. color: rgba(0, 0, 0, 0.9);
  493. }
  494. #example .solid .column p {
  495. color: rgba(0, 0, 0, 0.5);
  496. }
  497. #example .stripe .message {
  498. margin: 2em 0em;
  499. }
  500. #example .shortcuts {
  501. float: right;
  502. clear: both;
  503. }
  504. #example .launch.button {
  505. position: fixed;
  506. top: 63px;
  507. z-index: 500;
  508. width: 60px;
  509. }
  510. #example .launch.button .icon {
  511. margin-left: 0px;
  512. }
  513. #example.index .main.menu {
  514. top: 0px;
  515. }
  516. #example.index pre.console {
  517. height: 120px;
  518. }
  519. #example.index .attached.launch.button {
  520. top: 96px;
  521. }
  522. #example .launch.button .text {
  523. display: inline-block;
  524. display: none;
  525. }
  526. #example .main.container {
  527. position: relative;
  528. padding-bottom: 100px;
  529. }
  530. #example .main.container > h2 {
  531. -webkit-transition: 0.5s color ease;
  532. -moz-transition: 0.5s color ease;
  533. -o-transition: 0.5s color ease;
  534. -ms-transition: 0.5s color ease;
  535. transition: 0.5s color ease;
  536. }
  537. #example .swap {
  538. background: url(http://beta.myfav.es/images/themes/bg/subtle/subtle-handmade-paper.png) repeat;
  539. }
  540. #example .peek {
  541. position: absolute;
  542. top: 0px;
  543. left: -230px;
  544. width: 180px;
  545. /*
  546. -webkit-transition: padding 0.3s ease;
  547. -moz-transition: padding 0.3s ease;
  548. -o-transition: padding 0.3s ease;
  549. -ms-transition: padding 0.3s ease;
  550. transition: padding 0.3s ease;*/
  551. }
  552. #example .ui.tab.segment {
  553. padding: 1.5em 2em;
  554. }
  555. #example .example .circular.segment {
  556. width: 175px;
  557. height: 175px;
  558. }
  559. #example.popup .example .popup {
  560. color: #FF0000;
  561. }
  562. #example .position.example .icon {
  563. position: absolute;
  564. margin: 0em;
  565. width: auto;
  566. font-size: 1.5em;
  567. height: auto;
  568. padding: 0.5em !important;
  569. }
  570. #example .position.example .segment {
  571. width: 250px;
  572. height: 250px;
  573. }
  574. #example .position.example .segment .icon:nth-of-type(1) {
  575. top: 3em;
  576. left: 3em;
  577. }
  578. #example .position.example .segment .icon:nth-of-type(2) {
  579. top: 3em;
  580. left: 50%;
  581. margin-left: -1em;
  582. }
  583. #example .position.example .segment .icon:nth-of-type(3) {
  584. top: 3em;
  585. right: 3em;
  586. }
  587. #example .position.example .segment .icon:nth-of-type(4) {
  588. top: 50%;
  589. margin-top: -1em;
  590. right: 3em;
  591. }
  592. #example .position.example .segment .icon:nth-of-type(5) {
  593. bottom: 3em;
  594. right: 3em;
  595. }
  596. #example .position.example .segment .icon:nth-of-type(6) {
  597. bottom: 3em;
  598. left: 50%;
  599. margin-left: -1em;
  600. }
  601. #example .position.example .segment .icon:nth-of-type(7) {
  602. bottom: 3em;
  603. left: 3em;
  604. }
  605. #example .position.example .segment .icon:nth-of-type(8) {
  606. top: 50%;
  607. margin-top: -1em;
  608. left: 3em;
  609. }
  610. #example .main.ui.grid {
  611. position: relative;
  612. }
  613. #example .example .toggle.button {
  614. min-width: 200px;
  615. }
  616. #example .example .language.label {
  617. margin: 1em 0em 0.75em;
  618. }
  619. #example .icon.example .grid {
  620. margin-top: 1.5rem;
  621. text-align: left;
  622. }
  623. #example .icon.example .grid .code {
  624. position: static;
  625. }
  626. #example .icon.example .grid .column {
  627. opacity: 0.8;
  628. margin-bottom: 2em;
  629. text-align: center;
  630. color: #888888;
  631. -webkit-transition:
  632. margin-left 0.3s ease-out,
  633. opacity 0.3s ease-out
  634. ;
  635. -moz-transition:
  636. margin-left 0.3s ease-out,
  637. opacity 0.3s ease-out
  638. ;
  639. -o-transition:
  640. margin-left 0.3s ease-out,
  641. opacity 0.3s ease-out
  642. ;
  643. -ms-transition:
  644. margin-left 0.3s ease-out,
  645. opacity 0.3s ease-out
  646. ;
  647. transition:
  648. margin-left 0.3s ease-out,
  649. opacity 0.3s ease-out
  650. ;
  651. }
  652. #example .icon.example .column .icon {
  653. opacity: 1;
  654. height: 1em;
  655. color: #333333;
  656. display: block;
  657. margin: 0em auto 0.25em;
  658. font-size: 2em;
  659. -webkit-transition:
  660. all 0.2s ease-out
  661. ;
  662. -moz-transition:
  663. all 0.2s ease-out
  664. ;
  665. -o-transition:
  666. all 0.2s ease-out
  667. ;
  668. -ms-transition:
  669. all 0.2s ease-out
  670. ;
  671. transition:
  672. all 0.2s ease-out
  673. ;
  674. }
  675. #example .icon.example .grid .column:hover .icon {
  676. color: #009FDA;
  677. -webkit-transform: scale(1.5);
  678. -moz-transform: scale(1.5);
  679. -o-transform: scale(1.5);
  680. -ms-transform: scale(1.5);
  681. transform: scale(1.5);
  682. }
  683. #example .another.icon.example {
  684. border-top: 1px solid rgba(0, 0, 0, 0.1);
  685. }
  686. #example .another.example {
  687. margin-top: -1em;
  688. padding-top: 2em;
  689. border-top: none;
  690. }
  691. #example .another.example i.code {
  692. top: 0px;
  693. }
  694. #example .another.example i.code ~ .ignored.message {
  695. margin-top: 0em;
  696. }
  697. #example .example > p {
  698. color: #888888;
  699. }
  700. #example .example div.code[data-demo] {
  701. color: transparent;
  702. }
  703. #example .peek .menu .active:nth-child(1) {
  704. border-right-color: #00B9F0;
  705. color: #00B9F0;
  706. }
  707. #example .peek .menu .active:nth-child(2) {
  708. border-right-color: #56BB73;
  709. color: #56BB73;
  710. }
  711. #example .peek .menu .active:nth-child(3) {
  712. border-right-color: #EF3F49;
  713. color: #EF3F49;
  714. }
  715. #example .peek .menu .active:nth-child(4) {
  716. border-right-color: #A24096;
  717. color: #A24096;
  718. }
  719. #example .main h2.group {
  720. color: #A24096;
  721. }
  722. #example .peek > .menu {
  723. margin-left: 0px;
  724. width: 180px;
  725. }
  726. /* #example .peek > .menu.animating > .active {
  727. background-color: transparent;
  728. border: none;
  729. padding-left: 0.95em;
  730. }
  731. #example .peek > .menu.animating > .active:after {
  732. background-color: #FFFFFF;
  733. } */
  734. /* overview mode */
  735. #example.overview h2.ui.header {
  736. margin-bottom: 0em;
  737. }
  738. /*
  739. #example .ui.header ~ .ui.message a,
  740. #example .ui.header ~ p a {
  741. font-weight: bold;
  742. }
  743. */
  744. #example.overview .example {
  745. margin: 0em;
  746. min-height: 0px !important;
  747. overflow: hidden;
  748. padding: 0.5em 0em;
  749. }
  750. #example.overview .example .ui.header,
  751. #example.overview .example p {
  752. float: right;
  753. font-size: 1em;
  754. font-weight: normal;
  755. margin: 0;
  756. padding: 0;
  757. }
  758. #example.overview .example p {
  759. float: left;
  760. font-size: 1rem;
  761. padding: 0em 0em 0em 0.3em;
  762. width: auto;
  763. }
  764. #example .sticky-wrapper.stuck {
  765. height: 0px !important;
  766. -webkit-transition:
  767. margin-left 0.3s ease-out,
  768. opacity 0.3s ease-out
  769. ;
  770. -moz-transition:
  771. margin-left 0.3s ease-out,
  772. opacity 0.3s ease-out
  773. ;
  774. -o-transition:
  775. margin-left 0.3s ease-out,
  776. opacity 0.3s ease-out
  777. ;
  778. -ms-transition:
  779. margin-left 0.3s ease-out,
  780. opacity 0.3s ease-out
  781. ;
  782. transition:
  783. margin-left 0.3s ease-out,
  784. opacity 0.3s ease-out
  785. ;
  786. }
  787. #example .sticky-wrapper.stuck .peek {
  788. position: fixed;
  789. top: 75px;
  790. left: 50%;
  791. margin-left: -685px;
  792. }
  793. #example.left.pushed .sticky-wrapper .peek {
  794. margin-left: -132.5px;
  795. padding-left: 132.5px;
  796. }
  797. #example.left.pushed .sticky-wrapper.stuck .peek {
  798. margin-left: -817.5px;
  799. padding-left: 132.5px;
  800. }
  801. #example .settings.table {
  802. margin-bottom: 20px;
  803. }
  804. #example .settings.table td:first-child {
  805. font-weight: bold;
  806. }
  807. #example .settings.table td:nth-child(2n) {
  808. width: 100px;
  809. }
  810. #example .existing.annotation {
  811. /*display: none;*/
  812. }
  813. /*#example .segment p:first-of-type {
  814. margin-top: 0em;
  815. }*/
  816. /* example code reskin */
  817. #example div.code.hide {
  818. display: none;
  819. }
  820. /*rtl:ignore*/
  821. #example div.code {
  822. position: relative;
  823. width: 100%;
  824. height: 200px;
  825. text-align: left;
  826. direction:ltr;
  827. }
  828. #example div.code {
  829. margin: -1em;
  830. font-size: 14px;
  831. padding: 5px 0px;
  832. background-color: transparent;
  833. }
  834. #example .label + div.code {
  835. margin-top: 1.5em;
  836. }
  837. #example div.code .ace_gutter {
  838. background-color: #FAFAFA;
  839. border-right: 1px solid rgba(0, 0, 0, 0.1);
  840. color: #999999;
  841. }
  842. #example div.code .ace_gutter-cell {
  843. padding-right: 20px;
  844. padding-left: 10px;
  845. }
  846. #example div.code .ace_bracket {
  847. background-color: rgba(0, 0, 0, 0.05);
  848. border: 1px solid rgba(0, 0, 0, 0.1);
  849. }
  850. #example div.code .ace_indent-guide {
  851. position: relative;
  852. background: none;
  853. }
  854. /* #example div.code .ace_indent-guide:after {
  855. content: '';
  856. position: absolute;
  857. top: 0px;
  858. right: 0px;
  859. height: 100%;
  860. border-left: 1px solid #ECF5F3;
  861. } */
  862. #example table .instructive.segment {
  863. background-color: transparent;
  864. border: 0px;
  865. box-shadow: none;
  866. padding: 0em;
  867. margin: -0.4em -0.7em;
  868. }
  869. #example table .instructive.segment .code {
  870. margin: 0em;
  871. }
  872. #example table .instructive.segment div.code .ace_identifier,
  873. #example table .instructive.segment div.code .ace_line {
  874. color: #555555;
  875. }
  876. #example .ui.label + .instructive.segment {
  877. margin-top: 0em;
  878. }
  879. #example .instructive.segment em {
  880. font-style: normal;
  881. color: rgba(0, 0, 0, 0.4);
  882. }
  883. #example .instructive.segment .title + em {
  884. float: right;
  885. }
  886. #example div.code .ace_gutter,
  887. #example div.code .ace_scroller {
  888. background-color: transparent;
  889. overflow: visible;
  890. margin: 14px 10px;
  891. }
  892. #example div.code .ace_scrollbar {
  893. overflow: hidden;
  894. background-color: transparent;
  895. }
  896. #example div.code .ace_line,
  897. #example div.code .ace_line span {
  898. -webkit-transition:
  899. color 1s ease-out
  900. ;
  901. -moz-transition:
  902. color 1s ease-out
  903. ;
  904. -o-transition:
  905. color 1s ease-out
  906. ;
  907. -ms-transition:
  908. color 1s ease-out
  909. ;
  910. transition:
  911. color 1s ease-out
  912. ;
  913. }
  914. #example div.code .ace_line {
  915. color: #555555;
  916. }
  917. #example div.code .ace_tag {
  918. color: #DCBCD3;
  919. }
  920. #example div.code .ace_attribute-name {
  921. color: #F4C5C5;
  922. }
  923. #example div.code .ace_content {
  924. }
  925. #example div.code .ace_string {
  926. color: #00A59D;
  927. }
  928. #example div.code .ace_cursor {
  929. border-left: none;
  930. }
  931. #example div.code .ace_paren {
  932. color: #CCCCCC;
  933. }
  934. #example div.code .ace_keyword {
  935. color: #CCCCCC;
  936. }
  937. #example div.code .ace_identifier {
  938. color: #CCCCCC;
  939. }
  940. #example div.code .ace_punctuation {
  941. color: #CCCCCC;
  942. }
  943. #example div.code .ace_active_line {
  944. background-color: #FBFBE5;
  945. }
  946. /* Hovered Style */
  947. #example div.code:hover .ace_line {
  948. color: #555555;
  949. }
  950. #example div.code:hover .ace_tag {
  951. color: #892A6F;
  952. }
  953. #example div.code:hover .ace_attribute-name {
  954. color: #934E4E;
  955. }
  956. #example div.code:hover .ace_content {
  957. }
  958. #example div.code:hover .ace_string {
  959. color: #00A59D;
  960. }
  961. #example div.code:hover .ace_cursor {/*
  962. border-left: 1px solid #AAAAAA;*/
  963. }
  964. #example div.code:hover .ace_paren {
  965. color: #555555;
  966. }
  967. #example div.code:hover .ace_keyword {
  968. color: #555555;
  969. }
  970. #example div.code:hover .ace_identifier {
  971. color: #555555;
  972. }
  973. #example div.code:hover .ace_scrollbar {
  974. overflow: hidden !important;
  975. }
  976. #example div.code:hover .ace_punctuation {
  977. color: #555555;
  978. }
  979. #example div.code:hover .ace_active_line {
  980. background-color: #FBFBE5;
  981. }
  982. /* examples */
  983. #example .no.example i.code {
  984. display: none;
  985. }
  986. #example .clearing.example {
  987. overflow: hidden;
  988. padding: 1px;
  989. }
  990. #example .example:first-child,
  991. #example h2 ~ .example,
  992. #example h3 ~ .example,
  993. #example h4 ~ .example {
  994. margin-top: 0px;
  995. padding-top: 0px;
  996. border-top: none;
  997. }
  998. #example h2 ~ .example i.code,
  999. #example h3 ~ .example i.code,
  1000. #example h4 ~ .example i.code {
  1001. top: 0px;
  1002. }
  1003. #example .example > h4 {
  1004. margin-bottom: 0em;
  1005. }
  1006. #example .clearing.example {
  1007. clear: both;
  1008. }
  1009. #example .example {
  1010. margin: 1em 0em 1.5em;
  1011. padding: 1em 0em;
  1012. /* clear: both;*/
  1013. position: relative;
  1014. }
  1015. #example .example .grid i.code {
  1016. right: 25%;
  1017. }
  1018. #example .example i.code {
  1019. cursor: pointer;
  1020. position: absolute;
  1021. top: 2em;
  1022. right: 0px;
  1023. opacity: 0.2;
  1024. font-size: 18px;
  1025. color: #555555;
  1026. -webkit-transition: opacity 0.3s ease-out;
  1027. -moz-transition: opacity 0.3s ease-out;
  1028. -o-transition: opacity 0.3s ease-out;
  1029. -ms-transition: opacity 0.3s ease-out;
  1030. transition: opacity 0.3s ease-out;
  1031. }
  1032. #example .example i.code:before {
  1033. font-family: 'Docs';
  1034. content: "\f05f";
  1035. }
  1036. #example .example:hover i.code {
  1037. opacity: 0.7;
  1038. }
  1039. #example .example:hover i.code:hover {
  1040. opacity: 1;
  1041. }
  1042. #example .highlighted.example {
  1043. min-height: 275px;
  1044. }
  1045. #example .collection.cards {
  1046. min-height: 350px;
  1047. }
  1048. #example .highlighted.example .grid,
  1049. #example .ui.type.cards .image .grid {
  1050. -webkit-animation: grid 15s ease infinite;
  1051. -moz-animation: grid 15s ease infinite;
  1052. background-color: #F6F6F6;
  1053. margin: 0em auto;
  1054. box-shadow:
  1055. 0px 0px 0px 1px rgba(0, 0, 0, 0.1),
  1056. 0px 1px 2px 0px rgba(0, 0, 0, 0.1)
  1057. ;
  1058. }
  1059. #example .highlighted.example .grid .row,
  1060. #example .ui.type.cards .image .grid .row {
  1061. border-top: 1px solid #DDDDDD;
  1062. }
  1063. #example .highlighted.example .grid .row:first-child,
  1064. #example .ui.type.cards .image .grid .row:first-child {
  1065. border-top: none;
  1066. }
  1067. #example .highlighted.example .grid .column:not(.grid):first-child,
  1068. #example .ui.type.cards .image .grid .column:not(.grid):first-child {
  1069. box-shadow: none;
  1070. }
  1071. #example .highlighted.example .grid .column:not(.grid),
  1072. #example .ui.type.cards .image .grid .column:not(.grid) {
  1073. min-height: 50px;
  1074. -webkit-box-shadow: -1px 0px 0px 0px rgba(0, 0, 0, 0.1);
  1075. -moz-box-shadow: -1px 0px 0px 0px rgba(0, 0, 0, 0.1);
  1076. box-shadow: -1px 0px 0px 0px rgba(0, 0, 0, 0.1);
  1077. }
  1078. #example .highlighted.example .grid .segment,
  1079. #example .ui.type.cards .image .grid .segment {
  1080. min-height: 60px;
  1081. text-align: center;
  1082. padding-left: 0em;
  1083. padding-right: 0em;
  1084. border-radius: 0px;
  1085. }
  1086. @-webkit-keyframes grid {
  1087. 0% {
  1088. width: 100%;
  1089. }
  1090. 40% {
  1091. width: 70%;
  1092. }
  1093. 60% {
  1094. width: 70%;
  1095. }
  1096. 100% {
  1097. width: 100%;
  1098. }
  1099. }
  1100. @-moz-keyframes grid {
  1101. 0% {
  1102. width: 100%;
  1103. }
  1104. 40% {
  1105. width: 70%;
  1106. }
  1107. 60% {
  1108. width: 70%;
  1109. }
  1110. 100% {
  1111. width: 100%;
  1112. }
  1113. }
  1114. @keyframes grid {
  1115. 0% {
  1116. width: 100%;
  1117. }
  1118. 40% {
  1119. width: 70%;
  1120. }
  1121. 60% {
  1122. width: 70%;
  1123. }
  1124. 100% {
  1125. width: 100%;
  1126. }
  1127. }
  1128. #example .ui.type.cards > .item {
  1129. min-height: 255px;
  1130. }
  1131. #example .ui.type.cards > .item > .image {
  1132. padding: 1em;
  1133. height: 165px;
  1134. vertical-align: middle;
  1135. }
  1136. /* some demo formatting */
  1137. .ui.menu p:only-child {
  1138. margin: 0px;
  1139. }
  1140. .ui.menu a {
  1141. cursor: pointer;
  1142. }
  1143. body.card .even.example .card .content {
  1144. clear: both;
  1145. min-height: 145px;
  1146. }
  1147. body.progress .ui.progress .bar {
  1148. -webkit-animation: finish 10s ease-in-out infinite;
  1149. -moz-animation: finish 10s ease-in-out infinite;
  1150. -ms-animation: finish 10s ease-in-out infinite;
  1151. animation: finish 10s ease-in-out infinite;
  1152. }
  1153. @-webkit-keyframes finish {
  1154. 0% {
  1155. width: 0%;
  1156. }
  1157. 40% {
  1158. width: 100%;
  1159. }
  1160. 100% {
  1161. width: 100%;
  1162. }
  1163. }
  1164. @-moz-keyframes finish {
  1165. 0% {
  1166. width: 0%;
  1167. }
  1168. 40% {
  1169. width: 100%;
  1170. }
  1171. 100% {
  1172. width: 100%;
  1173. }
  1174. }
  1175. @keyframes finish {
  1176. 0% {
  1177. width: 0%;
  1178. }
  1179. 40% {
  1180. width: 100%;
  1181. }
  1182. 100% {
  1183. width: 100%;
  1184. }
  1185. }
  1186. #example.sink .inverted.button {
  1187. margin-bottom: 0.75em;
  1188. }
  1189. #example.feed .example .segment {
  1190. max-width: 800px;
  1191. }
  1192. #example .fixed .launch {
  1193. display: none;
  1194. }
  1195. #example .fixed.column .sticky-wrapper {
  1196. position: relative;
  1197. height: 0px !important;
  1198. }
  1199. #example .fixed.column .fixed,
  1200. #example .fixed.segment .fixed {
  1201. position: fixed;
  1202. top: 65px;
  1203. -webkit-perspective: 1000px;
  1204. -moz-perspective: 1000px;
  1205. -ms-perspective: 1000px;
  1206. perspective: 1000px;
  1207. -webkit-transform-style: preserve-3d;
  1208. -moz-transform-style: preserve-3d;
  1209. -ms-transform-style: preserve-3d;
  1210. transform-style: preserve-3d;
  1211. }
  1212. #example .fixed.column .content > .image {
  1213. position: absolute;
  1214. top: 0px;
  1215. left: 0px;
  1216. }
  1217. @media only screen and (max-width : 1325px) {
  1218. #example .container {
  1219. width: auto;
  1220. margin-right: 100px;
  1221. margin-left: 325px;
  1222. max-width: 700px;
  1223. }
  1224. #example.index .container {
  1225. margin-left: 8em;
  1226. margin-right: 8em;
  1227. }
  1228. #example .sticky-wrapper.stuck .peek {
  1229. margin-left: 0px;
  1230. left: 95px;
  1231. }
  1232. #example.left.pushed .sticky-wrapper .peek {
  1233. padding-left: 275px;
  1234. margin-left: -275px;
  1235. }
  1236. #example.left.pushed .sticky-wrapper.stuck .peek {
  1237. margin-left: 0px;
  1238. padding-left: 275px;
  1239. }
  1240. }
  1241. @media only screen and (max-width : 1500px) {
  1242. #example.index .icon.header .icon {
  1243. font-size: 3em;
  1244. }
  1245. }
  1246. @media only screen and (max-width : 1050px) {
  1247. #example .fixed .section,
  1248. #example .fixed .title b {
  1249. display: none;
  1250. }
  1251. #example .stripe .header .code.icon {
  1252. display: none;
  1253. }
  1254. #example .fixed .container {
  1255. width: auto;
  1256. margin: 0px auto;
  1257. }
  1258. #example .attached.launch.button {
  1259. display: none;
  1260. }
  1261. #example .fixed .launch {
  1262. display: inline-block;
  1263. }
  1264. #example .sticky-wrapper {
  1265. display: none;
  1266. }
  1267. #example .container {
  1268. width: auto;
  1269. margin: 0% 30px 0px;
  1270. }
  1271. }
  1272. @media only screen and (max-width : 780px) {
  1273. pre.console {
  1274. height: 150px;
  1275. }
  1276. #example.index .masthead {
  1277. text-align: center;
  1278. padding: 50px 0px 15px;
  1279. }
  1280. #example.index .masthead h1 {
  1281. font-size: 3em;
  1282. }
  1283. #example.index .masthead h1 .icon {
  1284. display: none;
  1285. }
  1286. #example.index .masthead .button {
  1287. font-size: 1.1em;
  1288. margin-bottom: 0.5em;
  1289. }
  1290. #example.index .masthead h2 {
  1291. font-size: 1.25em;
  1292. margin: 0em 0em 1em;
  1293. }
  1294. #example.index .masthead p {
  1295. font-size: 1.35em;
  1296. }
  1297. #example.index .container {
  1298. margin-left: 2em;
  1299. margin-right: 2em;
  1300. }
  1301. #example.index .icon.header .icon {
  1302. font-size: 3em;
  1303. }
  1304. #example .introduction {
  1305. display: block;
  1306. }
  1307. #example .advertisement {
  1308. display: block;
  1309. margin: 1em 0em;
  1310. padding: 0em;
  1311. }
  1312. #example #menu .hide.item {
  1313. display: block;
  1314. }
  1315. #example #menu .item > .icon {
  1316. font-size: 1em !important;
  1317. }
  1318. #example .inverted.advertisement .carbonad {
  1319. height: 109px;
  1320. }
  1321. #example .inverted.advertisement .carbonad-img {
  1322. margin-top: 0px;
  1323. }
  1324. #example #carbonads-container {
  1325. float: none;
  1326. }
  1327. #example .carbonad {
  1328. width: auto;
  1329. }
  1330. #example .carbonad-text,
  1331. #example .carbonad-tag {
  1332. float: none;
  1333. display: block;
  1334. text-align: left;
  1335. margin-left: 160px;
  1336. width: 170px;
  1337. }
  1338. }
  1339. @media only screen and (max-width : 600px) {
  1340. #example .icon.example .grid .column {
  1341. width: 33.33%;
  1342. }
  1343. }
  1344. @media only screen and (max-width : 600px) {
  1345. #example .main.menu .borderless.item {
  1346. display: none;
  1347. }
  1348. #example .fixed .developer,
  1349. #example .fixed .designer,
  1350. #example .fixed .previous,
  1351. #example .fixed .next {
  1352. display: none;
  1353. }
  1354. #example > .tab.segment .tabular.menu {
  1355. display: none;
  1356. }
  1357. #example > .tab.segment .vertical.menu {
  1358. display: block;
  1359. }
  1360. }
  1361. @media only screen and (max-width : 450px) {
  1362. #example .main.menu .icon.item {
  1363. display: none;
  1364. }
  1365. #example .main.menu .github.item {
  1366. display: block;
  1367. }
  1368. #example .main.menu .github.item:before {
  1369. display: none;
  1370. }
  1371. #example .carbonad {
  1372. height: 135px;
  1373. }
  1374. #example .carbonad .carbonad-text {
  1375. width: 90px;
  1376. }
  1377. }
  1378. @media only screen and (min-width : 1325px) {
  1379. #example .container {
  1380. width: 850px;
  1381. }
  1382. #example .sticky-wrapper.stuck .peek {
  1383. margin-left: -655px;
  1384. }
  1385. #example.left.pushed .main.menu {
  1386. margin-left: -132px;
  1387. }
  1388. }
  1389. @media only screen and (max-width : 998px) {
  1390. #example.index .main.menu .container {
  1391. width: auto;
  1392. padding: 0% 4%;
  1393. }
  1394. #example.transition .examples {
  1395. width: 100%;
  1396. }
  1397. #example.transition .examples .pointing.below.label {
  1398. display: none;
  1399. }
  1400. }
  1401. @media only screen and (min-width : 998px) {
  1402. #example.index .main.menu .container {
  1403. width: auto;
  1404. padding: 0% 8%;
  1405. }
  1406. #example .examples {
  1407. margin-right: 400px;
  1408. padding: 1px;
  1409. }
  1410. #example .fixed.column,
  1411. #example .fixed.column .fixed {
  1412. float: right;
  1413. width: 300px;
  1414. }
  1415. }
  1416. @media only screen and (min-width : 1500px) {
  1417. #example.index .main.menu .container {
  1418. width: auto;
  1419. padding: 0% 13%;
  1420. }
  1421. #example .examples {
  1422. margin-right: 500px;
  1423. }
  1424. #example .fixed.column,
  1425. #example .fixed.column .fixed {
  1426. float: right;
  1427. width: 400px;
  1428. }
  1429. }
  1430. @media only screen and (min-width : 1750px) {
  1431. #example.index .main.menu .container {
  1432. width: auto;
  1433. padding: 0% 18%;
  1434. }
  1435. }
  1436. @media only screen and (min-width : 2000px) {
  1437. #example.index .main.menu .container {
  1438. width: auto;
  1439. padding: 0% 23%;
  1440. }
  1441. }