/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */ /* Document ========================================================================== */ /** * 1. Correct the line height in all browsers. * 2. Prevent adjustments of font size after orientation changes in iOS. */ html { line-height: 1.15; /* 1 */ -webkit-text-size-adjust: 100%; /* 2 */ } /* Sections ========================================================================== */ /** * Remove the margin in all browsers. */ body { margin: 0; } /** * Correct the font size and margin on `h1` elements within `section` and * `article` contexts in Chrome, Firefox, and Safari. */ h1 { font-size: 2em; margin: 0.67em 0; } /* Grouping content ========================================================================== */ /** * 1. Add the correct box sizing in Firefox. * 2. Show the overflow in Edge and IE. */ hr { box-sizing: content-box; /* 1 */ height: 0; /* 1 */ overflow: visible; /* 2 */ } /** * 1. Correct the inheritance and scaling of font size in all browsers. * 2. Correct the odd `em` font sizing in all browsers. */ pre { font-family: monospace, monospace; /* 1 */ font-size: 1em; /* 2 */ } /* Text-level semantics ========================================================================== */ /** * Remove the gray background on active links in IE 10. */ a { background-color: transparent; } /** * 1. Remove the bottom border in Chrome 57- * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. */ abbr[title] { border-bottom: none; /* 1 */ text-decoration: underline; /* 2 */ text-decoration: underline dotted; /* 2 */ } /** * Add the correct font weight in Chrome, Edge, and Safari. */ b, strong { font-weight: bolder; } /** * 1. Correct the inheritance and scaling of font size in all browsers. * 2. Correct the odd `em` font sizing in all browsers. */ code, kbd, samp { font-family: monospace, monospace; /* 1 */ font-size: 1em; /* 2 */ } /** * Add the correct font size in all browsers. */ small { font-size: 80%; } /** * Prevent `sub` and `sup` elements from affecting the line height in * all browsers. */ sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sub { bottom: -0.25em; } sup { top: -0.5em; } /* Embedded content ========================================================================== */ /** * Remove the border on images inside links in IE 10. */ img { border-style: none; } /* Forms ========================================================================== */ /** * 1. Change the font styles in all browsers. * 2. Remove the margin in Firefox and Safari. */ button, input, optgroup, select, textarea { font-family: inherit; /* 1 */ font-size: 100%; /* 1 */ line-height: 1.15; /* 1 */ margin: 0; /* 2 */ } /** * Show the overflow in IE. * 1. Show the overflow in Edge. */ button, input { /* 1 */ overflow: visible; } /** * Remove the inheritance of text transform in Edge, Firefox, and IE. * 1. Remove the inheritance of text transform in Firefox. */ button, select { /* 1 */ text-transform: none; } /** * Correct the inability to style clickable types in iOS and Safari. */ button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; } /** * Remove the inner border and padding in Firefox. */ button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { border-style: none; padding: 0; } /** * Restore the focus styles unset by the previous rule. */ button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring { outline: 1px dotted ButtonText; } /** * Correct the padding in Firefox. */ fieldset { padding: 0.35em 0.75em 0.625em; } /** * 1. Correct the text wrapping in Edge and IE. * 2. Correct the color inheritance from `fieldset` elements in IE. * 3. Remove the padding so developers are not caught out when they zero out * `fieldset` elements in all browsers. */ legend { box-sizing: border-box; /* 1 */ color: inherit; /* 2 */ display: table; /* 1 */ max-width: 100%; /* 1 */ padding: 0; /* 3 */ white-space: normal; /* 1 */ } /** * Add the correct vertical alignment in Chrome, Firefox, and Opera. */ progress { vertical-align: baseline; } /** * Remove the default vertical scrollbar in IE 10+. */ textarea { overflow: auto; } /** * 1. Add the correct box sizing in IE 10. * 2. Remove the padding in IE 10. */ [type="checkbox"], [type="radio"] { box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ } /** * Correct the cursor style of increment and decrement buttons in Chrome. */ [type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { height: auto; } /** * 1. Correct the odd appearance in Chrome and Safari. * 2. Correct the outline style in Safari. */ [type="search"] { -webkit-appearance: textfield; /* 1 */ outline-offset: -2px; /* 2 */ } /** * Remove the inner padding in Chrome and Safari on macOS. */ [type="search"]::-webkit-search-decoration { -webkit-appearance: none; } /** * 1. Correct the inability to style clickable types in iOS and Safari. * 2. Change font properties to `inherit` in Safari. */ ::-webkit-file-upload-button { -webkit-appearance: button; /* 1 */ font: inherit; /* 2 */ } /* Interactive ========================================================================== */ /* * Add the correct display in Edge, IE 10+, and Firefox. */ details { display: block; } /* * Add the correct display in all browsers. */ summary { display: list-item; } /* Misc ========================================================================== */ /** * Add the correct display in IE 10+. */ template { display: none; } /** * Add the correct display in IE 10. */ [hidden] { display: none; } /** * Draft v0.10.5 * * Copyright (c) 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ .DraftEditor-editorContainer,.DraftEditor-root,.public-DraftEditor-content{height:inherit;text-align:initial}.public-DraftEditor-content[contenteditable=true]{-webkit-user-modify:read-write-plaintext-only}.DraftEditor-root{position:relative}.DraftEditor-editorContainer{background-color:rgba(255,255,255,0);border-left:.1px solid transparent;position:relative;z-index:1}.public-DraftEditor-block{position:relative}.DraftEditor-alignLeft .public-DraftStyleDefault-block{text-align:left}.DraftEditor-alignLeft .public-DraftEditorPlaceholder-root{left:0;text-align:left}.DraftEditor-alignCenter .public-DraftStyleDefault-block{text-align:center}.DraftEditor-alignCenter .public-DraftEditorPlaceholder-root{margin:0 auto;text-align:center;width:100%}.DraftEditor-alignRight .public-DraftStyleDefault-block{text-align:right}.DraftEditor-alignRight .public-DraftEditorPlaceholder-root{right:0;text-align:right}.public-DraftEditorPlaceholder-root{color:#9197a3;position:absolute;z-index:1}.public-DraftEditorPlaceholder-hasFocus{color:#bdc1c9}.DraftEditorPlaceholder-hidden{display:none}.public-DraftStyleDefault-block{position:relative;white-space:pre-wrap}.public-DraftStyleDefault-ltr{direction:ltr;text-align:left}.public-DraftStyleDefault-rtl{direction:rtl;text-align:right}.public-DraftStyleDefault-listLTR{direction:ltr}.public-DraftStyleDefault-listRTL{direction:rtl}.public-DraftStyleDefault-ol,.public-DraftStyleDefault-ul{margin:16px 0;padding:0}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listLTR{margin-left:1.5em}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listRTL{margin-right:1.5em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR{margin-left:3em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listRTL{margin-right:3em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listLTR{margin-left:4.5em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listRTL{margin-right:4.5em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listLTR{margin-left:6em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listRTL{margin-right:6em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listLTR{margin-left:7.5em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listRTL{margin-right:7.5em}.public-DraftStyleDefault-unorderedListItem{list-style-type:square;position:relative}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth0{list-style-type:disc}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1{list-style-type:circle}.public-DraftStyleDefault-orderedListItem{list-style-type:none;position:relative}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR:before{left:-36px;position:absolute;text-align:right;width:30px}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listRTL:before{position:absolute;right:-36px;text-align:left;width:30px}.public-DraftStyleDefault-orderedListItem:before{content:counter(ol0) ". ";counter-increment:ol0}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before{content:counter(ol1) ". ";counter-increment:ol1}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before{content:counter(ol2) ". ";counter-increment:ol2}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth3:before{content:counter(ol3) ". ";counter-increment:ol3}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before{content:counter(ol4) ". ";counter-increment:ol4}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-reset{counter-reset:ol0}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-reset{counter-reset:ol1}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-reset{counter-reset:ol2}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-reset{counter-reset:ol3}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-reset{counter-reset:ol4}* { box-sizing: border-box; } body { font-size: 14px; font-family: sans-serif; } .container { width: 100%; height: 600px; padding: 10px; } .mde-header { flex-shrink: 0; display: flex; flex-wrap: wrap; align-items: stretch; border-bottom: 1px solid #c8ccd0; border-radius: 2px 2px 0 0; background: #f9f9f9; } .mde-header .mde-toolbar-children { flex-grow: 1; display: flex; justify-content: flex-end; align-items: stretch; } .mde-header button:focus { outline: 0; } .mde-header ul.mde-header-group { margin: 0; padding: 10px; list-style: none; display: flex; flex-wrap: nowrap; } .mde-header ul.mde-header-group li.mde-header-item { display: inline-block; position: relative; margin: 0 4px; } .mde-header ul.mde-header-group li.mde-header-item button { text-align: left; cursor: pointer; height: 22px; padding: 4px; margin: 0; border: none; background: none; color: #242729; } @keyframes tooltip-appear { from { opacity: 0; } to { opacity: 1; } } .mde-header ul.mde-header-group li.mde-header-item button.tooltipped:hover::before { animation-name: tooltip-appear; animation-duration: 0.2s; animation-delay: 0.5s; animation-fill-mode: forwards; opacity: 0; position: absolute; z-index: 1000001; width: 0; height: 0; color: rgba(0, 0, 0, 0.8); pointer-events: none; content: ""; border: 5px solid transparent; top: -5px; right: 50%; bottom: auto; margin-right: -5px; border-top-color: rgba(0, 0, 0, 0.8); } .mde-header ul.mde-header-group li.mde-header-item button.tooltipped:hover::after { animation-name: tooltip-appear; animation-duration: 0.2s; animation-delay: 0.5s; animation-fill-mode: forwards; font-size: 11px; opacity: 0; position: absolute; z-index: 1000000; padding: 5px 8px; color: #fff; pointer-events: none; content: attr(aria-label); background: rgba(0, 0, 0, 0.8); border-radius: 3px; right: 50%; bottom: 100%; transform: translateX(50%); margin-bottom: 5px; white-space: nowrap; } .mde-header ul.mde-header-group li.mde-header-item ul.react-mde-dropdown { position: absolute; left: 0; top: 30px; background-color: white; border: 1px solid #c8ccd0; padding: 5px; z-index: 2; transform: translateX(-9px); } .mde-header ul.mde-header-group li.mde-header-item ul.react-mde-dropdown li { margin: 0; white-space: nowrap; list-style: none; display: block; } .mde-header ul.mde-header-group li.mde-header-item ul.react-mde-dropdown li button { display: block; height: auto; } .mde-header ul.mde-header-group li.mde-header-item ul.react-mde-dropdown li button p { display: block; margin: 0; padding: 0; font-weight: bold; line-height: 1em; background: none; border: 0; text-align: left; } .mde-header ul.mde-header-group li.mde-header-item ul.react-mde-dropdown li button p:hover { color: #4078c0; } .mde-header ul.mde-header-group li.mde-header-item ul.react-mde-dropdown li button p.header-1 { font-size: 20px; } .mde-header ul.mde-header-group li.mde-header-item ul.react-mde-dropdown li button p.header-2 { font-size: 18px; } .mde-header ul.mde-header-group li.mde-header-item ul.react-mde-dropdown li button p.header-3 { font-size: 14px; } .mde-header ul.mde-header-group li.mde-header-item ul.react-mde-dropdown li button p.header-4 { font-size: 12px; } .mde-header ul.mde-header-group li.mde-header-item ul.react-mde-dropdown::before { position: absolute; content: ""; width: 0; height: 0; border: 8px solid transparent; border-bottom-color: rgba(0, 0, 0, 0.15); top: -16px; left: 3px; transform: translateX(50%); } .mde-header ul.mde-header-group li.mde-header-item ul.react-mde-dropdown::after { position: absolute; content: ""; width: 0; height: 0; border: 7px solid transparent; border-bottom-color: white; top: -14px; left: 5px; transform: translateX(50%); } .mde-text .public-DraftEditor-content { width: 100%; min-height: 200px; padding: 10px; } .mde-preview { min-height: 200px; } .mde-preview .mde-preview-content { padding: 10px; } .mde-preview .mde-preview-content p, .mde-preview .mde-preview-content blockquote, .mde-preview .mde-preview-content ul, .mde-preview .mde-preview-content ol, .mde-preview .mde-preview-content dl, .mde-preview .mde-preview-content table, .mde-preview .mde-preview-content pre { margin-top: 0; margin-bottom: 16px; } .mde-preview .mde-preview-content h1, .mde-preview .mde-preview-content h2, .mde-preview .mde-preview-content h3 { margin-top: 24px; margin-bottom: 16px; font-weight: 600; line-height: 1.25; border-bottom: 1px solid #eee; padding-bottom: 0.3em; } .mde-preview .mde-preview-content h1 { font-size: 1.6em; } .mde-preview .mde-preview-content h2 { font-size: 1.4em; } .mde-preview .mde-preview-content h3 { font-size: 1.2em; } .mde-preview .mde-preview-content ul, .mde-preview .mde-preview-content ol { padding-left: 2em; } .mde-preview .mde-preview-content blockquote { margin-left: 0; padding: 0 1em; color: #777; border-left: 0.25em solid #ddd; } .mde-preview .mde-preview-content blockquote > :first-child { margin-top: 0; } .mde-preview .mde-preview-content blockquote > :last-child { margin-bottom: 0; } .mde-preview .mde-preview-content code { padding: 0.2em 0 0.2em 0; margin: 0; font-size: 90%; background-color: rgba(0, 0, 0, 0.04); border-radius: 3px; } .mde-preview .mde-preview-content code::before, .mde-preview .mde-preview-content code::after { letter-spacing: -0.2em; content: "\A0"; } .mde-preview .mde-preview-content pre { padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; background-color: #f7f7f7; border-radius: 3px; } .mde-preview .mde-preview-content pre code { display: inline; padding: 0; margin: 0; overflow: visible; line-height: inherit; word-wrap: normal; background-color: transparent; border: 0; } .mde-preview .mde-preview-content pre code::before, .mde-preview .mde-preview-content pre code::after { content: none; } .mde-preview .mde-preview-content pre > code { padding: 0; margin: 0; font-size: 100%; word-break: normal; white-space: pre; background: transparent; border: 0; } .mde-preview .mde-preview-content a { color: #4078c0; text-decoration: none; } .mde-preview .mde-preview-content a:hover { text-decoration: underline; } .mde-preview .mde-preview-content > *:first-child { margin-top: 0 !important; } .mde-preview .mde-preview-content > *:last-child { margin-bottom: 0 !important; } .mde-preview .mde-preview-content::after { display: table; clear: both; content: ""; } .mde-preview .mde-preview-content table { display: block; width: 100%; border-spacing: 0; border-collapse: collapse; } .mde-preview .mde-preview-content table thead th { font-weight: bold; } .mde-preview .mde-preview-content table th, .mde-preview .mde-preview-content table td { padding: 6px 13px; border: 1px solid #c8ccd0; } * { box-sizing: border-box; } .react-mde { border: 1px solid #c8ccd0; border-radius: 2px; } .react-mde-vertical-layout { display: flex; flex-direction: column; } .react-mde-vertical-layout .mde-tabs { display: flex; align-items: stretch; } .react-mde-vertical-layout .mde-tabs .mde-tab { border: none; border-left: 1px solid #c8ccd0; padding: 10px; background: none; } .react-mde-vertical-layout .react-mde-content { display: flex; flex-direction: column; } .react-mde-vertical-layout .react-mde-content .mde-text { min-height: 200px; height: auto; overflow-y: auto; } .react-mde-vertical-layout .react-mde-content .mde-preview { min-height: 0; height: auto; overflow-y: auto; border-top: 1px solid #c8ccd0; } .react-mde-no-preview-layout { height: 100%; display: flex; flex-direction: column; } .react-mde-no-preview-layout .mde-text { overflow-y: auto; } .react-mde-horizontal-layout { height: 100%; display: flex; flex-direction: column; } .react-mde-horizontal-layout .mde-tabs { display: flex; align-items: stretch; } .react-mde-horizontal-layout .mde-tabs .mde-tab { border: none; border-left: 1px solid #c8ccd0; padding: 10px; background: none; } .react-mde-horizontal-layout .mde-tabs .mde-tab:hover { cursor: pointer; } .react-mde-horizontal-layout .mde-content { display: flex; height: 100%; } .react-mde-horizontal-layout .mde-content .mde-text { min-width: 50%; overflow-y: auto; border-radius: 0; } .react-mde-horizontal-layout .mde-content .mde-preview { min-width: 50%; border-left: 1px solid #c8ccd0; overflow-y: auto; } .react-mde-tabbed-layout { height: 100%; display: flex; flex-direction: column; } .react-mde-tabbed-layout .mde-tabs { display: flex; align-items: flex-end; } .react-mde-tabbed-layout .mde-tabs .mde-tab { position: relative; top: 1px; border: 1px solid #f9f9f9; border-bottom: none; border-top-left-radius: 2px; border-top-right-radius: 2px; margin-right: 10px; padding: 10px; background: none; } .react-mde-tabbed-layout .mde-tabs .mde-tab:hover { border-color: #c8ccd0; cursor: pointer; } .react-mde-tabbed-layout .mde-tabs .mde-tab-activated { border-color: #c8ccd0; background: white; } .react-mde-tabbed-layout .mde-text { overflow-y: auto; } .react-mde-tabbed-layout .mde-preview { overflow-y: auto; }