gecko-dev/themes/modern/global/colorpicker.css

72 строки
1.8 KiB
CSS
Исходник Обычный вид История

/*
* 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):
*
*/
/* ===== colorpicker.css ================================================
== Styles used by the XUL colorpicker element.
======================================================================= */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* ::::: colorpicker button ::::: */
colorpicker[type="button"] {
width: 38px;
height: 24px;
border: 2px solid transparent;
}
.colorpicker-button-internal-box {
padding: 3px;
border: 1px outset #C7D0D9;
}
.colorpicker-button-colorbox {
border: 1px solid #000000;
}
colorpicker[type="button"][open="true"] > .colorpicker-button-internal-box {
border-style: inset;
}
colorpicker[type="button"]:focus {
border-color: #A5A8B1;
}
/* ::::: colorpicker tiles ::::: */
.colorpickertile {
width: 20px;
height: 20px;
margin: 1px;
border: 1px inset #C7D0D9;
}
.colorpickertile[hover="true"] {
border: 1px solid #FFFFFF;
}
.colorpickertile[selected="true"] {
border: 1px solid #000000;
}