| 1 |
/** SASS variables **/ |
| 2 |
$html-font-size: 16px; // Used in functions.scss. |
| 3 |
|
| 4 |
/** |
| 5 |
* Base units for internal use in this file. |
| 6 |
*/ |
| 7 |
$base-unit-5: 0.25rem; // 4px. |
| 8 |
$base-unit-10: 0.5rem; // 8px. |
| 9 |
$base-unit-15: 0.75rem; // 12px. |
| 10 |
$base-unit-20: 1rem; // 16px. |
| 11 |
$base-unit-25: 1.25rem; // 20px. |
| 12 |
$base-unit-30: 1.5rem; // 24px. |
| 13 |
$base-unit-40: 2rem; // 32px. |
| 14 |
$base-unit-50: 2.5rem; // 40px. |
| 15 |
$base-unit-60: 3rem; // 48px. |
| 16 |
|
| 17 |
/** |
| 18 |
* This is a subset of the CSS variables defined in the Parse.ly dashboard. It |
| 19 |
* is sourced from 1.44/src/styles/base.scss and defines some additional |
| 20 |
* variables in the end of the file. |
| 21 |
*/ |
| 22 |
.settings_page_parsely, |
| 23 |
.wp-parsely-panel, |
| 24 |
.wp-parsely-content-helper, |
| 25 |
.parsely-dashboard-container, |
| 26 |
.wp-parsely-excerpt-suggestions, |
| 27 |
.editor-post-excerpt, |
| 28 |
.wp-parsely-popover, |
| 29 |
.wp-parsely-traffic-boost-preview-settings-popover, |
| 30 |
.wp-parsely-traffic-boost-add-new-link-popover, |
| 31 |
.wp-parsely-suggested-title-modal, |
| 32 |
.wp-parsely-smart-linking-review-modal, |
| 33 |
.wp-parsely-smart-linking-close-dialog, |
| 34 |
.wp-parsely-block-overlay, |
| 35 |
.wp-parsely-preview-editor, |
| 36 |
.components-button[aria-controls="wp-parsely-block-editor-sidebar:wp-parsely-content-helper"]="wp-parsely-block-editor-sidebar:wp-parsely-content-helper""], // Sidebar icon. |
| 37 |
#wp-parsely-dashboard-widget { |
| 38 |
|
| 39 |
/** Layout section - base.scss. **/ |
| 40 |
--base-font: "source-sans-pro", arial, sans-serif; |
| 41 |
--numeric-font: "ff-din-round-web", sans-serif; |
| 42 |
|
| 43 |
/** Category colors section - base scss. **/ |
| 44 |
--parsely-green-components: 107, 42%, 46%; |
| 45 |
--parsely-green: hsl(var(--parsely-green-components)); |
| 46 |
--parsely-green-10: hsla(98, 61%, 81%, 1); |
| 47 |
--parsely-green-65: hsla(109, 59%, 26%, 1); |
| 48 |
--gray-200: #f7f8f9; |
| 49 |
--gray-300: #edeeef; |
| 50 |
--gray-400: #d7dbdf; |
| 51 |
--gray-500: #959da5; |
| 52 |
--gray-600: #586069; |
| 53 |
--gray-700: #444d56; |
| 54 |
--gray-900: #24292e; |
| 55 |
--blue-500: #44a8e5; |
| 56 |
--blue-550: #2596db; |
| 57 |
--green-500: #7bc01b; |
| 58 |
--green-900: #3d6307; |
| 59 |
// ref-* variables to be used as HSL colors. |
| 60 |
--ref-direct: 205, 13%, 52%; |
| 61 |
--ref-internal: 161, 91%, 41%; |
| 62 |
--ref-social: 210, 72%, 41%; |
| 63 |
--ref-search: 42, 100%, 50%; |
| 64 |
--ref-other: 3, 76%, 58%; |
| 65 |
|
| 66 |
/** Theme colors section - base.scss. **/ |
| 67 |
--base-text: var(--gray-900); |
| 68 |
--base-text-2: var(--gray-600); |
| 69 |
--base-3: var(--gray-400); |
| 70 |
--border: var(--gray-400); |
| 71 |
--data: var(--green-500); |
| 72 |
--control: var(--blue-500); |
| 73 |
|
| 74 |
/** Grid section **/ |
| 75 |
--grid-unit-5: #{$base-unit-5}; // 4px. |
| 76 |
--grid-unit-10: #{$base-unit-10}; // 8px. |
| 77 |
--grid-unit-15: #{$base-unit-15}; // 12px. |
| 78 |
--grid-unit-20: #{$base-unit-20}; // 16px. |
| 79 |
--grid-unit-25: #{$base-unit-25}; // 20px. |
| 80 |
--grid-unit-30: #{$base-unit-30}; // 24px. |
| 81 |
--grid-unit-40: #{$base-unit-40}; // 32px. |
| 82 |
--grid-unit-50: #{$base-unit-50}; // 40px. |
| 83 |
--grid-unit-60: #{$base-unit-60}; // 48px. |
| 84 |
|
| 85 |
/** Additional variables. **/ |
| 86 |
--font-size--smaller: 0.688rem; // 11px. |
| 87 |
--font-size--small: #{$base-unit-15}; // 12px. |
| 88 |
--font-size--medium: 0.875rem; // 14px. |
| 89 |
--font-size--large: #{$base-unit-20}; // 16px. |
| 90 |
--font-size--extra-large: 1.2rem; // 19px. |
| 91 |
--font-size--bigger: 2rem; // 32px. |
| 92 |
|
| 93 |
--dashboard-width: 64rem; // 1024px. |
| 94 |
|
| 95 |
--black: #000; |
| 96 |
--dashboard-accent: #b9f16b; |
| 97 |
--gray-350: #e1e3e5; |
| 98 |
--sidebar-black: #1e1e1e; |
| 99 |
--sidebar-white: #f0f0f0; |
| 100 |
--traffic-boost-header-background: rgba(56, 88, 233, 0.08); |
| 101 |
--white: #fff; |
| 102 |
} |
| 103 |
|