Anders Kaseorg
27fac76da8
styles: Move media queries into the files they override.
...
Webpack code splitting will make the inclusion order of CSS files less
obvious, and we need to guarantee that these rules follow the rules
they override.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
2019-10-28 15:39:17 -07:00
YashRE42
5329d24849
settings page: Align permission "Discard" option.
...
In 50545a3
we made an incomplete revert of some style changes from
7b8da9b
, this commit reverts the "x" to "fa fa-times" and also fixes an
alignment issue for the "Discard" box in chrome.
Fixes #13233 .
2019-10-07 11:58:24 -07:00
YashRE42
7d46da0fce
acount_settings: Fix position of avatar source.
...
The avatar source was misspositioned when avatar changes were disabled.
This also repositions the "X" for when avatar changes are allowed.
Fixes #12524 .
2019-09-30 11:10:56 -07:00
YashRE42
10fd5db190
account-settings: Lighten user avatar source.
2019-09-30 11:10:56 -07:00
Tim Abbott
8b5df88596
css: Make label CSS usable outside settings model.
...
We intend to use it in the "manage streams" modal as well.
2019-09-05 11:48:32 -07:00
Anders Kaseorg
4de3bbeafa
styles: Finish removing manual antialiasing configuration.
...
Followup from commit ddb965110f
.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
2019-08-30 14:51:52 -07:00
Anders Kaseorg
abbd8a7f45
styles: Remove most vendor-prefixed CSS attributes.
...
Many of them are now automatically generated by autoprefixer, while
others are unnecessary based on .browserslistrc, and some were just
wrong (the linear-gradient based checkerboard pattern in lightbox has
been broken in Firefox for a while).
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
2019-08-30 14:51:52 -07:00
Yashashvi Dave
166d4ce630
custom fields: Change field alert notifications style in user settings.
2019-08-25 20:57:27 -07:00
Thomas Ip
d86299309a
org settings: Reduce the width occupied by the actions column in tables.
2019-08-22 13:13:24 -07:00
Thomas Ip
808641a603
css: Tweak sortable list styling to make sortable columns more obvious.
2019-08-21 16:50:22 -07:00
Thomas Ip
e309168d11
org settings: Make linkifiers table sortable.
2019-08-21 16:50:22 -07:00
Pragati Agrawal
c29b197ec7
org settings: Replace usage of ids with classes for upload button.
2019-08-21 15:49:25 -07:00
Pragati Agrawal
a6cd0b8788
org settings: Use `realm-logo-img` class as identifier of realm logo image.
...
This replaces previously being used ids, `realm-settings-logo` and
`realm-settings-night-logo` with a common class `realm-logo-img`.
2019-08-21 15:49:25 -07:00
Pragati Agrawal
eedcdf7f3b
settings/styles: Reorder `.settings-section .table-striped` to same place.
2019-08-18 12:44:40 -07:00
Pragati Agrawal
78d6ecfa08
settings/styles: Use `.settings-section` for settings `.table-striped`.
...
We have used `.settings-section .table-striped` for other rules to refer the same elements
which are referred by `#settings_page .table-striped`.
2019-08-18 12:44:40 -07:00
Pragati Agrawal
aac9a7a4b1
settings/styles: Remove redundant rules for `.table-striped thead th`.
...
This rule is already specified at
`.settings-section .table-striped thead th`.
2019-08-18 12:44:40 -07:00
Pragati Agrawal
a858d51a85
settings/styles: Nest all `.settings-section` rules.
2019-08-18 12:44:40 -07:00
Pragati Agrawal
9acd8caa59
settings/styles: Remove redundant specificity.
2019-08-18 12:44:40 -07:00
Pragati Agrawal
2c846774c0
settings/styles: Reorder styles in more sensible order.
...
Rather just putting rules in any order it makes more sense to have an order
of basic to more advanced/specific CSS.
2019-08-18 12:44:40 -07:00
Pragati Agrawal
94d867cd11
settings/scss: Reorder `.settings-section` to have them in same place.
2019-08-18 12:44:40 -07:00
Pragati Agrawal
b0b1435a18
settings/scss: Remove now redundant `settings-wrapper` class.
...
No class like this is rendered to page.
2019-08-18 12:44:40 -07:00
Pragati Agrawal
378c1a5994
settings/scss: Reorder to have `.settings-section-title` at same place.
2019-08-18 12:44:40 -07:00
Pragati Agrawal
13d5a21430
settings/scss: Nest many rules inside `#user-groups`.
2019-08-16 10:47:33 -07:00
Pragati Agrawal
44d6123c26
settings/scss: Nest `.user-group` inside `#user-groups`.
2019-08-16 10:46:12 -07:00
Pragati Agrawal
df31238fb7
settings/scss: Make `#user-groups .user-group` rules at same place.
2019-08-16 10:46:12 -07:00
Thomas Ip
cbae51db63
settings: Move API key form into its own modal.
...
The modal is rendered dynamically to avoid password managers
inserting passwords into the input field too aggressively.
Fixes #12523 .
2019-08-14 10:50:45 -07:00
Wyatt Hoodes
f623540409
data export: Add UI to trigger data export.
...
This commit serves as the frontend piece for the "public export"
webapp feature.
Fixes : #11930
2019-08-12 18:21:38 -07:00
Yashashvi Dave
440975e369
org settings: Fix background color in custom user profile datepicker field.
...
Fixes part of #11453
2019-07-29 15:06:35 -07:00
Yashashvi Dave
e55afc2629
user settings: Update alert message element in change-full-name modal.
2019-07-25 13:33:44 -07:00
Yashashvi Dave
e1dacb99df
user settings: Update alert message element in change-email modal.
2019-07-25 13:33:44 -07:00
Yashashvi Dave
b3b480709d
user settings: Update alert-msg-elem in change password modal.
2019-07-25 13:33:44 -07:00
Yashashvi Dave
5506b16fa8
user settings: Add separate alert-save widget for profile custom fields.
...
Fixes part of #12748
2019-07-25 13:33:44 -07:00
Rishi Gupta
7d8d0b2284
settings: Update upgrade text and styling.
...
When we add Plus, the first sentence should change to "Available on Zulip
Standard and Plus".
I copied the styling of .tip out of expediency, but it's also possible that
long term we'll want only 1 tip-like box styling.
The hover styling is a bit random, but I tried to copy other hover styles I
found in settings.scss.
Note that this renames .upgrade_realm_plan_type_suggestion to .upgrade-tip.
2019-07-21 14:32:36 -07:00
YashRE42
7867830e14
settings: Adjust styling of ? icons.
2019-07-17 17:47:08 -07:00
Cynthia Lin
94bbc32a92
user settings: Improve visibility of delete profile picture icon in light mode.
2019-07-15 13:49:00 -07:00
Cynthia Lin
ec4c996361
user settings: Darken area outside of non-square profile avatars on hover.
2019-07-15 13:49:00 -07:00
David Wood
9bace3f2cd
notifications: Allow only notifiable in unread count.
...
This commit adds a new setting to the user's notification settings that
will change the behaviour of the unread count in the title bar and
desktop application.
When enabled, the title bar will show the count of unread private messages
and mentions. When disabled, the title bar will act as before, showing
the total number of unread messages.
Fixes #1736 .
2019-07-13 15:49:04 -07:00
Cynthia Lin
e5d0448505
user settings: Improve accessibility for new delete profile picture button.
2019-07-12 16:53:25 -07:00
Cynthia Lin
ffaa0ee120
styles: Refactor #user-settings-avatar elements to use SCSS nesting feature.
2019-07-12 16:53:25 -07:00
Cynthia Lin
886deaf48d
styles: Remove superflous .white-color class.
...
Class was only used in one location, rendering it unnecessary.
2019-07-12 16:53:25 -07:00
Cynthia Lin
faa556ab5e
user settings: Change delete profile picture button into a x icon.
...
Fixes part of #10255 .
2019-07-12 16:53:25 -07:00
Yashashvi Dave
ecddc10272
user setting: Fix error message style in change user info modals.
...
This commit fixes style of error message in update-user-info
modals. Commit adds error message element in modal body and
fixes margin.
2019-07-11 13:17:42 -07:00
Yashashvi Dave
da2b80c173
custom field: Make external-custom-field URL input wider.
2019-07-11 12:52:21 -07:00
Yashashvi Dave
27ead227c0
custom fields: Add separate alert-save widget for create field.
...
Add separate alert-notification widget for create-custom-field
in admin view.
Fixes part of #12748
2019-07-11 12:52:21 -07:00
Pragati Agrawal
2e97b03b2b
css: Use SCSS nesting in `settings.scss` for `.new-style`.
2019-06-24 22:14:13 -07:00
Pragati Agrawal
b30ae0b7f5
css: Remove redundant `#settings` from `settings.scss`.
...
This commit removes `settings` element from setiings.scss since now no
such element exists.
2019-06-24 22:12:42 -07:00
Pragati Agrawal
45677990fd
css: Remove redundant `#organization` from `settings.scss`.
...
This commit removes the redundant `#organization` from settings.scss as
organization id no longer exists.
2019-06-24 22:12:42 -07:00
Aman Agrawal
904422d8bc
css: Convert colors from rgba to hsla format.
2019-06-20 11:34:59 -07:00
Hemanth V. Alluri
52a5474000
realm_plan_type: Restrict uploading organization logos by plan type.
...
Using the page_param variable "plan_includes_wide_organization_logo"
disallow users in a realm with a "LIMITED" plan type from uploading
their own wide organization logos and instead suggest that they
upgrade their plan using the page_param variable
"upgrade_text_for_wide_organization_logo" for the suggestion message.
Backend validation for this feature already exists.
2019-06-14 16:21:12 -07:00
Yashashvi Dave
15cd238acb
notification settings: Remove unused template argument.
...
This commit removes `propagate_stream_notifications_change`
element from notification template, as it is neglected
since commit b553507412
.
Commit also removes `end_content` argument from
`settings_checkbox.handlebars` which was only used
for removed property.
2019-06-14 14:07:22 -07:00