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

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