1/* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5.sidebar-toggle { 6 display: block; 7} 8 9.sidebar-toggle::before, 10.sidebar-toggle.pane-collapsed:dir(rtl)::before { 11 background-image: url(chrome://devtools/skin/images/pane-collapse.svg); 12} 13 14.sidebar-toggle.pane-collapsed::before, 15.sidebar-toggle:dir(rtl)::before { 16 background-image: url(chrome://devtools/skin/images/pane-expand.svg); 17} 18 19.sidebar-toggle.alignRight::before { 20 transform: scaleX(-1); 21} 22 23.sidebar-toggle.alignRight { 24 order: 10 25} 26 27/* Rotate button icon 90deg if the toolbox container is 28 in vertical mode (sidebar displayed under the main panel) */ 29@media (max-width: 700px) { 30 .sidebar-toggle:not(.disableVerticalBehaviour)::before { 31 transform: rotate(90deg); 32 } 33 34 /* Since RTL swaps the used images, we need to flip them 35 the other way round */ 36 .sidebar-toggle:not(.disableVerticalBehaviour):dir(rtl)::before { 37 transform: rotate(-90deg); 38 } 39} 40