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

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