| /* |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| */ |
| .markdown_edit { |
| width: 95%; |
| background: white; |
| margin-top: 5px; |
| margin-bottom: 5px; |
| } |
| .markdown_edit .CodeMirror { |
| color: rgb(85, 85, 85); |
| min-height: 60px; |
| height: auto; |
| border-bottom: none; |
| border-bottom-left-radius: 0; |
| border-bottom-right-radius: 0; |
| } |
| .markdown_edit .CodeMirror-scroll { |
| min-height: 60px; |
| max-height: 500px; |
| } |
| .markdown_edit .CodeMirror-fullscreen .CodeMirror-scroll { |
| max-height: none; |
| } |
| .markdown_edit .editor-statusbar { |
| border: 1px solid #ddd; |
| border-bottom-left-radius: 4px; |
| border-bottom-right-radius: 4px; |
| } |
| .markdown_edit .fullscreen, |
| .markdown_edit .CodeMirror-fullscreen, |
| .markdown_edit .editor-preview { |
| z-index: 1001; /* should always be under help modal */ |
| } |
| .markdown_edit .editor-preview pre { |
| font-family: monospace; |
| } |
| .markdown_edit .editor-preview-active { |
| background-color: transparent; |
| position: relative; |
| padding: 0; |
| } |
| .markdown_edit.preview-active { |
| background-color: transparent; |
| } |
| .markdown_edit.preview-active .CodeMirror:not(.CodeMirror-fullscreen), |
| .markdown_edit.preview-active .editor-toolbar:not(.fullscreen) { |
| background-color: transparent; |
| border: 0; |
| } |
| .markdown_edit.preview-active .CodeMirror-scroll, |
| .markdown_edit.preview-active .editor-statusbar, |
| span.arw.preview-active { |
| display: none; |
| } |
| .markdown_edit.preview-active .editor-toolbar.disabled-for-preview a { |
| background-color: transparent; |
| } |