| | |
| | | --qualifier: #ff6032; |
| | | --important: var(--string); |
| | | |
| | | position: relative; |
| | | height: auto; |
| | | height: 100%; |
| | | overflow: hidden; |
| | | font-family: var(--font-code); |
| | | background: white; |
| | | direction: ltr; |
| | | } |
| | | |
| | | /* PADDING */ |
| | | |
| | | .CodeMirror-lines { |
| | | min-height: 1px; /* prevents collapsing before first draw */ |
| | | padding: 4px 0; /* Vertical padding around content */ |
| | | } |
| | | |
| | | .CodeMirror pre { |
| | | padding: 0 4px; /* Horizontal padding of content */ |
| | | cursor: text; |
| | | } |
| | | |
| | | .CodeMirror-scrollbar-filler, |
| | |
| | | /* GUTTER */ |
| | | |
| | | .CodeMirror-gutters { |
| | | position: absolute; |
| | | top: 0; |
| | | left: 0; |
| | | z-index: 3; |
| | | min-height: 100%; |
| | | white-space: nowrap; |
| | | background-color: transparent; |
| | | border-right: 1px solid #ddd; |
| | |
| | | /* CURSOR */ |
| | | |
| | | .CodeMirror-cursor { |
| | | position: absolute; |
| | | width: 0; |
| | | pointer-events: none; |
| | | border-right: none; |
| | | border-left: 1px solid black; |
| | | } |
| | |
| | | animation: blink 1.06s steps(1) infinite; |
| | | } |
| | | @-moz-keyframes blink { |
| | | 0% { |
| | | } |
| | | |
| | | 50% { |
| | | background-color: transparent; |
| | | } |
| | | |
| | | 100% { |
| | | } |
| | | } |
| | | @-webkit-keyframes blink { |
| | | 0% { |
| | | } |
| | | |
| | | 50% { |
| | | background-color: transparent; |
| | | } |
| | | |
| | | 100% { |
| | | } |
| | | } |
| | | @keyframes blink { |
| | | 0% { |
| | | } |
| | | |
| | | 50% { |
| | | background-color: transparent; |
| | | } |
| | | |
| | | 100% { |
| | | } |
| | | } |
| | | |
| | |
| | | /* The rest of this file contains styles related to the mechanics of |
| | | the editor. You probably shouldn't touch them. */ |
| | | |
| | | .CodeMirror { |
| | | position: relative; |
| | | overflow: hidden; |
| | | background: white; |
| | | } |
| | | |
| | | .CodeMirror-scroll { |
| | | position: relative; |
| | | height: 100%; |
| | |
| | | left: 0; |
| | | } |
| | | |
| | | .CodeMirror-gutters { |
| | | position: absolute; |
| | | top: 0; |
| | | left: 0; |
| | | z-index: 3; |
| | | min-height: 100%; |
| | | } |
| | | |
| | | .CodeMirror-gutter { |
| | | display: inline-block; |
| | | height: 100%; |
| | |
| | | background-color: transparent; |
| | | } |
| | | |
| | | .CodeMirror-lines { |
| | | min-height: 1px; /* prevents collapsing before first draw */ |
| | | cursor: text; |
| | | } |
| | | |
| | | .CodeMirror pre { |
| | | position: relative; |
| | | z-index: 2; |
| | | padding: 0 4px; /* Horizontal padding of content */ |
| | | margin: 0; |
| | | overflow: visible; |
| | | font-family: inherit; |
| | |
| | | height: 0; |
| | | overflow: hidden; |
| | | visibility: hidden; |
| | | } |
| | | |
| | | .CodeMirror-cursor { |
| | | position: absolute; |
| | | pointer-events: none; |
| | | } |
| | | |
| | | .CodeMirror-measure pre { |