X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fcolorpicker.css;h=53e36ba843b21eaffaf45a39d27aea55804d4a4b;hp=3ae29bcc52f2367c1530c2e0b64f5aa3017d7b8c;hb=HEAD;hpb=351107c90e7ee7a17d9bf63798f2861307118309 diff --git a/LCARStrek/global/colorpicker.css b/LCARStrek/global/colorpicker.css index 3ae29bcc..53e36ba8 100644 --- a/LCARStrek/global/colorpicker.css +++ b/LCARStrek/global/colorpicker.css @@ -1,74 +1,20 @@ -/* ***** 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; - -moz-border-radius : 3px; - border : 1px solid #9C9CFF; -} +/* ===== colorpicker.css ================================================ + == Styles used by the XUL colorpicker element. + ======================================================================= */ -.colorpickertile[selected="true"] { - border : 1px solid #008484; -} - -.colorpickertile[hover="true"] { - border : 1px solid #FFCF00; -} - -.cp-light[hover="true"] { - border : 2px dotted #FF9F00; -} +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); -/* colorpicker button */ +/* ::::: colorpicker button ::::: */ colorpicker[type="button"] { - width: 35px; + width: 34px; height: 20px; - -moz-border-radius: 3px; + border-radius: 3px; border: 1px solid #9C9CFF; -} - -.colorpicker-button-internal-box { padding: 3px; } @@ -77,9 +23,6 @@ colorpicker[type="button"] { } colorpicker[type="button"]:focus { - - -colorpicker[type="button"]:focus > .colorpicker-button-internal-box { } colorpicker[type="button"][open="true"] { @@ -88,3 +31,25 @@ colorpicker[type="button"][open="true"] { colorpicker[type="button"][open="true"] > .colorpicker-button-internal-box { } + +/* ::::: colorpicker tiles ::::: */ + +.colorpickertile { + width: 20px; + height: 20px; + margin: 1px; + border-radius: 3px; + border : 1px solid #9C9CFF; +} + +.colorpickertile[selected="true"] { + border: 1px solid #008484; +} + +.colorpickertile[hover="true"] { + border: 1px solid #FFCF00; +} + +.cp-light[hover="true"] { + border: 2px dotted #FF9F00; +}