Pratik Chanda
95117fb82c
css: Use variables to set height and margin in user profile modal.
...
We use variables to set the values which help in calculating
different element dimensions based on these values.
2025-11-05 16:29:58 -08:00
Karl Stolley
d1a66c4faa
alerts: Restore alert-success colors.
2025-07-09 14:04:52 -07:00
Sayam Samal
0be3e242c0
alerts: Fix alert-error banner styling.
...
This commit is a follow-up to 18b2427937 ,
which removed the `alert-error` class from the Bootstrap CSS, while the
`web/src/ui_report.ts` module still used this styling for the error
banners.
This commit adds the `alert-error` class back to the Bootstrap CSS,
as a temporary solution until these alerts are migrated to the new
banner component system.
2025-06-17 09:25:33 -07:00
Karl Stolley
18b2427937
bootstrap: Rescue decoupled app, portico alert styles.
2025-04-30 10:26:20 -07:00
Karl Stolley
0c07bf79f1
bootstrap: Clean up .close references.
...
Removing `.alert` from the dark theme seems acceptable,
as there is nowhere in the codebase we're setting a
`text-shadow` value that would require `none` here.
2025-04-30 10:26:20 -07:00
Karl Stolley
0c7e4d88f7
bootstrap: Remove vendor-prefixed placeholders.
...
These conflict with our own, standard styles in app_components.css.
2025-04-03 13:35:06 -07:00
Karl Stolley
31d3eba256
bootstrap: Preserve useful styles on button, input.
2025-04-03 13:35:06 -07:00
Karl Stolley
a9fa087f60
bootstrap: Rescue cursor definitions on label, button.
2025-04-03 13:35:06 -07:00
Karl Stolley
0fb2783c68
bootstrap: Remove font-size, line-height values superseded in zulip.css.
2025-04-03 13:35:06 -07:00
Karl Stolley
86623941a3
bootstrap: Remove font-family superseded in zulip.css.
2025-04-03 13:35:06 -07:00
Karl Stolley
2326cf443c
bootstrap: Clean up HTML5 definitions part of UA stylesheets.
2025-04-03 13:35:06 -07:00
Karl Stolley
40fbb59310
bootstrap: Remove legacy ms-viewport media query.
2025-04-03 13:35:06 -07:00
Karl Stolley
9c47f3487e
bootstrap: Remove redundant margin: 0 input media queries.
2025-04-03 13:35:06 -07:00
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