Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

_popup_menu.scss 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. /**
  2. * Initialize
  3. **/
  4. .popupmenu {
  5. min-width: 75px;
  6. text-align: left;
  7. padding: 0px;
  8. width: 180px;
  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. padding-right: 10px;
  77. > * {
  78. @include absoluteAligning();
  79. }
  80. }
  81. .icon-kick,
  82. .icon-play,
  83. .icon-stop {
  84. font-size: 8pt;
  85. }
  86. }
  87. /**
  88. * Override reset css styling modifying all lists and set negative margin to
  89. * reduce the visibility of padding on AtlasKit
  90. * InlineDialogs.
  91. */
  92. ul.popupmenu {
  93. margin: -16px -24px;
  94. }
  95. span.remotevideomenu:hover ul.popupmenu, ul.popupmenu:hover {
  96. display:block !important;
  97. }