_submenu.scss 2.4 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. margin: 0 0 $panel-margin 0;
  8. }
  9. .annotation-disabled, .annotation-disabled a {
  10. color: $link-color-disabled;
  11. }
  12. .annotation-segment {
  13. padding: 8px 7px;
  14. label.cr1 {
  15. margin-left: 5px;
  16. margin-top: 3px;
  17. }
  18. }
  19. .submenu-item {
  20. margin-right: 20px;
  21. display: inline-block;
  22. margin-right: 15px;
  23. display: inline-block;
  24. float: left;
  25. .fa-caret-down {
  26. font-size: 75%;
  27. position: relative;
  28. top: -1px;
  29. left: 1px;
  30. }
  31. }
  32. .variable-value-link {
  33. padding-right: 10px;
  34. padding: 8px 7px;
  35. box-sizing: content-box;
  36. display: inline-block;
  37. color: $text-color;
  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: 47px;
  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: 0 0 25px 0 rgba(0,0,0,0.4);
  56. z-index: 1000;
  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, &.highlighted {
  117. background-color: $blue-dark;
  118. }
  119. }
  120. .dash-nav-link {
  121. padding: 8px 7px;
  122. display: inline-block;
  123. color: $text-color;
  124. }