Files
firefox/devtools/client/themes/components-h-split-box.css
T
Julian Descottes 36006cf0f1 Bug 1258114 - use invisible borders to drag devtools splitters on both sides;r=bgrins
Devtools splitters now have a clickable area on both sides of the splitter.
The previous layout provided a 3px clickable area (2px empty content + 1px
visible border).

The new layout uses invisible borders on both sides and a visible (clipped)
content. New draggable areas:
- side splitters : 1px left + 1px splitter + 4px right
- horizontal splitters : 2 px top + 1px splitter + 2px bottom

Variables are defined in splitters.css to adjust these settings.
Modified two test helpers opening context menus: the click should be
performed with a slight offset in order to avoid clicking on the splitter.

MozReview-Commit-ID: 94uFZoIBL7B
2016-04-15 12:36:17 +02:00

25 lines
537 B
CSS

/* vim:set ts=2 sw=2 sts=2 et: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
/**
* HSplitBox Component
* Styles for React component at `devtools/client/shared/components/h-split-box.js`
*/
.h-split-box,
.h-split-box-pane {
overflow: auto;
margin: 0;
padding: 0;
width: 100%;
height: 100%;
}
.h-split-box {
display: flex;
flex-direction: row;
flex: 1;
}