Ui improvements (#4815)
* PLT-4369 - Fixing scroll on mobile in the RHS * PLT-4924 - Fixing file thumbnail UX
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
7da4b402df
Коммит
3ce2ce9dc8
@@ -20,11 +20,21 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
width: 120px;
|
width: 120px;
|
||||||
|
|
||||||
|
&:after {
|
||||||
|
@include opacity(0);
|
||||||
|
@include alpha-property(background, $black, .4);
|
||||||
|
content: '';
|
||||||
|
height: 100%;
|
||||||
|
left: 0;
|
||||||
|
opacity: 0;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
.file-preview__remove {
|
&:after {
|
||||||
&:after {
|
@include opacity(1);
|
||||||
@include opacity(1);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -56,18 +66,6 @@
|
|||||||
top: 0;
|
top: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
&:after {
|
|
||||||
@include opacity(0);
|
|
||||||
@include alpha-property(background, $black, .4);
|
|
||||||
content: '';
|
|
||||||
height: 100%;
|
|
||||||
left: 0;
|
|
||||||
opacity: 0;
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
i {
|
i {
|
||||||
color: $white;
|
color: $white;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
@charset 'UTF-8';
|
@charset 'UTF-8';
|
||||||
|
|
||||||
.sidebar--menu {
|
.sidebar--menu {
|
||||||
|
-webkit-overflow-scrolling: touch;
|
||||||
background: #fafafa;
|
background: #fafafa;
|
||||||
border-right: $border-gray;
|
border-right: $border-gray;
|
||||||
display: none;
|
display: none;
|
||||||
|
|||||||
@@ -47,6 +47,7 @@
|
|||||||
|
|
||||||
> div {
|
> div {
|
||||||
&:first-child {
|
&:first-child {
|
||||||
|
-webkit-overflow-scrolling: touch;
|
||||||
height: calc(100vh - 150px);
|
height: calc(100vh - 150px);
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user