Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

_toolbars.scss 4.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  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: $toolbarSelectBackground;
  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. 0% { transform: translateX(-100%); }
  148. 100% { transform: translateX(0%); }
  149. }
  150. .slideInX {
  151. @include animation('slideInX .5s forwards');
  152. }
  153. @include keyframes(slideOutX) {
  154. 0% { transform: translateX(0%); }
  155. 100% { transform: translateX(-100%); }
  156. }
  157. .slideOutX {
  158. @include animation('slideOutX .5s forwards');
  159. }
  160. @include keyframes(slideInExtX) {
  161. 0% { transform: translateX(-500%); }
  162. 100% { transform: translateX(0%); }
  163. }
  164. .slideInExtX {
  165. @include animation('slideInExtX .5s forwards');
  166. }
  167. @include keyframes(slideOutExtX) {
  168. 0% { transform: translateX(0%); }
  169. 100% { transform: translateX(-500%); }
  170. }
  171. .slideOutExtX {
  172. @include animation('slideOutExtX .5s forwards');
  173. }
  174. /**
  175. * END of slide out animation for extended toolbar.
  176. */
  177. /**
  178. * START of slide in / out animation for main toolbar.
  179. */
  180. @include keyframes(slideInY) {
  181. 100% { transform: translateY(0%); }
  182. }
  183. .slideInY {
  184. @include animation('slideInY .5s forwards');
  185. }
  186. @include keyframes(slideOutY) {
  187. 0% { transform: translateY(0%); }
  188. 100% { transform: translateY(-100%); }
  189. }
  190. .slideOutY {
  191. @include animation('slideOutY .5s forwards');
  192. }
  193. /**
  194. * END of slide in / out animation for main toolbar.
  195. */
  196. /**
  197. * START of slide in animation for extended toolbar panel.
  198. */
  199. @include keyframes(slideInExt) {
  200. from { width: 0px; }
  201. to { width: 200px; } // TO FIX: Make this value a percentage.
  202. }
  203. .slideInExt {
  204. @include animation("slideInExt .5s forwards");
  205. }
  206. @include keyframes(slideOutExt) {
  207. from { width: 200px; } // TO FIX: Make this value a percentage.
  208. to { width: 0px; }
  209. }
  210. .slideOutExt {
  211. @include animation("slideOutExt .5s forwards");
  212. }
  213. /**
  214. * END of slide in animation for extended toolbar panel.
  215. */