mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-28 04:39:07 -10:00
This patch will apply the grid layout to the toolbar. If devtools's width is narrow, we expected that devtool display chevron and the controls elements only(i.e. chevron and meatball and close button). In order to display these button, a wrapper of toolbar will use grid layout. Basically, this patch define grid columns as follow: ------------------------------------------------ | Picker | tooltabs | commands | controls | | auto | 26px ~ 1fr | auto | max-content| ------------------------------------------------ We can disable the picker and command buttons, in this case, a toolbar will stretch the tooltabs width by using grid-column-start/end. MozReview-Commit-ID: ByY2qt2xhAg
24 lines
687 B
CSS
24 lines
687 B
CSS
/* 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/. */
|
|
|
|
@import url("resource://devtools/client/themes/splitters.css");
|
|
|
|
.devtools-toolbox-side-iframe {
|
|
/* Toolbar should display the chevron and meatball (and close) button.
|
|
This size is sum of chevron and meatball and close button. */
|
|
min-width: 74px;
|
|
}
|
|
|
|
/* Eyedropper Widget */
|
|
/* <panel> added to mainPopupSet */
|
|
|
|
.devtools-eyedropper-panel {
|
|
pointer-events: none;
|
|
-moz-appearance: none;
|
|
width: 156px;
|
|
height: 120px;
|
|
background-color: transparent;
|
|
border: none;
|
|
}
|