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: Establish and reference legacy portico styles.

Karl Stolleya7b2ae840979
diff --git a/docs/subsystems/analytics.md b/docs/subsystems/analytics.md
index e1d377069ce..225b8e0ac1e 100644
--- a/docs/subsystems/analytics.md
+++ b/docs/subsystems/analytics.md
@@ -182,8 +182,8 @@ The relevant files are:
get_chart_data in this file.
- `web/src/stats/stats.ts`: The JavaScript and Plotly code.
- `templates/analytics/stats.html`
-- `web/styles/stats.css` and `web/styles/portico.css`: We are in the
- process of re-styling this page to use in-app css instead of portico css,
+- `web/styles/stats.css` and `web/styles/legacy_portico.css`: We are in the
+ process of re-styling this page to use in-app CSS instead of the portico CSS,
but there is currently still a lot of portico influence.
- `analytics/urls.py`: Has the URL routes; it's unlikely you will have to
modify this, including for adding a new graph.
diff --git a/web/styles/portico/landing_page.css b/web/styles/portico/landing_page.css
index ecf09486b0a..c56991343a7 100644
--- a/web/styles/portico/landing_page.css
+++ b/web/styles/portico/landing_page.css
@@ -204,7 +204,7 @@ button {
margin: 0 auto;
}
-/* -- modify portico.css -- */
+/* -- modify legacy_portico.css -- */
.app-main {
max-width: none;
min-width: 0;
diff --git a/web/styles/portico/portico.css b/web/styles/portico/legacy_portico.css
similarity index 100%
rename from web/styles/portico/portico.css
rename to web/styles/portico/legacy_portico.css
diff --git a/web/styles/portico/legacy_portico_styles_bundle.css b/web/styles/portico/legacy_portico_styles_bundle.css
index 591050f212a..31d1298b98f 100644
--- a/web/styles/portico/legacy_portico_styles_bundle.css
+++ b/web/styles/portico/legacy_portico_styles_bundle.css
@@ -1,5 +1,5 @@
@import url("../components.css");
-@import url("portico.css");
+@import url("legacy_portico.css");
@import url("portico_signin.css");
@import url("markdown.css");
@import url("navbar.css");
diff --git a/web/styles/portico/showroom.css b/web/styles/portico/showroom.css
index b7acec5f549..14661ecd13c 100644
--- a/web/styles/portico/showroom.css
+++ b/web/styles/portico/showroom.css
@@ -16,7 +16,7 @@ body {
var(--base-line-height-unitless)
);
font-family: "Source Sans 3 VF", sans-serif;
- font-weight: unset; /* override value in portico.css */
+ font-weight: unset; /* override value in legacy_portico.css */
color: var(--color-text-default);
background-color: var(--color-background);
}
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 1f4c293b11e..d66d57dae6f 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -1560,7 +1560,6 @@ div.topic_edit_spinner .loading_indicator_spinner {
margin-right: 0;
}
-/* FIXME: Combine this rule with the one in portico.css somehow? */
#pw_strength {
width: 100%;
height: 10px;