Various UI improvements

pull/840/head
Vincent 5 years ago
parent 4913bcac57
commit 7b674bb8d8

@ -39,11 +39,11 @@
<div class='commitHash'></div> <div class='commitHash'></div>
<div class='environment'></div> <div class='environment'></div>
<div> <div>
<a href="https://loki.network">loki.network</a> <a href="https://getsession.org">loki.network</a>
</div> </div>
<br> <br>
<div> <div>
<a class="privacy" href="https://loki.network">Terms &amp; Privacy Policy</a> <a class="privacy" href="https://getsession.org">Terms &amp; Privacy Policy</a>
</div> </div>
<script type='text/javascript' src='node_modules/jquery/dist/jquery.js'></script> <script type='text/javascript' src='node_modules/jquery/dist/jquery.js'></script>

@ -40,7 +40,6 @@
</script> </script>
<script type='text/x-tmpl-mustache' id='two-column'> <script type='text/x-tmpl-mustache' id='two-column'>
<div id='session-toast-container'></div>
<div class='gutter'> <div class='gutter'>
<div class='network-status-container'></div> <div class='network-status-container'></div>
<div class='left-pane-placeholder'></div> <div class='left-pane-placeholder'></div>

@ -2015,6 +2015,7 @@
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
margin-top: 5px;
} }
.module-conversation-list-item__message__text { .module-conversation-list-item__message__text {

@ -156,6 +156,10 @@ div.spacer-lg {
width: 100%; width: 100%;
} }
::selection {
background: rgba($session-color-green, 0.6);
}
input, input,
textarea { textarea {
caret-color: $session-color-green !important; caret-color: $session-color-green !important;
@ -998,6 +1002,7 @@ label {
} }
&-display { &-display {
user-select: text;
text-align: center; text-align: center;
word-break: break-all; word-break: break-all;
font-size: $session-font-md; font-size: $session-font-md;
@ -1293,7 +1298,7 @@ label {
.module-message { .module-message {
font-family: 'SF Pro Text'; font-family: 'SF Pro Text';
border-radius: 5px; border-radius: 5px;
&__text--incoming { &__text--incoming {
/* Add padding to large emojis in chat */ /* Add padding to large emojis in chat */
img.emoji.jumbo { img.emoji.jumbo {
@ -1301,7 +1306,6 @@ label {
} }
} }
} }
} }
.bottom-bar { .bottom-bar {

@ -215,7 +215,7 @@ $session-compose-margin: 20px;
&__list { &__list {
height: -webkit-fill-available; height: -webkit-fill-available;
border-top: 1px solid rgba(255,255,255,0.05); border-top: 1px solid rgba(255, 255, 255, 0.05);
&-popup { &-popup {
width: -webkit-fill-available; width: -webkit-fill-available;
@ -244,6 +244,10 @@ $session-compose-margin: 20px;
padding: 13px; padding: 13px;
} }
h2 {
margin-top: 0px;
}
h3, h3,
h2 { h2 {
text-align: center; text-align: center;
@ -468,7 +472,7 @@ $session-compose-margin: 20px;
justify-content: center; justify-content: center;
background: $session-color-danger; background: $session-color-danger;
width: 22px; width: 22px;
height: 22px; height: 22px;
font-size: $session-font-xs; font-size: $session-font-xs;
margin-left: auto; margin-left: auto;
text-align: center; text-align: center;
@ -508,10 +512,10 @@ $session-compose-margin: 20px;
.module-conversation__user__profile-name { .module-conversation__user__profile-name {
font-size: 13px !important; font-size: 13px !important;
} }
} }
&__header__date, &__message { &__header__date,
&__message {
display: none; display: none;
} }

@ -165,15 +165,15 @@ export class ActionsPanel extends React.Component<Props, State> {
notificationCount={unreadMessageCount} notificationCount={unreadMessageCount}
/> />
<this.Section <this.Section
type={SectionType.Contact} type={SectionType.Channel}
isSelected={isContactPageSelected} isSelected={isChannelPageSelected}
onSelect={this.handleSectionSelect} onSelect={this.handleSectionSelect}
notificationCount={receivedFriendRequestCount}
/> />
<this.Section <this.Section
type={SectionType.Channel} type={SectionType.Contact}
isSelected={isChannelPageSelected} isSelected={isContactPageSelected}
onSelect={this.handleSectionSelect} onSelect={this.handleSectionSelect}
notificationCount={receivedFriendRequestCount}
/> />
<this.Section <this.Section
type={SectionType.Settings} type={SectionType.Settings}

Loading…
Cancel
Save