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

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