mirror of https://github.com/zulip/zulip.git
compose: Add dividers.
These improves the visual organization of the compose controls. This is consistent with the divider we have for the navbar.
This commit is contained in:
parent
2b8aa5ce2d
commit
061e274716
|
@ -468,6 +468,12 @@ input.recipient_box {
|
|||
padding: 0 4px;
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
.divider {
|
||||
color: hsl(0, 0%, 88%);
|
||||
font-size: 20px;
|
||||
margin: 0 3px;
|
||||
}
|
||||
}
|
||||
|
||||
.compose_right_float_container {
|
||||
|
|
|
@ -342,6 +342,10 @@ body.night-mode {
|
|||
border-color: transparent;
|
||||
}
|
||||
|
||||
.compose_control_buttons_container .divider {
|
||||
color: hsla(236, 33%, 90%, 0.5);
|
||||
}
|
||||
|
||||
/* Not that .message_row (below) needs to be more contrast on dark mode */
|
||||
#compose-content,
|
||||
.message_list .recipient_row,
|
||||
|
|
|
@ -9,9 +9,11 @@
|
|||
<a role="button" class="compose_control_button fa fa-smile-o emoji_map" aria-label="{{t 'Add emoji' }}" tabindex=0 data-tippy-content="{{t 'Add emoji' }}"></a>
|
||||
<a role="button" class="compose_control_button compose_gif_icon {{#unless giphy_enabled }} hide {{/unless}} zulip-icon zulip-icon-gif" aria-label="{{t 'Add GIF' }}" tabindex=0 data-tippy-content="{{t 'Add GIF' }}"></a>
|
||||
<a role="button" class="compose_control_button fa fa-clock-o time_pick" aria-label="{{t 'Add global time' }}" tabindex=0 data-tippy-content="{{t 'Add global time<br />Everyone sees global times in their own time zone.' }}" data-tippy-maxWidth="none" data-tippy-allowHtml="true"></a>
|
||||
<div class="divider">|</div>
|
||||
<a role="button" data-format-type="bold" class="compose_control_button fa fa-bold formatting_button" aria-label="{{t 'Bold' }}" tabindex=0 data-tippy-content="{{t 'Bold' }}"></a>
|
||||
<a role="button" data-format-type="italic" class="compose_control_button fa fa-italic formatting_button" aria-label="{{t 'Italic' }}" tabindex=0 data-tippy-content="{{t 'Italic' }}"></a>
|
||||
<a role="button" data-format-type="link" class="compose_control_button fa fa-link formatting_button" aria-label="{{t 'Link' }}" tabindex=0 data-tippy-content="{{t 'Link' }}"></a>
|
||||
<div class="divider">|</div>
|
||||
<a role="button" class="message-control-link" tabindex=0 data-overlay-trigger="message-formatting">{{t 'Help' }}</a>
|
||||
<span id="sending-indicator"></span>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue