1323 lines
33 KiB
Plaintext
1323 lines
33 KiB
Plaintext
/* ==UserStyle==
|
|
@name Desmos Catppuccin
|
|
@namespace github.com/catppuccin/userstyles/styles/desmos
|
|
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/desmos
|
|
@version 2026.09.04
|
|
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/desmos/catppuccin.user.less
|
|
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Adesmos
|
|
@description Soothing pastel theme for Desmos
|
|
@author Catppuccin
|
|
@license MIT
|
|
|
|
@preprocessor less
|
|
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
|
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
|
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
|
==/UserStyle== */
|
|
|
|
@import "https://userstyles.catppuccin.com/lib/std/v1.less";
|
|
|
|
@-moz-document regexp(
|
|
"^(https?:\/\/)(?!(cl|teacher|student)\.desmos\.com)([a-zA-Z0-9-]+\.)?desmos\.com(\/.*)?$"
|
|
) {
|
|
@import url("https://unpkg.com/@catppuccin/[email protected]/css/catppuccin-variables.important.css");
|
|
|
|
:root {
|
|
@media (prefers-color-scheme: light) {
|
|
#catppuccin(@lightFlavor);
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
#catppuccin(@darkFlavor);
|
|
}
|
|
}
|
|
|
|
#catppuccin(@flavor) {
|
|
#lib.palette();
|
|
#lib.defaults();
|
|
#lib.css-variables();
|
|
|
|
.dcg-desmos-svg-logo g {
|
|
fill: @text;
|
|
}
|
|
|
|
.dcg-expression-top-bar {
|
|
border-right-color: @surface0 !important;
|
|
border-bottom-color: @surface0 !important;
|
|
}
|
|
|
|
.user-info, .dcg-saved-graphs-tile-or-row, .dcg-graph-list__header-row {
|
|
border-bottom-color: @surface0 !important;
|
|
}
|
|
|
|
.dcg-exppanel-container {
|
|
--dcg-item-background-color: @base;
|
|
background: @base;
|
|
}
|
|
|
|
i:not(
|
|
.dcg-shared-product-icon,
|
|
.dcg-icon-error,
|
|
.dcg-geo-basic-tools .dcg-icon-caret-down,
|
|
.dcg-geometry-toolbar-view i,
|
|
.dcg-btn-short-blue i
|
|
) {
|
|
opacity: 1 !important;
|
|
text-shadow: none !important;
|
|
color: @text !important;
|
|
}
|
|
|
|
.dcg-expressionitem:not(.dcg-selected) .dcg-tab,
|
|
.dcg-account-reminder,
|
|
.search-container input,
|
|
.dcg-evaluation-view__wrapped-value,
|
|
.dcg-loading-background-div,
|
|
.dcg-mq-sqrt-container .dcg-mq-empty,
|
|
.dcg-mq-fraction .dcg-mq-empty,
|
|
.dcg-my-graphs-modal__footer,
|
|
.dcg-product-filter__button.dcg-hovered,
|
|
.dsm-panic-button,
|
|
.dcg-select-dropdown-option.dcg-hovered {
|
|
background: @mantle !important;
|
|
}
|
|
|
|
.dcg-expressionitem.dcg-selected .dcg-tab {
|
|
background: @accent !important;
|
|
|
|
.dcg-num {
|
|
color: @mantle !important;
|
|
}
|
|
|
|
.dcg-slider-menu-opener i, .dcg-icon-zoom-fit, .dcg-icon-create-table {
|
|
color: @mantle !important;
|
|
}
|
|
|
|
.dcg-circular-icon:not(:has(.dcg-icon-parametric-solid)):not(
|
|
.dcg-colored-icon
|
|
) {
|
|
border-color: @mantle !important;
|
|
|
|
i {
|
|
color: @mantle !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* This is not applied to entire view to prevent the graph from changing color. */
|
|
.dcg-new-expression-fade,
|
|
.dcg-mq-editable-field::after,
|
|
.dcg-popover,
|
|
.dcg-options-menu,
|
|
.dcg-dropdown-popover__interior,
|
|
.dcg-arrow,
|
|
.dcg-table-container,
|
|
.dcg-mq-editing-overflow-left::before,
|
|
.dcg-exppanel-outer__wrapper {
|
|
--dcg-custom-background-color: @base;
|
|
}
|
|
|
|
.dcg-popover .dcg-new-item,
|
|
.dcg-evaluation-view__equals-sign,
|
|
.dcg-circular-icon-container {
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.dcg-popover-interior,
|
|
.dcg-dropdown-popover__interior,
|
|
.dcg-notice--authenticate,
|
|
.dcg-btn-white-outline,
|
|
.dcg-action-save.dcg-disabled,
|
|
.dcg-calc-option,
|
|
.dcg-end-test-button,
|
|
.dcg-action-cartesian,
|
|
.dcg-action-polar,
|
|
.dcg-evaluation-view__plaintext,
|
|
.dcg-add-inference-wizard__table th,
|
|
.dcg-add-inference-wizard__table td,
|
|
.dcg-add-inference-wizard__sample-type-selector.dcg-selected,
|
|
.dcg-table--cell,
|
|
.dcg-checkbox:not(.dcg-geometry-toolbar-view .dcg-checkbox),
|
|
.dcg-product-filter__button {
|
|
border-color: @text !important;
|
|
}
|
|
|
|
.dcg-btn-white-outline.dcg-hovered, .dcg-end-test-button.dcg-hovered {
|
|
box-shadow: 0 0 0 1px @text !important;
|
|
}
|
|
|
|
.dcg-arrow::after, .dcg-add-inference-wizard__header {
|
|
border-bottom-color: @text !important;
|
|
}
|
|
|
|
.dcg-expressionitem.dcg-selected {
|
|
border-color: @accent !important;
|
|
--dcg-item-border-color: @accent !important;
|
|
}
|
|
|
|
.dcg-expressionitem:not(.dcg-selected) {
|
|
border-top-color: @surface0 !important;
|
|
}
|
|
|
|
.dcg-popover-title, .dcg-dropdown-popover__title, .dcg-help-menu-title {
|
|
color: @accent !important;
|
|
background-color: transparent !important;
|
|
border-bottom-color: @accent !important;
|
|
}
|
|
|
|
.dcg-toggle-track {
|
|
background: @subtext0 !important;
|
|
}
|
|
|
|
.dcg-toggle-switch, .dcg-or-separator {
|
|
background: @text !important;
|
|
}
|
|
|
|
.dcg-toggled .dcg-toggle-switch {
|
|
background: @overlay1 !important;
|
|
}
|
|
|
|
.dcg-keypad-btn.dcg-btn-light-on-gray,
|
|
.dcg-keypad-btn.dcg-btn-light-gray,
|
|
.dcg-ctrl-toggle-cover {
|
|
background: @mantle !important;
|
|
border-color: @surface0 !important;
|
|
}
|
|
|
|
.dcg-keypad-btn.dcg-btn-dark-on-gray {
|
|
background: @crust !important;
|
|
border-color: @surface0 !important;
|
|
}
|
|
|
|
@layer {
|
|
.dcg-btn-short-blue, .dcg-btn-blue, .dcg-copy-button {
|
|
background: @accent !important;
|
|
border-color: transparent !important;
|
|
color: @base !important;
|
|
|
|
*, *::before {
|
|
color: @base !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
.dcg-btn-red {
|
|
background: @red !important;
|
|
border-color: none !important;
|
|
color: @base !important;
|
|
}
|
|
|
|
.dcg-unstyled-button.dcg-disabled {
|
|
color: @subtext0 !important;
|
|
border-color: @subtext0 !important;
|
|
}
|
|
|
|
.dcg-overgraph-icon-container {
|
|
background: @base;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.dcg-header,
|
|
.dcg-main-header-container,
|
|
.navbar-inner,
|
|
.dcg-practice-header-view {
|
|
background: @crust !important;
|
|
border-bottom-color: @surface0 !important;
|
|
*:not(
|
|
.dcg-btn-blue,
|
|
.dcg-dropdown-popover__title,
|
|
.dcg-copy-button > span,
|
|
.dcg-copy-button,
|
|
.dcg-help-menu-title
|
|
) {
|
|
color: @text !important;
|
|
}
|
|
}
|
|
|
|
.dcg-variable-permalink,
|
|
.dcg-shared-input-blue-outline:not(
|
|
.dcg-geometry-toolbar-view .dcg-shared-input-blue-outline
|
|
),
|
|
.dcg-input-blue-outline:not(
|
|
.dcg-geometry-toolbar-view .dcg-input-blue-outline
|
|
) {
|
|
background: @mantle;
|
|
border-color: @text !important;
|
|
|
|
&.dcg-focus-visible {
|
|
box-shadow: inset 0 0 0 1px @accent !important;
|
|
border-color: @accent !important;
|
|
}
|
|
}
|
|
|
|
*:not(.dcg-header-right-content)
|
|
> *
|
|
> *:not(.dcg-share-menu__sharing-options-button)
|
|
> .dcg-icon-print,
|
|
*:not(.dcg-share-menu__sharing-options-button) > .dcg-icon-export,
|
|
.dcg-icon-embed {
|
|
box-shadow: 0 0 0 1px @accent !important;
|
|
}
|
|
|
|
.dcg-hovered:not(.dcg-share-menu__sharing-options-button) > .dcg-icon-print,
|
|
.dcg-hovered:not(.dcg-share-menu__sharing-options-button)
|
|
> .dcg-icon-export,
|
|
.dcg-hovered > .dcg-icon-embed {
|
|
background: fade(@accent, 26%) !important;
|
|
}
|
|
|
|
.dcg-notice--authenticate,
|
|
.dcg-authentication-modal,
|
|
.dcg-authentication-modal__detail,
|
|
.dcg-btn-gray-outline.dcg-hovered:not(.dcg-frontpage-landing__button),
|
|
.dcg-resources-container,
|
|
.dcg-account-link,
|
|
.dcg-title,
|
|
.dcg-lost-work-link,
|
|
.dcg-action-save.dcg-disabled,
|
|
.account-name,
|
|
.account-email,
|
|
.dcg-account-container *,
|
|
.dcg-icon-remove::before,
|
|
.dcg-tooltip-message,
|
|
.dcg-attempt-recovery.dcg-hovered,
|
|
.no-matches,
|
|
.dcg-basic-calculator-footer,
|
|
.dcg-basic-calculator-footer *,
|
|
.dcg-checkbox-label,
|
|
.dcg-input-blue-outline,
|
|
.dcg-shared-modal-contents-wrapper
|
|
*:not(
|
|
.dcg-btn-blue,
|
|
.dcg-gray-link,
|
|
.dcg-blue-link,
|
|
.dcg-shared-tab-gray-underline
|
|
),
|
|
.dcg-start-practice-screen,
|
|
.dcg-calc-option,
|
|
.dcg-keypad-control-toggle,
|
|
code,
|
|
h3,
|
|
.dcg-show-more-row-interior,
|
|
.dcg-label-input,
|
|
.dcg-checkbox-children,
|
|
.dcg-axis-label-to,
|
|
.pulsing-message,
|
|
.dsm-panic-close-button,
|
|
#dsm-panic-reopen-button {
|
|
color: @text !important;
|
|
}
|
|
|
|
.dcg-shared-modal-contents-wrapper,
|
|
.dcg-shared-modal-title::before,
|
|
.dcg-authentication-modal__detail,
|
|
.dcg-user-bar,
|
|
.dcg-scrollable,
|
|
.dcg-expressionitem.dcg-shell,
|
|
.dcg-loading-div-container,
|
|
.dcg-mini-play-pause,
|
|
.dcg-start-practice-screen,
|
|
.dcg-basic-calc-practice,
|
|
.dcg-cell.dcg-non-editable.dcg-selected,
|
|
pre,
|
|
.dcg-action-polar:not(.dcg-selected),
|
|
.dcg-action-cartesian:not(.dcg-selected),
|
|
.dcg-my-graphs-modal__options,
|
|
#dsm-panic-popover,
|
|
.dcg-hotkeys-header,
|
|
.dcg-select-dropdown-list {
|
|
background: @base !important;
|
|
}
|
|
|
|
.dcg-authentication-modal__divider::before,
|
|
.dcg-authentication-modal__divider::after {
|
|
border-bottom-color: @text !important;
|
|
}
|
|
|
|
.dcg-btn-gray-outline, .dcg-dropdown-input {
|
|
background: @mantle !important;
|
|
border-color: @surface0 !important;
|
|
|
|
&.dcg-hovered {
|
|
box-shadow: 0 0 0 1px @text !important;
|
|
}
|
|
}
|
|
|
|
.dcg-user-bar {
|
|
border-bottom-color: @surface0 !important;
|
|
}
|
|
|
|
.graph-link-container.dcg-hovered,
|
|
.graph-link-container.dcg-selected .graph-link,
|
|
.dcg-tooltip-message,
|
|
.dcg-sliding-interior,
|
|
.dcg-keypad-control-toggle,
|
|
.dcg-dropdown-choice.dcg-selected,
|
|
.dcg-saved-graphs-tile-or-row.dcg-selected,
|
|
.dcg-track > .dcg-graphic {
|
|
background: @crust !important;
|
|
}
|
|
|
|
.dcg-circular-icon {
|
|
border-color: @text !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.dcg-thumb > .dcg-graphic {
|
|
background: fade(@accent, 59%) !important;
|
|
}
|
|
|
|
.dcg-thumb > .dcg-center,
|
|
.dcg-action-cartesian.dcg-selected,
|
|
.dcg-action-polar.dcg-selected {
|
|
background: @accent !important;
|
|
}
|
|
|
|
.dcg-evaluation-view__wrapped-value,
|
|
.dcg-circular-icon.dcg-hidden,
|
|
.dcg-keypad-control-toggle,
|
|
.dcg-btn-gray-outline {
|
|
border-color: @surface0 !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.dcg-tooltip-arrow {
|
|
border-bottom-color: @crust !important;
|
|
}
|
|
|
|
.dcg-hovered > .dcg-add-blank {
|
|
background: fade(@text, 26%) !important;
|
|
}
|
|
|
|
.dcg-icon-error {
|
|
color: @yellow !important;
|
|
}
|
|
|
|
.dcg-action-redo.dcg-disabled, .dcg-action-undo.dcg-disabled {
|
|
opacity: 1 !important;
|
|
|
|
i {
|
|
color: @surface1 !important;
|
|
}
|
|
}
|
|
|
|
.dcg-loading-div {
|
|
filter: @text-filter !important;
|
|
}
|
|
|
|
.dcg-inline-math-input-view .dcg-math-field,
|
|
.dcg-ticker-settings-internal .dcg-math-field {
|
|
border-bottom-color: @overlay2 !important;
|
|
|
|
&.dcg-focus {
|
|
border-bottom-color: @accent !important;
|
|
}
|
|
}
|
|
|
|
.dcg-mq-ghost {
|
|
opacity: 1 !important;
|
|
color: @overlay2;
|
|
}
|
|
|
|
.dcg-mq-root-block::after, .dcg-action-cancel {
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.dcg-mini-play-pause {
|
|
border-color: @base !important;
|
|
}
|
|
|
|
.dcg-gray-link, .dcg-centered-top-link, .dcg-cancel-while-loading {
|
|
color: @accent !important;
|
|
}
|
|
|
|
.dcg-shared-tab-gray-underline.dcg-selected {
|
|
border-bottom-color: @accent !important;
|
|
}
|
|
|
|
.dcg-calc-option.dcg-is-selected {
|
|
border-color: @accent !important;
|
|
box-shadow: 0 0 0 1px @accent !important;
|
|
background: fade(@accent, 13%) !important;
|
|
}
|
|
|
|
/* To make this !important more important than Desmos' !important */
|
|
@layer {
|
|
.dcg-mq-selection {
|
|
&,
|
|
.dcg-mq-non-leaf,
|
|
.dcg-mq-scaled {
|
|
background: @accent !important;
|
|
color: @base !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
.dcg-cell.dcg-first-column, .dcg-cell.dcg-interior-column {
|
|
border-right-color: @text !important;
|
|
}
|
|
|
|
.dcg-cell.dcg-table-header {
|
|
border-bottom-color: @text !important;
|
|
}
|
|
|
|
.dcg-cell.dcg-interior-row, .dcg-show-more-row {
|
|
border-bottom-color: @surface2 !important;
|
|
}
|
|
|
|
.dcg-cell.dcg-selected {
|
|
box-shadow: inset 0 0 0 2px @accent !important;
|
|
|
|
&:not(.dcg-computed-cell)::after, .dcg-inner-border {
|
|
border-color: @accent !important;
|
|
}
|
|
}
|
|
|
|
.dcg-action-changeimage.dcg-hovered,
|
|
.dcg-expressionitem .dcg-icon-remove.dcg-hovered::before,
|
|
.dcg-complex-enabled-note,
|
|
.dcg-expression-warning,
|
|
.dcg-reference-count,
|
|
.dcg-maxLabel.dcg-hovered,
|
|
.dcg-minLabel.dcg-hovered {
|
|
color: @subtext0 !important;
|
|
}
|
|
|
|
.active-arrow .dcg-graphic {
|
|
border-right-color: @base !important;
|
|
}
|
|
|
|
.dcg-row:nth-of-type(2) .dcg-cell,
|
|
table th,
|
|
table td,
|
|
.footer,
|
|
.dcg-add-inference-wizard--create-button-wrapper,
|
|
.dcg-small-screen-menu__logout-container,
|
|
.dcg-product-filter__clear-filter-container {
|
|
border-top-color: @text !important;
|
|
}
|
|
|
|
.dcg-row .dcg-cell,
|
|
.dcg-expressionfolder .dcg-fade-container::after,
|
|
.dcg-expressionitem.dcg-inFolder .dcg-fade-container::after {
|
|
border-left-color: @text !important;
|
|
}
|
|
|
|
.dcg-row:not(:nth-of-type(2)) .dcg-cell {
|
|
border-top-color: @surface2 !important;
|
|
}
|
|
|
|
.dcg-cell .dcg-empty-line {
|
|
border-top-color: transparent !important;
|
|
}
|
|
|
|
#pageHeader.brand, .dcg-grapher__error-in-graph-bounds {
|
|
text-shadow: none !important;
|
|
}
|
|
|
|
.dcg-btn-light-gray, .dcg-btn-light-on-gray {
|
|
background: @mantle !important;
|
|
box-shadow: none !important;
|
|
border-color: @text !important;
|
|
color: @text !important;
|
|
}
|
|
|
|
.spa-header {
|
|
background: @green !important;
|
|
color: @base;
|
|
|
|
@layer {
|
|
.spa-header .dcg-icon-desmos {
|
|
color: @base !important;
|
|
}
|
|
}
|
|
|
|
.state-name, .test-name {
|
|
border-left-color: @base !important;
|
|
}
|
|
}
|
|
|
|
.dcg-complex-container,
|
|
.dcg-axes-settings-container,
|
|
.dcg-options-menu-section {
|
|
border-top-color: @overlay2 !important;
|
|
}
|
|
|
|
.dcg-visual-settings {
|
|
border-bottom-color: @overlay2 !important;
|
|
}
|
|
|
|
.dcg-checkbox__box,
|
|
.dcg-axis-label,
|
|
.dcg-clickable-menu-row:has(.dcg-input-label) > .dcg-mathquill-wrapper {
|
|
--dcg-accent-color: @accent !important;
|
|
}
|
|
|
|
.dcg-segmented-control-btn.dcg-selected,
|
|
.dcg-action-cartesian.dcg-selected > i::before,
|
|
.dcg-action-polar.dcg-selected > i::before,
|
|
.dcg-grapher__error-in-graph-bounds,
|
|
.dcg-toast-view,
|
|
.dcg-toast .dcg-undo,
|
|
.dcg-segmented-control-container .dcg-selected i::before,
|
|
.dcg-selected-graphs-actions__icon-btn i::before,
|
|
.dcg-segmented-control-btn.dcg-selected * {
|
|
color: @base !important;
|
|
}
|
|
|
|
@layer {
|
|
.dcg-btn-blue:has(> .dcg-icon-caret-down) {
|
|
i {
|
|
color: @base !important;
|
|
}
|
|
|
|
&::before {
|
|
border-left-color: @base !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
.dcg-label-input {
|
|
border-color: @text !important;
|
|
|
|
&:focus {
|
|
border-color: @accent !important;
|
|
box-shadow: 0 1px @accent !important;
|
|
}
|
|
}
|
|
|
|
.dcg-toast {
|
|
background: @yellow !important;
|
|
border-color: @peach !important;
|
|
}
|
|
|
|
.dcg-expressionitem.dcg-inference-wizard-insert-target {
|
|
--dcg-item-border-color: @text !important;
|
|
}
|
|
|
|
.dcg-add-inference-wizard__table td:has(.dcg-focus)::after,
|
|
.dcg-table--cell:has(.dcg-focus)::after {
|
|
border-color: @accent !important;
|
|
}
|
|
|
|
.dcg-add-inference-wizard__sample-type-selector.dcg-hovered:not(
|
|
.dcg-selected
|
|
) {
|
|
border-color: @overlay0 !important;
|
|
}
|
|
|
|
@layer {
|
|
.dcg-frontpage-landing-interactive__graph-link,
|
|
.dcg-frontpage-landing-interactive__arrow-overlay {
|
|
i {
|
|
color: @base !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
.dcg-my-graphs-modal__heading--selectable {
|
|
&.dcg-hovered {
|
|
box-shadow: 0 3px @overlay0 !important;
|
|
}
|
|
|
|
&.dcg-selected {
|
|
box-shadow: 0 3px @accent !important;
|
|
}
|
|
}
|
|
|
|
.dcg-saved-graphs-tile {
|
|
--dcg-saved-graphs-tile-or-row-hover-color: @crust !important;
|
|
background: @mantle !important;
|
|
}
|
|
|
|
.dcg-graph-list__row.dcg-hovered:not(.dcg-selected),
|
|
.dcg-my-graphs-modal__currently-open,
|
|
.dcg-graph-list__field-btn.dcg-hovered,
|
|
.dcg-product-filter__option--selected {
|
|
background: @mantle !important;
|
|
}
|
|
|
|
@layer {
|
|
.dcg-saved-graphs-tile__subtitle {
|
|
color: @base !important;
|
|
}
|
|
}
|
|
|
|
.dcg-geometry-toolbar-view {
|
|
.dcg-component-checkbox, & {
|
|
color: #000 !important;
|
|
}
|
|
}
|
|
|
|
.dcg-my-graphs-modal-empty-state__logged-out {
|
|
border-color: @surface1 !important;
|
|
}
|
|
|
|
.dcg-shortcuts-table tr {
|
|
border-bottom-color: @surface2 !important;
|
|
}
|
|
|
|
--dcg-custom-text-color: @text;
|
|
--dcg-custom-background-color-shaded: @base;
|
|
|
|
/* DesModder */
|
|
.dsm-plugin-title-bar,
|
|
.dsm-version-number,
|
|
.dsm-plugin-info-body,
|
|
.cm-panel,
|
|
#intellisense-container td,
|
|
.dsm-vc-outfile-name {
|
|
color: @text !important;
|
|
}
|
|
|
|
.cm-gutters, .cm-foldPlaceholder, .selected-intellisense-option {
|
|
background: @crust !important;
|
|
}
|
|
|
|
.ͼb {
|
|
color: @mauve !important;
|
|
}
|
|
|
|
.ͼe {
|
|
color: @red !important;
|
|
}
|
|
|
|
.ͼd {
|
|
color: @green !important;
|
|
}
|
|
|
|
.cm-activeLineGutter, #intellisense-container, .dsm-vc-outfile-name {
|
|
background: @mantle !important;
|
|
}
|
|
|
|
.cm-focused .cm-matchingBracket {
|
|
background: fade(@accent, 25%) !important;
|
|
}
|
|
|
|
.cm-activeLine {
|
|
background: fade(@surface0, 50%) !important;
|
|
}
|
|
|
|
.cm-foldPlaceholder, #intellisense-container {
|
|
border-color: @surface0 !important;
|
|
}
|
|
|
|
.cm-gutters {
|
|
color: @subtext0 !important;
|
|
border-right-color: @surface0;
|
|
}
|
|
|
|
.cm-panels, .dsm-vc-preview-inner {
|
|
background: @base !important;
|
|
}
|
|
|
|
.cm-panels-bottom {
|
|
border-top-color: @surface0 !important;
|
|
}
|
|
|
|
.cm-lintRange-error {
|
|
@svg: escape(
|
|
'<svg xmlns="http://www.w3.org/2000/svg" width="6" height="3"><path d="M0 2.5 2 1h1l2 1.5h1" stroke="@{red}" fill="none" stroke-width=".7"/></svg>'
|
|
);
|
|
background-image: url("data:image/svg+xml,@{svg}");
|
|
}
|
|
|
|
.cm-cursor {
|
|
border-left-color: @text !important;
|
|
}
|
|
|
|
.cm-selectionBackground {
|
|
background: @surface1 !important;
|
|
}
|
|
|
|
.compact-view-enabled .dcg-mq-cursor {
|
|
border-color: @text !important;
|
|
}
|
|
|
|
@layer {
|
|
.dsm-vc-preview-expand,
|
|
.dsm-vc-remove-frame,
|
|
.dsm-vc-preview-play-pause {
|
|
i {
|
|
color: @base !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
.dsm-vc-outfile-name {
|
|
border-bottom-color: @overlay0 !important;
|
|
|
|
&.dcg-hovered {
|
|
box-shadow: 0 1px @overlay0 !important;
|
|
}
|
|
|
|
&:focus {
|
|
border-bottom-color: @accent !important;
|
|
box-shadow: 0 1px @accent !important;
|
|
}
|
|
}
|
|
|
|
/* Non-Calculator Pages */
|
|
.cls-1, #states path {
|
|
fill: @accent !important;
|
|
}
|
|
|
|
#states path:not(.uses-desmos) {
|
|
filter: brightness(125%);
|
|
}
|
|
|
|
.dcg-frontpage-landing-hero,
|
|
.dcg-frontpage-landing__button--hero,
|
|
.dcg-text--dark-blue,
|
|
.dcg-for-work-hero__label,
|
|
.accessibility-main details[open] summary,
|
|
.accessibility-main details[open] summary h3 {
|
|
color: @base !important;
|
|
}
|
|
|
|
.dcg-frontpage-landing__button, .dcg-for-work-hero__button {
|
|
background: @text !important;
|
|
color: @base !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.dcg-frontpage-landing-geometry__primary-link {
|
|
background: @mauve !important;
|
|
}
|
|
|
|
.dcg-frontpage-landing-3d__primary-link {
|
|
background: @maroon !important;
|
|
}
|
|
|
|
.dcg-frontpage-landing-section,
|
|
.dcg-frontpage-landing-tools__link,
|
|
.dcg-link-section-title,
|
|
.dcg-finalist-name,
|
|
li,
|
|
.section-interior *,
|
|
.dcg-p-tag,
|
|
.dcg-search-container input,
|
|
.dcg-searchable-dropdown-list,
|
|
.section-interior,
|
|
.careers-hero h1,
|
|
.sticky-nav li:not(.active) a,
|
|
.top-info,
|
|
.partners,
|
|
.dcg-principles-section *,
|
|
.dcg-for-work-hero,
|
|
body,
|
|
.dcg-basic-markdown-container p,
|
|
.dcg-basic-markdown-container table th,
|
|
.accessibility-main {
|
|
color: @text !important;
|
|
}
|
|
|
|
.dcg-frontpage-landing-interactive__arrow-overlay {
|
|
/* Desmos' normal solution looks bad when zoomed in (it uses like 10 stacked text-shadows.) */
|
|
text-shadow: none;
|
|
paint-order: stroke fill;
|
|
-webkit-text-stroke: 4px white;
|
|
}
|
|
|
|
.dcg-frontpage-landing-section--bg-light,
|
|
.dcg-frontpage-landing-section--bg-dark,
|
|
.dcg-facts-wrapper,
|
|
.dcg-principles-container__light-bg,
|
|
.dcg-for-work-hero,
|
|
.dcg-section--gray,
|
|
.callout--primary,
|
|
.lt-dropdown-menu,
|
|
.dcg-basic-markdown-container table th,
|
|
.accessibility-main section:nth-of-type(2n) {
|
|
background: @crust !important;
|
|
}
|
|
|
|
.dcg-frontpage-landing-classroom__card,
|
|
body,
|
|
.dcg-frontpage-landing-testing__bullets,
|
|
.accessibility-features-in-tools li,
|
|
.accessibility-main details {
|
|
background-color: @base !important;
|
|
}
|
|
|
|
.dcg-blue-link,
|
|
.dcg-footer-link,
|
|
.dcg-primary-link,
|
|
.dcg-shared-tab-gray-underline,
|
|
.dcg-btn-blue-outline {
|
|
color: @accent !important;
|
|
}
|
|
|
|
.dcg-footer-legal-content-container,
|
|
.sticky-nav li.active a,
|
|
.dcg-principles-header,
|
|
.dcg-for-work-hero__label,
|
|
.accessibility-main details[open] summary {
|
|
background: @accent !important;
|
|
}
|
|
|
|
.dcg-finalist-location, .dcg-subtitle, .breadcrumbs li::before {
|
|
color: @subtext0 !important;
|
|
}
|
|
|
|
.dcg-shared-tab-gray-underline.dcg-hovered {
|
|
border-bottom-color: @accent !important;
|
|
}
|
|
|
|
.dcg-footer-main-content-container,
|
|
.careers-hero,
|
|
.dcg-background--light-blue,
|
|
.state-info:not(.modal-view) {
|
|
background: @base !important;
|
|
}
|
|
|
|
.dcg-footer-legal-info a,
|
|
.dcg-footer-title,
|
|
.dcg-copyright,
|
|
.dcg-footer-legal-info,
|
|
.sticky-nav li.active a,
|
|
.dcg-principles-header * {
|
|
color: @base !important;
|
|
}
|
|
|
|
.dcg-test-blurb,
|
|
.dcg-key-command,
|
|
pre,
|
|
.dcg-container,
|
|
.lt-dropdown-menu,
|
|
.accessibility-main details {
|
|
border-color: @surface0 !important;
|
|
}
|
|
|
|
.dcg-search-container input,
|
|
.dcg-searchable-dropdown-list,
|
|
.sticky-nav li:not(.active) a,
|
|
.dcg-key-command,
|
|
.dcg-btn-blue-outline,
|
|
*:not(pre) > code {
|
|
background: @mantle !important;
|
|
}
|
|
|
|
.dcg-search-container input:focus,
|
|
.pdf-button,
|
|
.dcg-btn-blue-outline,
|
|
.callout--primary,
|
|
.lt-btn,
|
|
.lt-section-subscribe button {
|
|
border-color: @accent !important;
|
|
}
|
|
|
|
.dividing-line {
|
|
background: @surface0 !important;
|
|
}
|
|
|
|
.job-openings-message-container .white-background {
|
|
background: transparent !important;
|
|
}
|
|
|
|
.pdf-button.dcg-hovered, .dcg-btn-blue-outline.dcg-hovered {
|
|
box-shadow: 0 0 0 1px @accent !important;
|
|
}
|
|
|
|
.dcg-footer-logo img, .dcg-testimonial__image {
|
|
filter: @text-filter;
|
|
}
|
|
|
|
.dcg-for-work-hero__input {
|
|
border-color: @text !important;
|
|
|
|
&:focus {
|
|
box-shadow: 0 0 0 1px @text !important;
|
|
}
|
|
}
|
|
|
|
.dcg-basic-markdown-container table {
|
|
th, td {
|
|
border-color: @text !important;
|
|
}
|
|
}
|
|
|
|
/* Scientific, Geometric, and Matrix */
|
|
.dcg-calc-basic-main, #main {
|
|
--dcg-custom-background-color: @base;
|
|
border-color: transparent !important;
|
|
}
|
|
|
|
.dcg-basic-list-container, .dcg-matrix-list-container {
|
|
border-top-color: @surface0 !important;
|
|
}
|
|
|
|
.dcg-basic-list-placeholder,
|
|
.dcg-keypad-control-bar,
|
|
.dcg-matrix-list-placeholder {
|
|
border-left-color: @surface0 !important;
|
|
border-right-color: @surface0 !important;
|
|
}
|
|
|
|
.dcg-basic-keypad-container,
|
|
.dcg-basic-expression,
|
|
.dcg-latex-expression,
|
|
.dcg-matrix-expression {
|
|
border-color: @surface0 !important;
|
|
}
|
|
|
|
.dcg-keypad-control-btn.dcg-selected::after,
|
|
.dcg-segmented-control-btn.dcg-selected {
|
|
background: @accent !important;
|
|
}
|
|
|
|
.dcg-basic-expression.dcg-focused,
|
|
.dcg-matrix-expression.dcg-focused,
|
|
.dcg-latex-expression.dcg-focused {
|
|
border-color: @accent !important;
|
|
box-shadow: inset 0 0 0 1px @accent !important;
|
|
}
|
|
|
|
.dcg-resize-action {
|
|
background: @mantle !important;
|
|
border-color: @surface0 !important;
|
|
}
|
|
|
|
.dcg-matrix-container, .dcg-segmented-control-btn.dcg-selected {
|
|
border-color: @text !important;
|
|
}
|
|
|
|
.dcg-matrix-view .dcg-mq-math-mode.dcg-mq-focused {
|
|
border-bottom-color: @accent !important;
|
|
}
|
|
|
|
.dcg-mq-ans {
|
|
border-color: @accent !important;
|
|
color: @accent !important;
|
|
background: fade(@accent, 26%) !important;
|
|
|
|
&::after {
|
|
border-color: @accent !important;
|
|
color: @accent !important;
|
|
background: @mantle !important;
|
|
}
|
|
}
|
|
|
|
.dcg-keypad-control-btn.dcg-disabled {
|
|
opacity: 1 !important;
|
|
color: @surface1 !important;
|
|
|
|
i {
|
|
color: @surface1 !important;
|
|
}
|
|
}
|
|
|
|
--dcg-custom-text-color-shaded: @text;
|
|
|
|
/* Help Center */
|
|
.lt-container-inner *,
|
|
.lt-topbar,
|
|
.hc-multiselect-toggle li span[aria-label]::before {
|
|
color: @text !important;
|
|
}
|
|
|
|
.lt-container-inner a:not(.lt-btn--primary), .lt-topbar__link {
|
|
color: @accent !important;
|
|
}
|
|
|
|
.lt-topbar {
|
|
background: @crust !important;
|
|
}
|
|
|
|
.lt-topbar__logo {
|
|
filter: @text-filter;
|
|
}
|
|
|
|
.lt-hero-unit__bg,
|
|
.lt-footer-submit-ticket,
|
|
.tab,
|
|
.lt-new-request-tip,
|
|
.form-field input,
|
|
.form-field textarea,
|
|
.hc-multiselect-toggle,
|
|
.hc-multiselect-menu {
|
|
background: @mantle !important;
|
|
}
|
|
|
|
input[type="submit"], .lt-block-list-item__link, .lt-btn--primary {
|
|
background: @accent !important;
|
|
border-color: @accent !important;
|
|
color: @base !important;
|
|
}
|
|
|
|
input[type="search"] {
|
|
background: @crust !important;
|
|
border-color: @text !important;
|
|
}
|
|
|
|
.search::before {
|
|
@svg: escape(
|
|
'<svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="search" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="svg-inline--fa fa-search fa-w-16 fa-3x"><path fill="@{text}" d="M508.5 468.9 387.1 347.5c-2.3-2.3-5.3-3.5-8.5-3.5h-13.2c31.5-36.5 50.6-84 50.6-136C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c52 0 99.5-19.1 136-50.6v13.2c0 3.2 1.3 6.2 3.5 8.5l121.4 121.4c4.7 4.7 12.3 4.7 17 0l22.6-22.6c4.7-4.7 4.7-12.3 0-17M208 368c-88.4 0-160-71.6-160-160S119.6 48 208 48s160 71.6 160 160-71.6 160-160 160" class=""/></svg>'
|
|
);
|
|
background-image: url("data:image/svg+xml,@{svg}");
|
|
}
|
|
|
|
.lt-block-list-item__link * {
|
|
color: @base !important;
|
|
}
|
|
|
|
.lt-custom-block__icon {
|
|
filter: @accent-filter;
|
|
}
|
|
|
|
.lt-footer,
|
|
.lt-search-box:not(.lt-search-box--hero-unit),
|
|
.lt-breadcrumbs-wrapper,
|
|
.hc-multiselect-menu li:focus,
|
|
.hc-multiselect-toggle li {
|
|
background: @base !important;
|
|
}
|
|
|
|
.lt-scroll-to-top {
|
|
color: @accent !important;
|
|
}
|
|
|
|
.pagination-list *, .lt-scroll-to-top, .lt-new-request-tip {
|
|
border-color: @accent !important;
|
|
}
|
|
|
|
.lt-header, .lt-search-result {
|
|
border-bottom-color: @surface0 !important;
|
|
}
|
|
|
|
.lt-search-result__text em {
|
|
background: @yellow !important;
|
|
color: @base !important;
|
|
}
|
|
|
|
.lt-toc--link.is-active > span {
|
|
color: @base !important;
|
|
}
|
|
|
|
.tab, .key-command, .hc-multiselect-toggle, .hc-multiselect-menu {
|
|
border-color: @surface0 !important;
|
|
}
|
|
|
|
@layer {
|
|
.tabs-link {
|
|
color: @text !important;
|
|
|
|
&:hover {
|
|
color: @accent !important;
|
|
}
|
|
|
|
&.is-active {
|
|
color: @base !important;
|
|
background: @accent !important;
|
|
border-color: @accent !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
.upload-dropzone[data-hc-focus="true"] {
|
|
border-color: @accent !important;
|
|
}
|
|
|
|
--input-border-color: @surface0;
|
|
--input-focus-border-color: @accent;
|
|
|
|
/* Blog */
|
|
.content-wrap *:not(a), .tag-links > a {
|
|
color: @text !important;
|
|
}
|
|
|
|
.article header {
|
|
border-top-color: @surface0 !important;
|
|
}
|
|
|
|
*:not(.tag-links) > a:not(.img-card, .btn-blue, .btn-blue-outline) {
|
|
color: @accent;
|
|
}
|
|
|
|
.tag-container a {
|
|
border-color: @text !important;
|
|
|
|
&:active {
|
|
background: fade(@text, 50%) !important;
|
|
}
|
|
}
|
|
|
|
.img-card {
|
|
border-color: @surface2 !important;
|
|
|
|
&:hover {
|
|
box-shadow: 0 0 0 1px @surface2 !important;
|
|
}
|
|
}
|
|
|
|
.btn-blue {
|
|
background: @accent !important;
|
|
color: @base !important;
|
|
}
|
|
|
|
.btn-blue-outline {
|
|
border-color: @accent !important;
|
|
color: @accent !important;
|
|
|
|
&:hover {
|
|
box-shadow: 0 0 0 1px @accent !important;
|
|
}
|
|
}
|
|
|
|
.dcg-frontpage-landing__announcement {
|
|
background: @accent;
|
|
color: @text;
|
|
}
|
|
|
|
.dcg-frontpage-landing__announcement-interior {
|
|
background-color: fade(@crust, 50%);
|
|
}
|
|
|
|
/* Exams & Testing Pages (desmos.com/testing/default/{fourfunction,graphing,scientific}) */
|
|
.spa-sample-calculator-view {
|
|
.dcg-sample-calculator__header i.dcg-icon-desmos {
|
|
color: @base !important;
|
|
}
|
|
|
|
.dcg-sample-calculator__header {
|
|
background-color: @accent !important;
|
|
color: @base !important;
|
|
}
|
|
|
|
.dcg-sample-calculator__calculator-name,
|
|
.dcg-sample-calculator__state-name {
|
|
border-color: @base;
|
|
}
|
|
}
|
|
|
|
/* Login/sign up modal */
|
|
.dcg-shared-modal-dialog {
|
|
color: @text;
|
|
--dcg-modal-background-color: @base;
|
|
|
|
/* Account signup welcome */
|
|
.dcg-authentication-modal__sublabel {
|
|
color: @subtext0;
|
|
}
|
|
.dcg-authentication-modal__tag {
|
|
background-color: fade(@accent, 20%);
|
|
|
|
&:hover {
|
|
background-color: fade(@accent, 30%);
|
|
}
|
|
|
|
&.dcg-authentication-modal__tag--selected {
|
|
border-color: @accent;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* Account button/dropdown (displays username) */
|
|
.dcg-header-bar__account-menu {
|
|
&.dcg-hovered, &[aria-expanded="true"] {
|
|
background-color: @surface0;
|
|
}
|
|
}
|
|
/* Account settings modal */
|
|
.dcg-shared-account-dialog {
|
|
color: @text;
|
|
}
|
|
|
|
/* Desmos Professional (desmos.com/professional) */
|
|
.dcg-professional-hero {
|
|
background-color: @crust;
|
|
color: @text;
|
|
}
|
|
.dcg-section__beta-button {
|
|
color: @base;
|
|
background-color: @text;
|
|
|
|
&.dcg-hovered {
|
|
background-color: @subtext1;
|
|
}
|
|
|
|
&.dcg-depressed {
|
|
background-color: @subtext0;
|
|
}
|
|
}
|
|
|
|
/* "powered by" text above logo */
|
|
.dcg-powered-by {
|
|
color: @text !important;
|
|
}
|
|
|
|
/* saved graph titles */
|
|
.dcg-checkbox__content {
|
|
color: @accent;
|
|
}
|
|
/* saved folders */
|
|
.dcg-saved-graphs {
|
|
--dcg-folder-background-color: @mantle;
|
|
}
|
|
|
|
/* slider bounds */
|
|
.dcg-slider {
|
|
--dcg-custom-secondary-text-color: @accent;
|
|
}
|
|
|
|
/* tutorial (internally called tour/trip) */
|
|
.dcg-trip-interior, .dcg-trip-content {
|
|
background: @base !important;
|
|
color: @text;
|
|
}
|
|
|
|
/* folders */
|
|
.dcg-folder {
|
|
--dcg-folder-background-color: @mantle !important;
|
|
}
|
|
.dcg-folder-item-count {
|
|
color: @subtext1;
|
|
}
|
|
.dcg-my-graphs-modal__back-btn-text,
|
|
.dcg-folder__name,
|
|
.dcg-my-graphs-modal__folder-header
|
|
> .dcg-my-graphs-modal-saved-graphs-header,
|
|
.dcg-example-gallery__heading,
|
|
.dcg-saved-graphs-tile__title {
|
|
color: @accent;
|
|
}
|
|
|
|
/* folders search (no items found) */
|
|
.dcg-my-graphs-modal-empty-state__heading {
|
|
color: @accent !important;
|
|
}
|
|
.dcg-my-graphs-modal-empty-state__no-search-results {
|
|
color: @subtext1;
|
|
}
|
|
|
|
/* new graph button */
|
|
.dcg-new-my-graphs-item__button {
|
|
color: @text !important;
|
|
}
|
|
.dropdown-option-container > .dcg-dropdown-choice[role="menuitem"] {
|
|
color: @text;
|
|
}
|
|
|
|
/* update to new behavior button (write f()=random() then enter/exit text mode) */
|
|
.dcg-update-behavior-btn {
|
|
border-color: @surface0 !important;
|
|
}
|
|
|
|
/* desmodder: intellisense current variable highlight */
|
|
.pfc-param-selected {
|
|
background: @surface0 !important;
|
|
color: @text !important;
|
|
}
|
|
|
|
/* line numbers */
|
|
.dcg-num {
|
|
color: @text;
|
|
}
|
|
|
|
/* Banner (e.g. "Saving, sharing, and signing in will be temporarily disabled...") */
|
|
.dcg-header-container .dcg-top-banner {
|
|
color: @text;
|
|
background-color: @base;
|
|
}
|
|
}
|
|
}
|