_submenu.scss 2.8 KB

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