nav-bar.component.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. @import "../../assets/scss/themes";
  2. @import "../../assets/scss/mixins";
  3. @import "../../assets/scss/variables";
  4. .nav-bar {
  5. height: $base-navbar-height;
  6. width: 100%;
  7. padding: 0 20px;
  8. vertical-align: middle;
  9. text-align: center;
  10. display: flex;
  11. align-items: center;
  12. justify-content: center;
  13. @include themify($themes) {
  14. color: themed("baseColorLight");
  15. background-color: themed("baseColorDark");
  16. }
  17. }
  18. ::ng-deep .nav-bar .ngx-slider {
  19. @include calc('max-width', '100% - 151px - 130px');
  20. &[disabled] {
  21. opacity: .65;
  22. }
  23. .ngx-slider-bar-wrapper {
  24. padding-top: 8px;
  25. }
  26. .ngx-slider-bar {
  27. height: 8px;
  28. margin-top: 2px;
  29. left: 0;
  30. z-index: 1;
  31. width: 100%;
  32. border-radius: 2px;
  33. @include themify($themes) {
  34. background: rgba(themed('baseColorLight'), .5);
  35. }
  36. &.ngx-slider-selection {
  37. @include themify($themes) {
  38. background: themed('baseColorLight');
  39. }
  40. }
  41. }
  42. .ngx-slider-pointer {
  43. top: -8px;
  44. width: 22px;
  45. height: 13px;
  46. background-color: #eceff1;
  47. border: 1px solid;
  48. @include set("box-shadow", "0 0 4px rgba(0, 0, 0, 0.5)");
  49. outline: 0;
  50. @include themify($themes) {
  51. border: 1px solid themed('baseColorDark');
  52. }
  53. &::after {
  54. display: none;
  55. }
  56. &:hover {
  57. background: #fff;
  58. }
  59. }
  60. .ngx-slider-bubble {
  61. font-size: 0.75rem;
  62. bottom: 13px;
  63. border: 1px solid;
  64. border-radius: 4px;
  65. opacity: 0.8 !important;
  66. padding: 0 3px;
  67. cursor: default;
  68. @include themify($themes) {
  69. background: themed("baseColorLight");
  70. color: themed("baseColorDark");
  71. }
  72. }
  73. .ngx-slider-model-value {
  74. opacity: 1 !important;
  75. }
  76. }
  77. .thumbnails-panel,
  78. .viscoll-panel {
  79. left: 0;
  80. bottom: $base-navbar-height;
  81. top: $base-header-height;
  82. @include calc('height', '100% - #{$base-navbar-height} - #{$base-header-height} - 2');
  83. overflow-y: auto;
  84. position: absolute;
  85. width: 100%;
  86. border: 1px solid #FFF;
  87. border-left: none;
  88. border-right: none;
  89. z-index: 9;
  90. @include themify($themes) {
  91. background: themed("secondaryColorDark");
  92. color: themed("secondaryColorLight");
  93. }
  94. }
  95. ::ng-deep .navigation-btns-container .btn {
  96. min-width: 30px;
  97. font-size: 1em;
  98. }