Karl Stolley
155fc9f1d7
link_styles: Establish variable-based generic link styles.
2024-10-15 15:04:47 -07:00
Sayam Samal
4457225d35
bootstrap: Remove legacy `nav nav-list` classes and related CSS.
...
With the redesign of all popovers completed, we have transitioned away
from the legacy Bootstrap-based popover system. As a result, the
Bootstrap `nav nav-list` classes are now obsolete and no longer used
in the codebase.
This commit, a part of the efforts to clean up the legacy Bootstrap CSS,
removes these unused classes and any related CSS workarounds.
Fixes #26990 .
2024-07-15 10:00:22 -07:00
Aman Agrawal
ef09051003
css: Move text-error class from bootstrap.
...
Remove hover and focus CSS for anchor tags since `text-error` elements
which use this CSS right now don't have anchor tag.
2024-06-26 10:03:05 -07:00
Aman Agrawal
3aaf25e42d
bootstrap: Remove unused dropdown class.
...
We don't have any element using dropdown class in codebase.
2024-06-24 09:06:53 -07:00
Aman Agrawal
244d4e9620
bootstrap: Move `hidden` class to `app_componenets`.
2024-06-24 09:06:53 -07:00
Aman Agrawal
8457d12e59
bootstrap: Remove `hide/show` classes.
2024-06-24 09:06:53 -07:00
Karl Stolley
29dd61c20c
bootstrap: Remove pre styles.
...
Happily, every last CSS property in these styles is already
described for the places <pre> appears in the Zulip UI:
1. In rendered message markdown
2. In the compose preview
3. In the information overlay (Message formatting)
2024-02-19 18:15:26 -08:00
Karl Stolley
384e28c8e2
bootstrap: Remove li style.
...
The `line-height` value is set to `inherit` in zulip.css, rendering
this line moot. `inherit` will always force list items to take
their line height from the nearest ancestor that sets one.
2024-02-19 17:53:50 -08:00
Karl Stolley
6073507230
bootstrap: Remove q styles.
...
There is no evidence of the <q> (quote) element in use in the
Zulip UI, nor that any of the Python-Markdown syntax generates them
either.
2024-02-19 17:51:10 -08:00
Karl Stolley
9c77300c5a
bootstrap: Remove body selectors, zero margin/padding explicitly.
2024-02-15 10:31:29 -08:00
Karl Stolley
79959573bd
bootstrap: Remove unnecessary root properties.
...
* `font-size: 100%` is unnecessary, as `font-size: 16px` is set on
the `body` selector.
* `text-size-adjust` is unnecessary, as supporting browsers appear
to use `100%` as a default value anyway.
2024-02-15 10:31:29 -08:00
Aman Agrawal
da7cb0af1c
bootstrap: Remove unused dropdown toggle class definitions.
2024-02-03 17:20:28 -08:00
Aman Agrawal
ea2bd14480
bootstrap: Remove duplicate `invisible` class.
...
The same definition is already present app_components.css, so
we don't need it here.
2024-02-02 11:00:35 -08:00
Sahil Batra
5f82bf0002
css: Remove bootstrap css for "fade" class.
...
We do not use "fade" class in our app anymore so we can
remove its CSS from boostrap.app.css.
2024-01-29 09:55:32 -08:00
Tim Abbott
00aa0631fe
css: Move Bootstrap alerts CSS to separate file.
2024-01-28 16:08:30 -08:00
Tim Abbott
56a884e0be
css: Extract Bootstrap Typeahead CSS to its own file.
2024-01-28 16:08:30 -08:00
Tim Abbott
73aca658f6
css: Remove unused Bootstrap dropdown-backdrop rules.
2024-01-28 16:08:30 -08:00
Tim Abbott
ee97d018af
css: Remove unused Bootstrap dropup CSS.
2024-01-28 16:08:30 -08:00
Tim Abbott
3818969f04
css: Remove overridden body styles from app.
2024-01-28 16:08:30 -08:00
Tim Abbott
98637e3a88
css: Remove unused Bootstrap text-* styles from app.
2024-01-28 16:08:30 -08:00
Tim Abbott
49ff0dc2e2
css: Remove unused row/container CSS from app.
2024-01-28 16:08:30 -08:00
Tim Abbott
25d7740b26
css: Remove dead Bootstrap CSS from app.
...
The only reference to any of these was in a comment.
2024-01-28 16:08:30 -08:00
Karl Stolley
f07dae6b25
bootstrap: Fork CSS into app, portico copies.
...
This aims to reduce the cognitive overhead of doing Bootstrap CSS
cleanup by concerning contributors only with Zulip or the portico.
2024-01-28 15:07:36 -08:00