mirror of
https://github.com/zulip/zulip.git
synced 2025-10-26 01:24:02 +00:00
decorated_channels: Rename privacy-icon class.
This commit is contained in:
@@ -192,7 +192,7 @@ export function update_compose_for_message_type(opts: ComposeTriggeredOptions):
|
|||||||
// it here.
|
// it here.
|
||||||
const direct_message_label = $t({defaultMessage: "DM"});
|
const direct_message_label = $t({defaultMessage: "DM"});
|
||||||
$("#compose_select_recipient_widget .dropdown_widget_value").html(
|
$("#compose_select_recipient_widget .dropdown_widget_value").html(
|
||||||
`<i class="zulip-icon zulip-icon-users stream-privacy-type-icon"></i> ${direct_message_label}`,
|
`<i class="zulip-icon zulip-icon-users channel-privacy-type-icon"></i> ${direct_message_label}`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
compose_banner.clear_errors();
|
compose_banner.clear_errors();
|
||||||
|
|||||||
@@ -893,7 +893,7 @@ input.settings_text_input {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.stream-privacy-type-icon {
|
.channel-privacy-type-icon {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 0.06rem;
|
top: 0.06rem;
|
||||||
padding-right: 1px;
|
padding-right: 1px;
|
||||||
|
|||||||
@@ -1541,7 +1541,7 @@ textarea.new_message_textarea {
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
color: var(--color-text-default);
|
color: var(--color-text-default);
|
||||||
|
|
||||||
.stream-privacy-type-icon {
|
.channel-privacy-type-icon {
|
||||||
font-size: 0.9286em; /* 13px at 14px em */
|
font-size: 0.9286em; /* 13px at 14px em */
|
||||||
width: 1em;
|
width: 1em;
|
||||||
height: 1em;
|
height: 1em;
|
||||||
|
|||||||
@@ -59,7 +59,7 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
|
|
||||||
.stream-privacy-type-icon {
|
.channel-privacy-type-icon {
|
||||||
/* This pushes back on suspect styles
|
/* This pushes back on suspect styles
|
||||||
in app_components.css. A fuller fix
|
in app_components.css. A fuller fix
|
||||||
will require tracking down other
|
will require tracking down other
|
||||||
|
|||||||
@@ -817,7 +817,7 @@ ul.popover-group-menu-member-list {
|
|||||||
/* Grid defined in modal.css */
|
/* Grid defined in modal.css */
|
||||||
grid-area: heading;
|
grid-area: heading;
|
||||||
|
|
||||||
.stream-privacy-type-icon {
|
.channel-privacy-type-icon {
|
||||||
padding-left: 3px;
|
padding-left: 3px;
|
||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
@@ -841,7 +841,7 @@ ul.popover-group-menu-member-list {
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
color: var(--color-text-default);
|
color: var(--color-text-default);
|
||||||
|
|
||||||
.stream-privacy-type-icon {
|
.channel-privacy-type-icon {
|
||||||
/* 13px at 16px/1em */
|
/* 13px at 16px/1em */
|
||||||
font-size: 0.8125em;
|
font-size: 0.8125em;
|
||||||
/* 13px at 13px/1em */
|
/* 13px at 13px/1em */
|
||||||
|
|||||||
@@ -313,7 +313,7 @@ h4.user_group_setting_subsection_title {
|
|||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
display: inline;
|
display: inline;
|
||||||
|
|
||||||
.stream-privacy-type-icon {
|
.channel-privacy-type-icon {
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -95,7 +95,7 @@
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.stream-privacy-type-icon {
|
.channel-privacy-type-icon {
|
||||||
width: 9px;
|
width: 9px;
|
||||||
padding-left: 2px;
|
padding-left: 2px;
|
||||||
top: 0.5px;
|
top: 0.5px;
|
||||||
|
|||||||
@@ -168,7 +168,7 @@
|
|||||||
align-items: baseline;
|
align-items: baseline;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
|
||||||
.stream-privacy-type-icon {
|
.channel-privacy-type-icon {
|
||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2172,7 +2172,7 @@ body:not(.spectator-view) {
|
|||||||
vertically centered properly. */
|
vertically centered properly. */
|
||||||
line-height: 1.214;
|
line-height: 1.214;
|
||||||
|
|
||||||
.stream-privacy-type-icon {
|
.channel-privacy-type-icon {
|
||||||
line-height: 1.214;
|
line-height: 1.214;
|
||||||
font-size: 0.93em;
|
font-size: 0.93em;
|
||||||
/* We set only the width so that flexbox
|
/* We set only the width so that flexbox
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
{{#if stream}}
|
{{#if stream}}
|
||||||
{{> inline_decorated_channel_name stream=stream show_colored_icon=true}}
|
{{> inline_decorated_channel_name stream=stream show_colored_icon=true}}
|
||||||
{{else if is_direct_message}}
|
{{else if is_direct_message}}
|
||||||
<i class="zulip-icon zulip-icon-users stream-privacy-type-icon"></i> {{name}}
|
<i class="zulip-icon zulip-icon-users channel-privacy-type-icon"></i> {{name}}
|
||||||
{{else if is_setting_disabled}}
|
{{else if is_setting_disabled}}
|
||||||
<span class="setting-disabled-option"><i class="setting-disabled-option-icon fa fa-ban" aria-hidden="true"></i>{{t "Disable" }}</span>
|
<span class="setting-disabled-option"><i class="setting-disabled-option-icon fa fa-ban" aria-hidden="true"></i>{{t "Disable" }}</span>
|
||||||
{{else}}
|
{{else}}
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
{{! This controls whether the swatch next to streams in the left sidebar has a lock icon. }}
|
{{! This controls whether the swatch next to streams in the left sidebar has a lock icon. }}
|
||||||
{{~#if stream.is_archived ~}}
|
{{~#if stream.is_archived ~}}
|
||||||
<i class="zulip-icon zulip-icon-archive stream-privacy-type-icon" {{#if show_colored_icon}}style="color: {{stream.color}}"{{/if}} aria-hidden="true"></i> {{stream.name ~}}
|
<i class="zulip-icon zulip-icon-archive channel-privacy-type-icon" {{#if show_colored_icon}}style="color: {{stream.color}}"{{/if}} aria-hidden="true"></i> {{stream.name ~}}
|
||||||
{{~ else if stream.invite_only ~}}
|
{{~ else if stream.invite_only ~}}
|
||||||
<i class="zulip-icon zulip-icon-lock stream-privacy-type-icon" {{#if show_colored_icon}}style="color: {{stream.color}}"{{/if}} aria-hidden="true"></i> {{stream.name ~}}
|
<i class="zulip-icon zulip-icon-lock channel-privacy-type-icon" {{#if show_colored_icon}}style="color: {{stream.color}}"{{/if}} aria-hidden="true"></i> {{stream.name ~}}
|
||||||
{{~ else if stream.is_web_public ~}}
|
{{~ else if stream.is_web_public ~}}
|
||||||
<i class="zulip-icon zulip-icon-globe stream-privacy-type-icon" {{#if show_colored_icon}}style="color: {{stream.color}}"{{/if}} aria-hidden="true"></i> {{stream.name ~}}
|
<i class="zulip-icon zulip-icon-globe channel-privacy-type-icon" {{#if show_colored_icon}}style="color: {{stream.color}}"{{/if}} aria-hidden="true"></i> {{stream.name ~}}
|
||||||
{{~ else ~}}
|
{{~ else ~}}
|
||||||
<i class="zulip-icon zulip-icon-hashtag stream-privacy-type-icon" {{#if show_colored_icon}}style="color: {{stream.color}}"{{/if}} aria-hidden="true"></i> {{stream.name ~}}
|
<i class="zulip-icon zulip-icon-hashtag channel-privacy-type-icon" {{#if show_colored_icon}}style="color: {{stream.color}}"{{/if}} aria-hidden="true"></i> {{stream.name ~}}
|
||||||
{{~/if~}}
|
{{~/if~}}
|
||||||
|
|||||||
@@ -9,11 +9,11 @@
|
|||||||
<span class="pill-value">
|
<span class="pill-value">
|
||||||
{{#if has_stream}}
|
{{#if has_stream}}
|
||||||
{{~#if stream.invite_only ~}}
|
{{~#if stream.invite_only ~}}
|
||||||
<i class="zulip-icon zulip-icon-lock stream-privacy-type-icon" aria-hidden="true"></i>
|
<i class="zulip-icon zulip-icon-lock channel-privacy-type-icon" aria-hidden="true"></i>
|
||||||
{{~ else if stream.is_web_public ~}}
|
{{~ else if stream.is_web_public ~}}
|
||||||
<i class="zulip-icon zulip-icon-globe stream-privacy-type-icon" aria-hidden="true"></i>
|
<i class="zulip-icon zulip-icon-globe channel-privacy-type-icon" aria-hidden="true"></i>
|
||||||
{{~ else ~}}
|
{{~ else ~}}
|
||||||
<i class="zulip-icon zulip-icon-hashtag stream-privacy-type-icon" aria-hidden="true"></i>
|
<i class="zulip-icon zulip-icon-hashtag channel-privacy-type-icon" aria-hidden="true"></i>
|
||||||
{{~/if~}}
|
{{~/if~}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if is_empty_string_topic}}
|
{{#if is_empty_string_topic}}
|
||||||
|
|||||||
@@ -154,7 +154,7 @@ run_test("generate_pill_html", () => {
|
|||||||
"<div class='pill 'data-stream-id=\"101\" tabindex=0>\n" +
|
"<div class='pill 'data-stream-id=\"101\" tabindex=0>\n" +
|
||||||
' <span class="pill-label">\n' +
|
' <span class="pill-label">\n' +
|
||||||
' <span class="pill-value">\n' +
|
' <span class="pill-value">\n' +
|
||||||
'<i class="zulip-icon zulip-icon-hashtag stream-privacy-type-icon" aria-hidden="true"></i> Denmark\n' +
|
'<i class="zulip-icon zulip-icon-hashtag channel-privacy-type-icon" aria-hidden="true"></i> Denmark\n' +
|
||||||
" </span></span>\n" +
|
" </span></span>\n" +
|
||||||
' <div class="exit">\n' +
|
' <div class="exit">\n' +
|
||||||
' <a role="button" class="zulip-icon zulip-icon-close pill-close-button"></a>\n' +
|
' <a role="button" class="zulip-icon zulip-icon-close pill-close-button"></a>\n' +
|
||||||
|
|||||||
Reference in New Issue
Block a user