_submenu.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. .submenu-controls {
  2. display: flex;
  3. flex-direction: row;
  4. flex-wrap: wrap;
  5. align-content: flex-start;
  6. align-items: flex-start;
  7. gap: $space-sm $space-md;
  8. padding: 0 0 $space-sm 0;
  9. }
  10. .annotation-segment {
  11. padding: 8px 7px;
  12. label.cr1 {
  13. margin-left: 5px;
  14. margin-top: 3px;
  15. }
  16. }
  17. .submenu-item {
  18. display: inline-block;
  19. .fa-caret-down {
  20. font-size: 75%;
  21. padding-left: 8px;
  22. }
  23. .gf-form {
  24. margin-bottom: 0;
  25. }
  26. }
  27. .variable-value-link {
  28. max-width: 500px;
  29. padding-right: 10px;
  30. padding: 0 $space-sm;
  31. background-color: $input-bg;
  32. border: 1px solid $input-border-color;
  33. border-radius: $input-border-radius;
  34. display: flex;
  35. align-items: center;
  36. color: $text-color;
  37. height: $input-height;
  38. .label-tag {
  39. margin: 0 5px;
  40. }
  41. }
  42. .variable-link-wrapper {
  43. display: inline-block;
  44. position: relative;
  45. }
  46. .variable-value-dropdown {
  47. position: absolute;
  48. top: $input-height;
  49. min-width: 150px;
  50. max-height: 400px;
  51. min-height: 150px;
  52. overflow-y: auto;
  53. overflow-x: hidden;
  54. background-color: $dropdownBackground;
  55. box-shadow: $dropdownShadow;
  56. z-index: $zindex-typeahead;
  57. font-size: $font-size-base;
  58. border-radius: 3px 3px 0 0;
  59. border: 1px solid $tight-form-func-bg;
  60. &.multi {
  61. .selected {
  62. .variable-option-icon {
  63. background: url($checkboxImageUrl) 0px -18px no-repeat;
  64. }
  65. }
  66. }
  67. &.single {
  68. .variable-option-icon {
  69. display: none;
  70. }
  71. .selected {
  72. background-color: $tight-form-func-highlight-bg;
  73. }
  74. }
  75. }
  76. .variable-options-wrapper {
  77. display: table;
  78. width: 100%;
  79. }
  80. .variable-options-column {
  81. max-height: 350px;
  82. display: table-cell;
  83. line-height: 26px;
  84. &:nth-child(2) {
  85. border-left: 1px solid $tight-form-func-bg;
  86. }
  87. }
  88. .variable-option-tag,
  89. .variable-option,
  90. .variable-options-column-header {
  91. display: block;
  92. padding: 2px 27px 0 8px;
  93. position: relative;
  94. white-space: nowrap;
  95. min-width: 115px;
  96. }
  97. .variable-options-column-header {
  98. padding-top: 5px;
  99. padding-bottom: 5px;
  100. margin-bottom: 5px;
  101. &.many-selected {
  102. .variable-option-icon {
  103. background: url($checkboxImageUrl) 0px -36px no-repeat;
  104. }
  105. }
  106. }
  107. .variable-option-icon {
  108. display: inline-block;
  109. width: 24px;
  110. height: 18px;
  111. position: relative;
  112. top: 4px;
  113. background: url($checkboxImageUrl) left top no-repeat;
  114. }
  115. .variable-option {
  116. &:hover,
  117. &.highlighted {
  118. background-color: $variable-option-bg;
  119. }
  120. }
  121. .dash-nav-link {
  122. padding: 8px 7px;
  123. display: inline-block;
  124. color: $text-color;
  125. }