|
539 | 539 | --ds-support-contrast: #FFF;
|
540 | 540 | --ds-support-gradient: linear-gradient( to left, var(--ds-support-light), var(--ds-support-dark) );
|
541 | 541 |
|
542 |
| - --ds-heading-font: var(--font-family); |
| 542 | + --ds-heading-font: var(--simplycode-font-family); |
543 | 543 | }
|
544 | 544 |
|
545 | 545 | /* style */
|
546 | 546 | :root {
|
547 |
| - --highlight-dark: #f16623; |
548 |
| - --highlight-light: #ff8003; |
549 |
| - --highlight-color: #fff; |
550 |
| - --highlight-background: linear-gradient( to left, var(--highlight-light), var(--highlight-dark) ); |
| 547 | + --simplycode-highlight-dark: #f16623; |
| 548 | + --simplycode-highlight-light: #ff8003; |
| 549 | + --simplycode-highlight-color: #fff; |
| 550 | + --simplycode-highlight-background: linear-gradient( to left, var(--simplycode-highlight-light), var(--simplycode-highlight-dark) ); |
551 | 551 |
|
552 |
| - --support-dark: #444; |
553 |
| - --support-light: #484848; |
554 |
| - --support-color: #eee; |
555 |
| - --support-background: linear-gradient( to left, var(--support-light), var(--support-dark) ); |
| 552 | + --simplycode-support-dark: #444; |
| 553 | + --simplycode-support-light: #484848; |
| 554 | + --simplycode-support-color: #eee; |
| 555 | + --simplycode-support-background: linear-gradient( to left, var(--simplycode-support-light), var(--simplycode-support-dark) ); |
556 | 556 |
|
557 |
| - --grey-dark: #38393c; |
558 |
| - --grey-medium: #7f8185; |
559 |
| - --grey-light: #e9ebec; |
560 |
| - --grey-dark: #38393c; |
561 |
| - --black: #000; |
562 |
| - --white: #fff; |
563 |
| - --grey-background: var(--grey-dark); |
| 557 | + --simplycode-grey-dark: #38393c; |
| 558 | + --simplycode-grey-medium: #7f8185; |
| 559 | + --simplycode-grey-light: #e9ebec; |
| 560 | + --simplycode-grey-dark: #38393c; |
| 561 | + --simplycode-black: #000; |
| 562 | + --simplycode-white: #fff; |
| 563 | + --simplycode-grey-background: var(--simplycode-grey-dark); |
564 | 564 |
|
565 |
| - --font-family: 'Alegreya Sans', sans-serif; |
566 |
| - --font-size: 14px; |
567 |
| - --line-height: 1.5em; |
568 |
| - --color: #7f8185; |
569 |
| - --background: #333; |
| 565 | + --simplycode-font-family: 'Alegreya Sans', sans-serif; |
| 566 | + --simplycode-font-size: 14px; |
| 567 | + --simplycode-line-height: 1.5em; |
| 568 | + --simplycode-color: #7f8185; |
| 569 | + --simplycode-background: #333; |
570 | 570 | }
|
571 | 571 |
|
572 | 572 | /* general styling on default elements */
|
573 | 573 |
|
574 | 574 | html, body {
|
575 | 575 | margin: 0;
|
576 | 576 | padding: 0;
|
577 |
| - font-family: var(--font-family); |
578 |
| - font-size: var(--font-size); |
579 |
| - line-height: var(--line-height); |
580 |
| - color: var(--color); |
581 |
| - background-color: var(--background); |
| 577 | + font-family: var(--simplycode-font-family); |
| 578 | + font-size: var(--simplycode-font-size); |
| 579 | + line-height: var(--simplycode-line-height); |
| 580 | + color: var(--simplycode-color); |
| 581 | + background-color: var(--simplycode-background); |
582 | 582 | }
|
583 | 583 | body {
|
584 | 584 | overflow-y: scroll;
|
|
612 | 612 | }
|
613 | 613 |
|
614 | 614 | a {
|
615 |
| - color: var(--highlight-dark); |
| 615 | + color: var(--simplycode-highlight-dark); |
616 | 616 | }
|
617 | 617 | a:visited {
|
618 |
| - color: var(--highlight-dark); |
| 618 | + color: var(--simplycode-highlight-dark); |
619 | 619 | }
|
620 | 620 |
|
621 | 621 | /* custom styling for custom elements */
|
622 | 622 |
|
623 | 623 | .simplycode-button,
|
624 | 624 | a.simplycode-button {
|
625 |
| - background: var(--support-background); |
626 |
| - color: var(--support-color); |
| 625 | + background: var(--simplycode-support-background); |
| 626 | + color: var(--simplycode-support-color); |
627 | 627 | padding: 0.3em 0.5em;
|
628 | 628 | margin: 0 0.3em;
|
629 | 629 | border: 1px solid #ccc;
|
|
637 | 637 | margin-right: 0;
|
638 | 638 | }
|
639 | 639 | .simplycode-button.highlight {
|
640 |
| - background: var(--highlight-background); |
641 |
| - color: var(--highlight-color); |
| 640 | + background: var(--simplycode-highlight-background); |
| 641 | + color: var(--simplycode-highlight-color); |
642 | 642 | }
|
643 | 643 |
|
644 | 644 | .text-content {
|
|
714 | 714 | }
|
715 | 715 | .simplycode-part .simplycode-tab input[type=radio]:checked ~ span {
|
716 | 716 | font-weight: bold;
|
717 |
| - border-bottom: 2px solid var(--support-background); |
| 717 | + border-bottom: 2px solid var(--simplycode-support-background); |
718 | 718 | }
|
719 | 719 | .simplycode-part .simplycode-editor-code {
|
720 | 720 | display: grid;
|
|
807 | 807 | --simply-toast-show-duration: 0.3s;
|
808 | 808 | --simply-toast-hide-duration: 0.5s;
|
809 | 809 | --simply-toast-margin: 20px;
|
810 |
| - --simply-error-color: rgb(253, 143, 143); |
811 |
| - --simply-warning-color: #FFFFCC; |
812 |
| - --simply-info-color: rgb(140, 180, 250); |
813 |
| - --simply-white: #FFF; |
814 |
| - --simply-grey-50: #a8b4c0; |
815 |
| - --simply-grey-80: #4d565c; |
816 |
| - --simply-font-size: calc(1.1 * 1rem); |
817 |
| - --simply-font-weight: 300; |
818 |
| - --simply-line-height: calc(1.5 * var(--simply-font-size)); |
819 |
| - --simply-color: var(--grey-medium); |
820 |
| - --simply-contrast: var(--grey-medium); |
821 |
| - --simply-background:var(--white); |
822 |
| - --simply-heading-weight: 900; |
823 |
| - --simply-heading-multiplier: 1.1; |
| 810 | + --simply-toast-error-color: rgb(253, 143, 143); |
| 811 | + --simply-toats-warning-color: #FFFFCC; |
| 812 | + --simply-toast-info-color: rgb(140, 180, 250); |
| 813 | + --simply-toast-white: #FFF; |
| 814 | + --simply-toast-grey-50: #a8b4c0; |
| 815 | + --simply-toast-grey-80: #4d565c; |
| 816 | + --simply-toast-font-size: calc(1.1 * 1rem); |
| 817 | + --simply-toast-font-weight: 300; |
| 818 | + --simply-toast-line-height: calc(1.5 * var(--simply-toast-font-size)); |
| 819 | + --simply-toast-color: var(--simplycode-grey-medium); |
| 820 | + --simply-toast-contrast: var(--simplycode-grey-medium); |
| 821 | + --simply-toast-background:var(--simplycode-white); |
| 822 | + --simply-toast-heading-weight: 900; |
| 823 | + --simply-toast-heading-multiplier: 1.1; |
824 | 824 | }
|
825 | 825 |
|
826 | 826 | ul.simply-toasts,
|
|
844 | 844 | clear: both;
|
845 | 845 | margin-right: 0;
|
846 | 846 | margin-top: 60px;
|
847 |
| - background-color: var(--simply-grey-80); |
848 |
| - color: var(--simply-white); |
| 847 | + background-color: var(--simply-toast-grey-80); |
| 848 | + color: var(--simply-toast-white); |
849 | 849 | display: block;
|
850 |
| - border-left: 10px solid var(--simply-grey-50); |
| 850 | + border-left: 10px solid var(--simply-toast-grey-50); |
851 | 851 | padding: 20px;
|
852 | 852 | border-radius: 2px;
|
853 | 853 | }
|
854 | 854 | .simply-toast-error,
|
855 | 855 | li.simply-toast-error {
|
856 |
| - border-color: var(--simply-error-color); |
| 856 | + border-color: var(--simply-toast-error-color); |
857 | 857 | }
|
858 | 858 | .simply-toast-info,
|
859 | 859 | li.simply-toast-info {
|
860 |
| - border-color: var(--simply-info-color); |
| 860 | + border-color: var(--simply-toast-info-color); |
861 | 861 | }
|
862 | 862 | .simply-toast-warning,
|
863 | 863 | li.simply-toast-warning {
|
864 |
| - border-color: var(--simply-warning-color); |
| 864 | + border-color: var(--simply-toast-warning-color); |
865 | 865 | }
|
866 | 866 |
|
867 | 867 | @keyframes simply-toast-show {
|
|
1034 | 1034 | }
|
1035 | 1035 | /* simply-logo */
|
1036 | 1036 | :root {
|
1037 |
| - --simply-logo-color-primary: var(--highlight-dark); |
| 1037 | + --simply-logo-color-primary: var(--simplycode-highlight-dark); |
1038 | 1038 | --simply-logo-color-secondary: white;
|
1039 | 1039 | }
|
1040 | 1040 | /* simply-toobar-button */
|
|
1101 | 1101 | /* simply-toolbar */
|
1102 | 1102 | :root {
|
1103 | 1103 | --simply-toobar-height: 60px;
|
1104 |
| - --simply-toolbar-primary: var(--highlight-dark); |
| 1104 | + --simply-toolbar-primary: var(--simplycode-highlight-dark); |
1105 | 1105 | --simply-toolbar-button-font: arial, helvetica, sans-serif;
|
1106 | 1106 | --simply-toolbar-button-font-size: 11px;
|
1107 | 1107 | --simply-toolbar-button-width: 60px;
|
|
0 commit comments