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 5.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  1. .toolbar {
  2. background-color: $toolbarBackground;
  3. position: relative;
  4. z-index: $toolbarZ;
  5. height: 100%;
  6. pointer-events: auto;
  7. /**
  8. * Splitter button in the toolbar.
  9. */
  10. &__splitter {
  11. display: inline-block;
  12. vertical-align: middle;
  13. width: 1px;
  14. height: 50%;
  15. margin: 0 $splitterToolbarButtonMargin;
  16. background: $splitterColor;
  17. }
  18. }
  19. #mainToolbarContainer{
  20. display: block;
  21. position: absolute;
  22. text-align: center;
  23. top:0;
  24. left:0;
  25. right:0;
  26. z-index: $toolbarZ;
  27. pointer-events: none;
  28. min-height: 100px;
  29. opacity: 0;
  30. }
  31. #subject {
  32. position: relative;
  33. z-index: 3;
  34. width: auto;
  35. padding: 5px;
  36. margin-left: 40%;
  37. margin-right: 40%;
  38. text-align: center;
  39. background: linear-gradient(to bottom, rgba(255,255,255,.85) , rgba(255,255,255,.35));
  40. box-shadow: 0 0 2px #000000, 0 0 10px #000000;
  41. border-bottom-left-radius: 12px;
  42. border-bottom-right-radius: 12px;
  43. }
  44. #mainToolbar {
  45. height: $defaultToolbarSize;
  46. display: inline-block;
  47. position: relative;
  48. top: 30px;
  49. margin-left: auto;
  50. margin-right: auto;
  51. width: auto;
  52. border-radius: 3px;
  53. overflow: hidden;
  54. }
  55. #extendedToolbar {
  56. display: -moz-box;
  57. display: -ms-flexbox;
  58. display: -webkit-box;
  59. display: -webkit-flex;
  60. display: flex;
  61. width: $defaultToolbarSize;
  62. height: 100%;
  63. top: 0;
  64. left: 0;
  65. padding-top: 10px;
  66. box-sizing: border-box;
  67. flex-direction: column;
  68. flex-wrap: nowrap;
  69. justify-content: flex-start;
  70. align-items: center;
  71. transform: translateX(-100%);
  72. -webkit-transform: translateX(-100%);
  73. }
  74. #toolbar_button_hangup {
  75. color: #BF2117;
  76. font-size: $hangupFontSize !important;
  77. }
  78. #toolbar_button_etherpad {
  79. display: none;
  80. }
  81. #mainToolbar a.button:last-child::after {
  82. content: none;
  83. }
  84. .button {
  85. display: inline-block;
  86. position: relative;
  87. color: #FFFFFF;
  88. top:0px;
  89. width: 50px;
  90. height: 50px;
  91. cursor: pointer;
  92. text-align: center;
  93. z-index: 1;
  94. font-size: $toolbarFontSize !important;
  95. line-height: 50px !important;
  96. vertical-align: middle;
  97. }
  98. .button[disabled] {
  99. opacity: 0.5;
  100. }
  101. .button.unclickable {
  102. cursor: default;
  103. }
  104. .button.toggled {
  105. background: $toolbarToggleBackground !important;
  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. text-decoration: none;
  118. // sum opacity with background layer should give us 0.8
  119. background: $toolbarSelectBackground;
  120. }
  121. a.button>#avatar {
  122. width: 30px;
  123. border-radius: 50%;
  124. padding-top: 10px;
  125. padding-bottom: 10px;
  126. }
  127. #feedbackButton {
  128. margin-top: auto;
  129. }
  130. /**
  131. * Round badge.
  132. */
  133. .badge-round {
  134. background-color: $toolbarBadgeBackground;
  135. color: $toolbarBadgeColor;
  136. font-size: 9px;
  137. line-height: 13px;
  138. font-weight: 700;
  139. text-align: center;
  140. border-radius: 50%;
  141. min-width: 13px;
  142. overflow: hidden;
  143. text-overflow: ellipsis;
  144. box-sizing: border-box;
  145. vertical-align: middle;
  146. // Do not inherit the font-family from the toolbar button, because it's an
  147. // icon style.
  148. font-family: $baseFontFamily;
  149. }
  150. /**
  151. * Toolbar specific round badge.
  152. */
  153. .toolbar .badge-round {
  154. position: absolute;
  155. right: 9px;
  156. bottom: 9px;
  157. }
  158. /**
  159. * START of slide in animation for extended toolbar.
  160. */
  161. @include keyframes(slideInX) {
  162. 0% { transform: translateX(-100%); }
  163. 100% { transform: translateX(0%); }
  164. }
  165. .slideInX {
  166. @include animation('slideInX .5s forwards');
  167. }
  168. @include keyframes(slideOutX) {
  169. 0% { transform: translateX(0%); }
  170. 100% { transform: translateX(-100%); }
  171. }
  172. .slideOutX {
  173. @include animation('slideOutX .5s forwards');
  174. }
  175. @include keyframes(slideInExtX) {
  176. 0% { transform: translateX(-500%); }
  177. 100% { transform: translateX(0%); }
  178. }
  179. .slideInExtX {
  180. @include animation('slideInExtX .5s forwards');
  181. }
  182. @include keyframes(slideOutExtX) {
  183. 0% { transform: translateX(0%); }
  184. 100% { transform: translateX(-500%); }
  185. }
  186. .slideOutExtX {
  187. @include animation('slideOutExtX .5s forwards');
  188. }
  189. /**
  190. * END of slide out animation for extended toolbar.
  191. */
  192. /**
  193. * START of slide in / out animation for main toolbar.
  194. */
  195. @include keyframes(slideInY) {
  196. 100% { transform: translateY(0%); }
  197. }
  198. .slideInY {
  199. @include animation('slideInY .5s forwards');
  200. }
  201. @include keyframes(slideOutY) {
  202. 0% { transform: translateY(0%); }
  203. 100% { transform: translateY(-100%); }
  204. }
  205. .slideOutY {
  206. @include animation('slideOutY .5s forwards');
  207. }
  208. /**
  209. * END of slide in / out animation for main toolbar.
  210. */
  211. /**
  212. * START of slide in animation for extended toolbar panel.
  213. */
  214. @include keyframes(slideInExt) {
  215. from { width: 0px; }
  216. to { width: 200px; } // TO FIX: Make this value a percentage.
  217. }
  218. .slideInExt {
  219. @include animation("slideInExt .5s forwards");
  220. }
  221. @include keyframes(slideOutExt) {
  222. from { width: 200px; } // TO FIX: Make this value a percentage.
  223. to { width: 0px; }
  224. }
  225. .slideOutExt {
  226. @include animation("slideOutExt .5s forwards");
  227. }
  228. /**
  229. * START of fade in animation for main toolbar
  230. */
  231. .fadeIn {
  232. @include animation('fadeIn .3s linear .2s forwards');
  233. }
  234. .fadeOut {
  235. @include animation('fadeOut .5s linear forwards');
  236. }