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.

1741 lines
32 KiB

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