fix(desmos): landing announcement, additional pages, login modal (#2159)

Co-authored-by: uncenter <[email protected]>
This commit is contained in:
Scarce Koianduncenter authored and GitHub committed 2026-04-20 10:01:34 -05:00
1 parent c706855fb6
commit c0c9e7eacb
1 file changed
+83 -1
+83 -1
View File
@@ -214,7 +214,7 @@
border-radius: 5px;
}
.dcg-header, .dcg-main-header-container, .navbar-inner {
.dcg-header, .dcg-main-header-container, .navbar-inner, .dcg-practice-header-view {
background: @crust !important;
border-bottom-color: @surface0 !important;
*:not(
@@ -513,6 +513,7 @@
background: @mantle !important;
box-shadow: none !important;
border-color: @text !important;
color: @text !important;
}
.spa-header {
@@ -1155,5 +1156,86 @@
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;
}
}
}