Files
mattermost/webapp/sass/components/_mentions.scss
Asaad Mahmood d64d1f4029 PLT-6905 - Updating channel header design (#6789)
* PLT-6905 - Updating channel header design

* Updating border-radius

* Updating radius for wide icons

* Updating trigger for overlay

* Updating UI for channel header

* Updating channel header sizing

* Updating channel header css

* Updating sidebar css

* Updating status icons

* Adjusting border

* Updating comment

* Removing type from status icon

* Fixing UI issues for the channel header/sidebar

* make "Add a channel description" open the channel header modal

* Updating status and opacity

* Updating stauts icon positioning

* Updating description and heading size

* Updating UI changes

* Updating UI changes

* add a focused class to the parent div .search__form and then remove when hover away

* Fix active state for pinned posts icon

* Updating UI changes

* Update channel header text
2017-07-06 09:07:43 -04:00

113 lines
2.0 KiB
SCSS

@charset 'UTF-8';
.mention {
@include border-radius(3px);
background: $primary-color;
color: $white;
padding-bottom: 2px;
position: relative;
z-index: 10;
}
.badge {
background-color: #777;
border-radius: 10px;
color: #fff;
display: inline-block;
font-size: 12px;
font-weight: bold;
line-height: 1;
min-width: 10px;
padding: 3px 7px;
text-align: center;
vertical-align: middle;
white-space: nowrap;
}
.mentions__name {
@include clearfix;
cursor: pointer;
font-size: 13px;
line-height: 20px;
margin: 0;
padding: 6px 10px;
position: relative;
white-space: nowrap;
width: 100%;
z-index: 101;
.icon {
@include opacity(.5);
display: inline-block;
margin: 0 7px 0 0;
position: relative;
text-align: center;
top: 2px;
vertical-align: top;
width: 16px;
&.icon__globe {
svg {
height: 14px;
width: 14px;
}
}
}
.status {
font-size: 15px;
text-align: center;
vertical-align: bottom;
width: 20px;
}
.fa-user {
position: relative;
top: -1px;
}
.mention--align {
@include clearfix;
text-overflow: ellipsis;
width: calc(100% - 50px);
}
}
.mention__image {
@include border-radius(20px);
display: block;
font-size: 15px;
height: 16px;
line-height: 16px;
margin-right: 7px;
margin-top: 3px;
text-align: center;
width: 16px;
.mention--align {
display: inline-block;
max-width: 80%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
.mention__fullname {
@include opacity(.5);
}
.mention--highlight {
background-color: $yellow;
}
.mention__purpose {
@include opacity(.5);
line-height: normal;
margin-left: 5px;
}
.mention__channelname {
@include opacity(.5);
}