|
592 | 592 | --ds-support-contrast: #FFF;
|
593 | 593 | --ds-support-gradient: linear-gradient( to left, var(--ds-support-light), var(--ds-support-dark) );
|
594 | 594 |
|
595 |
| - --ds-heading-font: var(--font-family); |
| 595 | + --ds-heading-font: var(--simplycode-font-family); |
596 | 596 | }
|
597 | 597 |
|
598 | 598 | /* style */
|
599 | 599 | :root {
|
600 |
| - --highlight-dark: #f16623; |
601 |
| - --highlight-light: #ff8003; |
602 |
| - --highlight-color: #fff; |
603 |
| - --highlight-background: linear-gradient( to left, var(--highlight-light), var(--highlight-dark) ); |
| 600 | + --simplycode-highlight-dark: #f16623; |
| 601 | + --simplycode-highlight-light: #ff8003; |
| 602 | + --simplycode-highlight-color: #fff; |
| 603 | + --simplycode-highlight-background: linear-gradient( to left, var(--simplycode-highlight-light), var(--simplycode-highlight-dark) ); |
604 | 604 |
|
605 |
| - --support-dark: #444; |
606 |
| - --support-light: #484848; |
607 |
| - --support-color: #eee; |
608 |
| - --support-background: linear-gradient( to left, var(--support-light), var(--support-dark) ); |
| 605 | + --simplycode-support-dark: #444; |
| 606 | + --simplycode-support-light: #484848; |
| 607 | + --simplycode-support-color: #eee; |
| 608 | + --simplycode-support-background: linear-gradient( to left, var(--simplycode-support-light), var(--simplycode-support-dark) ); |
609 | 609 |
|
610 |
| - --grey-dark: #38393c; |
611 |
| - --grey-medium: #7f8185; |
612 |
| - --grey-light: #e9ebec; |
613 |
| - --grey-dark: #38393c; |
614 |
| - --black: #000; |
615 |
| - --white: #fff; |
616 |
| - --grey-background: var(--grey-dark); |
| 610 | + --simplycode-grey-dark: #38393c; |
| 611 | + --simplycode-grey-medium: #7f8185; |
| 612 | + --simplycode-grey-light: #e9ebec; |
| 613 | + --simplycode-grey-dark: #38393c; |
| 614 | + --simplycode-black: #000; |
| 615 | + --simplycode-white: #fff; |
| 616 | + --simplycode-grey-background: var(--simplycode-grey-dark); |
617 | 617 |
|
618 |
| - --font-family: 'Alegreya Sans', sans-serif; |
619 |
| - --font-size: 14px; |
620 |
| - --line-height: 1.5em; |
621 |
| - --color: #7f8185; |
622 |
| - --background: #333; |
| 618 | + --simplycode-font-family: 'Alegreya Sans', sans-serif; |
| 619 | + --simplycode-font-size: 14px; |
| 620 | + --simplycode-line-height: 1.5em; |
| 621 | + --simplycode-color: #7f8185; |
| 622 | + --simplycode-background: #333; |
623 | 623 | }
|
624 | 624 |
|
625 | 625 | /* general styling on default elements */
|
626 | 626 |
|
627 | 627 | html, body {
|
628 | 628 | margin: 0;
|
629 | 629 | padding: 0;
|
630 |
| - font-family: var(--font-family); |
631 |
| - font-size: var(--font-size); |
632 |
| - line-height: var(--line-height); |
633 |
| - color: var(--color); |
634 |
| - background-color: var(--background); |
| 630 | + font-family: var(--simplycode-font-family); |
| 631 | + font-size: var(--simplycode-font-size); |
| 632 | + line-height: var(--simplycode-line-height); |
| 633 | + color: var(--simplycode-color); |
| 634 | + background-color: var(--simplycode-background); |
635 | 635 | }
|
636 | 636 | body {
|
637 | 637 | overflow-y: scroll;
|
|
665 | 665 | }
|
666 | 666 |
|
667 | 667 | a {
|
668 |
| - color: var(--highlight-dark); |
| 668 | + color: var(--simplycode-highlight-dark); |
669 | 669 | }
|
670 | 670 | a:visited {
|
671 |
| - color: var(--highlight-dark); |
| 671 | + color: var(--simplycode-highlight-dark); |
672 | 672 | }
|
673 | 673 |
|
674 | 674 | /* custom styling for custom elements */
|
675 | 675 |
|
676 | 676 | .simplycode-button,
|
677 | 677 | a.simplycode-button {
|
678 |
| - background: var(--support-background); |
679 |
| - color: var(--support-color); |
| 678 | + background: var(--simplycode-support-background); |
| 679 | + color: var(--simplycode-support-color); |
680 | 680 | padding: 0.3em 0.5em;
|
681 | 681 | margin: 0 0.3em;
|
682 | 682 | border: 1px solid #ccc;
|
|
690 | 690 | margin-right: 0;
|
691 | 691 | }
|
692 | 692 | .simplycode-button.highlight {
|
693 |
| - background: var(--highlight-background); |
694 |
| - color: var(--highlight-color); |
| 693 | + background: var(--simplycode-highlight-background); |
| 694 | + color: var(--simplycode-highlight-color); |
695 | 695 | }
|
696 | 696 |
|
697 | 697 | .text-content {
|
|
767 | 767 | }
|
768 | 768 | .simplycode-part .simplycode-tab input[type=radio]:checked ~ span {
|
769 | 769 | font-weight: bold;
|
770 |
| - border-bottom: 2px solid var(--support-background); |
| 770 | + border-bottom: 2px solid var(--simplycode-support-background); |
771 | 771 | }
|
772 | 772 | .simplycode-part .simplycode-editor-code {
|
773 | 773 | display: grid;
|
|
844 | 844 | --simply-toast-show-duration: 0.3s;
|
845 | 845 | --simply-toast-hide-duration: 0.5s;
|
846 | 846 | --simply-toast-margin: 20px;
|
847 |
| - --simply-error-color: rgb(253, 143, 143); |
848 |
| - --simply-warning-color: #FFFFCC; |
849 |
| - --simply-info-color: rgb(140, 180, 250); |
850 |
| - --simply-white: #FFF; |
851 |
| - --simply-grey-50: #a8b4c0; |
852 |
| - --simply-grey-80: #4d565c; |
853 |
| - --simply-font-size: calc(1.1 * 1rem); |
854 |
| - --simply-font-weight: 300; |
855 |
| - --simply-line-height: calc(1.5 * var(--simply-font-size)); |
856 |
| - --simply-color: var(--grey-medium); |
857 |
| - --simply-contrast: var(--grey-medium); |
858 |
| - --simply-background:var(--white); |
859 |
| - --simply-heading-weight: 900; |
860 |
| - --simply-heading-multiplier: 1.1; |
| 847 | + --simply-toast-error-color: rgb(253, 143, 143); |
| 848 | + --simply-toats-warning-color: #FFFFCC; |
| 849 | + --simply-toast-info-color: rgb(140, 180, 250); |
| 850 | + --simply-toast-white: #FFF; |
| 851 | + --simply-toast-grey-50: #a8b4c0; |
| 852 | + --simply-toast-grey-80: #4d565c; |
| 853 | + --simply-toast-font-size: calc(1.1 * 1rem); |
| 854 | + --simply-toast-font-weight: 300; |
| 855 | + --simply-toast-line-height: calc(1.5 * var(--simply-toast-font-size)); |
| 856 | + --simply-toast-color: var(--simplycode-grey-medium); |
| 857 | + --simply-toast-contrast: var(--simplycode-grey-medium); |
| 858 | + --simply-toast-background:var(--simplycode-white); |
| 859 | + --simply-toast-heading-weight: 900; |
| 860 | + --simply-toast-heading-multiplier: 1.1; |
861 | 861 | }
|
862 | 862 |
|
863 | 863 | ul.simply-toasts,
|
|
881 | 881 | clear: both;
|
882 | 882 | margin-right: 0;
|
883 | 883 | margin-top: 60px;
|
884 |
| - background-color: var(--simply-grey-80); |
885 |
| - color: var(--simply-white); |
| 884 | + background-color: var(--simply-toast-grey-80); |
| 885 | + color: var(--simply-toast-white); |
886 | 886 | display: block;
|
887 |
| - border-left: 10px solid var(--simply-grey-50); |
| 887 | + border-left: 10px solid var(--simply-toast-grey-50); |
888 | 888 | padding: 20px;
|
889 | 889 | border-radius: 2px;
|
890 | 890 | }
|
891 | 891 | .simply-toast-error,
|
892 | 892 | li.simply-toast-error {
|
893 |
| - border-color: var(--simply-error-color); |
| 893 | + border-color: var(--simply-toast-error-color); |
894 | 894 | }
|
895 | 895 | .simply-toast-info,
|
896 | 896 | li.simply-toast-info {
|
897 |
| - border-color: var(--simply-info-color); |
| 897 | + border-color: var(--simply-toast-info-color); |
898 | 898 | }
|
899 | 899 | .simply-toast-warning,
|
900 | 900 | li.simply-toast-warning {
|
901 |
| - border-color: var(--simply-warning-color); |
| 901 | + border-color: var(--simply-toast-warning-color); |
902 | 902 | }
|
903 | 903 |
|
904 | 904 | @keyframes simply-toast-show {
|
|
1071 | 1071 | }
|
1072 | 1072 | /* simply-logo */
|
1073 | 1073 | :root {
|
1074 |
| - --simply-logo-color-primary: var(--highlight-dark); |
| 1074 | + --simply-logo-color-primary: var(--simplycode-highlight-dark); |
1075 | 1075 | --simply-logo-color-secondary: white;
|
1076 | 1076 | }
|
1077 | 1077 | /* simply-toobar-button */
|
|
1138 | 1138 | /* simply-toolbar */
|
1139 | 1139 | :root {
|
1140 | 1140 | --simply-toobar-height: 60px;
|
1141 |
| - --simply-toolbar-primary: var(--highlight-dark); |
| 1141 | + --simply-toolbar-primary: var(--simplycode-highlight-dark); |
1142 | 1142 | --simply-toolbar-button-font: arial, helvetica, sans-serif;
|
1143 | 1143 | --simply-toolbar-button-font-size: 11px;
|
1144 | 1144 | --simply-toolbar-button-width: 60px;
|
|
0 commit comments