/**
 * Copyright (C) 2011 Orbeon, Inc.
 *
 * This program is free software; you can redistribute it and/or modify it under the terms of the
 * GNU Lesser General Public License as published by the Free Software Foundation; either version
 * 2.1 of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU Lesser General Public License for more details.
 *
 * The full text of the license is available at http://www.gnu.org/copyleft/lesser.html
 */

.xbl-fr-code-mirror .xforms-textarea { display: none }                          /* XForms text area we get the text from, write the text to */
.xbl-fr-code-mirror .CodeMirror { background-color: white }                     /* If used in a container which has a background color, we still want the editable area to be white */
.xbl-fr-code-mirror .xforms-readonly .CodeMirror-cursor { display: none }       /* Hide cursor in readonly mode (yes, CodeMirror doesn't do that by itself) */
.xbl-fr-code-mirror .xforms-readonly .CodeMirror { background-color: #F7F7F7 }  /* If used in a container which has a background color, we still want the editable area to be white */
.xbl-fr-code-mirror .CodeMirror pre { margin: auto }                            /* Override Orbeon's default CSS that adds a margin to pre */
.xbl-fr-code-mirror .CodeMirror { font-family: Consolas, Menlo, monospace }     /* Pick more modern monospaced font by default */