Files
mostlymatter/webapp/sass/layout/_sidebar-right.scss
Joram Wilander 04cd7b1a89 Merge 3.9 RC5 fixes into master (#6459)
* UI fixes for 3.9 (#6400)

* UI fixes for header icon alignment

* PLT-6569 - Fixing pin icon in header

* PLT-6505 - Updating z-index for emoji picker

* Updating z-index for overlaying sidebar

* PLT-6134 - Fix for emoji picker on comments

* Reverting emoji picker fix

* Fixing alignment for header icons

* Removing channel title changes

* Don't show mention badge for active channel (#6411)

* PLT-6583 - Fixing RHS compact view (#6413)
2017-05-19 12:19:04 -04:00

233 строки
4.4 KiB
SCSS

@charset 'UTF-8';
.sidebar--right {
@include translateX(400px);
background: $white;
height: 100%;
padding: 0;
position: fixed;
right: 0;
width: 400px;
z-index: 8;
&.webrtc {
z-index: 5;
}
&.sidebar--right--expanded {
z-index: 10;
}
.sidebar--right__bg {
@include single-transition(background-color, .5s, ease);
background-color: alpha-color($black, 0);
height: 100%;
position: absolute;
top: 0;
visibility: hidden;
width: 300%;
}
&.move--left,
&.webrtc--show {
.sidebar--right__bg {
left: -100%;
}
}
.post-body {
img {
max-height: 200px;
}
}
.post {
&.post--compact {
.post__pinned-badge {
margin: 0 0 0 5px;
}
}
.post__content {
padding: 0 10px 0 0;
}
.post__header {
.col__name {
.user-popover {
max-width: 120px;
}
}
.flag-icon__container {
z-index: 5;
}
}
}
.post-create__container {
form {
padding: .5em 15px 0;
}
.post-create-footer {
@include clearfix;
font-size: 13px;
overflow: visible;
position: relative;
clear: both;
.post-error {
font-weight: normal;
margin-bottom: 0;
display: inline-block;
font-size: .85em;
@include opacity(.55);
position: absolute;
top: -25px;
}
}
}
.help__format-text {
display: none;
}
.sidebar--right__content {
@include display-flex;
@include flex-direction(column);
height: 100%;
}
.sidebar--right__back {
@include single-transition(all, .2s, ease-in);
@include opacity(.5);
color: inherit;
display: inline-block;
font-size: 26px;
margin: 0 0 0 -14px;
text-align: center;
vertical-align: top;
width: 30px;
&:hover,
&:active {
color: inherit;
opacity: .8;
}
i {
position: relative;
top: -2px;
}
}
.sidebar-right__body {
@include display-flex;
@include flex(1 1 auto);
@include flex-direction(column);
border-left: $border-gray;
border-top: $border-gray;
height: calc(100% - 56px);
}
.sidebar__overlay {
@include opacity(.1);
background-color: $yellow;
height: 100%;
pointer-events: none;
position: absolute;
width: 100%;
z-index: 5;
}
.input-group {
word-break: break-word;
}
.sidebar--right__buttons {
float: right;
}
.sidebar--right__close {
@include single-transition(all, .2s, ease-in);
background: none;
border: none;
font-size: 20px;
height: 22px;
line-height: 0;
margin: 11px 0 0;
opacity: .5;
outline: none;
padding: 0;
width: 30px;
&:hover,
&:active {
opacity: .8;
}
i {
position: relative;
}
}
.sidebar--right__expand {
@extend .sidebar--right__close;
font-size: 17px;
i {
top: -2px;
}
.fa-compress {
display: none;
}
}
.sidebar--right__header {
@include flex(0 0 44px);
border-bottom: $border-gray;
color: inherit;
font-size: 1em;
height: 44px;
line-height: 44px;
padding: 0 5px 0 15px;
text-transform: uppercase;
}
.sidebar--right__subheader {
font-size: 1em;
padding: 0.5em 1em 0;
h4 {
font-size: 1em;
}
ul {
@include opacity(.7);
padding: 10px 0 0 30px;
}
li {
font-size: .95em;
padding-bottom: 10px;
}
.usage__icon {
@include opacity(.9);
margin: 0 3px;
position: relative;
top: 1px;
}
}
.suggestion-list__content {
max-height: 120px;
}
}
.sidebar-right-container {
height: 100%;
}