Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

_toolbars.scss 4.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  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: -moz-box;
  54. display: -ms-flexbox;
  55. display: -webkit-box;
  56. display: -webkit-flex;
  57. display: 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. .button.toggled {
  108. color: $toolbarButtonToggled;
  109. }
  110. a.button.unclickable:hover,
  111. a.button.unclickable:active,
  112. a.button.unclickable.selected{
  113. cursor: default;
  114. background: none;
  115. }
  116. a.button:hover,
  117. a.button:active,
  118. a.button.selected {
  119. cursor: pointer;
  120. text-decoration: none;
  121. // sum opacity with background layer should give us 0.8
  122. background: $toolbarSelectBackground;
  123. }
  124. a.button>#avatar {
  125. width: 30px;
  126. border-radius: 50%;
  127. padding-top: 10px;
  128. padding-bottom: 10px;
  129. }
  130. #feedbackButton {
  131. margin-top: auto;
  132. }
  133. /**
  134. * START of slide in animation for extended toolbar.
  135. */
  136. @include keyframes(slideInX) {
  137. 0% { transform: translateX(-100%); }
  138. 100% { transform: translateX(0%); }
  139. }
  140. .slideInX {
  141. @include animation('slideInX .5s forwards');
  142. }
  143. @include keyframes(slideOutX) {
  144. 0% { transform: translateX(0%); }
  145. 100% { transform: translateX(-100%); }
  146. }
  147. .slideOutX {
  148. @include animation('slideOutX .5s forwards');
  149. }
  150. @include keyframes(slideInExtX) {
  151. 0% { transform: translateX(-500%); }
  152. 100% { transform: translateX(0%); }
  153. }
  154. .slideInExtX {
  155. @include animation('slideInExtX .5s forwards');
  156. }
  157. @include keyframes(slideOutExtX) {
  158. 0% { transform: translateX(0%); }
  159. 100% { transform: translateX(-500%); }
  160. }
  161. .slideOutExtX {
  162. @include animation('slideOutExtX .5s forwards');
  163. }
  164. /**
  165. * END of slide out animation for extended toolbar.
  166. */
  167. /**
  168. * START of slide in / out animation for main toolbar.
  169. */
  170. @include keyframes(slideInY) {
  171. 100% { transform: translateY(0%); }
  172. }
  173. .slideInY {
  174. @include animation('slideInY .5s forwards');
  175. }
  176. @include keyframes(slideOutY) {
  177. 0% { transform: translateY(0%); }
  178. 100% { transform: translateY(-100%); }
  179. }
  180. .slideOutY {
  181. @include animation('slideOutY .5s forwards');
  182. }
  183. /**
  184. * END of slide in / out animation for main toolbar.
  185. */
  186. /**
  187. * START of slide in animation for extended toolbar panel.
  188. */
  189. @include keyframes(slideInExt) {
  190. from { width: 0px; }
  191. to { width: 200px; } // TO FIX: Make this value a percentage.
  192. }
  193. .slideInExt {
  194. @include animation("slideInExt .5s forwards");
  195. }
  196. @include keyframes(slideOutExt) {
  197. from { width: 200px; } // TO FIX: Make this value a percentage.
  198. to { width: 0px; }
  199. }
  200. .slideOutExt {
  201. @include animation("slideOutExt .5s forwards");
  202. }
  203. /**
  204. * END of slide in animation for extended toolbar panel.
  205. */