monarch.css 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  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', sans-serif;
  95. font-size: 12pt;
  96. width: 94%;
  97. padding: 0pt;
  98. margin: 1% 3% 5ex 3%;
  99. }
  100. #leftPane {
  101. float: left;
  102. width: 58%;
  103. margin: 0pt;
  104. margin-bottom: 2ex;
  105. }
  106. #rightPane {
  107. width: 40%;
  108. float: right;
  109. margin: 0pt;
  110. }
  111. #header,
  112. #footer {
  113. clear: both;
  114. font-size: 18pt;
  115. margin-bottom: 1ex;
  116. }
  117. #logo {
  118. margin: 0pt 0pt 5pt -17px;
  119. padding: 0pt;
  120. width: 17px;
  121. }
  122. #commandbar {
  123. margin-top: 4px;
  124. height: 90%;
  125. }
  126. #monarchConsole {
  127. color: black;
  128. overflow: auto;
  129. height: 100px;
  130. border: lightgray 1px solid;
  131. padding-left: 1ex;
  132. margin-top: 10px;
  133. white-space: pre-wrap;
  134. }
  135. #sampleselect {
  136. width: 15ex;
  137. }
  138. #themeselect,
  139. #sampleselect {
  140. padding: 0;
  141. margin: 0;
  142. height: auto;
  143. }
  144. .paneheader {
  145. margin-bottom: 0.5ex;
  146. font-size: 14pt;
  147. }
  148. .selectbox {
  149. float: right;
  150. font-size: smaller;
  151. }
  152. .button {
  153. border: 1px solid lightgray;
  154. cursor: pointer;
  155. padding: 0ex 0.5ex 0ex 0.5ex;
  156. }
  157. .button:hover {
  158. background-color: lightgray;
  159. border-color: dimgray;
  160. }
  161. .touchbutton:hover {
  162. background-color: #f8f8f8;
  163. }
  164. .touchbutton {
  165. border: 1px solid;
  166. border-radius: 1000px; /* circle */
  167. height: 3ex;
  168. width: 3ex; /* needed for safari */
  169. cursor: pointer;
  170. }
  171. .touchbutton:hover {
  172. background-color: #f8f8f8;
  173. }
  174. .arrowdown {
  175. font-size: 10pt;
  176. }
  177. /*-------------------------------------------------------------------
  178. documentation style
  179. -------------------------------------------------------------------*/
  180. #documentation {
  181. clear: both;
  182. border: lightgray 1px solid;
  183. padding: 1ex 4ex 1ex 3ex;
  184. font-family: 'Segoe UI', Arial, 'HelveticaNeue-Light', sans-serif;
  185. }
  186. #documentation a {
  187. color: navy;
  188. text-decoration: none;
  189. border-bottom: 1px dotted;
  190. }
  191. #documentation .monaco-editor.monaco .current-line,
  192. #documentation .monaco-editor {
  193. background-color: #fafafa;
  194. }
  195. #documentation .string.escape {
  196. color: dimgray;
  197. }
  198. h1,
  199. h2,
  200. h3,
  201. h4 {
  202. font-weight: normal;
  203. margin-top: 0pt;
  204. margin-left: -1.5ex;
  205. margin-bottom: 0pt;
  206. }
  207. h2 {
  208. font-size: 16pt;
  209. }
  210. h3 {
  211. font-size: 120%;
  212. }
  213. ul {
  214. padding-left: 1.5em;
  215. margin-left: 0pt;
  216. }
  217. .options,
  218. pre {
  219. border: 1px solid #888;
  220. padding: 1ex;
  221. background: #f8f8f8;
  222. font-size: 10pt;
  223. }
  224. code,
  225. pre,
  226. dt {
  227. font-family: Consolas, monospace;
  228. }
  229. strong {
  230. color: black;
  231. }
  232. td {
  233. vertical-align: top;
  234. }
  235. img {
  236. margin: 2ex;
  237. }
  238. dt {
  239. color: navy;
  240. margin-top: 2ex;
  241. padding: 2px;
  242. }
  243. .dt {
  244. color: navy;
  245. }
  246. .adv {
  247. color: maroon;
  248. }
  249. dl dl dt {
  250. margin-top: 1ex;
  251. }
  252. #documentation .keyword {
  253. color: blue;
  254. }
  255. #documentation .tag {
  256. color: navy;
  257. }