stockprogram.ttss 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460
  1. @charset "UTF-8";
  2. /**
  3. * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量
  4. * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用
  5. */
  6. /* BASICS */
  7. .CodeMirror {
  8. /* Set height, width, borders, and global font properties here */
  9. font-family: monospace;
  10. height: 300px;
  11. color: black;
  12. direction: ltr;
  13. }
  14. /* PADDING */
  15. .CodeMirror-lines {
  16. padding: 4px 0;
  17. /* Vertical padding around content */
  18. }
  19. .CodeMirror ._pre.CodeMirror-line,
  20. .CodeMirror ._pre.CodeMirror-line-like {
  21. padding: 0 4px;
  22. /* Horizontal padding of content */
  23. }
  24. .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
  25. background-color: white;
  26. /* The little square between H and V scrollbars */
  27. }
  28. /* GUTTER */
  29. .CodeMirror-gutters {
  30. border-right: 1px solid #ddd;
  31. background-color: #f7f7f7;
  32. white-space: nowrap;
  33. }
  34. .CodeMirror-linenumber {
  35. padding: 0 3px 0 5px;
  36. min-width: 20px;
  37. text-align: right;
  38. color: #999;
  39. white-space: nowrap;
  40. }
  41. .CodeMirror-guttermarker {
  42. color: black;
  43. }
  44. .CodeMirror-guttermarker-subtle {
  45. color: #999;
  46. }
  47. /* CURSOR */
  48. .CodeMirror-cursor {
  49. border-left: 1px solid black;
  50. border-right: none;
  51. width: 0;
  52. }
  53. /* Shown when moving in bi-directional text */
  54. .CodeMirror ._div.CodeMirror-secondarycursor {
  55. border-left: 1px solid silver;
  56. }
  57. .cm-fat-cursor .CodeMirror-cursor {
  58. width: auto;
  59. border: 0 !important;
  60. background: #7e7;
  61. }
  62. .cm-fat-cursor ._div.CodeMirror-cursors {
  63. z-index: 1;
  64. }
  65. .cm-fat-cursor-mark {
  66. background-color: rgba(20, 255, 20, 0.5);
  67. -webkit-animation: blink 1.06s steps(1) infinite;
  68. animation: blink 1.06s steps(1) infinite;
  69. }
  70. .cm-animate-fat-cursor {
  71. width: auto;
  72. -webkit-animation: blink 1.06s steps(1) infinite;
  73. animation: blink 1.06s steps(1) infinite;
  74. background-color: #7e7;
  75. }
  76. @-webkit-keyframes blink {
  77. 0% {
  78. }
  79. 50% {
  80. background-color: transparent;
  81. }
  82. 100% {
  83. }
  84. }
  85. @keyframes blink {
  86. 0% {
  87. }
  88. 50% {
  89. background-color: transparent;
  90. }
  91. 100% {
  92. }
  93. }
  94. /* Can style cursor different in overwrite (non-insert) mode */
  95. .cm-tab {
  96. display: inline-block;
  97. text-decoration: inherit;
  98. }
  99. .CodeMirror-rulers {
  100. position: absolute;
  101. left: 0;
  102. right: 0;
  103. top: -50px;
  104. bottom: 0;
  105. overflow: hidden;
  106. }
  107. .CodeMirror-ruler {
  108. border-left: 1px solid #ccc;
  109. top: 0;
  110. bottom: 0;
  111. position: absolute;
  112. }
  113. /* DEFAULT THEME */
  114. .cm-s-default .cm-header {
  115. color: blue;
  116. }
  117. .cm-s-default .cm-quote {
  118. color: #090;
  119. }
  120. .cm-negative {
  121. color: #d44;
  122. }
  123. .cm-positive {
  124. color: #292;
  125. }
  126. .cm-header, .cm-strong {
  127. font-weight: bold;
  128. }
  129. .cm-em {
  130. font-style: italic;
  131. }
  132. .cm-link {
  133. text-decoration: underline;
  134. }
  135. .cm-strikethrough {
  136. text-decoration: line-through;
  137. }
  138. .cm-s-default .cm-keyword {
  139. color: #708;
  140. }
  141. .cm-s-default .cm-atom {
  142. color: #219;
  143. }
  144. .cm-s-default .cm-number {
  145. color: #164;
  146. }
  147. .cm-s-default .cm-def {
  148. color: #00f;
  149. }
  150. .cm-s-default .cm-variable-2 {
  151. color: #05a;
  152. }
  153. .cm-s-default .cm-variable-3, .cm-s-default .cm-type {
  154. color: #085;
  155. }
  156. .cm-s-default .cm-comment {
  157. color: #a50;
  158. }
  159. .cm-s-default .cm-string {
  160. color: #a11;
  161. }
  162. .cm-s-default .cm-string-2 {
  163. color: #f50;
  164. }
  165. .cm-s-default .cm-meta {
  166. color: #555;
  167. }
  168. .cm-s-default .cm-qualifier {
  169. color: #555;
  170. }
  171. .cm-s-default .cm-builtin {
  172. color: #30a;
  173. }
  174. .cm-s-default .cm-bracket {
  175. color: #997;
  176. }
  177. .cm-s-default .cm-tag {
  178. color: #170;
  179. }
  180. .cm-s-default .cm-attribute {
  181. color: #00c;
  182. }
  183. .cm-s-default .cm-hr {
  184. color: #999;
  185. }
  186. .cm-s-default .cm-link {
  187. color: #00c;
  188. }
  189. .cm-s-default .cm-error {
  190. color: #f00;
  191. }
  192. .cm-invalidchar {
  193. color: #f00;
  194. }
  195. .CodeMirror-composing {
  196. border-bottom: 2px solid;
  197. }
  198. /* Default styles for common addons */
  199. ._div.CodeMirror ._span.CodeMirror-matchingbracket {
  200. color: #0b0;
  201. }
  202. ._div.CodeMirror ._span.CodeMirror-nonmatchingbracket {
  203. color: #a22;
  204. }
  205. .CodeMirror-matchingtag {
  206. background: rgba(255, 150, 0, 0.3);
  207. }
  208. .CodeMirror-activeline-background {
  209. background: #e8f2ff;
  210. }
  211. /* STOP */
  212. /* The rest of this file contains styles related to the mechanics of
  213. the editor. You probably shouldn't touch them. */
  214. .CodeMirror {
  215. position: relative;
  216. overflow: hidden;
  217. background: white;
  218. }
  219. .CodeMirror-scroll {
  220. overflow: scroll !important;
  221. /* Things will break if this is overridden */
  222. /* 50px is the magic margin used to hide the element's real scrollbars */
  223. /* See overflow: hidden in .CodeMirror */
  224. margin-bottom: -50px;
  225. margin-right: -50px;
  226. padding-bottom: 50px;
  227. height: 100%;
  228. outline: none;
  229. /* Prevent dragging from highlighting the element */
  230. position: relative;
  231. }
  232. .CodeMirror-sizer {
  233. position: relative;
  234. border-right: 50px solid transparent;
  235. }
  236. /* The fake, visible scrollbars. Used to force redraw during scrolling
  237. before actual scrolling happens, thus preventing shaking and
  238. flickering artifacts. */
  239. .CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
  240. position: absolute;
  241. z-index: 6;
  242. display: none;
  243. outline: none;
  244. }
  245. .CodeMirror-vscrollbar {
  246. right: 0;
  247. top: 0;
  248. overflow-x: hidden;
  249. overflow-y: scroll;
  250. }
  251. .CodeMirror-hscrollbar {
  252. bottom: 0;
  253. left: 0;
  254. overflow-y: hidden;
  255. overflow-x: scroll;
  256. }
  257. .CodeMirror-scrollbar-filler {
  258. right: 0;
  259. bottom: 0;
  260. }
  261. .CodeMirror-gutter-filler {
  262. left: 0;
  263. bottom: 0;
  264. }
  265. .CodeMirror-gutters {
  266. position: absolute;
  267. left: 0;
  268. top: 0;
  269. min-height: 100%;
  270. z-index: 3;
  271. }
  272. .CodeMirror-gutter {
  273. white-space: normal;
  274. height: 100%;
  275. display: inline-block;
  276. vertical-align: top;
  277. margin-bottom: -50px;
  278. }
  279. .CodeMirror-gutter-wrapper {
  280. position: absolute;
  281. z-index: 4;
  282. background: none !important;
  283. border: none !important;
  284. }
  285. .CodeMirror-gutter-background {
  286. position: absolute;
  287. top: 0;
  288. bottom: 0;
  289. z-index: 4;
  290. }
  291. .CodeMirror-gutter-elt {
  292. position: absolute;
  293. cursor: default;
  294. z-index: 4;
  295. }
  296. .CodeMirror-gutter-wrapper ::selection {
  297. background-color: transparent;
  298. }
  299. .CodeMirror-gutter-wrapper ::-moz-selection {
  300. background-color: transparent;
  301. }
  302. .CodeMirror-lines {
  303. cursor: text;
  304. min-height: 1px;
  305. /* prevents collapsing before first draw */
  306. }
  307. .CodeMirror ._pre.CodeMirror-line,
  308. .CodeMirror ._pre.CodeMirror-line-like {
  309. /* Reset some styles that the rest of the page might have set */
  310. border-radius: 0;
  311. border-width: 0;
  312. background: transparent;
  313. font-family: inherit;
  314. font-size: inherit;
  315. margin: 0;
  316. white-space: pre;
  317. word-wrap: normal;
  318. line-height: inherit;
  319. color: inherit;
  320. z-index: 2;
  321. position: relative;
  322. overflow: visible;
  323. -webkit-tap-highlight-color: transparent;
  324. -webkit-font-variant-ligatures: contextual;
  325. font-variant-ligatures: contextual;
  326. }
  327. .CodeMirror-wrap ._pre.CodeMirror-line,
  328. .CodeMirror-wrap ._pre.CodeMirror-line-like {
  329. word-wrap: break-word;
  330. white-space: pre-wrap;
  331. word-break: normal;
  332. }
  333. .CodeMirror-linebackground {
  334. position: absolute;
  335. left: 0;
  336. right: 0;
  337. top: 0;
  338. bottom: 0;
  339. z-index: 0;
  340. }
  341. .CodeMirror-linewidget {
  342. position: relative;
  343. z-index: 2;
  344. padding: 0.1px;
  345. /* Force widget margins to stay inside of the container */
  346. }
  347. .CodeMirror-rtl ._pre {
  348. direction: rtl;
  349. }
  350. .CodeMirror-code {
  351. outline: none;
  352. }
  353. /* Force content-box sizing for the elements where we expect it */
  354. .CodeMirror-scroll,
  355. .CodeMirror-sizer,
  356. .CodeMirror-gutter,
  357. .CodeMirror-gutters,
  358. .CodeMirror-linenumber {
  359. box-sizing: content-box;
  360. }
  361. .CodeMirror-measure {
  362. position: absolute;
  363. width: 100%;
  364. height: 0;
  365. overflow: hidden;
  366. visibility: hidden;
  367. }
  368. .CodeMirror-cursor {
  369. position: absolute;
  370. pointer-events: none;
  371. }
  372. .CodeMirror-measure ._pre {
  373. position: static;
  374. }
  375. ._div.CodeMirror-cursors {
  376. visibility: hidden;
  377. position: relative;
  378. z-index: 3;
  379. }
  380. ._div.CodeMirror-dragcursors {
  381. visibility: visible;
  382. }
  383. .CodeMirror-focused ._div.CodeMirror-cursors {
  384. visibility: visible;
  385. }
  386. .CodeMirror-selected {
  387. background: #d9d9d9;
  388. }
  389. .CodeMirror-focused .CodeMirror-selected {
  390. background: #d7d4f0;
  391. }
  392. .CodeMirror-crosshair {
  393. cursor: crosshair;
  394. }
  395. .CodeMirror-line::selection, .CodeMirror-line > ._span::selection, .CodeMirror-line > ._span > ._span::selection {
  396. background: #d7d4f0;
  397. }
  398. .CodeMirror-line::-moz-selection, .CodeMirror-line > ._span::-moz-selection, .CodeMirror-line > ._span > ._span::-moz-selection {
  399. background: #d7d4f0;
  400. }
  401. .cm-searching {
  402. background-color: #ffa;
  403. background-color: rgba(255, 255, 0, 0.4);
  404. }
  405. /* Used to force a border model for a node */
  406. .cm-force-border {
  407. padding-right: .1px;
  408. }
  409. @media print {
  410. /* Hide the cursor when printing */
  411. .CodeMirror ._div.CodeMirror-cursors {
  412. visibility: hidden;
  413. }
  414. }
  415. /* See issue #2901 */
  416. .cm-tab-wrap-hack:after {
  417. content: '';
  418. }
  419. /* Help users use markselection to safely style text background */
  420. ._span.CodeMirror-selectedtext {
  421. background: none;
  422. }
  423. .ng-codemirror .CodeMirror {
  424. border: 1px solid #ccc;
  425. border-radius: 1px;
  426. }
  427. .ng-codemirror .CodeMirror-focused .CodeMirror-selected {
  428. background: rgba(52, 143, 228, 0.3);
  429. }
  430. .ptip {
  431. background-color: #0066CC;
  432. width: 80%;
  433. height: 40px;
  434. position: fixed;
  435. background-color: #3d7bb8;
  436. bottom: 80px;
  437. border-radius: 15px;
  438. color: #ffffff;
  439. vertical-align: middle;
  440. text-align: center;
  441. z-index: 995;
  442. padding-top: 12px;
  443. left: 10%;
  444. }
  445. .ptip:after {
  446. content: "";
  447. position: fixed;
  448. left: 49%;
  449. z-index: 994;
  450. width: 10px;
  451. height: 10px;
  452. bottom: 75px;
  453. background-color: #3d7bb8;
  454. /* border-top: 1px solid #dcdcdc;
  455. border-right: 1px solid #dcdcdc; */
  456. -webkit-transform: rotate(-45deg);
  457. transform: rotate(-45deg);
  458. }