X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fglobal%2Fcolorpicker.css;h=683bd813d1c59d5032df1c9bacd4f03889602a78;hp=3aaa1602abadd6b5ed7c4550a2dccf84aae632d4;hb=9823ba2ffe62a8293c0135f05c21810b05bfa4d2;hpb=b87c9562a4c728734927c455c6201d13d11c8a9e diff --git a/EarlyBlue/global/colorpicker.css b/EarlyBlue/global/colorpicker.css index 3aaa1602..683bd813 100644 --- a/EarlyBlue/global/colorpicker.css +++ b/EarlyBlue/global/colorpicker.css @@ -1,72 +1,22 @@ -/* ***** 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 "Classic" theme of mozilla.org code. - * - * The Initial Developer of the Original Code is - * the Mozilla Organization. - * Portions created by the Initial Developer are Copyright (C) 1998-2001 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * Robert Kaiser - * - * 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/. */ -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); - -/* colorpicker tiles */ - -.colorpickertile { - width : 20px; - height : 20px; - margin : 1px; - border : 1px inset #CCD0DD; -} - -.colorpickertile[selected="true"] { - border : 1px solid #000000; -} +/* ===== colorpicker.css ================================================ + == Styles used by the XUL colorpicker element. + ======================================================================= */ -.colorpickertile[hover="true"] { - border : 1px solid #FFFFFF; -} +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); -.cp-light[hover="true"] { - border : 2px dotted #9999CC; -} +/* ::::: colorpicker button ::::: */ /* colorpicker button */ colorpicker[type="button"] { - width: 35px; + width: 34px; height: 20px; border: 1px outset #CCD0DD; -} - -.colorpicker-button-internal-box { + background-color: #CCD0DD; padding: 3px; } @@ -75,14 +25,29 @@ colorpicker[type="button"] { } colorpicker[type="button"]:focus { - - -colorpicker[type="button"]:focus > .colorpicker-button-internal-box { } colorpicker[type="button"][open="true"] { border: 1px inset #CCD0DD; } -colorpicker[type="button"][open="true"] > .colorpicker-button-internal-box { +/* ::::: colorpicker tiles ::::: */ + +.colorpickertile { + width: 20px; + height: 20px; + margin: 1px; + border: 1px inset #CCD0DD; +} + +.colorpickertile[selected="true"] { + border: 1px solid #000000; +} + +.colorpickertile[hover="true"] { + border: 1px solid #FFFFFF; +} + +.cp-light[hover="true"] { + border: 2px dotted #9999CC; }