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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. .toolbar {
  2. background-color: rgba(0,0,0,0.5);
  3. position: relative;
  4. z-index: $toolbarZ;
  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: $toolbarZ;
  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. #toolbar_button_hangup {
  71. color: #BF2117;
  72. font-size: $hangupFontSize !important;
  73. }
  74. #toolbar_button_etherpad {
  75. display: none;
  76. }
  77. #numberOfParticipants {
  78. position: absolute;
  79. top: 5px;
  80. line-height: 13px;
  81. font-weight: bold;
  82. font-size: 11px;
  83. }
  84. #mainToolbar a.button:last-child::after {
  85. content: none;
  86. }
  87. .button {
  88. display: inline-block;
  89. position: relative;
  90. color: #FFFFFF;
  91. top:0px;
  92. width: 50px;
  93. height: 50px;
  94. cursor: pointer;
  95. text-align: center;
  96. z-index: 1;
  97. font-size: $toolbarFontSize !important;
  98. line-height: 50px !important;
  99. vertical-align: middle;
  100. }
  101. .button[disabled] {
  102. opacity: 0.5;
  103. }
  104. .button.unclickable {
  105. cursor: default;
  106. }
  107. a.button.unclickable:hover,
  108. a.button.unclickable:active,
  109. a.button.unclickable.selected{
  110. cursor: default;
  111. background: none;
  112. }
  113. a.button:hover,
  114. a.button:active,
  115. a.button.selected {
  116. cursor: pointer;
  117. // sum opacity with background layer should give us 0.8
  118. background: $toolbarSelectBackground;
  119. }
  120. a.button>#avatar {
  121. width: 30px;
  122. border-radius: 50%;
  123. padding-top: 10px;
  124. padding-bottom: 10px;
  125. }
  126. #feedbackButton {
  127. margin-top: auto;
  128. }
  129. /**
  130. * START of slide in animation for extended toolbar.
  131. */
  132. @include keyframes(slideInX) {
  133. 0% { transform: translateX(-100%); }
  134. 100% { transform: translateX(0%); }
  135. }
  136. .slideInX {
  137. @include animation('slideInX .5s forwards');
  138. }
  139. @include keyframes(slideOutX) {
  140. 0% { transform: translateX(0%); }
  141. 100% { transform: translateX(-100%); }
  142. }
  143. .slideOutX {
  144. @include animation('slideOutX .5s forwards');
  145. }
  146. @include keyframes(slideInExtX) {
  147. 0% { transform: translateX(-500%); }
  148. 100% { transform: translateX(0%); }
  149. }
  150. .slideInExtX {
  151. @include animation('slideInExtX .5s forwards');
  152. }
  153. @include keyframes(slideOutExtX) {
  154. 0% { transform: translateX(0%); }
  155. 100% { transform: translateX(-500%); }
  156. }
  157. .slideOutExtX {
  158. @include animation('slideOutExtX .5s forwards');
  159. }
  160. /**
  161. * END of slide out animation for extended toolbar.
  162. */
  163. /**
  164. * START of slide in / out animation for main toolbar.
  165. */
  166. @include keyframes(slideInY) {
  167. 100% { transform: translateY(0%); }
  168. }
  169. .slideInY {
  170. @include animation('slideInY .5s forwards');
  171. }
  172. @include keyframes(slideOutY) {
  173. 0% { transform: translateY(0%); }
  174. 100% { transform: translateY(-100%); }
  175. }
  176. .slideOutY {
  177. @include animation('slideOutY .5s forwards');
  178. }
  179. /**
  180. * END of slide in / out animation for main toolbar.
  181. */
  182. /**
  183. * START of slide in animation for extended toolbar panel.
  184. */
  185. @include keyframes(slideInExt) {
  186. from { width: 0px; }
  187. to { width: 200px; } // TO FIX: Make this value a percentage.
  188. }
  189. .slideInExt {
  190. @include animation("slideInExt .5s forwards");
  191. }
  192. @include keyframes(slideOutExt) {
  193. from { width: 200px; } // TO FIX: Make this value a percentage.
  194. to { width: 0px; }
  195. }
  196. .slideOutExt {
  197. @include animation("slideOutExt .5s forwards");
  198. }
  199. /**
  200. * END of slide in animation for extended toolbar panel.
  201. */