_BuildingExplorer.scss 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. @import "BuildingLevelPicker";
  2. @import "BuildingPhasePicker";
  3. @import "BuildingDisciplinesTree";
  4. @mixin buildingExplorer() {
  5. $base: "esri-building-explorer";
  6. $loading-container: "#{$base}__loading-container";
  7. $section: "#{$base}__section";
  8. $panel--error: "#{$base}__panel--error";
  9. .#{$base} {
  10. position: relative;
  11. overflow-y: auto;
  12. overflow-x: hidden;
  13. width: $panel-width;
  14. max-width: 100%;
  15. max-height: calc(100vh - #{$side-spacing--double});
  16. padding: $side-spacing;
  17. .esri-widget__heading {
  18. font-weight: $font-weight;
  19. }
  20. }
  21. .#{$loading-container} {
  22. text-align: center;
  23. calcite-loader {
  24. box-sizing: content-box;
  25. }
  26. }
  27. .#{$section}:not(:last-child) {
  28. margin-bottom: $side-spacing--double;
  29. }
  30. .#{$panel--error} {
  31. color: $font-color--error;
  32. margin: 0;
  33. animation: esri-fade-in 250ms ease-in-out;
  34. }
  35. }
  36. @if $include_BuildingExplorer==true {
  37. @include buildingLevelPicker();
  38. @include buildingPhasePicker();
  39. @include buildingDisciplinesTree();
  40. @include buildingExplorer();
  41. }