-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OIS-24: changed perfect scroll to native which supports RTL
- Loading branch information
1 parent
89c3f10
commit dc11a21
Showing
9 changed files
with
2,148 additions
and
411 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
25 changes: 13 additions & 12 deletions
25
src/openlmis-table/_openlmis-table-container-shortener.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,23 @@ | ||
$custom-scroll-br: 10px; | ||
$custom-scroll-height: 12px; | ||
$custom-scroll-color: #333; | ||
$custom-scroll-track-bg: #d7d7d7; | ||
|
||
.openlmis-table-container { | ||
.ps-scrollbar-x { | ||
z-index: 5; | ||
height: 10px !important; | ||
background-color: #333 !important; | ||
::-webkit-scrollbar { | ||
height: $custom-scroll-height; | ||
} | ||
|
||
.ps-scrollbar-x-rail, .ps-scrollbar-x-rail:not(hover) { | ||
bottom: calc(var(--bottom-offset) * 1px) !important; | ||
background-color: darken($light-gray, 5) !important; | ||
height: 14px !important; | ||
opacity: 1.0 !important; | ||
z-index: 10; | ||
border-radius: unset; | ||
::-webkit-scrollbar-track { | ||
background-color: $custom-scroll-track-bg; | ||
} | ||
|
||
::-webkit-scrollbar-thumb { | ||
border-radius: $custom-scroll-br; | ||
background: #333; | ||
} | ||
} | ||
|
||
// default bottom-offset | ||
html { | ||
--bottom-offset: 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
113 changes: 0 additions & 113 deletions
113
src/openlmis-table/openlmis-table-container-shortener.directive.spec.js
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.