app.component.scss 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. @import "../assets/scss/themes";
  2. @import "../assets/scss/mixins";
  3. @import "../assets/scss/variables";
  4. // TEMP
  5. .temp-panel {
  6. height: 100%;
  7. @include calc("height", "100% - #{$base-header-height}");
  8. }
  9. .has-navbar {
  10. @include calc("height", "100% - #{$base-header-height} - #{$base-navbar-height}");
  11. }
  12. .navbar-toggler {
  13. position: absolute;
  14. bottom: 0;
  15. height: 30px;
  16. width: 30px;
  17. right: 2px;
  18. z-index: 9;
  19. opacity: 0.5;
  20. display: flex;
  21. align-items: center;
  22. justify-content: center;
  23. border-radius: 0.25rem 0.25rem 0 0;
  24. transition: bottom 0.6s;
  25. &:hover {
  26. opacity: 1;
  27. cursor: pointer;
  28. }
  29. @include themify($themes) {
  30. color: themed("toolsBackground");
  31. background-color: rgba(themed("toolsColor"), 0.7);
  32. border-color: themed("toolsBackground");
  33. }
  34. &.opened {
  35. bottom: $base-navbar-height;
  36. transition: bottom 0.5s;
  37. }
  38. }
  39. ::ng-deep evt-nav-bar {
  40. .nav-bar {
  41. position: fixed;
  42. bottom: -$base-navbar-height;
  43. transition: bottom 1s;
  44. }
  45. &.opened .nav-bar {
  46. bottom: 0;
  47. transition: bottom 0.5s;
  48. }
  49. }