Commit Graph

1974 Commits

Author SHA1 Message Date
Vaibhav
30da8bdf9b css: Rename info-overlay tab-switcher to .tab-switcher.allow-overflow.
This apparently is no longer used in any place hence there were no
changes required in the templates.
2019-06-03 12:16:16 -07:00
Vaibhav
56e97d5c37 css: Use SCSS nesting in app_components.scss for .new-style. 2019-06-03 12:16:16 -07:00
Vaibhav
c6b50fbba6 css: Add :focus rule for .new-style .button.btn-warning.
Same as the `:hover` rule similar to other buttons.
2019-06-03 12:16:16 -07:00
Vaibhav
09791b9c29 css: Use SCSS nesting in app_components.scss for .button. 2019-06-03 12:16:16 -07:00
Vaibhav
331f1fc4b7 css: Reorder app_components.scss so .button are in same place. 2019-06-03 12:16:16 -07:00
Vaibhav
6d588b683c css: Use SCSS nesting in app_components.scss for .tab-switcher. 2019-06-03 12:16:16 -07:00
Vaibhav
8ebc8602a5 css: Reorder app_components.scss so .tab-switcher .ind-tab are together. 2019-06-03 12:16:16 -07:00
Vaibhav
5460c4fce5 css: Use SCSS nesting in app_components.scss for .informational-overlays. 2019-06-03 12:16:16 -07:00
Vaibhav
a3ec301218 css: Reorder app_components.scss so .informational-overlays are seperate.
Two rules corresponding to `.informational-overlays` were placed among the
`.new-style` rules. The file is reordered to seperate them.
2019-06-03 12:16:16 -07:00
Vaibhav
082e0bc6f6 css: Use SCSS nesting in app_components.scss for .overlay. 2019-06-03 12:16:16 -07:00
Vaibhav
6abd05f77b css: Reorder app_components.scss so that .overlay.show are in one place. 2019-06-03 12:16:16 -07:00
Vaibhav
ff7aedd78a css: Use SCSS nesting in app_components.scss for .clear_search_button. 2019-06-03 12:16:16 -07:00
Rishi Gupta
849bc382f9 portico: Remove core-team profiles from /team.
This makes the Zulip team look smaller than we are.
2019-06-03 12:14:40 -07:00
vinitS101
ed3e9be142 org_settings: Add collapse/show settings button for users and guests.
For non-admins some organisation settings tabs are 'collapsed' by default.
A button at the bottom of these settings can be used to toggle
show/collapse for these settings tabs.

Resolves #12313.
2019-05-31 22:42:02 -07:00
Puneeth Chaganti
9aa5a2b369 url preview: Use oEmbed html for videos.
Ensure that the html is safe, before using it. The html is considered if it is
in an iframe with a http/https src, based on the recommendations here:
https://oembed.com/#section3

We directly embed the `iframe` html into the lightbox overlay.
2019-05-31 15:59:03 -07:00
YashRE42
5ff27c130a info-overlay: Fix "message formating" styling.
This reverts the temporary solution from 04d9d1d and introduces a
better, more permanent solution for the same bug.
2019-05-30 16:18:54 -07:00
YashRE42
43bc1d4d5a info-overlay: Increase size of arrow icons. 2019-05-30 16:18:54 -07:00
Vaibhav
f366c50913 user_info: Add bot owner to the user info popover.
This includes all the changes on the frontend side to include the
bot owner in the popover. Includes the bot owner name as a link which
opens the full profile of the bot owner.

For bots without any owner (such as Notification Bot or Welcome Bot)
in place of bot owner name, 'System Bot' appears for cross realm bots
and 'Bot' for in-realm bots.

Fixes #10844.
2019-05-30 15:45:56 -07:00
Rishi Gupta
0eeae3b6d0 email visibility: Enable feature and add user documentation. 2019-05-27 23:21:39 -07:00
Rishi Gupta
ca942b4878 settings: Restructure CSS for fa-question-circle-o.
There are only two of these icons in the codebase, so it is a relatively
safe change.

Making this change to make it easier to add this icon to labels and other
places in settings.
2019-05-27 23:14:26 -07:00
Vaibhav
eed09527d5 css: Use SCSS nesting in components.scss for .new-style. 2019-05-27 22:50:11 -07:00
Vaibhav
f6051d8819 css: Use SCSS nesting in components.scss for .simplebar-track. 2019-05-27 22:50:11 -07:00
Vaibhav
5cc331b93f css: Cleanup CSS corresponding to .flex-row .field.
A `.field` element already has left margin set as 10px and setting
left-margin explicitly for a `.field + .field` equal to the same
value is redundant. This rule is removed.

Margin is set as `10px 10px` which can be equivalently written as
`10px`.
2019-05-27 22:50:11 -07:00
Vaibhav
c50206b824 css: Use SCSS nesting in components.scss for .flex-row. 2019-05-27 22:50:11 -07:00
Vaibhav
95ab1f238e css: Reorder components.scss so that .flex-row are in same place. 2019-05-27 22:50:11 -07:00
YashRE42
04d9d1d27a info-overlay: Fix "message formating" styling.
The introduction of ".rendered_markdown table" in 00eaf3a, caused some
styling glitches in the "message formatting" overlay, such as an extra
right border and darker internal borders. This commit fixes these
glitches by duplicating bootstrap's table styles.
2019-05-27 14:39:09 -07:00
YashRE42
c2e5aa0f1e info-overlay: Shrink bubble around small_hotkey.
Adding a line-height here makes the bubble around the keys smaller which
makes the text within the bubble seem better aligned.
2019-05-27 14:39:09 -07:00
Anders Kaseorg
eec608d6a3 css: Improve SimpleBar scrollbar contrast.
Show black scrollbars with a thin light border in day mode, or white
scrollbars with a thin dark border in night mode (both at 50%
opacity).  This matches the native scrollbars on macOS pretty closely.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
2019-05-23 17:26:19 -07:00
Greg Price
de66b3b0f1 corporate: Add a /jobs page, with job posts for mobile/fullstack.
With various edits from Rishi and Tim.
2019-05-22 22:20:58 -07:00
Yashashvi Dave
3e50ed2075 org settings: Add organization profile preview option.
This should make it convenient and obvious how verify that their
organization profile looks nice after being markdown-rendered.

