You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_popup_menu.scss 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. /**
  2. * Initialize
  3. **/
  4. .popupmenu {
  5. background-color: $menuBG;
  6. border-radius: 3px;
  7. min-width: 150px;
  8. text-align: left;
  9. padding: 0px;
  10. white-space: nowrap;
  11. &__item {
  12. list-style-type: none;
  13. height: 35px;
  14. }
  15. // Link Appearance
  16. &__link,
  17. &__contents {
  18. display: block;
  19. box-sizing: border-box;
  20. text-decoration: none;
  21. height: 100%;
  22. font-size: 9pt;
  23. width: 100%;
  24. cursor: pointer;
  25. padding: 0 5px;
  26. color: $popupMenuColor;
  27. &:hover {
  28. background-color: $popupMenuHoverBackground;
  29. color: $popupMenuHoverColor;
  30. }
  31. &.disabled {
  32. pointer-events: none;
  33. }
  34. }
  35. &__text {
  36. display: inline-block;
  37. margin-left: 8px;
  38. vertical-align: middle;
  39. }
  40. &__link {
  41. i {
  42. cursor: pointer;
  43. }
  44. }
  45. &__contents {
  46. display: flex;
  47. /**
  48. * Positioning styles on the slider and its container are used to make
  49. * the container fit the popup width, by removing the slider from the
  50. * page flow, and then making the slider fit the container.
  51. */
  52. .popupmenu__slider_container {
  53. position: relative;
  54. width: 100%;
  55. .popupmenu__slider {
  56. position: absolute;
  57. top: 50%;
  58. transform: translate(0, -50%);
  59. width: 100%;
  60. &::-webkit-slider-runnable-track {
  61. background-color: $popupSliderColor;
  62. }
  63. &::-moz-range-track {
  64. background-color: $popupSliderColor;
  65. }
  66. &::-ms-fill-lower {
  67. background-color: $popupSliderColor;
  68. }
  69. }
  70. }
  71. }
  72. &__icon {
  73. vertical-align: middle;
  74. position: relative;
  75. display: inline-block;
  76. min-width: 20px;
  77. height: 100%;
  78. padding-right: 10px;
  79. > * {
  80. @include absoluteAligning();
  81. }
  82. }
  83. .icon-kick,
  84. .icon-play,
  85. .icon-stop {
  86. font-size: 8pt;
  87. }
  88. }
  89. /**
  90. * Override reset css styling modifying all lists and set negative margin to
  91. * reduce the visibility of padding on AtlasKit
  92. * InlineDialogs.
  93. */
  94. ul.popupmenu {
  95. margin: -16px -24px;
  96. }
  97. span.localvideomenu:hover ul.popupmenu, span.remotevideomenu:hover ul.popupmenu, ul.popupmenu:hover {
  98. display:block !important;
  99. }