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.3KB

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