_submenu.scss 2.5 KB

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