PLT-5747: Fixed inconsistent on-hover, tooltip, and active states for buttons. (#7174)

* Fixed LHS Team Sidebar on hover highlight.
 * Fixed LHS Main Menu on hover tooltip to show "Main menu".
 * Added On-hover highlight for Favorite button in channel heading.
 * Added active state for channel members icon.
   * Added active class based on internal react state with new changeCss rule.
 * Changed cursor to pointer on hovering a theme.
 * Fixed Invite New Member Add Button to have text-underline on hover.
Этот коммит содержится в:
Sudheer
2017-08-21 19:42:40 +05:30
коммит произвёл Harrison Healey
родитель 2986c38469
Коммит b2e53086b3
8 изменённых файлов: 50 добавлений и 21 удалений

Просмотреть файл

@@ -692,3 +692,9 @@
padding-left: 0;
}
}
.modal-invite-member {
.btn:hover {
text-decoration: underline;
}
}

Просмотреть файл

@@ -157,12 +157,10 @@
.channel-header__info {
margin-top: 12px;
white-space: nowrap;
.header-dropdown__icon {
color: $dark-gray;
}
.channel-header__title {
.header-dropdown__icon {
color: $dark-gray;
}
> a {
display: inline-block;
text-decoration: none;
@@ -458,7 +456,6 @@
&.inactive {
color: inherit;
&:hover,
&:active {
color: inherit;
}

Просмотреть файл

@@ -25,6 +25,9 @@
display: block;
margin-left: 11px;
text-decoration: none;
&:hover .team-btn {
border-color: white;
}
}
.team-btn {

Просмотреть файл

@@ -225,6 +225,9 @@
img {
border: 3px solid transparent;
&:hover {
cursor: pointer;
}
}
.active {