Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

subscription_settings: Make the `+` button more visible.

Aman Agrawal1a3d67ad0cd9
diff --git a/static/styles/night_mode.css b/static/styles/night_mode.css
index 36daa3dd04f..021edaa77a3 100644
--- a/static/styles/night_mode.css
+++ b/static/styles/night_mode.css
@@ -270,6 +270,12 @@ body.night-mode {
background-color: transparent;
}
+ .create_stream_plus_button {
+ color: hsl(0, 0%, 100%);
+ background-color: hsla(0, 0%, 0%, 0.2);
+ border-color: hsla(0, 0%, 0%, 0.6);
+ }
+
.emoji-info-popover
.emoji-popover
.emoji-popover-category-tabs
diff --git a/static/styles/subscriptions.css b/static/styles/subscriptions.css
index bda9c202524..f22197f1025 100644
--- a/static/styles/subscriptions.css
+++ b/static/styles/subscriptions.css
@@ -173,21 +173,25 @@
}
.create_stream_plus_button {
+ font-size: 24px;
+ font-weight: 500;
+ position: relative;
+ top: 2px;
+ border: 1px solid hsl(0, 0%, 80%);
+ border-radius: 5px;
+ background-color: hsl(0, 0%, 100%);
+ color: hsl(0, 0%, 0%);
margin: 0 0 0 5px;
+ height: 27px;
- border: none;
- outline: none;
- background-color: transparent;
-
- font-size: 2.2em;
- font-weight: 300;
- line-height: 1;
- color: hsl(0, 0%, 67%);
+ &:hover {
+ border: 1px solid hsl(0, 0%, 47%);
+ }
- display: inline-block;
- transition: all 0.2s ease;
- padding-bottom: 0;
- padding-top: 0;
+ span {
+ position: relative;
+ top: -5px;
+ }
}
#create_stream_description {
diff --git a/static/templates/stream_settings/stream_settings_overlay.hbs b/static/templates/stream_settings/stream_settings_overlay.hbs
index 1a0b8d1d050..8ad06a06481 100644
--- a/static/templates/stream_settings/stream_settings_overlay.hbs
+++ b/static/templates/stream_settings/stream_settings_overlay.hbs
@@ -12,7 +12,9 @@
<div class="search-container">
<div id="add_new_subscription">
{{#if can_create_streams}}
- <button class="create_stream_button create_stream_plus_button tippy-zulip-tooltip" data-tippy-content="{{t 'Create new stream' }} (n)" data-tippy-placement="bottom">+</button>
+ <button class="create_stream_button create_stream_plus_button tippy-zulip-tooltip" data-tippy-content="{{t 'Create new stream' }} (n)" data-tippy-placement="bottom">
+ <span>+</span>
+ </button>
{{/if}}
<div class="float-clear"></div>
</div>