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.

_lobby.scss 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. #lobby-screen {
  2. .content {
  3. .container {
  4. align-items: center;
  5. display: flex;
  6. flex-direction: column;
  7. .spinner {
  8. margin: 30px;
  9. }
  10. .joining-message {
  11. margin: 10px;
  12. }
  13. }
  14. }
  15. }
  16. #lobby-section {
  17. display: flex;
  18. flex-direction: column;
  19. .description {
  20. font-size: 13px;
  21. }
  22. .control-row {
  23. display: flex;
  24. flex-direction: row;
  25. justify-content: space-between;
  26. margin-top: 15px;
  27. label {
  28. font-size: 14px;
  29. font-weight: bold;
  30. }
  31. }
  32. }
  33. #knocking-participant-list {
  34. background-color: $newToolbarBackgroundColor;
  35. border: 1px solid rgba(255, 255, 255, .4);
  36. border-radius: 8px;
  37. display: flex;
  38. flex-direction: column;
  39. left: 0;
  40. margin: 20px;
  41. position: fixed;
  42. top: 20;
  43. transition: top 1s ease;
  44. z-index: $toolbarZ + 1;
  45. &.toolbox-visible {
  46. // Same as toolbox subject position
  47. top: 120px;
  48. }
  49. .title {
  50. background-color: rgba(0, 0, 0, .2);
  51. font-size: 1.2em;
  52. padding: 15px
  53. }
  54. button {
  55. align-self: stretch;
  56. margin: 8px 0;
  57. padding: 12px;
  58. transition: .2s transform ease;
  59. &:disabled {
  60. opacity: .5;
  61. }
  62. &:hover {
  63. transform: scale(1.05);
  64. &:disabled {
  65. transform: none;
  66. }
  67. }
  68. &.borderLess {
  69. background-color: transparent;
  70. border-width: 0;
  71. }
  72. &.primary {
  73. background-color: rgb(3, 118, 218);
  74. border-width: 0;
  75. }
  76. }
  77. }
  78. .knocking-participants-container {
  79. list-style-type: none;
  80. max-height: 600px;
  81. overflow-y: scroll;
  82. padding: 0 15px 15px 15px;
  83. }
  84. .knocking-participant {
  85. align-items: center;
  86. display: flex;
  87. flex-direction: row;
  88. margin: 8px 0;
  89. .details {
  90. display: flex;
  91. flex: 1;
  92. flex-direction: column;
  93. justify-content: space-evenly;
  94. margin: 0 30px 0 10px;
  95. }
  96. button {
  97. align-self: unset;
  98. margin: 0 5px;
  99. }
  100. }
  101. @media (max-width: 300px) {
  102. #knocking-participant-list {
  103. margin: 0;
  104. text-align: center;
  105. width: 100%;
  106. .avatar {
  107. display: none;
  108. }
  109. }
  110. .knocking-participant {
  111. flex-direction: column;
  112. .details {
  113. margin: 0;
  114. }
  115. }
  116. }