Files
firefox/devtools/client/responsive/responsive-browser.css
T
Micah Tigley 29a6416bc6 Bug 1596166 - Remove "height: 30px" on RDM toolbar r=bgrins
The UA input field gets caught off when the browser viewport is too small. This is because the RDM toolbar has an explicit height of 30px set on it, so it can't accomodate the second row created for the UA input.

Differential Revision: https://phabricator.services.mozilla.com/D56783
2019-12-11 19:50:34 +00:00

62 lines
1.7 KiB
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/. */
#appcontent[devtoolstheme="light"] {
--rdm-browser-container-background: #F5F5F6;
--rdm-browser-box-shadow: 0 4px 4px 0 rgba(155, 155, 155, 0.26);
}
#appcontent[devtoolstheme="dark"] {
--rdm-browser-container-background: #18181a; /* This should map to --theme-toolbar-background. */
--rdm-browser-box-shadow: 0 4px 4px 0 rgba(105, 105, 105, 0.26);
}
.browserContainer.responsive-mode {
background-color: var(--rdm-browser-container-background);
}
.browserContainer.responsive-mode .browserStack > .rdm-toolbar {
border: none;
position: absolute;
width: 100%;
}
.browserContainer.responsive-mode .browserStack.device-modal-opened > .rdm-toolbar {
z-index: 1;
}
.browserContainer.responsive-mode > .browserStack {
position: relative;
min-height: 0;
min-width: 0;
overflow: auto;
justify-items: center;
}
.browserContainer.responsive-mode > .browserStack.device-modal-opened {
overflow: hidden;
}
.browserContainer.responsive-mode > .browserStack > * {
height: var(--rdm-height);
width: var(--rdm-width);
}
.browserContainer.responsive-mode > .browserStack > *:not(.rdm-toolbar) {
margin-top: 65px;
}
.browserContainer.responsive-mode.left-aligned > .browserStack {
justify-items: left;
}
.browserContainer.responsive-mode.left-aligned > .browserStack > *:not(.rdm-toolbar) {
margin-left: 15px;
}
.browserContainer.responsive-mode > .browserStack > browser {
border: 1px solid var(--devtools-splitter-color);
box-shadow: var(--rdm-browser-box-shadow);
}