UNPKG

@lumino/widgets

Version:
47 lines (39 loc) 1.04 kB
/* * Copyright (c) Jupyter Development Team. * Distributed under the terms of the Modified BSD License. */ /*----------------------------------------------------------------------------- | Copyright (c) Jupyter Development Team. | Copyright (c) 2014-2017, PhosphorJS Contributors | | Distributed under the terms of the BSD 3-Clause License. | | The full license is in the file LICENSE, distributed with this software. |----------------------------------------------------------------------------*/ .lm-ScrollBar { display: flex; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .lm-ScrollBar[data-orientation='horizontal'] { flex-direction: row; } .lm-ScrollBar[data-orientation='vertical'] { flex-direction: column; } .lm-ScrollBar-button { box-sizing: border-box; flex: 0 0 auto; } .lm-ScrollBar-track { box-sizing: border-box; position: relative; overflow: hidden; flex: 1 1 auto; } .lm-ScrollBar-thumb { box-sizing: border-box; position: absolute; }