Fixes #12105.
2019-05-21 17:53:34 -07:00
David Wood
6b9a9b1e31 org settings: Extract setting for new user waiting period.
This commit separates the `waiting_period_threshold` setting from
the `create_stream_policy` setting, adding a new setting that the user
can use to select a waiting period threshold.

Both the invite to stream policy and create stream policy now have
three options: admins only, members and admins, or members after
waiting period/admins.
2019-05-21 17:36:48 -07:00
Mayank Madan
d5e61e20e5 dev tooling: Add "create new user" and "create new realm" buttons.
Significantly tweaked by tabbott to clean up and expand the tests.

Fixes: #6018.
2019-05-21 15:03:37 -07:00
YashRE42
b8afddbd2a info-overlay: Add "bubble" style to keys. 2019-05-21 14:25:24 -07:00
YashRE42
8a914eb111 info-overlay: Unbold "or" between hotkeys. 2019-05-21 14:25:24 -07:00
YashRE42
15d04904bb info-overlay: Switch labels to left, keys to right. 2019-05-21 14:25:24 -07:00
YashRE42
e2ba65aa3f info-overlay: Improve styling of hotkeys.
Fixes: #11573.
This moves help_table to informational-overlays.scss, replaces "," with
"or" and "P" with "shift + p" in order to be more clear and legible
this also improves the styling of the text.
2019-05-21 14:25:24 -07:00
Tim Abbott
e35773658b css: Remove weird whitespace rules in markdown content.
These seem to have been there since the very first version of our
markdown styling, and I can't imagine why we would the behavior of not
line-wrapping links now.

(I think the "weird bug" mentioned in the comment history might have
to do with an old animation when you hovered over a link on portico
pages).
2019-05-20 19:14:35 -07:00
Tim Abbott
734c18f356 integrations: Fix buggy ol/paragraph spacing.
This appears to caused by trying to reuse this bit of spacing logic
from the Help Center's CSS rules.

I'm not altogether happy with this fix, but it resolves the issue and
we can defer further work until we're ready to clean up the
portico/landing pages CSS more generally.
2019-05-20 18:54:46 -07:00
sameerchoubey
d711b1c8ba portico: Add responsive styling to /integrations/ subpages.
Tweaked by tabbott to clean up the commit message and some confusing
code duplication.

Fixes #11701.
2019-05-20 18:49:27 -07:00
Aditya Bansal
43591d6c71 archives: Display globe icon for web public streams.
In this commit we start reserving the globe icon for web public
streams and replace instances of mixed usage of globe for public
streams with a '#'.
2019-05-20 18:13:31 -07:00
Hemanth V. Alluri
1a12e112d9 devtools: Completely overhaul the frontend for the integrations devtool.
This commit also adds a small functionality change where the results of
each webhook fixture message sent is now displayed to the user.

With a small tweak by tabbott to fix a styling bug.

Fixes #12122.
2019-05-20 12:36:15 -07:00
Tim Abbott
a28af1fd64 css: Remove unnecessary prefixed transitions.
The transition keyword has been standard for a while now; see the
previous commit for details.
2019-05-20 12:15:16 -07:00
Boris Yankov
18a350f042 css: Remove unnecessary 'prefixed-transition' mixin.
The `transition` property does not need prefixing. In fact, very
few properties need that nowadays. So remove it to simplify
the code. This is strictly a refactor with no style change intended.

Many of these styles shouldn't have been prefixed even if needed.
The prefixes exist exactly because the implementations might differ
from the incoming standard.

Looking at the supported browsers:
https://caniuse.com/#search=transition

We see that this property has had mainstream support from 2012 and
was supported on Firefox in 2006 !!!
2019-05-20 12:15:16 -07:00
Vaibhav
76295dd59f css: Club rules in reactions.scss under selector .message_reaction_count. 2019-05-20 12:01:49 -07:00
Vaibhav
ae47ddc16e css: Use SCSS nesting in reactions.scss for .reaction_button. 2019-05-20 12:01:49 -07:00
Vaibhav
e8c072a4c8 css: Reorder reactions.scss so that .reaction_button are in one place. 2019-05-20 12:01:49 -07:00
Vaibhav
c4b683a638 css: Use SCSS nesting in reactions.scss for .message_reaction. 2019-05-20 12:01:49 -07:00
Vaibhav
9ef3a660b3 css: Reorder reactions.scss so .message_reaction are in same place. 2019-05-20 12:01:49 -07:00
Vaibhav
9e1ee434a7 css: Use SCSS nesting in reactions.scss for .private-message.
Precisely for `.private-message .message_reactions .message_reaction`.
2019-05-20 12:01:49 -07:00
Vaibhav
129dfec297 css: Use SCSS nesting in reactions.scss for .message_reactions. 2019-05-20 12:01:49 -07:00