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.

_toolbars.scss 4.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. .toolbar {
  2. background-color: rgba(0,0,0,0.5);
  3. position: relative;
  4. z-index: 900;
  5. height: 100%;
  6. pointer-events: auto;
  7. }
  8. #mainToolbarContainer{
  9. display: block;
  10. position: absolute;
  11. text-align: center;
  12. top:0;
  13. left:0;
  14. right:0;
  15. z-index:10;
  16. pointer-events: none;
  17. min-height: 100px;
  18. transform: translateY(-100%);
  19. -webkit-transform: translateY(-100%);
  20. }
  21. #subject {
  22. position: relative;
  23. z-index: 3;
  24. width: auto;
  25. padding: 5px;
  26. margin-left: 40%;
  27. margin-right: 40%;
  28. text-align: center;
  29. background: linear-gradient(to bottom, rgba(255,255,255,.85) , rgba(255,255,255,.35));
  30. box-shadow: 0 0 2px #000000, 0 0 10px #000000;
  31. border-bottom-left-radius: 12px;
  32. border-bottom-right-radius: 12px;
  33. }
  34. #mainToolbar {
  35. height: $defaultToolbarSize;
  36. display: inline-block;
  37. position: relative;
  38. top: 30px;
  39. margin-left: auto;
  40. margin-right: auto;
  41. width: auto;
  42. border-radius: 4px;
  43. .first {
  44. border-bottom-left-radius: 4px;
  45. border-top-left-radius: 4px;
  46. }
  47. .last {
  48. border-bottom-right-radius: 4px;
  49. border-top-right-radius: 4px;
  50. }
  51. }
  52. #extendedToolbar {
  53. display: flex;
  54. display: -webkit-box;
  55. display: -moz-box;
  56. display: -ms-flexbox;
  57. display: -webkit-flex;
  58. width: $defaultToolbarSize;
  59. height: 100%;
  60. top: 0px;
  61. left: 0px;
  62. padding-top: 10px;
  63. flex-direction: column;
  64. flex-wrap: nowrap;
  65. justify-content: flex-start;
  66. align-items: center;
  67. transform: translateX(-100%);
  68. -webkit-transform: translateX(-100%);
  69. }
  70. #sideToolbarContainer {
  71. display: inline-block;
  72. position:absolute;
  73. top: 0px;
  74. left: $defaultToolbarSize;
  75. width:0%;
  76. height: 100%;
  77. max-width: 200px;
  78. background-color: rgba(0,0,0,0.8);
  79. z-index: 800;
  80. overflow: hidden;
  81. .sideToolbarContainer__inner {
  82. display: none;
  83. width: 200px;
  84. color: #FFF;
  85. > div.title {
  86. text-align: left;
  87. padding: 10px;
  88. margin: 2px;
  89. font-size: 12pt;
  90. }
  91. }
  92. }
  93. #toolbar_button_hangup {
  94. color: #ff0000;
  95. font-size: 2.2em !important;
  96. }
  97. #toolbar_button_etherpad {
  98. display: none;
  99. }
  100. #numberOfParticipants {
  101. position: absolute;
  102. top: 5px;
  103. line-height: 13px;
  104. font-weight: bold;
  105. font-size: 11px;
  106. }
  107. #mainToolbar a.button:last-child::after {
  108. content: none;
  109. }
  110. .button {
  111. display: inline-block;
  112. position: relative;
  113. color: #FFFFFF;
  114. top:0px;
  115. width: 50px;
  116. height: 50px;
  117. cursor: pointer;
  118. text-align: center;
  119. z-index: 1;
  120. font-size: 1.44em !important;
  121. line-height: 50px !important;
  122. vertical-align: middle;
  123. }
  124. .button[disabled] {
  125. opacity: 0.5;
  126. }
  127. a.button:hover,
  128. a.button:active,
  129. a.button.selected {
  130. cursor: pointer;
  131. // sum opacity with background layer should give us 0.8
  132. background: rgba(0, 0, 0, 0.6);
  133. }
  134. a.button>#avatar {
  135. width: 30px;
  136. border-radius: 50%;
  137. padding-top: 10px;
  138. padding-bottom: 10px;
  139. }
  140. #feedbackButton {
  141. margin-top: auto;
  142. }
  143. /**
  144. * START of slide in animation for extended toolbar.
  145. */
  146. @include keyframes(slideInX) {
  147. 100% { transform: translateX(0%); }
  148. }
  149. .slideInX {
  150. @include animation('slideInX .5s forwards');
  151. }
  152. @include keyframes(slideOutX) {
  153. 0% { transform: translateX(0%); }
  154. 100% { transform: translateX(-100%); }
  155. }
  156. .slideOutX {
  157. @include animation('slideOutX .5s forwards');
  158. }
  159. /**
  160. * END of slide out animation for extended toolbar.
  161. */
  162. /**
  163. * START of slide in / out animation for main toolbar.
  164. */
  165. @include keyframes(slideInY) {
  166. 100% { transform: translateY(0%); }
  167. }
  168. .slideInY {
  169. @include animation('slideInY .5s forwards');
  170. }
  171. @include keyframes(slideOutY) {
  172. 0% { transform: translateY(0%); }
  173. 100% { transform: translateY(-100%); }
  174. }
  175. .slideOutY {
  176. @include animation('slideOutY .5s forwards');
  177. }
  178. /**
  179. * END of slide in / out animation for main toolbar.
  180. */
  181. /**
  182. * START of slide in animation for extended toolbar panel.
  183. */
  184. @include keyframes(slideInExt) {
  185. from { width: 0%; }
  186. to { width: 20%; }
  187. }
  188. .slideInExt {
  189. @include animation("slideInExt .5s forwards");
  190. }
  191. @include keyframes(slideOutExt) {
  192. from { width: 20%; }
  193. to { width: 0%; }
  194. }
  195. .slideOutExt {
  196. @include animation("slideOutExt .5s forwards");
  197. }
  198. /**
  199. * END of slide in animation for extended toolbar panel.
  200. */