X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/f2b74d1a157449d5fc89d37680d95737ef8eb3b8..421c624a25e602a3d3bb72bd6c01cbb04cbf7d11:/modules/documentHistory/documentHistory.less diff --git a/modules/documentHistory/documentHistory.less b/modules/documentHistory/documentHistory.less index 57cd63c..608c9df 100644 --- a/modules/documentHistory/documentHistory.less +++ b/modules/documentHistory/documentHistory.less @@ -1,41 +1,62 @@ -.rng-module-documentHistory { - - .item { - padding: 5px 5px; - margin: 0 0 15px 0; - cursor: pointer; - - .version { - float: left; - width: 30px; - font-weight: bold; - } - - .date, .author, .description { - margin: 5px 10px 0 40px; - } - - .description { - font-size: .9em; - } - } - - .item.highlighted { - background: #ffec63; - } - - .item.disabled { - cursor: default; - } - - .toolbar { - margin: -15px 0 15px 0; - white-space:nowrap; - word-spacing:0; - min-height: 22px; - button { - margin-right: 10px; - } - } -} - +.rng-module-documentHistory { + + .item { + padding: 5px 5px; + margin: 0 0 15px 0; + cursor: pointer; + + .version { + float: left; + width: 30px; + font-weight: bold; + } + + .date, .author, .description { + margin: 5px 10px 0 40px; + } + + .description { + font-size: .9em; + } + } + + .item.highlighted { + background: #ffec63; + } + + .item.disabled { + cursor: default; + } + + .toolbar { + margin: 0 0 15px 0; + white-space:nowrap; + word-spacing:0; + min-height: 22px; + button { + margin-right: 10px; + } + } + + .rng-module-documentHistory-itemsList { + overflow-y: scroll; + position: absolute; + top: 30px; + bottom: 0; + left: 0; + right: 0; + &::-webkit-scrollbar { + .rng-mixin-scrollbar; + } + &::-webkit-scrollbar-track { + .rng-mixin-scrollbar-track; + } + &::-webkit-scrollbar-thumb { + .rng-mixin-scrollbar-thumb; + } + &::-webkit-scrollbar-thumb:window-inactive { + .rng-mixin-scrollbar-thumb-window-inactive; + } + } +} +