Skip to content

Commit

Permalink
Correct messaging and sidebar border; remove old border positioning hack
Browse files Browse the repository at this point in the history
  • Loading branch information
laCour committed Sep 15, 2017
1 parent db6e153 commit 1dd43f9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 0 additions & 4 deletions scss/modules/_hacks.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#msgs_scroller_div {
margin-left: 4px; // This is necessary because this container is being undersized on the width property by a script. Without this, there would be a 4px space on the right, to the left of the monkey scroller.
}

.monkey_scroll_bar {
z-index: 99; // This should have a higher z-index than messages and dividers or else they overlap.
}
Expand Down
2 changes: 2 additions & 0 deletions scss/modules/header/_base.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.channel_header {
background: $color-base;
box-shadow: inset 1px 0 0 0 $color-base;

.blue_on_hover:hover {
color: $base-font-color;
Expand All @@ -9,6 +10,7 @@
#client_body:not(.onboarding)::before {
background: $color-base;
border-bottom: 1px solid $color-shade-dark;
box-shadow: inset 1px 0 0 0 $color-base;
}

.messages_header {
Expand Down
1 change: 1 addition & 0 deletions scss/modules/inputs/_messaging.scss
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@

#footer {
background: $color-base;
box-shadow: inset 1px 0 0 0 $color-base;

&.disabled #message-input,
&.disabled #msg_input {
Expand Down
5 changes: 5 additions & 0 deletions scss/modules/messaging/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,18 @@
background: $color-base;
}

#col_messages {
box-shadow: inset 1px 0 0 0 $color-base;
}

ts-message {
color: $base-font-color;

&.active:not(.standalone):not(.multi_delete_mode):not(.highlight):not(.new_reply),
&.message--focus:not(.standalone):not(.multi_delete_mode):not(.highlight):not(.new_reply),
&:hover:not(.standalone):not(.multi_delete_mode):not(.highlight):not(.new_reply) {
background: rgba($color-shade-darkest, 0.1);
box-shadow: inset 1px 0 0 0 $color-base;

&.is_pinned,
&.show_recap:not(.is_pinned) {
Expand Down

0 comments on commit 1dd43f9

Please sign in to comment.