summaryrefslogtreecommitdiffstats
path: root/webapp/sass/layout
diff options
context:
space:
mode:
authorenahum <nahumhbl@gmail.com>2016-12-22 15:20:36 -0300
committerCorey Hulen <corey@hulen.com>2016-12-22 10:20:36 -0800
commitb79b2b2a53935cd883312c1158918291a926bacd (patch)
treefeb178ef53b3f8edf47824556bd4ba57ded8ce8d /webapp/sass/layout
parentc9eb23a3d44c96042522bf7cdefc65903eb1d0a3 (diff)
downloadchat-b79b2b2a53935cd883312c1158918291a926bacd.tar.gz
chat-b79b2b2a53935cd883312c1158918291a926bacd.tar.bz2
chat-b79b2b2a53935cd883312c1158918291a926bacd.zip
Fix team switch (#4851)
* Fix team switch * Fix channel switching by using BrowserStore * Fixes plt-5076 and plt-5068 * Updating styles for Teams sidebar (#4875)
Diffstat (limited to 'webapp/sass/layout')
-rw-r--r--webapp/sass/layout/_team-sidebar.scss29
1 files changed, 25 insertions, 4 deletions
diff --git a/webapp/sass/layout/_team-sidebar.scss b/webapp/sass/layout/_team-sidebar.scss
index 562944984..2bf072ed0 100644
--- a/webapp/sass/layout/_team-sidebar.scss
+++ b/webapp/sass/layout/_team-sidebar.scss
@@ -23,13 +23,29 @@
.team-btn {
@include border-radius(2px);
background-color: alpha-color($black, .3);
+ border: 1px solid transparent;
display: table-cell;
+ font-size: 12px;
font-weight: bold;
- height: 35px;
+ padding: 4px 5px;
position: relative;
text-align: center;
- vertical-align: middle;
- width: 35px;
+ vertical-align: top;
+ width: 40px;
+
+ .team-btn__initials {
+ text-align: left;
+ }
+
+ .team-btn__content {
+ bottom: 4px;
+ font-size: 8.5px;
+ font-weight: normal;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ width: 31px;
+ }
.badge {
font-size: 10px;
@@ -37,12 +53,17 @@
right: -6px;
top: -3px;
}
+
+ &.team-btn__add {
+ height: 39px;
+ vertical-align: middle;
+ }
}
&.active {
.team-btn {
background-color: transparent;
- border: 1px solid $white;
+ border-color: $white;
}
}