X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fcommon.css;h=5c94eaa4ef6c91fefcc8e0e6b0109a89c9d8fe36;hp=7b59acf5325d5776c76734e894b7cdc389ffc698;hb=445863a284a9920d9f9633ca01b87ca65609a94c;hpb=6b43c80ba11a7d02ffded5e7c8b8b7402571a5b7 diff --git a/LCARStrek/browser/devtools/common.css b/LCARStrek/browser/devtools/common.css index 7b59acf5..5c94eaa4 100644 --- a/LCARStrek/browser/devtools/common.css +++ b/LCARStrek/browser/devtools/common.css @@ -1,58 +1,77 @@ /* vim:set ts=2 sw=2 sts=2 et: */ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is DevTools code. - * - * The Initial Developer of the Original Code is Mozilla Foundation. - * Portions created by the Initial Developer are Copyright (C) 2011 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * Paul Rouget (original author) - * - * Alternatively, the contents of this file may be used under the terms of - * either the GNU General Public License Version 2 or later (the "GPL"), or - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ +/* 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/. */ /* Toolbar and Toolbar items */ .devtools-toolbar { } +.devtools-menulist, .devtools-toolbarbutton { } +.devtools-toolbarbutton > .toolbarbutton-menubutton-button { + /*-moz-box-orient: horizontal;*/ +} + +devtools-menulist:-moz-focusring, +.devtools-toolbarbutton:-moz-focusring { + outline: 1px dotted #008484; +} + .devtools-toolbarbutton > .toolbarbutton-icon { } -.devtools-toolbarbutton:not([checked]):hover:active { +.devtools-toolbarbutton:not([label]) { + min-width: 20px; +} + +.devtools-toolbarbutton:not([checked=true]):hover:active { +} + +.devtools-menulist[open=true], +.devtools-toolbarbutton[open=true], +.devtools-toolbarbutton[checked=true] { +} + +.devtools-toolbarbutton[checked=true] { } -.devtools-toolbarbutton[checked] { +.devtools-toolbarbutton[checked=true]:hover:active { } -.devtools-toolbarbutton[checked]:hover:active { +.devtools-menulist > .menulist-label-box { + text-align: center; +} + +.devtools-menulist > .menulist-dropmarker { +} + +.devtools-menulist:focus:not([open="true"]):not(.menulist-compact) > .menulist-label-box { +} + +/* LCARStrek checkbox colors don't work well against toolbar background */ +.devtools-toolbar > checkbox { + background-color: #000000; + padding: 2px; +} + +.devtools-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button { +} + +.devtools-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button { +} + +.devtools-toolbarbutton[type=menu-button] { + padding: 0 1px; + -moz-box-align: stretch; +} + +.devtools-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker, +.devtools-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker { + -moz-box-align: center; } /* Search input */ @@ -67,15 +86,15 @@ background-color: transparent; background-image: url(magnifying-glass.png), -moz-linear-gradient(hsla(210,16%,76%,.15), hsla(210,16%,76%,.35)); background-repeat: no-repeat; - background-position: 4px 3px, top left, top left; + background-position: 4px center, top left, top left; padding-top: 0; padding-bottom: 0; -moz-padding-start: 18px; -moz-padding-end: 12px; - color: hsl(210,30%,85%); - -moz-transition-property: background-color, border-color, box-shadow; - -moz-transition-duration: 150ms; - -moz-transition-timing-function: ease; + transition-property: background-color, border-color, box-shadow; + transition-duration: 150ms; + transition-timing-function: ease; + color: inherit; } .devtools-searchinput[focused] { @@ -86,7 +105,7 @@ } .devtools-searchinput:-moz-locale-dir(rtl) { - background-position: -moz-calc(100% - 4px) 3px, top left, top left; + background-position: calc(100% - 4px) center, top left, top left; } .devtools-searchinput > .textbox-input-box > .textbox-search-icons { @@ -98,9 +117,44 @@ } */ +/* Close button */ + +.devtools-closebutton { + list-style-image: url("chrome://global/skin/icons/close-button.gif"); + min-width: 16px; + width: 16px; +} + +.devtools-closebutton > .toolbarbutton-text { + display: none; +} + +.devtools-closebutton:hover, +.devtools-closebutton:hover:active { + list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); +} + /* Splitters */ -#devtools-side-splitter, -#inspector-tree-splitter { +.devtools-horizontal-splitter { border: none; + min-height: 3px; + height: 3px; + position: relative; } + +#devtools-side-splitter { + border: 0; + min-width: 0; + width: 3px; + position: relative; +} + +#profiler-chrome { + /* HACK for profiler in the dev toolbox in FF 20+. */ + margin: -3px; +} + +#profiler-chrome > box > box > .devtools-toolbar { + border-bottom: none; +} \ No newline at end of file