improve scroll

This commit is contained in:
Peter Maquiran
2021-06-10 14:58:44 +01:00
parent 837111d7ce
commit ad6b26053f
4 changed files with 101 additions and 11 deletions
+3 -3
View File
@@ -213,7 +213,7 @@
</div> </div>
</div> --> </div> -->
<div class="ss-timeline timeline-mobile flex-grow-1 d-md-none text-black height-100 overflow-y-auto" > <div class="ss-timeline hide-scroll timeline-mobile flex-grow-1 d-md-none text-black height-100 overflow-y-auto" >
<div *ngFor="let events of TimelineMDList | keyvalue;" > <div *ngFor="let events of TimelineMDList | keyvalue;" >
<div > <div >
@@ -254,7 +254,7 @@
</div> </div>
</div> </div>
<div class="fs-timeline flex-grow-1 d-none d-md-block d-md-block text-black pr-20 height-100 mr-md-20 overflow-y-auto" *ngIf="loggeduser.Profile == 'MDGPR'"> <div class="fs-timeline hide-scroll flex-grow-1 d-none d-md-block d-md-block text-black pr-20 height-100 mr-md-20 overflow-y-auto" *ngIf="loggeduser.Profile == 'MDGPR'">
<div *ngFor="let events of TimelineMDList | keyvalue;" > <div *ngFor="let events of TimelineMDList | keyvalue;" >
<div > <div >
@@ -292,7 +292,7 @@
</div> </div>
</div> </div>
<div class="sd-timeline flex-grow-1 d-none d-md-block timeline-md text-black pr-20 height-100 overflow-y-auto" > <div class="sd-timeline hide-scroll flex-grow-1 d-none d-md-block timeline-md text-black pr-20 height-100 overflow-y-auto" >
<div *ngFor="let events of TimelinePRList | keyvalue;"> <div *ngFor="let events of TimelinePRList | keyvalue;">
<div > <div >
-3
View File
@@ -699,6 +699,3 @@ app-approve-event{
align-items: center; align-items: center;
height: 100%; height: 100%;
} }
+93
View File
@@ -748,3 +748,96 @@ ion-icon{
height: 300px; height: 300px;
} }
} }
@media only screen and (min-width: 500px) {
::-webkit-scrollbar {
width: 5px;
}
/* Track */
::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-ms-border-radius: 5px;
-o-border-radius: 5px;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: #888;
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-ms-border-radius: 5px;
-o-border-radius: 5px;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: rgb(92, 92, 92);
}
}
@media only screen and (min-width: 800px) {
::-webkit-scrollbar {
width: 10px;
}
/* Track */
::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-ms-border-radius: 5px;
-o-border-radius: 5px;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: #888;
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-ms-border-radius: 5px;
-o-border-radius: 5px;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: rgb(92, 92, 92);
}
}
.hide-scroll::-webkit-scrollbar {
display: none !important;
}
/* Track */
.hide-scroll::-webkit-scrollbar-track {
display: none !important;
}
/* Handle */
.hide-scroll::-webkit-scrollbar-thumb {
display: none !important;
}
/* Handle on hover */
.hide-scroll::-webkit-scrollbar-thumb:hover {
display: none !important;
}
+3 -3
View File
@@ -289,9 +289,9 @@
.height-lg-unset{ height: unset !important;} .height-lg-unset{ height: unset !important;}
@for $i from 0 through 50 { @for $i from 0 through 50 {
.font-lg-#{$i} { .font-lg-#{$i} {
font-size: #{$i}px ; font-size: #{$i}px ;
} }
} }
@for $i from 0 through 10 { @for $i from 0 through 10 {