Skip to content

Commit

Permalink
Deprecate monkey scrollbar styles; add styles for new scrollbar (fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
laCour committed Jun 16, 2016
1 parent 8798aab commit 0c97e9e
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 53 deletions.
23 changes: 23 additions & 0 deletions scss/layout/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,26 @@ h1 a {
.right_border {
border-right: 1px solid $color-shade-dark;
}

::-webkit-scrollbar-track {
background: $color-shade-mid !important;
}

::-webkit-scrollbar-thumb {
background: $color-shade-light !important;
}

::-webkit-scrollbar-corner {
background: $color-base !important;
}

::-webkit-scrollbar-thumb,
::-webkit-scrollbar-track {
color: $color-base !important;
}

.feature_indigenous_scroll {
#messages_container::after {
background: none !important;
}
}
31 changes: 0 additions & 31 deletions scss/layout/_monkey-scroll.scss

This file was deleted.

1 change: 0 additions & 1 deletion scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

@import "layout/base";
@import "layout/sidebar";
@import "layout/monkey-scroll";

@import "modules/loader";

Expand Down
8 changes: 0 additions & 8 deletions scss/modules/_hacks.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
#msgs_scroller_div {
margin-left: 1px; // This is necessary because this container is being undersized on the width property by a script. Without this, there would be a 1px 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.
}

.client_header_icon {
-moz-filter: brightness(0.6) contrast(3) invert(1) sepia(0.5);
-webkit-filter: brightness(0.6) contrast(3) invert(1) sepia(0.5);
Expand Down
4 changes: 0 additions & 4 deletions scss/modules/emojis/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,6 @@
}
}

#monkey_scroll_wrapper_for_emoji_menu_items_scroller {
background: $color-base;
}

#emoji_input:focus {
border-color: $color-shade-light;
}
Expand Down
4 changes: 0 additions & 4 deletions scss/modules/flexpane/_base.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#flex_contents {
background: $color-base;

.monkey_scroll_hider {
background: $color-base;
}

.heading {
background: $color-base;
color: $base-link-color;
Expand Down
4 changes: 0 additions & 4 deletions scss/pages/_spaces.scss
Original file line number Diff line number Diff line change
Expand Up @@ -356,10 +356,6 @@ comments {
background-color: $color-shade-dark;
box-shadow: 0 0 0 1px $color-shadow-dark, 0 0 2px $color-shadow-dark;
}

.monkey_scroll_wrapper {
background: $color-shade-dark;
}
}

#connection_status {
Expand Down
1 change: 0 additions & 1 deletion scss/pages/_website.scss
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,6 @@ ul.sidebar_nav li {
}

.plan_availability,
.menu #monkey_scroll_wrapper_for_menu_items_scroller,
.modal-backdrop,
.icon {
background: $color-shade-dark;
Expand Down

0 comments on commit 0c97e9e

Please sign in to comment.