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.

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