_misc.scss 569 B

123456789101112131415161718192021222324252627282930
  1. @use 'sass:map';
  2. // Color labels
  3. span.color-label {
  4. display: inline-block;
  5. width: 5rem;
  6. height: 1rem;
  7. padding: $badge-padding-y $badge-padding-x;
  8. border: 1px solid #303030;
  9. border-radius: $border-radius;
  10. }
  11. // Object hierarchy depth indicators
  12. .record-depth {
  13. display: inline;
  14. user-select: none;
  15. opacity: 33%;
  16. // Add spacing to the last or only dot.
  17. span:only-of-type,
  18. span:last-of-type {
  19. margin-right: map.get($spacers, 1);
  20. }
  21. }
  22. // Hides the last child of an element
  23. .hide-last-child :last-child {
  24. visibility: hidden;
  25. opacity: 0;
  26. }