/* ***** 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 BlueGriffon.
 *
 * The Initial Developer of the Original Code is
 * Disruptive Innovations SARL.
 * Portions created by the Initial Developer are Copyright (C) 2006
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 *   Daniel Glazman <daniel.glazman@disruptive-innovations.com>, 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 ***** */

@import url("chrome://bluegriffon/skin/black.css");

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/1999/xhtml");

page {
  -moz-appearance: none;
  background-color: transparent;
  color: var(--bg-main-foreground-color);
}

#mainBox {
  margin: 0px;
  padding: 0px;
}

#propertiesBox {
  overflow-x: hidden;
  overflow-y: auto;
}

#mainBoxHeader {
  padding-left: 2em;
  padding-right: 2em;
  padding-top: 1em;
  padding-bottom: 1em;
  overflow-x: hidden;
}

#cssPolicyBox {
  margin-bottom: 0.5em;
}

#sectionHeaderContext {
  background-color: white;
}

#warningBox > vbox {
  margin-left: 5px;
  margin-right: 5px;
}

#classPicker, #IDPicker {
  max-width: 7em;
  min-width: 7em;
}

#classPicker[valid="false"] html|*.menulist-editable-input {
  background-color: #ffcccc ! important;
}

hbox.csspropertiesHeader {
  background-color: transparent ! important;
  color: var(--bg-main-foreground-color);
  border-top: 2px solid var(--bg-dark-border);
  -moz-border-top-colors: var(--bg-dark-border) var(--bg-lighter-border);
  padding-left: 3px;
  padding-top: 2px;
  padding-bottom: 2px;
  text-transform: uppercase;
  font-weight: bold;
  transition: color 0.5s;
}

:root[cleartheme="true"] hbox.csspropertiesHeader {
  font-weight: normal;
}

hbox.csspropertiesHeader > image {
  list-style-image: url("chrome://cssproperties/skin/filter.png");
  -moz-transform: rotate(-90deg);
  transition: -moz-transform 0.5s, filter 0.5s;
  filter: grayscale(100%) contrast(600%);
}

hbox.csspropertiesHeader:-moz-locale-dir(rtl) > image {
  -moz-transform: rotate(+90deg) ;
}

hbox.csspropertiesHeader[open="true"] {
  color: #00abff;
}

hbox.csspropertiesHeader[open="true"] > image {
  -moz-transform: rotate(0deg) !important;
  filter: none;
}

.section {
  transition: height 0.5s, opacity 0.5s;
  height: 0px;
  opacity: 0;
  overflow: hidden;
  padding: 1em;
}

hbox.csspropertiesHeader[open="true"] + .section {
  height: auto;
  overflow: visible;
  opacity: 1;
}

.section:last-child {
  border-bottom: thin solid gray;
}

menulist:not(#cssPolicyMenulist):not(#listStyleTypeMenulist) {
  width: 10em;
}

.listboxBg {
  /*-moz-box-align: center;*/
}

rotator {
  margin-left: 1em;
  margin-bottom: 0.5em;
  -moz-binding: url("chrome://bluegriffon/content/bindings/rotator.xml#rotator");
}

.multipane-menu menuitem {
  font-size: smaller;
}

ecolorpicker {
  margin-right: 1em;
}


/* ***** 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 BlueGriffon.
 *
 * The Initial Developer of the Original Code is
 * Disruptive Innovations SARL.
 * Portions created by the Initial Developer are Copyright (C) 2006
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 *   Daniel Glazman <daniel.glazman@disruptive-innovations.com>, 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 ***** */

#fontFamilyListbox {
  margin: 0px;
}

#addFontMenupopup .checkbox-icon {
  list-style-image: none ! important;
}

#addFontMenupopup #viewFontsCheckbox:not([checked="true"]) ~ menuitem {
  font: message-box !important;
}
/* ***** 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 BlueGriffon.
 *
 * The Initial Developer of the Original Code is
 * Disruptive Innovations SARL.
 * Portions created by the Initial Developer are Copyright (C) 2006
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 *   Daniel Glazman <daniel.glazman@disruptive-innovations.com>, 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 ***** */

#backgroundsRichlistbox {
  margin: 0px;
}

#addBackgroundButton menuitem {
  font: message-box;
}

#backgroundsRichlistbox {
  min-height: 4em;
  overflow: visible;
}

#backgroundsRichlistbox richlistitem > :first-child {
  width: 8em;
  border: 0px none;
  background-color: transparent;
}

