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.

1575 lines
28 KiB

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