1
0

monarch.css 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. /* common extra token classes */
  2. .monaco-editor .token.invalid {
  3. border-bottom: red dotted 1px;
  4. }
  5. .monaco-editor .token.comment.doc {
  6. font-style: normal;
  7. }
  8. .monaco-editor .token.type {
  9. color: teal;
  10. }
  11. .monaco-editor .token.type.delimiter {
  12. color: teal;
  13. }
  14. .monaco-editor .token.predefined {
  15. color: navy;
  16. }
  17. .monaco-editor .token.namespace {
  18. color: navy;
  19. }
  20. .monaco-editor .token.constructor {
  21. color: purple;
  22. }
  23. /* theme all the new token classes */
  24. .monaco-editor.vs-dark .token.type {
  25. color: darkcyan;
  26. }
  27. .monaco-editor.vs-dark .token.predefined {
  28. color: darkorchid;
  29. }
  30. .monaco-editor.vs-dark .token.namespace {
  31. color: lightsteelblue;
  32. }
  33. .monaco-editor.vs-dark .token.constructor {
  34. color: palegoldenrod;
  35. }
  36. .monaco-editor.high-contrast-black .token.type {
  37. color: darkcyan;
  38. }
  39. .monaco-editor.high-contrast-black .token.predefined {
  40. color: aquamarine;
  41. }
  42. .monaco-editor.high-contrast-black .token.namespace {
  43. color: lightsteelblue;
  44. }
  45. .monaco-editor.high-contrast-black .token.constructor {
  46. color: palegoldenrod;
  47. }
  48. /* specials for functional languages */
  49. .token.keyword.dot {
  50. color: black;
  51. }
  52. .token.typeparam {
  53. color: #555;
  54. }
  55. .token.typevar {
  56. font-style: italic;
  57. }
  58. .monaco-editor .current-line,
  59. .monaco-editor.vs .current-line,
  60. .monaco-editor.monaco .current-line {
  61. border: none;
  62. }
  63. .monaco-editor.vs .key.js {
  64. color: navy;
  65. }
  66. .monaco-editor.vs .token.string.escape,
  67. .token.regexp.escape {
  68. color: dimgray;
  69. }
  70. .token.regexp.escape.control {
  71. color: black;
  72. }
  73. .token.emphasis {
  74. font-style: italic;
  75. }
  76. .token.strong {
  77. font-weight: bold;
  78. }
  79. .token.header {
  80. color: navy;
  81. }
  82. /* -------------------------------------------
  83. Workbench UI style
  84. --------------------------------------------*/
  85. #editor,
  86. #langPane {
  87. height: 60ex;
  88. border: 1px solid #ccc;
  89. }
  90. #langPane {
  91. height: 72ex;
  92. }
  93. #main {
  94. font-family: "Segoe UI Light", "Segoe UI", Arial, "HelveticaNeue-Light",
  95. sans-serif;
  96. font-size: 12pt;
  97. width: 94%;
  98. padding: 0pt;
  99. margin: 1% 3% 5ex 3%;
  100. }
  101. #leftPane {
  102. float: left;
  103. width: 58%;
  104. margin: 0pt;
  105. margin-bottom: 2ex;
  106. }
  107. #rightPane {
  108. width: 40%;
  109. float: right;
  110. margin: 0pt;
  111. }
  112. #header,
  113. #footer {
  114. clear: both;
  115. font-size: 18pt;
  116. margin-bottom: 1ex;
  117. }
  118. #logo {
  119. margin: 0pt 0pt 5pt -17px;
  120. padding: 0pt;
  121. width: 17px;
  122. }
  123. #commandbar {
  124. margin-top: 4px;
  125. height: 90%;
  126. }
  127. #monarchConsole {
  128. color: black;
  129. overflow: auto;
  130. height: 100px;
  131. border: lightgray 1px solid;
  132. padding-left: 1ex;
  133. margin-top: 10px;
  134. white-space: pre-wrap;
  135. }
  136. #sampleselect {
  137. width: 15ex;
  138. }
  139. #themeselect,
  140. #sampleselect {
  141. padding: 0;
  142. margin: 0;
  143. height: auto;
  144. }
  145. .paneheader {
  146. margin-bottom: 0.5ex;
  147. font-size: 14pt;
  148. }
  149. .selectbox {
  150. float: right;
  151. font-size: smaller;
  152. }
  153. .button {
  154. border: 1px solid lightgray;
  155. cursor: pointer;
  156. padding: 0ex 0.5ex 0ex 0.5ex;
  157. }
  158. .button:hover {
  159. background-color: lightgray;
  160. border-color: dimgray;
  161. }
  162. .touchbutton:hover {
  163. background-color: #f8f8f8;
  164. }
  165. .touchbutton {
  166. border: 1px solid;
  167. border-radius: 1000px; /* circle */
  168. height: 3ex;
  169. width: 3ex; /* needed for safari */
  170. cursor: pointer;
  171. }
  172. .touchbutton:hover {
  173. background-color: #f8f8f8;
  174. }
  175. .arrowdown {
  176. font-size: 10pt;
  177. }
  178. /*-------------------------------------------------------------------
  179. documentation style
  180. -------------------------------------------------------------------*/
  181. #documentation {
  182. clear: both;
  183. border: lightgray 1px solid;
  184. padding: 1ex 4ex 1ex 3ex;
  185. font-family: "Segoe UI", Arial, "HelveticaNeue-Light", sans-serif;
  186. }
  187. #documentation a {
  188. color: navy;
  189. text-decoration: none;
  190. border-bottom: 1px dotted;
  191. }
  192. #documentation .monaco-editor.monaco .current-line,
  193. #documentation .monaco-editor {
  194. background-color: #fafafa;
  195. }
  196. #documentation .string.escape {
  197. color: dimgray;
  198. }
  199. h1,
  200. h2,
  201. h3,
  202. h4 {
  203. font-weight: normal;
  204. margin-top: 0pt;
  205. margin-left: -1.5ex;
  206. margin-bottom: 0pt;
  207. }
  208. h2 {
  209. font-size: 16pt;
  210. }
  211. h3 {
  212. font-size: 120%;
  213. }
  214. ul {
  215. padding-left: 1.5em;
  216. margin-left: 0pt;
  217. }
  218. .options,
  219. pre {
  220. border: 1px solid #888;
  221. padding: 1ex;
  222. background: #f8f8f8;
  223. font-size: 10pt;
  224. }
  225. code,
  226. pre,
  227. dt {
  228. font-family: Consolas, monospace;
  229. }
  230. strong {
  231. color: black;
  232. }
  233. td {
  234. vertical-align: top;
  235. }
  236. img {
  237. margin: 2ex;
  238. }
  239. dt {
  240. color: navy;
  241. margin-top: 2ex;
  242. padding: 2px;
  243. }
  244. .dt {
  245. color: navy;
  246. }
  247. .adv {
  248. color: maroon;
  249. }
  250. dl dl dt {
  251. margin-top: 1ex;
  252. }
  253. #documentation .keyword {
  254. color: blue;
  255. }
  256. #documentation .tag {
  257. color: navy;
  258. }