styles.less 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. /*
  2. * Your Stylesheet
  3. *
  4. * This stylesheet is loaded when Atom starts up and is reloaded automatically
  5. * when it is changed and saved.
  6. *
  7. * Add your own CSS or Less to fully customize Atom.
  8. * If you are unfamiliar with Less, you can read more about it here:
  9. * http://lesscss.org
  10. */
  11. /*
  12. * Examples
  13. * (To see them, uncomment and save)
  14. */
  15. // style the background color of the tree view
  16. .tree-view {
  17. // background-color: whitesmoke;
  18. }
  19. // style the background and foreground colors on the atom-text-editor-element itself
  20. atom-text-editor {
  21. // color: white;
  22. // background-color: hsl(180, 24%, 12%);
  23. }
  24. // style UI elements inside atom-text-editor
  25. atom-text-editor .cursor {
  26. // border-color: red;
  27. }
  28. // MY STYLES
  29. atom-ternjs-type {
  30. border: 1px solid rgba(116, 124, 128, 0.9);
  31. background: rgba(240, 248, 252, 0.9); // for light themes
  32. // background: rgba(42, 63, 75, 0.9); // for dark themes
  33. }
  34. atom-pane {
  35. .term3 .terminal {
  36. font-family: Inconsolata, Monaco, Consolas, 'Courier New', Courier;
  37. -webkit-font-smoothing: none;
  38. opacity: 0.8;
  39. -webkit-filter: sepia(25%);
  40. }
  41. &.active .term3 .terminal {
  42. opacity: 1.0;
  43. -webkit-filter: none;
  44. }
  45. }
  46. // make only active pane
  47. // atom-pane {
  48. // opacity: 0.8;
  49. // &.active {
  50. // opacity: 1.0;
  51. // }
  52. // }
  53. atom-notifications {
  54. opacity: 0.7;
  55. }
  56. atom-notifications:hover {
  57. opacity: 1.0;
  58. }
  59. #linter-inline {
  60. //TODO: dark theme
  61. //TODO: make light theme more like the ternjs one
  62. background: rgba(160, 160, 160, 1); // for light themes
  63. border: 1px solid rgba(42, 63, 75, 0.5);
  64. opacity: 0.2;
  65. &:hover {
  66. opacity: 1.0;
  67. }
  68. linter-message {
  69. .badge {
  70. border: 1px solid rgba(42, 63, 75, 0.3);
  71. color: white;
  72. }
  73. text-shadow: 0 0 2px rgba(42, 63, 75, 0.7);
  74. }
  75. }
  76. autocomplete-suggestion-list .suggestion-description .suggestion-description-content {
  77. display: block;
  78. overflow: scroll;
  79. max-height: 20em;
  80. }
  81. atom-panel.modal.overlay.from-top:after {
  82. // background:rgba(.3,.3,.3,.3);
  83. background: radial-gradient(at 50% 5%, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%);
  84. // -webkit-backdrop-filter: blur(5px); /*TODO: enable experimental*/
  85. }
  86. // @keyframes pulsating {
  87. // 0% {
  88. // opacity:1.0;
  89. // }
  90. // 50% {
  91. // opacity:0.8;
  92. // }
  93. // }
  94. // animation: pulsating 10s steps(500) infinite alternate;
  95. // animation: pulsating 10s steps(50) infinite alternate;
  96. atom-text-editor.editor .cursor {
  97. .syntax--variable.syntax--language {
  98. opacity: 0.6;
  99. }
  100. }