zulip/static/styles
Anders Kaseorg 64b78ad992 styles: Use range context queries to eliminate *_max variables.
On a high-DPI display or with a non-default zoom level, the browser
viewport may have a width strictly between md_max = 767px and md_min =
768px.  Use only the *_min bounds for consistency.

This requires queries with strict inequalities to express upper
bounds (width < md_min).  Fortunately, that functionality is provided
by range context queries.  Unfortunately, those are not supported in
all browsers.  Fortunately, we can compile them away using
postcss-media-minmax.  Unfortunately, postcss-media-minmax currently
subtracts 1px for strict inequalities anyway to work around a Safari
rounding bug.  Fortunately, 0.02px should be sufficient for that, so I
submitted a PR:

https://github.com/postcss/postcss-media-minmax/pull/28

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-02-05 09:23:59 -08:00
..
portico styles: Use range context queries to eliminate *_max variables. 2021-02-05 09:23:59 -08:00
alerts.css styles: Use range context queries to eliminate *_max variables. 2021-02-05 09:23:59 -08:00
app_components.css styles: Use range context queries to eliminate *_max variables. 2021-02-05 09:23:59 -08:00
components.css new-style-checkbox: Set to cursor to not-allowed when disabled. 2020-10-01 17:45:11 -07:00
compose.css styles: Use range context queries to eliminate *_max variables. 2021-02-05 09:23:59 -08:00
drafts.css styles: Use range context queries to eliminate *_max variables. 2021-02-05 09:23:59 -08:00
hotspots.css styles: Rename .scss files back to .css. 2020-09-15 16:33:28 -07:00
image_upload_widget.css styles: Rename .scss files back to .css. 2020-09-15 16:33:28 -07:00
informational_overlays.css styles: Use range context queries to eliminate *_max variables. 2021-02-05 09:23:59 -08:00
input_pill.css styles: Rename .scss files back to .css. 2020-09-15 16:33:28 -07:00
left_sidebar.css docs: Fix more capitalization issues. 2020-10-23 11:46:55 -07:00
lightbox.css styles: Use range context queries to eliminate *_max variables. 2021-02-05 09:23:59 -08:00
message_edit_history.css styles: Rename .scss files back to .css. 2020-09-15 16:33:28 -07:00
night_mode.css styles: Convert [readonly] selector to :read-only pseudo-class. 2020-10-30 11:46:57 -07:00
popovers.css styles: Use range context queries to eliminate *_max variables. 2021-02-05 09:23:59 -08:00
pygments.css styles: Rename .scss files back to .css. 2020-09-15 16:33:28 -07:00
reactions.css emoji_picker: Fix search input length. 2020-09-23 11:33:27 -07:00
recent_topics.css styles: Use range context queries to eliminate *_max variables. 2021-02-05 09:23:59 -08:00
rendered_markdown.css styles: Use range context queries to eliminate *_max variables. 2021-02-05 09:23:59 -08:00
right_sidebar.css styles: Use range context queries to eliminate *_max variables. 2021-02-05 09:23:59 -08:00
settings.css styles: Use range context queries to eliminate *_max variables. 2021-02-05 09:23:59 -08:00
subscriptions.css styles: Use range context queries to eliminate *_max variables. 2021-02-05 09:23:59 -08:00
typing_notifications.css styles: Use range context queries to eliminate *_max variables. 2021-02-05 09:23:59 -08:00
user_circles.css styles: Rename .scss files back to .css. 2020-09-15 16:33:28 -07:00
user_status.css styles: Use range context queries to eliminate *_max variables. 2021-02-05 09:23:59 -08:00
widgets.css styles: Rename .scss files back to .css. 2020-09-15 16:33:28 -07:00
zulip.css styles: Use range context queries to eliminate *_max variables. 2021-02-05 09:23:59 -08:00