_shaderTab.scss 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. .tab-panel {
  2. .shader-tree-panel {
  3. height : 30px;
  4. // The combo box listing all shaders
  5. select {
  6. height : 30px;
  7. background-color : transparent;
  8. color : #ccc;
  9. height : 30px;
  10. width : 100%;
  11. max-width : 300px;
  12. padding-left : 15px;
  13. border : 1px solid $background-lighter;
  14. outline : 1px solid $background-lighter3;
  15. option {
  16. padding : 5px;
  17. color : darken($color: $color, $amount: 30%)
  18. }
  19. }
  20. }
  21. .shader-panel {
  22. min-height : 100px;
  23. user-select : text;
  24. box-sizing : border-box;
  25. padding : 0 15px;
  26. // Shader code style - the syntax highlightinh is done by highlight.js, loaded dynamically
  27. pre {
  28. margin : 0;
  29. white-space : pre-wrap;
  30. code {
  31. // to cancel the background color from zenburn theme of highlight js
  32. background-color: $background !important;
  33. padding : 0;
  34. margin : 0;
  35. }
  36. }
  37. .shader-panel-title {
  38. height : 25px;
  39. border-bottom : 1px solid $background-lighter2;
  40. text-transform : uppercase;
  41. line-height : 25px;
  42. margin-bottom : 10px;
  43. }
  44. }
  45. }