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
Suyash Vardhan Mathur
f4cf5166bb
api docs: Display data type of parameters in API documentation.
...
Previously, the data type of parameters wasn't displayed in the API
Documentation, even though that OpenAPI data is carefully validated
against the implementation. Here we add a recursive function to
render the data types visibly in the API documentation.
This only covers the request parameters; we'll want to do something
similar for response parameters in a follow-up PR.
Fixes part of #15967 .
2021-01-21 15:56:07 -08:00
Aman Agrawal
62d721e859
docs: Remove HipChat migration guide.
...
As of Feb 15th 2019, Hipchat Cloud and Stride
have reached End Of Life and are no longer
supported by Atlassian. Since it is almost 2 years
now we can remove the migration guides.
2020-12-23 15:43:13 +05:30
Vishnu KS
4b99f9e407
support: Fix styling of plan details.
...
The vertical allignment of billing method and downgrade plan
went a bit off in 41cb047645
This commit should fix the allignment.
2020-12-17 17:09:20 -08:00
Siddharth Asthana
6f962c1815
support: Add ability to change subdomain of realms.
2020-12-06 00:48:10 -08:00
Vishnu KS
bae9dc5f2f
billing: Use name selector for overriding the spin button for license input.
2020-11-06 09:59:33 -08:00
Anders Kaseorg
192f1eb0fc
styles: Convert [disabled] selectors to :disabled pseudo-class.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-10-30 11:46:57 -07:00
YashRE42
e344ea25f8
landing-page: Rename to landing_page.css.
2020-10-19 11:50:39 -07:00
YashRE42
ab67232904
portico-signin: Rename to portico_signin.css.
2020-10-19 11:50:39 -07:00
YashRE42
7ee3484b7b
portico-styles: Rename to portico_styles.css.
2020-10-19 11:50:39 -07:00
Aman Agrawal
1e5873df9e
text-error-css: Use same color as used by bootstrap for text-error.
2020-10-18 14:06:20 -07:00
Aman Agrawal
1849ca41d2
login: Top right align error message.
...
Fixes the alignment issues and this better indicates the field to
which error message belongs to.
2020-10-18 14:06:20 -07:00
Aman Agrawal
8297121050
Revert "login: Fix alignment of error message in login form."
...
This reverts commit 6fe82620df
.
Reverted since this misaligns other forms which use the same
class.
2020-10-18 14:06:20 -07:00
Aman Agrawal
6fe82620df
login: Fix alignment of error message in login form.
2020-10-07 16:18:54 -07:00
Vishnu KS
510efbc1a8
support: Add option to change billing method.
2020-09-28 15:37:49 -07:00
Vishnu KS
3e438538b4
support: Add support for downgrading realm.
2020-09-28 15:37:49 -07:00
Amitsinghyadav
a72e9476ee
api_docs: Add fragment references for all parameters.
...
This makes it convenient to link to a specific parameter accepted by
Zulip API endpoint.
2020-09-21 12:18:10 -07:00
Aman Agrawal
2befc007cf
landing-page: Don't transition all li elements.
...
This looks weird and shouldn't be present in the first place.
2020-09-16 10:29:23 -07:00
Anders Kaseorg
a3d26d701e
styles: Rename .scss files back to .css.
...
css-loader@4 broke @import statements referencing files with
extensions other than .css, unless those @import statements are
compiled away by another loader. Upstream is more interested in
arguing that such @import statements are semantically incorrect than
applying the one line fix.
https://github.com/webpack-contrib/css-loader/issues/1164
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-09-15 16:33:28 -07:00
Anders Kaseorg
7492656b92
styles: Reference images through Webpack.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-09-15 16:33:28 -07:00
Aman Agrawal
22665414fe
landing-page: Fix carousel indicators alignment.
...
Reset to bootstrap v2.3.2 moved the indicators to top right, we
change it back to its previous location in this commit.
2020-09-02 10:59:22 -07:00
Priyansh Garg
8dd29f4e99
portico: Improve error messages display on registration page.
...
Improves the display of error messages on registration page fixing
mis-positioning of error messages and overlapping with other text
in some cases.
Part of: #15750 .
2020-08-31 22:12:03 -07:00
Anders Kaseorg
56931b68e0
styles: Unprefix appearance property.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-07 15:17:20 -07:00
Anders Kaseorg
483445e3d3
styles: Remove unit from 0 lengths.
...
Generated by stylelint --fix.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-06 11:34:44 -07:00
Anders Kaseorg
6dea671fde
styles: Merge duplicate selectors.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-06 11:34:44 -07:00
Anders Kaseorg
3572dcc67c
styles: Remove shorthand property overrides.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-06 11:34:44 -07:00
Anders Kaseorg
725ca116dd
styles: Remove duplicate properties.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-06 11:34:44 -07:00
Anders Kaseorg
3bab1df0e7
styles: Remove invalid -wekbit-box-align [sic] property.
...
I’m going to assume that this is not intended to be an optimization
for “WekBit” and can, in fact, be deleted.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-06 11:30:45 -07:00
Anders Kaseorg
b30c86b1a8
styles: Remove obsolete ::-moz-selection vendor prefix.
...
This is automatically added back by autoprefixer when necessary.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-06 11:30:45 -07:00
Anders Kaseorg
c593a62b50
styles: Enable stylelint function-url-quotes rule.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-04 16:34:19 -07:00
Anders Kaseorg
18ce4aed8b
styles: Enable stylelint font-family-name-quotes rule.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-04 16:34:19 -07:00
Anders Kaseorg
c6ed5c81de
styles: Format CSS with Prettier.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-04 16:34:19 -07:00
SiddharthVarshney
5d6df3dc01
css: Use SCSS nesting for `.carousel-indicators`.
2020-08-04 16:24:12 -07:00
SiddharthVarshney
7f2c5a7015
css: Use SCSS nesting for `.carousel-indicators li`.
2020-08-04 16:24:12 -07:00
SiddharthVarshney
7af8b7ff6c
css: Use SCSS nesting for `.tour .carousel-control`.
2020-08-04 16:24:12 -07:00
SiddharthVarshney
1531e38bc2
css: Use SCSS nesting for `.tour .carousel-inner .call-to-action`.
2020-08-04 16:24:12 -07:00
SiddharthVarshney
d0d4a066d1
css: Use SCSS nesting for `.tour .carousel-inner .other-resources`.
2020-08-04 16:24:12 -07:00
SiddharthVarshney
26d1df58f7
css: Use SCSS nesting for `.tour .carousel-inner .other-resources .other-resources-section`.
2020-08-04 16:24:12 -07:00
SiddharthVarshney
a57d979a46
css: Use SCSS nesting for `.tour .carousel-inner .comparison-slack img`.
2020-08-04 16:24:12 -07:00
SiddharthVarshney
9a67565c12
css: Use SCSS nesting for `.tour .carousel-inner img`.
2020-08-04 16:24:12 -07:00
SiddharthVarshney
fdf893c0af
css: Use SCSS nesting for `.tour .carousel-inner .zulip-slack-comparison`.
2020-08-04 16:24:12 -07:00
SiddharthVarshney
8487110cca
css: Reorder css for `.tour .carousel-inner .zulip-slack-comparison .caption`.
2020-08-04 16:24:12 -07:00
SiddharthVarshney
e91d3664c3
css: Use SCSS nesting for `.tour .carousel-inner .zulip-slack-comparison img`.
2020-08-04 16:24:12 -07:00
SiddharthVarshney
b05031530d
css: Reorder css for `.tour .carousel-inner .zulip-slack-comparison img`.
2020-08-04 16:24:12 -07:00
SiddharthVarshney
e8a516aa4d
css: Use SCSS nesting for `.tour .carousel-inner .start-button`.
2020-08-04 16:24:12 -07:00
SiddharthVarshney
d3208c61d7
css: Use SCSS nesting for `.carousel.carousel-fade .carousel-inner`.
2020-08-04 16:24:12 -07:00
SiddharthVarshney
a8c8aae6f5
css: Use SCSS nesting for `.carousel.carousel-fade .carousel-inner .item`.
2020-08-04 16:24:12 -07:00
SiddharthVarshney
bfb3e86eab
css: Use SCSS nesting for `.carousel.carousel-fade .carousel-inner .item.active`.
2020-08-04 16:24:12 -07:00
SiddharthVarshney
6371fe7b37
css: Use SCSS nesting for `.portico-landing.hello .open-source`.
2020-08-04 16:24:12 -07:00
SiddharthVarshney
0e47e2bd2a
css: Merge `.portico-landing.hello .open-source img` css.
2020-08-04 16:24:12 -07:00