richlistitem.backgrounditem {
  -moz-binding: url("chrome://cssproperties/content/backgrounditem.xml#backgrounditem");
}

richlistitem.colorstopitem {
  -moz-binding: url("chrome://cssproperties/content/colorstopitem.xml#colorstopitem");
  border-bottom: gray thin solid;
}

#backgroundsRichlistbox > scrollbox {
  overflow: visible !important;
}

#previewBackgroundImage {
  width: 4cm;
  height: 4cm;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

#backgroundImagePanel, #linearGradientPanel {
  padding: 0.5em;
  font-size: smaller;
  -moz-appearance: none;
  background-color: var(--bg-dark-background);
  border: thin solid rgba(128,128,128,50);
}

#linearGradientPropertiesTabs {
  color: black;
}

#linearGradientPreview {
  width: 2cm;
  height: 2cm;
}

#linearGradientHorizOffset, #linearGradientVertOffset {
  max-width: 6em;
}

#colorStopsRichlistbox {
  margin: 0px;
  min-height: 10em;
}

#upColorStopButton {
  list-style-image: url("chrome://cssproperties/skin/up.png");
}

#upColorStopButton[disabled="true"] {
  list-style-image: url("chrome://cssproperties/skin/up-disabled.png");
}

#downColorStopButton {
  list-style-image: url("chrome://cssproperties/skin/down.png");
}

#downColorStopButton[disabled="true"] {
  list-style-image: url("chrome://cssproperties/skin/down-disabled.png");
}

/* ***** 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 BlueGriffon.
 *
 * The Initial Developer of the Original Code is
 * Disruptive Innovations SARL.
 * Portions created by the Initial Developer are Copyright (C) 2006
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 *   Daniel Glazman <daniel.glazman@disruptive-innovations.com>, 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 ***** */

#geometry-margin-box {
  margin-top: 1em;
}

#geometry-padding-box {
  background-color: #d0d0d0;
  border: thin solid gray;
  margin: 1em;
  color: var(--bg-main-foreground-color);
}

#geometrySection menulist {
  max-width: 6em;
}

#geometry-content-box {
  height: 4em;
  background-color: #d8d8d8;
  margin: 1em;
}
/* ***** 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 BlueGriffon.
 *
 * The Initial Developer of the Original Code is
 * Disruptive Innovations SARL.
 * Portions created by the Initial Developer are Copyright (C) 2006
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 *   Daniel Glazman <daniel.glazman@disruptive-innovations.com>, 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 ***** */

#positionOffsetsGrid menulist {
  max-width: 6em;
}
/* ***** 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 BlueGriffon.
 *
 * The Initial Developer of the Original Code is
 * Disruptive Innovations SARL.
 * Portions created by the Initial Developer are Copyright (C) 2006
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 *   Daniel Glazman <daniel.glazman@disruptive-innovations.com>, 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 ***** */

#borderImageFromTop, #borderImageFromBottom {
  height: 1px;
  background-color: white;
  border-bottom: red thin dashed;
  cursor: -moz-grab;
}

#borderImageFromLeft, #borderImageFromRight {
  width: 1px;
  background-color: white;
  border-left: red thin dashed;
  cursor: -moz-grab;
}

#borderImageFromTop.moving, #borderImageFromBottom.moving,
#borderImageFromLeft.moving, #borderImageFromRight.moving {
  cursor: -moz-grabbing;
}

#borderImageSubpropertiesGrid textbox,
#borderImageSubpropertiesGrid menulist[editable="true"] {
  max-width: 7em;
}
/* ***** 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 BlueGriffon.
 *
 * The Initial Developer of the Original Code is
 * Disruptive Innovations SARL.
 * Portions created by the Initial Developer are Copyright (C) 2006
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 *   Daniel Glazman <daniel.glazman@disruptive-innovations.com>, 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 ***** */

#addTransformButton menuitem {
  font: message-box;
}

richlistitem.rotateTransform {
  -moz-binding: url("chrome://cssproperties/content/transformationitem.xml#rotate");
  border-bottom: gray thin solid;
  -moz-box-orient: vertical;
}

richlistitem.rotate3dTransform {
  -moz-binding: url("chrome://cssproperties/content/transformationitem.xml#rotate3d");
  border-bottom: gray thin solid;
  -moz-box-orient: vertical;
}

richlistitem.translate3dTransform {
  -moz-binding: url("chrome://cssproperties/content/transformationitem.xml#translate3d");
  border-bottom: gray thin solid;
  -moz-box-orient: vertical;
}

