_Slice.scss 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. @mixin slice() {
  2. .esri-slice {
  3. flex-shrink: 0;
  4. &__container {
  5. position: relative;
  6. padding: $cap-spacing 0;
  7. overflow-y: auto;
  8. a {
  9. text-decoration: none;
  10. }
  11. }
  12. &__hint {
  13. padding: 0 $side-spacing;
  14. animation: esri-fade-in 250ms ease-in-out;
  15. }
  16. &__hint-text {
  17. margin: $cap-spacing 0;
  18. padding: 0;
  19. }
  20. &__exclude-button {
  21. margin-bottom: $cap-spacing;
  22. }
  23. &__settings {
  24. ul {
  25. display: flex;
  26. flex-direction: column;
  27. padding: 0;
  28. margin: 0;
  29. }
  30. li {
  31. list-style: none;
  32. }
  33. padding: $cap-spacing--half $side-spacing $cap-spacing $side-spacing;
  34. animation: esri-fade-in 250ms ease-in-out;
  35. }
  36. &__layer-item {
  37. display: flex;
  38. align-items: center;
  39. white-space: nowrap;
  40. gap: $side-spacing--half;
  41. &__title {
  42. flex-grow: 1;
  43. overflow: hidden;
  44. text-overflow: ellipsis;
  45. white-space: nowrap;
  46. }
  47. }
  48. &__cross {
  49. color: inherit;
  50. position: relative;
  51. }
  52. &__panel--error {
  53. color: $font-color--error;
  54. padding: 0 $side-spacing;
  55. animation: esri-fade-in 250ms ease-in-out;
  56. }
  57. &__actions {
  58. display: flex;
  59. flex-flow: column;
  60. justify-content: center;
  61. padding: 0 $side-spacing;
  62. }
  63. }
  64. }
  65. @if $include_Slice == true {
  66. @include slice();
  67. }