Base de code pour une application electron a base d'angular.

styles.scss 819B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /* You can add global styles to this file, and also import other style files */
  2. html,
  3. body,
  4. app-root {
  5. height: 100%;
  6. width: 100%;
  7. margin: 0;
  8. padding: 0;
  9. }
  10. html {
  11. overflow: hidden;
  12. }
  13. body {
  14. user-select: none;
  15. cursor: default;
  16. background-color: rgb(23, 23, 23);
  17. display: flex;
  18. flex-direction: column;
  19. font: 13px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
  20. "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
  21. sans-serif;
  22. color: #333;
  23. &.isElectron {
  24. box-sizing: border-box;
  25. border-width: 1px;
  26. border-style: solid;
  27. box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 11px 3px;
  28. border-color: #3a3939;
  29. }
  30. &.hasFocus{
  31. border-color: rgb(154, 19, 19);
  32. }
  33. }
  34. // #content {
  35. // max-height: calc(100% - 32px);
  36. // overflow: auto;
  37. // }