_submenu.scss 2.3 KB

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