Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

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

Aman Agrawal293992fe60a7
diff --git a/web/src/bundles/portico.ts b/web/src/bundles/portico.ts
index d2eaf0104f6..56351888423 100644
--- a/web/src/bundles/portico.ts
+++ b/web/src/bundles/portico.ts
@@ -2,6 +2,7 @@ import "./common";
import "../portico/header";
import "../portico/google-analytics";
import "../portico/portico_modals";
+import "../portico/tippyjs";
import "../../third/bootstrap/css/bootstrap.portico.css";
import "../../styles/portico/portico_styles.css";
import "tippy.js/dist/tippy.css";
diff --git a/web/styles/portico/billing.css b/web/styles/portico/billing.css
index f8db9e5612d..ce9c3cae693 100644
--- a/web/styles/portico/billing.css
+++ b/web/styles/portico/billing.css
@@ -2,12 +2,6 @@
--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 {
font-family: "Source Sans 3 VF", sans-serif;
background-color: hsl(0deg 0% 98%);
diff --git a/web/styles/portico/portico.css b/web/styles/portico/portico.css
index 71a6a366b03..6eab9c1811e 100644
--- a/web/styles/portico/portico.css
+++ b/web/styles/portico/portico.css
@@ -2,6 +2,12 @@
--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 {
background-color: hsl(0deg 0% 98%);
font-family: "Source Sans 3 VF", sans-serif;
diff --git a/web/webpack.assets.json b/web/webpack.assets.json
index 2da9d0487f5..a826cef3542 100644
--- a/web/webpack.assets.json
+++ b/web/webpack.assets.json
@@ -21,7 +21,6 @@
],
"billing_auth": [
"./src/bundles/portico",
- "./src/portico/tippyjs",
"./src/billing/helpers",
"jquery-validation",
"./src/billing/remote_billing_auth",
@@ -30,7 +29,6 @@
],
"upgrade": [
"./src/bundles/portico",
- "./src/portico/tippyjs",
"./src/billing/helpers",
"./src/billing/upgrade",
"jquery-validation",
@@ -120,8 +118,7 @@
"stats": [
"./src/bundles/portico",
"./styles/portico/stats.css",
- "./src/stats/stats",
- "tippy.js/dist/tippy.css"
+ "./src/stats/stats"
],
"app": ["./src/bundles/app"],
"digest": ["./src/bundles/portico"]