123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460 |
- @charset "UTF-8";
- /**
- * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量
- * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用
- */
- /* BASICS */
- .CodeMirror {
- /* Set height, width, borders, and global font properties here */
- font-family: monospace;
- height: 300px;
- color: black;
- direction: ltr;
- }
- /* PADDING */
- .CodeMirror-lines {
- padding: 4px 0;
- /* Vertical padding around content */
- }
- .CodeMirror ._pre.CodeMirror-line,
- .CodeMirror ._pre.CodeMirror-line-like {
- padding: 0 4px;
- /* Horizontal padding of content */
- }
- .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
- background-color: white;
- /* The little square between H and V scrollbars */
- }
- /* GUTTER */
- .CodeMirror-gutters {
- border-right: 1px solid #ddd;
- background-color: #f7f7f7;
- white-space: nowrap;
- }
- .CodeMirror-linenumber {
- padding: 0 3px 0 5px;
- min-width: 20px;
- text-align: right;
- color: #999;
- white-space: nowrap;
- }
- .CodeMirror-guttermarker {
- color: black;
- }
- .CodeMirror-guttermarker-subtle {
- color: #999;
- }
- /* CURSOR */
- .CodeMirror-cursor {
- border-left: 1px solid black;
- border-right: none;
- width: 0;
- }
- /* Shown when moving in bi-directional text */
- .CodeMirror ._div.CodeMirror-secondarycursor {
- border-left: 1px solid silver;
- }
- .cm-fat-cursor .CodeMirror-cursor {
- width: auto;
- border: 0 !important;
- background: #7e7;
- }
- .cm-fat-cursor ._div.CodeMirror-cursors {
- z-index: 1;
- }
- .cm-fat-cursor-mark {
- background-color: rgba(20, 255, 20, 0.5);
- -webkit-animation: blink 1.06s steps(1) infinite;
- animation: blink 1.06s steps(1) infinite;
- }
- .cm-animate-fat-cursor {
- width: auto;
- -webkit-animation: blink 1.06s steps(1) infinite;
- animation: blink 1.06s steps(1) infinite;
- background-color: #7e7;
- }
- @-webkit-keyframes blink {
- 0% {
- }
- 50% {
- background-color: transparent;
- }
- 100% {
- }
- }
- @keyframes blink {
- 0% {
- }
- 50% {
- background-color: transparent;
- }
- 100% {
- }
- }
- /* Can style cursor different in overwrite (non-insert) mode */
- .cm-tab {
- display: inline-block;
- text-decoration: inherit;
- }
- .CodeMirror-rulers {
- position: absolute;
- left: 0;
- right: 0;
- top: -50px;
- bottom: 0;
- overflow: hidden;
- }
- .CodeMirror-ruler {
- border-left: 1px solid #ccc;
- top: 0;
- bottom: 0;
- position: absolute;
- }
- /* DEFAULT THEME */
- .cm-s-default .cm-header {
- color: blue;
- }
- .cm-s-default .cm-quote {
- color: #090;
- }
- .cm-negative {
- color: #d44;
- }
- .cm-positive {
- color: #292;
- }
- .cm-header, .cm-strong {
- font-weight: bold;
- }
- .cm-em {
- font-style: italic;
- }
- .cm-link {
- text-decoration: underline;
- }
- .cm-strikethrough {
- text-decoration: line-through;
- }
- .cm-s-default .cm-keyword {
- color: #708;
- }
- .cm-s-default .cm-atom {
- color: #219;
- }
- .cm-s-default .cm-number {
- color: #164;
- }
- .cm-s-default .cm-def {
- color: #00f;
- }
- .cm-s-default .cm-variable-2 {
- color: #05a;
- }
- .cm-s-default .cm-variable-3, .cm-s-default .cm-type {
- color: #085;
- }
- .cm-s-default .cm-comment {
- color: #a50;
- }
- .cm-s-default .cm-string {
- color: #a11;
- }
- .cm-s-default .cm-string-2 {
- color: #f50;
- }
- .cm-s-default .cm-meta {
- color: #555;
- }
- .cm-s-default .cm-qualifier {
- color: #555;
- }
- .cm-s-default .cm-builtin {
- color: #30a;
- }
- .cm-s-default .cm-bracket {
- color: #997;
- }
- .cm-s-default .cm-tag {
- color: #170;
- }
- .cm-s-default .cm-attribute {
- color: #00c;
- }
- .cm-s-default .cm-hr {
- color: #999;
- }
- .cm-s-default .cm-link {
- color: #00c;
- }
- .cm-s-default .cm-error {
- color: #f00;
- }
- .cm-invalidchar {
- color: #f00;
- }
- .CodeMirror-composing {
- border-bottom: 2px solid;
- }
- /* Default styles for common addons */
- ._div.CodeMirror ._span.CodeMirror-matchingbracket {
- color: #0b0;
- }
- ._div.CodeMirror ._span.CodeMirror-nonmatchingbracket {
- color: #a22;
- }
- .CodeMirror-matchingtag {
- background: rgba(255, 150, 0, 0.3);
- }
- .CodeMirror-activeline-background {
- background: #e8f2ff;
- }
- /* STOP */
- /* 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 {
- overflow: scroll !important;
- /* Things will break if this is overridden */
- /* 50px is the magic margin used to hide the element's real scrollbars */
- /* See overflow: hidden in .CodeMirror */
- margin-bottom: -50px;
- margin-right: -50px;
- padding-bottom: 50px;
- height: 100%;
- outline: none;
- /* Prevent dragging from highlighting the element */
- position: relative;
- }
- .CodeMirror-sizer {
- position: relative;
- border-right: 50px solid transparent;
- }
- /* The fake, visible scrollbars. Used to force redraw during scrolling
- before actual scrolling happens, thus preventing shaking and
- flickering artifacts. */
- .CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
- position: absolute;
- z-index: 6;
- display: none;
- outline: none;
- }
- .CodeMirror-vscrollbar {
- right: 0;
- top: 0;
- overflow-x: hidden;
- overflow-y: scroll;
- }
- .CodeMirror-hscrollbar {
- bottom: 0;
- left: 0;
- overflow-y: hidden;
- overflow-x: scroll;
- }
- .CodeMirror-scrollbar-filler {
- right: 0;
- bottom: 0;
- }
- .CodeMirror-gutter-filler {
- left: 0;
- bottom: 0;
- }
- .CodeMirror-gutters {
- position: absolute;
- left: 0;
- top: 0;
- min-height: 100%;
- z-index: 3;
- }
- .CodeMirror-gutter {
- white-space: normal;
- height: 100%;
- display: inline-block;
- vertical-align: top;
- margin-bottom: -50px;
- }
- .CodeMirror-gutter-wrapper {
- position: absolute;
- z-index: 4;
- background: none !important;
- border: none !important;
- }
- .CodeMirror-gutter-background {
- position: absolute;
- top: 0;
- bottom: 0;
- z-index: 4;
- }
- .CodeMirror-gutter-elt {
- position: absolute;
- cursor: default;
- z-index: 4;
- }
- .CodeMirror-gutter-wrapper ::selection {
- background-color: transparent;
- }
- .CodeMirror-gutter-wrapper ::-moz-selection {
- background-color: transparent;
- }
- .CodeMirror-lines {
- cursor: text;
- min-height: 1px;
- /* prevents collapsing before first draw */
- }
- .CodeMirror ._pre.CodeMirror-line,
- .CodeMirror ._pre.CodeMirror-line-like {
- /* Reset some styles that the rest of the page might have set */
- border-radius: 0;
- border-width: 0;
- background: transparent;
- font-family: inherit;
- font-size: inherit;
- margin: 0;
- white-space: pre;
- word-wrap: normal;
- line-height: inherit;
- color: inherit;
- z-index: 2;
- position: relative;
- overflow: visible;
- -webkit-tap-highlight-color: transparent;
- -webkit-font-variant-ligatures: contextual;
- font-variant-ligatures: contextual;
- }
- .CodeMirror-wrap ._pre.CodeMirror-line,
- .CodeMirror-wrap ._pre.CodeMirror-line-like {
- word-wrap: break-word;
- white-space: pre-wrap;
- word-break: normal;
- }
- .CodeMirror-linebackground {
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- bottom: 0;
- z-index: 0;
- }
- .CodeMirror-linewidget {
- position: relative;
- z-index: 2;
- padding: 0.1px;
- /* Force widget margins to stay inside of the container */
- }
- .CodeMirror-rtl ._pre {
- direction: rtl;
- }
- .CodeMirror-code {
- outline: none;
- }
- /* Force content-box sizing for the elements where we expect it */
- .CodeMirror-scroll,
- .CodeMirror-sizer,
- .CodeMirror-gutter,
- .CodeMirror-gutters,
- .CodeMirror-linenumber {
- box-sizing: content-box;
- }
- .CodeMirror-measure {
- position: absolute;
- width: 100%;
- height: 0;
- overflow: hidden;
- visibility: hidden;
- }
- .CodeMirror-cursor {
- position: absolute;
- pointer-events: none;
- }
- .CodeMirror-measure ._pre {
- position: static;
- }
- ._div.CodeMirror-cursors {
- visibility: hidden;
- position: relative;
- z-index: 3;
- }
- ._div.CodeMirror-dragcursors {
- visibility: visible;
- }
- .CodeMirror-focused ._div.CodeMirror-cursors {
- visibility: visible;
- }
- .CodeMirror-selected {
- background: #d9d9d9;
- }
- .CodeMirror-focused .CodeMirror-selected {
- background: #d7d4f0;
- }
- .CodeMirror-crosshair {
- cursor: crosshair;
- }
- .CodeMirror-line::selection, .CodeMirror-line > ._span::selection, .CodeMirror-line > ._span > ._span::selection {
- background: #d7d4f0;
- }
- .CodeMirror-line::-moz-selection, .CodeMirror-line > ._span::-moz-selection, .CodeMirror-line > ._span > ._span::-moz-selection {
- background: #d7d4f0;
- }
- .cm-searching {
- background-color: #ffa;
- background-color: rgba(255, 255, 0, 0.4);
- }
- /* Used to force a border model for a node */
- .cm-force-border {
- padding-right: .1px;
- }
- @media print {
- /* Hide the cursor when printing */
- .CodeMirror ._div.CodeMirror-cursors {
- visibility: hidden;
- }
- }
- /* See issue #2901 */
- .cm-tab-wrap-hack:after {
- content: '';
- }
- /* Help users use markselection to safely style text background */
- ._span.CodeMirror-selectedtext {
- background: none;
- }
- .ng-codemirror .CodeMirror {
- border: 1px solid #ccc;
- border-radius: 1px;
- }
- .ng-codemirror .CodeMirror-focused .CodeMirror-selected {
- background: rgba(52, 143, 228, 0.3);
- }
- .ptip {
- background-color: #0066CC;
- width: 80%;
- height: 40px;
- position: fixed;
- background-color: #3d7bb8;
- bottom: 80px;
- border-radius: 15px;
- color: #ffffff;
- vertical-align: middle;
- text-align: center;
- z-index: 995;
- padding-top: 12px;
- left: 10%;
- }
- .ptip:after {
- content: "";
- position: fixed;
- left: 49%;
- z-index: 994;
- width: 10px;
- height: 10px;
- bottom: 75px;
- background-color: #3d7bb8;
- /* border-top: 1px solid #dcdcdc;
- border-right: 1px solid #dcdcdc; */
- -webkit-transform: rotate(-45deg);
- transform: rotate(-45deg);
- }
|