richlistitem.skewTransform {
  -moz-binding: url("chrome://cssproperties/content/transformationitem.xml#skew");
  border-bottom: gray thin solid;
  -moz-box-orient: vertical;
}

richlistitem.scale3dTransform {
  -moz-binding: url("chrome://cssproperties/content/transformationitem.xml#scale3d");
  border-bottom: gray thin solid;
  -moz-box-orient: vertical;
}

richlistitem.perspectiveTransform {
  -moz-binding: url("chrome://cssproperties/content/transformationitem.xml#perspective");
  border-bottom: gray thin solid;
  -moz-box-orient: vertical;
}

#transformsRichlistbox {
  min-height: 4em;
  overflow: visible;
  margin: 0px;
}

#transformsRichlistbox textbox,
#transformsRichlistbox menulist {
  max-width: 8em;
}
/* ***** 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 BlueGriffon.
 *
 * The Initial Developer of the Original Code is
 * Disruptive Innovations SARL.
 * Portions created by the Initial Developer are Copyright (C) 2006
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 *   Daniel Glazman <daniel.glazman@disruptive-innovations.com>, 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 ***** */

#boxFlexTextbox,
#boxOrdinalGroupTextbox {
  max-width: 8em;
}
/* ***** 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 BlueGriffon.
 *
 * The Initial Developer of the Original Code is
 * Disruptive Innovations SARL.
 * Portions created by the Initial Developer are Copyright (C) 2006
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 *   Daniel Glazman <daniel.glazman@disruptive-innovations.com>, 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 ***** */

#addTransformButton menuitem {
  font: message-box;
}

richlistitem.rotateTransform {
  -moz-binding: url("chrome://cssproperties/content/transformationitem.xml#rotate");
  border-bottom: gray thin solid;
  -moz-box-orient: vertical;
}

richlistitem.rotate3dTransform {
  -moz-binding: url("chrome://cssproperties/content/transformationitem.xml#rotate3d");
  border-bottom: gray thin solid;
  -moz-box-orient: vertical;
}

richlistitem.translate3dTransform {
  -moz-binding: url("chrome://cssproperties/content/transformationitem.xml#translate3d");
  border-bottom: gray thin solid;
  -moz-box-orient: vertical;
}

richlistitem.skewTransform {
  -moz-binding: url("chrome://cssproperties/content/transformationitem.xml#skew");
  border-bottom: gray thin solid;
  -moz-box-orient: vertical;
}

richlistitem.scale3dTransform {
  -moz-binding: url("chrome://cssproperties/content/transformationitem.xml#scale3d");
  border-bottom: gray thin solid;
  -moz-box-orient: vertical;
}

richlistitem.perspectiveTransform {
  -moz-binding: url("chrome://cssproperties/content/transformationitem.xml#perspective");
  border-bottom: gray thin solid;
  -moz-box-orient: vertical;
}

#transformsRichlistbox {
  min-height: 4em;
  overflow: visible;
  margin: 0px;
}

#transformsRichlistbox textbox,
#transformsRichlistbox menulist {
  max-width: 8em;
}
/* ***** 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 BlueGriffon.
 *
 * The Initial Developer of the Original Code is
 * Disruptive Innovations SARL.
 * Portions created by the Initial Developer are Copyright (C) 2006
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 *   Daniel Glazman <daniel.glazman@disruptive-innovations.com>, 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 ***** */

#addTransitionButton menuitem {
  font: message-box;
}

#transitionsRichlistbox {
  min-height: 4em;
  overflow: visible;
  margin: 0px;
}

richlistitem.propertyTransition {
  -moz-binding: url("chrome://cssproperties/content/transitionitem.xml#property");
  border-bottom: gray thin solid;
  -moz-box-orient: vertical;
}

richlistitem.allTransition {
  -moz-binding: url("chrome://cssproperties/content/transitionitem.xml#all");
  border-bottom: gray thin solid;
  -moz-box-orient: vertical;
}

richlistitem.noneTransition {
  -moz-binding: url("chrome://cssproperties/content/transitionitem.xml#none");
  border-bottom: gray thin solid;
  -moz-box-orient: vertical;
}
/* ***** 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 BlueGriffon.
 *
 * The Initial Developer of the Original Code is
 * Disruptive Innovations SARL.
 * Portions created by the Initial Developer are Copyright (C) 2006
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 *   Daniel Glazman <daniel.glazman@disruptive-innovations.com>, 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 ***** */

#textShadowRichlistbox,
#boxShadowRichlistbox {
  min-height: 4em;
  overflow: visible;
  margin: 0px;
}

