_Feature.scss 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. @mixin feature() {
  2. .esri-feature__title {
  3. font-size: $font-size;
  4. display: block;
  5. word-break: break-word;
  6. word-wrap: break-word;
  7. }
  8. .esri-feature__attachments {
  9. display: flex;
  10. }
  11. .esri-feature__loading-container {
  12. width: 100%;
  13. justify-content: center;
  14. display: flex;
  15. padding: $cap-spacing 0;
  16. }
  17. .esri-icon-loading-indicator {
  18. display: inline-block;
  19. }
  20. .esri-feature {
  21. width: 100%;
  22. }
  23. .esri-feature__main-container {
  24. line-height: normal;
  25. }
  26. .esri-feature__content-element {
  27. padding: 0 $side-spacing--half;
  28. margin-bottom: $cap-spacing--double;
  29. }
  30. .esri-feature__content-element:last-child {
  31. margin-bottom: 0;
  32. }
  33. // ATTACHMENTS
  34. .esri-feature-attachments {
  35. flex-flow: column wrap;
  36. align-items: flex-start;
  37. }
  38. .esri-feature__last-edited-info {
  39. font-size: $font-size--small;
  40. padding-top: $cap-spacing--half;
  41. }
  42. // RTL
  43. html[dir="rtl"] {
  44. .esri-feature__attachments-title {
  45. margin: 0 0 0 auto;
  46. }
  47. .esri-feature__attachments--list .esri-feature__attachment-item-mask {
  48. margin-right: 0;
  49. margin-left: $side-spacing--half;
  50. }
  51. }
  52. }
  53. @if $include_Feature==true {
  54. @include feature();
  55. }