Skip to content

Commit

Permalink
Remove old styles
Browse files Browse the repository at this point in the history
  • Loading branch information
laCour committed Oct 9, 2017
1 parent f50ba8e commit d9bc2b4
Show file tree
Hide file tree
Showing 25 changed files with 33 additions and 570 deletions.
11 changes: 0 additions & 11 deletions scss/layout/_scrollbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,6 @@
}
}

#monkey_scroll_wrapper_for_channels_scroller {
.monkey_scroll_bar {
background: $color-shade-mid;
}

.monkey_scroll_handle_inner {
background: $color-shade-light;
border: 3px solid $color-base;
}
}

.c-scrollbar--monkey .c-scrollbar {
&__track {
background: $color-shade-mid;
Expand Down
143 changes: 0 additions & 143 deletions scss/layout/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
color: $base-font-color;
}

#col_channels_collapse_view {
background: $color-shade-dark;
}

.p-channel_sidebar {
background-color: $color-shade-dark;
color: $base-font-color;
Expand Down Expand Up @@ -171,137 +167,6 @@
}
}

.channels_list_new_btn {
color: $base-link-color;
}

.list_more {
border-bottom: 1px dotted $base-link-color;
color: $base-link-color !important;

&:hover {
border-bottom: 1px solid $base-link-color-active;
color: $base-link-color-active !important;
}
}

#channels_scroller {
&.show_which_channel_is_active ul li.active {
.primary_action {
background: $color-base;
color: $base-font-color;

&.im_name .im_name_background,
&.im_name > *:not(.unread_highlights) {
background: $color-base;
}

&.feature_user_custom_status .im_name_background {
background: $color-base;
}

.prefix {
color: $color-highlight;
}
}

.group_close,
.im_close,
.mpim_close {
color: $base-font-color;
}

.unread_highlights,
.unread_msgs {
background: $color-red;
color: $base-font-color;
}
}

ul li.muted_channel:not(.active) .primary_action>:not(.im_name_background),
&:not(.show_which_channel_is_active) li.muted_channel .primary_action>:not(.im_name_background) {
opacity: 0.6;
}
}

#channel_scroll_down,
#channel_scroll_up {
background: $color-shade-darkest;
color: $base-font-color;
text-shadow: 0 1px 1px $color-shadow-light;
}

#channel_scroll_down {
&:hover {
color: $base-font-color;
}

&.unseen_have_mentions {
background: $color-red;
}
}

#channel_scroll_up {
&.unseen_have_mentions {
background: $color-red;
}
}

#channel_scroll_up:hover {
color: $base-font-color;
}

#list_controls {
border-bottom: 1px solid $color-shade-dark;
color: $color-highlight;
}

#list_search {
border: 1px solid $color-shade-dark;
}

#list_search_container {
.icon_search {
color: $color-highlight;
}

.icon_close {
color: $color-highlight;
}
}

#list_browser {
p.highlighted {
background: $color-base;
}

&:not(.keyboard_active) p:hover {
background: $color-base;
}

.item_creator {
color: $color-highlight;
}

.item_count {
color: $base-font-color;
}

.item_purpose {
color: $base-font-color;
}
}

#list_browser_dialog {
.modal-footer a {
color: $base-link-color;

&:hover {
color: $base-link-color-active;
}
}
}

#channel_list_invites_link {
border-bottom: 1px dotted $base-link-color;
color: $base-link-color !important;
Expand Down Expand Up @@ -332,17 +197,9 @@
#quick_switcher_label {
color: $base-link-color;
}

#quick_switcher_shortcut {
color: $base-link-color;
}
}
}

#quick_switcher_shortcut {
color: $color-highlight;
}

#quick_switcher_label {
color: $color-highlight;
}
14 changes: 0 additions & 14 deletions scss/modules/_loader.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,12 @@
}
}

#col_channels_bg {
background: $color-base;
}

#loading_team_menu_bg,
#loading_user_menu_bg {
background: $color-base;
border: none;
}

#loading_message_spinner {
background-image: none;
width: auto;

&::after {
color: $color-highlight;
content: "Loading...";
}
}

.infinite_spinner_bg,
.infinite_spinner_blue {
stroke: $base-font-color;
Expand Down
8 changes: 0 additions & 8 deletions scss/modules/flexpane/_files.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,6 @@
}
}

#primary_file_button {
color: $color-highlight !important;

&:hover {
color: $base-font-color !important;
}
}

.file_list_item .icon,
.file_reference .icon {
background: $color-shade-lightest;
Expand Down
50 changes: 23 additions & 27 deletions scss/modules/flexpane/_team.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,34 @@
}
}

#member_preview_scroller,
#member_preview_web_container {
#member_preview_scroller {
background-color: $color-shade-dark;
}

#team_tab {
#member_preview_scroller,
#member_preview_web_container {
background-color: $color-base;
.member_data_table .current_status_cell {
.current_status_container {
.current_status_cover {
&:hover {
border-color: $color-shade-dark;
}
}

&:not(.active) {
.current_status_cover {
&.without_status_set {
.current_status_placeholder {
color: rgba($base-font-color, 0.35) !important;
}
}
}
}
}
}
}

#team_tab #member_preview_scroller {
background-color: $color-base;
}

#member_preview_scroller,
#member_preview_web_container,
.menu_member_header {
Expand Down Expand Up @@ -150,23 +166,3 @@
background: $color-shade-light;
}
}

#member_preview_scroller .member_data_table .current_status_cell {
.current_status_container {
.current_status_cover {
&:hover {
border-color: $color-shade-dark;
}
}

&:not(.active) {
.current_status_cover {
&.without_status_set {
.current_status_placeholder {
color: rgba($base-font-color, 0.35) !important;
}
}
}
}
}
}
6 changes: 0 additions & 6 deletions scss/modules/flexpane/_whats-new.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,3 @@
color: $color-highlight;
}
}

#whats_new_updates {
h3 a {
color: $base-font-color !important;
}
}
31 changes: 0 additions & 31 deletions scss/modules/header/_banners.scss

This file was deleted.

16 changes: 3 additions & 13 deletions scss/modules/header/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,25 +48,15 @@
color: $color-highlight;
}

.channel_header_info {
.star,
button {
color: $base-link-color;
}
.channel_header_info button {
color: $base-link-color;
}

.channel_title_info {
background: $color-base;
color: $color-highlight;

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

.channel_details_toggle {
color: $color-highlight;
}

.channel_details_toggle,
.channel_actions_toggle {
color: $color-highlight;
}
Expand Down
4 changes: 0 additions & 4 deletions scss/modules/header/_search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@
}
}

.feature_keyboard_navigation .search_form {
border-color: $color-shade-light;
}

.search_focused .search_form {
border-color: $color-shade-lightest;
}
Expand Down
Loading

0 comments on commit d9bc2b4

Please sign in to comment.