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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. /**
  2. * Initialize
  3. **/
  4. .popupmenu {
  5. padding: 0;
  6. margin: 2px 0;
  7. bottom: 0;
  8. height: auto;
  9. &:first-child {
  10. margin-top: 2px;
  11. }
  12. &__item {
  13. list-style-type: none;
  14. text-align: left;
  15. height: 35px;
  16. &:hover {
  17. background-color: $popupMenuSelectedItemBackground;
  18. }
  19. }
  20. // Link Appearance
  21. &__link,
  22. &__contents {
  23. display: block;
  24. box-sizing: border-box;
  25. text-decoration: none;
  26. color: #fff;
  27. padding: 5px;
  28. height: 100%;
  29. font-size: 9pt;
  30. width: 100%;
  31. cursor: hand;
  32. &.disabled {
  33. color: gray !important;
  34. pointer-events: none;
  35. }
  36. }
  37. &__text {
  38. display: inline-block;
  39. vertical-align: middle;
  40. }
  41. &__contents {
  42. display: flex;
  43. /**
  44. * Positioning styles on the slider and its container are used to make
  45. * the container fit the popup width, by removing the slider from the
  46. * page flow, and then making the slider fit the container.
  47. */
  48. .popupmenu__slider_container {
  49. position: relative;
  50. width: 100%;
  51. .popupmenu__slider {
  52. position: absolute;
  53. top: 50%;
  54. transform: translate(0, -50%);
  55. width: 100%;
  56. }
  57. }
  58. }
  59. &__icon {
  60. vertical-align: middle;
  61. position: relative;
  62. display: inline-block;
  63. min-width: 20px;
  64. height: 100%;
  65. text-align: center;
  66. > * {
  67. @include absoluteAligning();
  68. }
  69. }
  70. .icon-kick {
  71. font-size: 8pt;
  72. }
  73. }
  74. span.remotevideomenu:hover ul.popupmenu, ul.popupmenu:hover {
  75. display:block !important;
  76. }
  77. .remote-control-spinner {
  78. top: 6px;
  79. left: 2px;
  80. }