No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

320 líneas
7.4KB

  1. .ace_gutter {
  2. background: $ui-gutter-background;
  3. color: $ui-gutter-color;
  4. }
  5. .ace_print-margin {
  6. width: 2px;
  7. background: $ui-margin-line;
  8. }
  9. .ace_editor {
  10. background-color: $ui-background;
  11. color: $ui-foreground;
  12. }
  13. .rstudio-themes-flat {
  14. &.ace_editor_theme {
  15. background-color: $ui-background;
  16. color: $ui-foreground;
  17. .profvis-flamegraph {
  18. background-color: $ui-background;
  19. color: $ui-foreground;
  20. }
  21. }
  22. .ace_editor_theme {
  23. background-color: $ui-background;
  24. color: $ui-foreground;
  25. }
  26. &.ace_editor_theme a {
  27. color: $ui-foreground !important;
  28. font-weight: bold;
  29. }
  30. .gwt-Label {
  31. color: $ui-foreground;
  32. }
  33. }
  34. .ace_cursor {
  35. color: $ui-cursor;
  36. }
  37. .normal-mode .ace_cursor {
  38. border: 0!important;
  39. background-color: $ui-cursor-normal-mode;
  40. opacity: 0.5;
  41. }
  42. .ace_marker-layer {
  43. .ace_selection {
  44. background: $ui-selection;
  45. }
  46. .ace_step {
  47. background: lighten($rlang-string, 10%);
  48. }
  49. .ace_bracket {
  50. margin: -1px 0 0 -1px;
  51. border: 1px solid $ui-bracket;
  52. }
  53. .ace_active-line {
  54. background: $ui-line-active;
  55. }
  56. .ace_selected-word {
  57. border: 1px solid $ui-selection;
  58. }
  59. .ace_foreign_line {
  60. position: absolute;
  61. z-index: -1;
  62. background-color: $ui-code-chunk-background;
  63. }
  64. .ace_active_debug_line {
  65. position: absolute;
  66. z-index: -1;
  67. background-color: $ui-debug-background;
  68. }
  69. .ace_find_line {
  70. position: absolute;
  71. z-index: -1;
  72. background-color: $ui-line-find;
  73. }
  74. }
  75. .ace_gutter-active-line {
  76. background-color: $ui-line-active-gutter;
  77. }
  78. .ace_fold {
  79. background-color: $ui-fold-arrows-background;
  80. border-color: $ui-fold-arrows-color;
  81. }
  82. .ace_indent-guide{
  83. border-right: 1px solid $ui-indent_guide;
  84. }
  85. .ace_active-line ~ .ace_selection.ace_start {
  86. background-color: $ui-line-active-selection;
  87. }
  88. .ace_keyword {
  89. font-style: italic;
  90. color: $rlang-reserved;
  91. &.ace_operator {
  92. font-style: normal;
  93. color: $rlang-operator;
  94. }
  95. &.ace_other.ace_unit {
  96. font-style: normal;
  97. color: $rlang-value;
  98. }
  99. }
  100. .ace_constant {
  101. &.ace_language {
  102. color: $rlang-message;
  103. }
  104. &.ace_numeric {
  105. color: $rlang-value;
  106. }
  107. &.ace_character {
  108. color: $rlang-value;
  109. }
  110. &.ace_other {
  111. color: $ui-foreground;
  112. }
  113. }
  114. .ace_support {
  115. &.ace_function {
  116. color: $rlang-function;
  117. }
  118. &.ace_constant {
  119. color: $rlang-value;
  120. }
  121. &.ace_class {
  122. font-style: $rlang-namespace-font-style;
  123. color: $rlang-namespace;
  124. }
  125. &.ace_type {
  126. color: $rlang-namespace;
  127. }
  128. }
  129. .ace_paren {
  130. &.ace_keyword.ace_operator {
  131. color: $rlang-bracket;
  132. }
  133. }
  134. .ace_storage {
  135. color: $rlang-reserved;
  136. &.ace_type {
  137. color: $rlang-reserved;
  138. }
  139. }
  140. .ace_invalid {
  141. background-color: transparentize($rlang-variable, 0.5);
  142. &.ace_deprecated {
  143. background-color: transparentize($rlang-reserved, 0.5);
  144. }
  145. }
  146. .ace_string {
  147. color: $rlang-string;
  148. }
  149. .ace_comment {
  150. color: $rlang-comment;
  151. }
  152. .ace_invisible {
  153. color: $ui-invisible;
  154. }
  155. .ace_variable {
  156. color: $rlang-variable;
  157. &.ace_parameter {
  158. color: $rlang-value;
  159. }
  160. }
  161. .ace_entity {
  162. &.ace_name {
  163. &.ace_function {
  164. color: $rlang-function;
  165. }
  166. &.ace_tag {
  167. color: $other-tag;
  168. }
  169. }
  170. &.ace_other.ace_attribute-name {
  171. color: $rlang-reserved;
  172. }
  173. }
  174. .ace_bracket {
  175. margin: 0 !important;
  176. border: 0 !important;
  177. background-color: $ui-bracket;
  178. }
  179. .ace_console_error {
  180. background-color: $ui-line-find;
  181. }
  182. .ace_layer {
  183. z-index: 3;
  184. &.ace_print-margin-layer {
  185. z-index: 2;
  186. }
  187. &.ace_marker-layer {
  188. z-index: 1;
  189. }
  190. }
  191. .ace_selection.ace_start {
  192. box-shadow: 0 0 3px 0 $ui-background;
  193. border-radius: 2px;
  194. }
  195. .ace_meta.ace_tag {
  196. color: $rlang-operator;
  197. }
  198. .ace_markup.ace_heading {
  199. font-weight: 600;
  200. color: $rlang-string;
  201. }
  202. .nocolor.ace_editor .ace_line span {
  203. color: $rlang-reserved !important;
  204. }
  205. /* ---- RStudio Theme ---- */
  206. /* background */
  207. .rstudio-themes-flat .rstudio-themes-default {
  208. background: $ui-rstudio-background !important;
  209. color: $ui-rstudio-color !important;
  210. .rstudio-themes-background {
  211. background: $ui-rstudio-background !important;
  212. }
  213. }
  214. /* inactive tabs */
  215. table.rstheme_tabLayoutCenter, .rstudio-themes-flat .rstudio-themes-default .gwt-TabLayoutPanelTabs, .rstheme_multiPodUtilityTabArea {
  216. background: $ui-rstudio-tabs-inactive !important;
  217. .gwt-Label {
  218. color: $ui-rstudio-tabs-inactive-color;
  219. }
  220. }
  221. /* toolbar and selected tab */
  222. .rstudio-themes-flat .rstudio-themes-default {
  223. .rstheme_center, .gwt-TabLayoutPanelTabs .gwt-TabLayoutPanelTab-selected table.rstheme_tabLayoutCenter {
  224. background: $ui-rstudio-tabs-selected !important;
  225. }
  226. .gwt-TabLayoutPanelTab-selected .gwt-Label {
  227. color: $ui-rstudio-tabs-selected-color;
  228. }
  229. }
  230. .rstudio-themes-flat {
  231. .rstheme_toolbarWrapper {
  232. background: $ui-rstudio-toolbar !important;
  233. button, a, div {
  234. color: $ui-rstudio-toolbar-color !important;
  235. }
  236. }
  237. .rstudio-themes-default {
  238. /* spliters */
  239. .gwt-SplitLayoutPanel-HDragger, .gwt-SplitLayoutPanel-VDragger {
  240. background: transparent !important;
  241. }
  242. }
  243. /* search */
  244. .search, &.rstudio-themes-default-menus .search {
  245. background: $ui-rstudio-search !important;
  246. }
  247. }
  248. /* pane toolbars */
  249. .rstheme_secondaryToolbar, .rstudio-themes-flat .dataGridHeader {
  250. background: $ui-rstudio-toolbar !important;
  251. }
  252. /* menu background */
  253. .rstudio-themes-flat {
  254. .popupMiddleCenter, .menuPopupMiddleCenter, .suggestPopupMiddleCenter {
  255. background: $ui-completions-background !important;
  256. color: $ui-completions-color !important;
  257. .item.item-selected, .item-selected {
  258. color: $ui-completions-background !important;
  259. background: $ui-completions-color !important;
  260. }
  261. }
  262. .themedPopupPanel {
  263. border: solid 1px $ui-completions-border;
  264. & ~ div.popupContent div:nth-child(1) {
  265. border: solid 1px $ui-completions-border;
  266. }
  267. }
  268. .popupContent {
  269. background: $ui-completions-background;
  270. color: $ui-completions-color;
  271. &:not(.popupMiddleCenterInner) div div:nth-child(2) {
  272. background: $ui-completions-background !important;
  273. border: solid 1px $ui-completions-border;
  274. }
  275. }
  276. .gwt-PopupPanel .popupContent {
  277. background: $ui-completions-color;
  278. table {
  279. background: $ui-completions-color;
  280. border: 0;
  281. .gwt-Label {
  282. color: $ui-completions-background;
  283. }
  284. }
  285. }
  286. }
  287. /* hacky toolbars section */
  288. .rstudio-themes-flat .rstudio-themes-default {
  289. div.windowframe > div:last-child > div > div > div > div > div:not(.gwt-TabLayoutPanelTabs) {
  290. background: $ui-rstudio-tabs-inactive !important;
  291. }
  292. }
  293. /* scrollbars */
  294. .rstudio-themes-flat .rstudio-themes-default .gwt-TabLayoutPanelTabs,
  295. .rstudio-themes-flat .rstudio-themes-default .rstheme_minimizedWindowObject .rstheme_center,
  296. .rstudio-themes-flat .rstudio-themes-default.rstudio-themes-scrollbars ::-webkit-scrollbar-track,
  297. .rstudio-themes-flat .rstudio-themes-default.rstudio-themes-scrollbars ::-webkit-scrollbar-corner,
  298. .rstudio-themes-flat .rstudio-themes-default.rstudio-themes-scrollbars::-webkit-scrollbar-track,
  299. .rstudio-themes-flat .rstudio-themes-default.rstudio-themes-scrollbars::-webkit-scrollbar-corner,
  300. .rstudio-themes-flat.rstudio-themes-default-menus .rstudio-themes-scrollbars ::-webkit-scrollbar-track,
  301. .rstudio-themes-flat.rstudio-themes-default-menus .rstudio-themes-scrollbars ::-webkit-scrollbar-corner {
  302. background: $ui-rstudio-scrollbar-background;
  303. }
  304. .rstudio-themes-flat .rstudio-themes-default.rstudio-themes-scrollbars ::-webkit-scrollbar-thumb,
  305. .rstudio-themes-flat .rstudio-themes-default.rstudio-themes-scrollbars::-webkit-scrollbar-thumb,
  306. .rstudio-themes-flat.rstudio-themes-default-menus .rstudio-themes-scrollbars ::-webkit-scrollbar-thumb {
  307. background: $ui-rstudio-scrollbar-handle;
  308. border: 4px solid $ui-rstudio-scrollbar-background;
  309. }