portico: Enable tippy tooltips for all portico pages with common style.

This commit is contained in:
Aman Agrawal 2024-03-26 03:54:50 +00:00 committed by Tim Abbott
parent 8cae09abd6
commit 293992fe60
4 changed files with 8 additions and 10 deletions

View File

@ -2,6 +2,7 @@ import "./common";
import "../portico/header"; import "../portico/header";
import "../portico/google-analytics"; import "../portico/google-analytics";
import "../portico/portico_modals"; import "../portico/portico_modals";
import "../portico/tippyjs";
import "../../third/bootstrap/css/bootstrap.portico.css"; import "../../third/bootstrap/css/bootstrap.portico.css";
import "../../styles/portico/portico_styles.css"; import "../../styles/portico/portico_styles.css";
import "tippy.js/dist/tippy.css"; import "tippy.js/dist/tippy.css";

View File

@ -2,12 +2,6 @@
--color-background-modal: hsl(0deg 0% 98%); --color-background-modal: hsl(0deg 0% 98%);
} }
[data-tippy-root] .tippy-box .tippy-content {
font-size: 14px;
font-weight: normal;
color: hsl(0deg 0% 100%);
}
.billing-upgrade-page { .billing-upgrade-page {
font-family: "Source Sans 3 VF", sans-serif; font-family: "Source Sans 3 VF", sans-serif;
background-color: hsl(0deg 0% 98%); background-color: hsl(0deg 0% 98%);

View File

@ -2,6 +2,12 @@
--color-background-modal: hsl(0deg 0% 98%); --color-background-modal: hsl(0deg 0% 98%);
} }
[data-tippy-root] .tippy-box .tippy-content {
font-size: 14px;
font-weight: normal;
color: hsl(0deg 0% 100%);
}
body { body {
background-color: hsl(0deg 0% 98%); background-color: hsl(0deg 0% 98%);
font-family: "Source Sans 3 VF", sans-serif; font-family: "Source Sans 3 VF", sans-serif;

View File

@ -21,7 +21,6 @@
], ],
"billing_auth": [ "billing_auth": [
"./src/bundles/portico", "./src/bundles/portico",
"./src/portico/tippyjs",
"./src/billing/helpers", "./src/billing/helpers",
"jquery-validation", "jquery-validation",
"./src/billing/remote_billing_auth", "./src/billing/remote_billing_auth",
@ -30,7 +29,6 @@
], ],
"upgrade": [ "upgrade": [
"./src/bundles/portico", "./src/bundles/portico",
"./src/portico/tippyjs",
"./src/billing/helpers", "./src/billing/helpers",
"./src/billing/upgrade", "./src/billing/upgrade",
"jquery-validation", "jquery-validation",
@ -120,8 +118,7 @@
"stats": [ "stats": [
"./src/bundles/portico", "./src/bundles/portico",
"./styles/portico/stats.css", "./styles/portico/stats.css",
"./src/stats/stats", "./src/stats/stats"
"tippy.js/dist/tippy.css"
], ],
"app": ["./src/bundles/app"], "app": ["./src/bundles/app"],
"digest": ["./src/bundles/portico"] "digest": ["./src/bundles/portico"]