_FeatureTable.scss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. @mixin featureTable() {
  2. .esri-feature-table {
  3. display: flex;
  4. flex-direction: column;
  5. height: 100%;
  6. width: 100%;
  7. .esri-feature-table__content {
  8. flex: 1 1 0;
  9. flex-grow: 1;
  10. min-height: 0;
  11. margin: 0;
  12. padding: 0;
  13. }
  14. .esri-grid--no-column-menu {
  15. .esri-column__menu-container {
  16. display: none;
  17. }
  18. }
  19. .esri-grid__grid {
  20. height: 100%;
  21. width: 100%;
  22. .esri-column__menu-container.esri-button-menu {
  23. height: 28px;
  24. width: 28px;
  25. position: inherit;
  26. .esri-button-menu__button {
  27. height: 26px;
  28. width: 16px;
  29. }
  30. }
  31. }
  32. }
  33. .esri-feature-table__menu {
  34. height: 40px;
  35. order: 3;
  36. padding: 4px;
  37. width: 40px;
  38. .esri-button-menu {
  39. bottom: auto;
  40. position: relative;
  41. }
  42. }
  43. .esri-feature-table__header {
  44. display: flex;
  45. flex-direction: row;
  46. font-weight: $font-weight;
  47. height: 40px;
  48. line-height: 40px;
  49. margin: 0;
  50. width: 100%;
  51. }
  52. .esri-feature-table__title {
  53. flex-grow: 1;
  54. order: 2;
  55. }
  56. .esri-feature-table__loader-container {
  57. height: 40px;
  58. margin: 0 8px;
  59. order: 1;
  60. width: 32px;
  61. }
  62. .esri-feature-table__loader {
  63. height: 40px;
  64. width: 32px;
  65. background: url(../base/images/loading-throb.gif) no-repeat center;
  66. }
  67. .esri-field-column__header-content {
  68. align-items: center;
  69. display: flex;
  70. flex-grow: 1;
  71. min-width: 0px;
  72. overflow: visible;
  73. }
  74. .esri-field-column__cell-content {
  75. font-size: 0.9em;
  76. }
  77. .esri-field-column__cell__date-input-container {
  78. display: flex;
  79. height: 100%;
  80. width: 100%;
  81. .esri-field-column__cell__date-input-wrapper {
  82. display: flex;
  83. flex-direction: column;
  84. height: 100%;
  85. width: 100%;
  86. }
  87. .esri-date-picker {
  88. flex: 1 1 0;
  89. .esri-date-picker__text-input.esri-input {
  90. width: 100%;
  91. }
  92. .esri-date-picker__calendar-toggle {
  93. height: 26px;
  94. }
  95. }
  96. .esri-time-picker {
  97. display: inline-flex;
  98. flex: 1 1 0;
  99. input {
  100. width: 100%;
  101. }
  102. }
  103. }
  104. .esri-field-column__button {
  105. align-items: center;
  106. background-color: transparent;
  107. border: none;
  108. color: $button-color;
  109. display: flex;
  110. font-size: $icon-size;
  111. height: auto;
  112. justify-content: center;
  113. text-align: center;
  114. transition: background-color 125ms ease-in-out;
  115. width: 26px;
  116. &:disabled {
  117. cursor: default;
  118. color: $interactive-font-color--disabled;
  119. }
  120. &:hover,
  121. &:focus {
  122. background-color: $background-color--hover;
  123. color: $interactive-font-color--hover;
  124. cursor: pointer;
  125. }
  126. }
  127. .esri-field-column__cell__input-container {
  128. display: flex;
  129. top: 0;
  130. left: 0;
  131. width: 100%;
  132. height: 100%;
  133. position: absolute;
  134. }
  135. .esri-field-column__cell-input {
  136. height: 100%;
  137. width: 100%;
  138. border: none;
  139. padding: 0 5px;
  140. flex: 1 1 0;
  141. }
  142. [dir="rtl"] {
  143. .esri-feature-table__menu-content {
  144. left: 2px;
  145. right: auto;
  146. }
  147. }
  148. }
  149. @if $include_FeatureTable == true {
  150. @include featureTable();
  151. }