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 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. /**
  2. * Initialize
  3. **/
  4. .popupmenu {
  5. text-align: left;
  6. padding: 0;
  7. white-space: nowrap;
  8. &__item {
  9. list-style-type: none;
  10. height: 35px;
  11. &:hover {
  12. background-color: rgba(9, 30, 66, 0.04);
  13. }
  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. &.disabled {
  27. pointer-events: none;
  28. }
  29. }
  30. &__text {
  31. display: inline-block;
  32. vertical-align: middle;
  33. }
  34. &__link {
  35. i {
  36. cursor: pointer;
  37. }
  38. }
  39. &__contents {
  40. display: flex;
  41. /**
  42. * Positioning styles on the slider and its container are used to make
  43. * the container fit the popup width, by removing the slider from the
  44. * page flow, and then making the slider fit the container.
  45. */
  46. .popupmenu__slider_container {
  47. position: relative;
  48. width: 100%;
  49. .popupmenu__slider {
  50. position: absolute;
  51. top: 50%;
  52. transform: translate(0, -50%);
  53. width: 100%;
  54. }
  55. }
  56. }
  57. &__icon {
  58. vertical-align: middle;
  59. position: relative;
  60. display: inline-block;
  61. min-width: 20px;
  62. height: 100%;
  63. > * {
  64. @include absoluteAligning();
  65. }
  66. }
  67. .icon-kick {
  68. font-size: 8pt;
  69. }
  70. }
  71. /**
  72. * Override reset css styling modifying all lists and set negative margin to
  73. * reduce the visibility of padding on AtlasKit
  74. * InlineDialogs.
  75. */
  76. ul.popupmenu {
  77. margin: -15px;
  78. }
  79. span.remotevideomenu:hover ul.popupmenu, ul.popupmenu:hover {
  80. display:block !important;
  81. }
  82. .remote-control-spinner {
  83. top: 6px;
  84. left: 2px;
  85. }