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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. /**
  2. * Initialize
  3. **/
  4. .popupmenu {
  5. min-width: 150px;
  6. text-align: left;
  7. padding: 0px;
  8. white-space: nowrap;
  9. &__item {
  10. list-style-type: none;
  11. height: 35px;
  12. }
  13. // Link Appearance
  14. &__link,
  15. &__contents {
  16. display: block;
  17. box-sizing: border-box;
  18. text-decoration: none;
  19. height: 100%;
  20. font-size: 9pt;
  21. width: 100%;
  22. cursor: pointer;
  23. padding: 0 5px;
  24. color: $popupMenuColor;
  25. &:hover {
  26. background-color: $popupMenuHoverBackground;
  27. color: $popupMenuHoverColor;
  28. }
  29. &.disabled {
  30. pointer-events: none;
  31. }
  32. }
  33. &__text {
  34. display: inline-block;
  35. vertical-align: middle;
  36. }
  37. &__link {
  38. i {
  39. cursor: pointer;
  40. }
  41. }
  42. &__contents {
  43. display: flex;
  44. /**
  45. * Positioning styles on the slider and its container are used to make
  46. * the container fit the popup width, by removing the slider from the
  47. * page flow, and then making the slider fit the container.
  48. */
  49. .popupmenu__slider_container {
  50. position: relative;
  51. width: 100%;
  52. .popupmenu__slider {
  53. position: absolute;
  54. top: 50%;
  55. transform: translate(0, -50%);
  56. width: 100%;
  57. &::-webkit-slider-runnable-track {
  58. background-color: $popupSliderColor;
  59. }
  60. &::-moz-range-track {
  61. background-color: $popupSliderColor;
  62. }
  63. &::-ms-fill-lower {
  64. background-color: $popupSliderColor;
  65. }
  66. }
  67. }
  68. }
  69. &__icon {
  70. vertical-align: middle;
  71. position: relative;
  72. display: inline-block;
  73. min-width: 20px;
  74. height: 100%;
  75. padding-right: 10px;
  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.localvideomenu:hover ul.popupmenu, span.remotevideomenu:hover ul.popupmenu, ul.popupmenu:hover {
  95. display:block !important;
  96. }