mirror of https://github.com/zulip/zulip.git
frontend: Change main UI content to not be background images.
This commit is contained in:
parent
b2f105ac7e
commit
74ab5b607a
|
@ -1495,9 +1495,9 @@ blockquote p {
|
||||||
width: 35px;
|
width: 35px;
|
||||||
height: 35px;
|
height: 35px;
|
||||||
margin-right: 11px;
|
margin-right: 11px;
|
||||||
background-size: 35px 35px;
|
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-error-bar {
|
.home-error-bar {
|
||||||
|
@ -1806,10 +1806,7 @@ nav .column-left .nav-logo {
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
width: 25px;
|
width: 25px;
|
||||||
height: 25px;
|
height: 25px;
|
||||||
background-image: url(../images/logo/zulip-icon-128x128.png);
|
|
||||||
background-size: 100% 100%;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-position: center center;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
nav .column-left .company-name {
|
nav .column-left .company-name {
|
||||||
|
@ -2697,3 +2694,12 @@ img.emoji {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.no-drag {
|
||||||
|
user-drag: none;
|
||||||
|
user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-webkit-user-drag: none;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
}
|
||||||
|
|
|
@ -9,8 +9,9 @@
|
||||||
<span class="message_sender{{^status_message}} sender_info_hover{{/status_message}}">
|
<span class="message_sender{{^status_message}} sender_info_hover{{/status_message}}">
|
||||||
{{#include_sender}}
|
{{#include_sender}}
|
||||||
{{! See ../js/notifications.js for another user of avatar_url. }}
|
{{! See ../js/notifications.js for another user of avatar_url. }}
|
||||||
<div class="u-{{msg/sender_id}} inline_profile_picture{{#status_message}} sender_info_hover{{/status_message}}"
|
<div class="u-{{msg/sender_id}} inline_profile_picture{{#status_message}} sender_info_hover{{/status_message}}">
|
||||||
style="background-image: url('{{small_avatar_url}}');"/>
|
<img src="{{small_avatar_url}}" alt="{{msg/sender_id}}" class="no-drag"/>
|
||||||
|
</div>
|
||||||
{{#if status_message}}
|
{{#if status_message}}
|
||||||
<span class="sender-status">
|
<span class="sender-status">
|
||||||
<span class="sender_name-in-status sender_info_hover">{{msg/sender_full_name}}</span>
|
<span class="sender_name-in-status sender_info_hover">{{msg/sender_full_name}}</span>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<nav class="header-main rightside-userlist" id="top_navbar">
|
<nav class="header-main rightside-userlist" id="top_navbar">
|
||||||
<div class="column-left">
|
<div class="column-left">
|
||||||
<a class="no-style brand" href="#">
|
<a class="no-style brand" href="#">
|
||||||
<div class="nav-logo"></div>
|
<img src="/static/images/logo/zulip-icon-128x128.png" class="nav-logo no-drag"/>
|
||||||
<div class="company-name">
|
<div class="company-name">
|
||||||
zulip
|
zulip
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue