_FeatureTable.scss 3.0 KB

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