#addTextShadowButton menuitem,
#addBoxShadowButton menuitem {
  font: message-box;
}

richlistitem.noneTextShadow {
  -moz-binding: url("chrome://cssproperties/content/textshadowitem.xml#none");
  border-bottom: gray thin solid;
  -moz-box-orient: vertical;
}

richlistitem.shadowTextShadow {
  -moz-binding: url("chrome://cssproperties/content/textshadowitem.xml#shadow");
  border-bottom: gray thin solid;
  -moz-box-orient: vertical;
}

#boxShadowVbox {
  margin-top: 1em;
}

richlistitem.noneBoxShadow {
  -moz-binding: url("chrome://cssproperties/content/boxshadowitem.xml#none");
  border-bottom: gray thin solid;
  -moz-box-orient: vertical;
}

richlistitem.shadowBoxShadow {
  -moz-binding: url("chrome://cssproperties/content/boxshadowitem.xml#shadow");
  border-bottom: gray thin solid;
  -moz-box-orient: vertical;
}

/* ***** 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 BlueGriffon.
 *
 * The Initial Developer of the Original Code is
 * Disruptive Innovations SARL.
 * Portions created by the Initial Developer are Copyright (C) 2006
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 *   Daniel Glazman <daniel.glazman@disruptive-innovations.com>, 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 ***** */

#oneColumnButton {
  list-style-image: url("chrome://cssproperties/skin/columns/one-column.png");
}

#twoColumnsButton {
  list-style-image: url("chrome://cssproperties/skin/columns/two-columns.png");
}

#threeColumnsButton {
  list-style-image: url("chrome://cssproperties/skin/columns/three-columns.png");
}

#bezierPanel {
  padding: 1em;
}

#p1_point, #p2_point {
  cursor: -moz-grab;
}

#p1_point.grabbing, #p2_point.grabbing {
  cursor: -moz-grabbing;
}

cssproperty {
  -moz-binding: url("chrome://cssproperties/content/cssproperty.xml#cssPropertyBinding");
  display: -moz-grid-line;
  -moz-box-orient: horizontal;
  -moz-box-align: baseline;
}

csslength {
  -moz-binding: url("chrome://cssproperties/content/cssproperty.xml#csslengthBinding");
}

cssident {
  -moz-binding: url("chrome://cssproperties/content/cssproperty.xml#multibuttonBinding");
}

csscolor {
  -moz-binding: url("chrome://cssproperties/content/cssproperty.xml#csscolorBinding");
}

l10n {
  display: none;
}

listbox, richlistbox {
  background-color: var(--bg-list-background);
  color: var(--bg-main-foreground-color);
  border: var(--bg-dark-border) solid thin;
  -moz-appearance: none;
}

:root[cleartheme="true"] listbox,
:root[cleartheme="true"] richlistbox {
   background-color: white;
 }

hbox.listboxBg {
  background-color: var(--bg-dark-background);
  color: white;
  border-color: var(--bg-dark-border);
}

hbox.listboxBg > * {
  background-color: transparent;
  color: var(--bg-main-foreground-color);
  border-right: thin solid var(--bg-dark-border);
}

hbox.listboxBg > *:last-child {
  border-right: 0px none;
}

/* colorpicker box */

html|input[type="color"] {
  border: 0px none;
  margin: 0px;
  padding: 0px;
  background-color: transparent ! important;
}

html|input[type="color"]::-moz-color-swatch {
  border: 4px solid #858585;
  -moz-border-top-colors: #858585 transparent transparent #858585;
  -moz-border-bottom-colors: #858585 transparent transparent #858585;
  -moz-border-left-colors: #858585 transparent transparent #858585;
  -moz-border-right-colors: #858585 transparent transparent #858585;
  min-width: 24px;
  max-width: 24px;
  min-height: 24px;
  max-height: 24px;
  background-clip: padding-box;
  border-radius: 24px;
  margin: 0px;
  padding: 0px;
}

/******* id alert *****/

#idAlert {
  background-color: orange;
  padding: 16px;
  overflow: hidden;
  max-height: 0px;
  transition: max-height ease-in 1s;
}

#idAlert[open="true"] {
  max-height: 1000px;
}

#idAlert > description {
  font-size: larger;
  font-weight: bold;
  color: black;
}

/* menulists */
menulist html|*.menulist-editable-input,
textbox html|*.numberbox-input,
menulist:not(#cssPolicyMenulist) .menulist-label {
  color: #00abff;
}
