home *** CD-ROM | disk | FTP | other *** search
- /*
- * The contents of this file are subject to the Netscape 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/NPL/
- *
- * 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 Mozilla Communicator client code, released
- * March 31, 1998.
- *
- * The Initial Developer of the Original Code is Netscape
- * Communications Corporation. Portions created by Netscape are
- * Copyright (C) 1998-1999 Netscape Communications Corporation. All
- * Rights Reserved.
- *
- * Contributor(s):
- * Alex W. (Charamel) <lucx@shaw.ca>
- */
-
- /* ===== colorpicker.css ================================================
- == Styles used by the XUL colorpicker element.
- ======================================================================= */
-
- @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-
-
-
- /*:::::::: Rounded color picker
- :::::::::: A Charamel original style.
- :::::::::: Developed by Alex W. <lucx@shaw.ca>
- ::::::::::*/
-
- /* colorpicker button */
-
- colorpicker[type="button"] {
- width: 38px;
- height: 24px;
- margin-right:5px;
- background:url("chrome://global/skin/colorpicker/colorpicker.png")no-repeat;
- }
-
- /*color swatch*/
- .colorpicker-button-colorbox {
- margin:3px 4px;
- /*background color is the color of the swatch*/
- background-image:url("chrome://global/skin/colorpicker/colorpicker-swatch-mask.png");
- background-repeat:no-repeat;
- }
-
- /* Focused and active states */
- colorpicker[type="button"]:focus,
- colorpicker[type="button"][open="true"] {
- background:url("chrome://global/skin/colorpicker/colorpicker-focus.png")no-repeat;
-
- }
-
-
- /* ::::: colorpicker tiles ::::: */
-
- .colorpickertile {
- width : 20px;
- height : 20px;
- border-top:1px solid #D3C1A9;
- border-left:1px solid #D3C1A9;
- border-bottom:1px solid #FAF7F1;
- border-right:1px solid #FAF7F1;
- margin:1px 1px 0px 0px;
- }
-
- .colorpickertile[selected="true"] {
- border : 2px dotted #37B6F7;
-
- }
- /*hiliting when hovering over dark colors*/
- .colorpickertile[hover="true"] {
- border : 2px solid #37B6F7;
- }
- /*hover over light colors*/
- .cp-light[hover="true"] {
- border : 2px solid #37B6F7;
- }
-
-
- /*:::::::: Rounded color picker
- :::::::::: A Charamel original style.
- :::::::::: Developed by Alex W. <lucx@shaw.ca>
- ::::::::::*/
-