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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372
  1. /**
  2. * Round badge.
  3. */
  4. .badge-round {
  5. background-color: $toolbarBadgeBackground;
  6. border-radius: 50%;
  7. box-sizing: border-box;
  8. color: $toolbarBadgeColor;
  9. // Do not inherit the font-family from the toolbar button, because it's an
  10. // icon style.
  11. font-family: $baseFontFamily;
  12. font-size: 9px;
  13. font-weight: 700;
  14. line-height: 13px;
  15. min-width: 13px;
  16. overflow: hidden;
  17. text-align: center;
  18. text-overflow: ellipsis;
  19. vertical-align: middle;
  20. }
  21. .toolbar-container {
  22. display: block;
  23. left:0;
  24. min-height: 100px;
  25. opacity: 0;
  26. pointer-events: none;
  27. position: absolute;
  28. right:0;
  29. text-align: center;
  30. top:0;
  31. z-index: $toolbarZ;
  32. }
  33. /**
  34. * Common toolbar styles.
  35. */
  36. .toolbar {
  37. color: $modalTextColor;
  38. height: 100%;
  39. pointer-events: auto;
  40. position: relative;
  41. z-index: $toolbarZ;
  42. /**
  43. * Toolbar button styles.
  44. */
  45. .button {
  46. color: $toolbarButtonColor;
  47. cursor: pointer;
  48. z-index: $zindex1;
  49. display: inline-block;
  50. font-size: $toolbarFontSize;
  51. height: $defaultToolbarSize;
  52. line-height: $defaultToolbarSize;
  53. position: relative;
  54. text-align: center;
  55. top:0px;
  56. vertical-align: middle;
  57. width: $defaultToolbarSize;
  58. &_hangup {
  59. color: $hangupColor;
  60. font-size: $hangupFontSize;
  61. }
  62. &[disabled] {
  63. opacity: 0.5;
  64. }
  65. &:hover, &:active {
  66. cursor: pointer;
  67. text-decoration: none;
  68. }
  69. &:not(.toggled) {
  70. &:hover, &:active {
  71. // sum opacity with background layer should give us 0.8
  72. background: $toolbarSelectBackground;
  73. }
  74. }
  75. &.toggled {
  76. background: $toolbarToggleBackground;
  77. &.icon-camera {
  78. @extend .icon-camera-disabled;
  79. }
  80. &.icon-full-screen {
  81. @extend .icon-exit-full-screen;
  82. }
  83. &.icon-microphone {
  84. @extend .icon-mic-disabled;
  85. }
  86. &.icon-visibility {
  87. @extend .icon-visibility-off;
  88. }
  89. }
  90. &.unclickable {
  91. cursor: default;
  92. &:hover, &:active, &.selected {
  93. background: none;
  94. cursor: default;
  95. }
  96. }
  97. }
  98. /**
  99. * Primary toolbar styles.
  100. */
  101. &_primary {
  102. background-color: $toolbarBackground;
  103. position: absolute;
  104. left: 50%;
  105. top: 30px;
  106. display: inline-block;
  107. width: auto;
  108. height: $defaultToolbarSize;
  109. border-radius: 3px;
  110. opacity: 0;
  111. @include transform(translateX(-50%));
  112. .button:first-child {
  113. border-bottom-left-radius: 3px;
  114. border-top-left-radius: 3px;
  115. }
  116. .button:last-child {
  117. border-bottom-right-radius: 3px;
  118. border-top-right-radius: 3px;
  119. }
  120. }
  121. &_primary a.button:last-child::after {
  122. content: none;
  123. }
  124. /**
  125. * Secondary toolbar styles.
  126. */
  127. &_secondary {
  128. background-color: $secondaryToolbarBg;
  129. position: absolute;
  130. align-items: center;
  131. box-sizing: border-box;
  132. display: -moz-box;
  133. display: -ms-flexbox;
  134. display: -webkit-box;
  135. display: -webkit-flex;
  136. display: flex;
  137. flex-direction: column;
  138. flex-wrap: nowrap;
  139. height: 100%;
  140. justify-content: flex-start;
  141. left: 0;
  142. padding-top: 10px;
  143. top: 0;
  144. transform: translateX(-100%);
  145. width: $defaultToolbarSize;
  146. -webkit-transform: translateX(-100%);
  147. .button {
  148. font-size: $secToolbarFontSize;
  149. height: $secToolbarLineHeight;
  150. line-height: $secToolbarLineHeight;
  151. }
  152. .button.toggled:not(.icon-raised-hand):not(.button-active) {
  153. background: $secondaryToolbarBg;
  154. cursor: pointer;
  155. text-decoration: none;
  156. &.unclickable {
  157. cursor: default;
  158. &:hover, &:active, &.selected {
  159. background: none;
  160. cursor: default;
  161. }
  162. }
  163. }
  164. }
  165. /**
  166. * Styles the toolbar in filmstrip-only mode.
  167. */
  168. &_filmstrip-only {
  169. background-color: $toolbarBackground;
  170. border-radius: 3px;
  171. display: inline-block;
  172. height: auto;
  173. width: $defaultFilmStripOnlyToolbarSize;
  174. .button {
  175. height: 37px;
  176. line-height: 37px !important;
  177. width: 37px;
  178. }
  179. .button:first-child {
  180. border-top-left-radius: 3px;
  181. border-top-right-radius: 3px;
  182. }
  183. .button:last-child {
  184. border-bottom-right-radius: 3px;
  185. border-bottom-left-radius: 3px;
  186. }
  187. }
  188. /**
  189. * Toolbar specific round badge.
  190. */
  191. .badge-round {
  192. bottom: 9px;
  193. position: absolute;
  194. right: 9px;
  195. }
  196. }
  197. .filmstrip-only {
  198. .toolbox,
  199. .toolbox-toolbars {
  200. align-items: center;
  201. display: flex;
  202. }
  203. }
  204. .subject {
  205. background: linear-gradient(to bottom, rgba(255,255,255,.85) , rgba(255,255,255,.35));
  206. border-bottom-left-radius: 12px;
  207. border-bottom-right-radius: 12px;
  208. box-shadow: 0 0 2px #000000, 0 0 10px #000000;
  209. margin-left: 40%;
  210. margin-right: 40%;
  211. padding: 5px;
  212. position: relative;
  213. text-align: center;
  214. width: auto;
  215. z-index: $zindex3;
  216. &.subject_slide-in {
  217. top: 80px;
  218. @include transition(top .3s ease-in);
  219. }
  220. &.subject_slide-out {
  221. top: 0;
  222. @include transition(top .3s ease-out);
  223. }
  224. }
  225. #toolbar_button_profile {
  226. height: $toolbarAvatarSize + 2*$toolbarAvatarPadding;
  227. }
  228. a.button>#avatar {
  229. border-radius: 50%;
  230. padding-bottom: $toolbarAvatarPadding;
  231. padding-top: $toolbarAvatarPadding;
  232. width: $toolbarAvatarSize;
  233. }
  234. #feedbackButton {
  235. margin-top: auto;
  236. }
  237. /**
  238. * START of slide in animation for extended toolbar.
  239. */
  240. @include keyframes(slideInX) {
  241. 0% { transform: translateX(-100%); }
  242. 100% { transform: translateX(0%); }
  243. }
  244. .slideInX {
  245. @include animation('slideInX .5s forwards');
  246. }
  247. @include keyframes(slideOutX) {
  248. 0% { transform: translateX(0%); }
  249. 100% { transform: translateX(-100%); }
  250. }
  251. .slideOutX {
  252. @include animation('slideOutX .5s forwards');
  253. }
  254. @include keyframes(slideInExtX) {
  255. 0% { transform: translateX(-500%); }
  256. 100% { transform: translateX(0%); }
  257. }
  258. .slideInExtX {
  259. @include animation('slideInExtX .5s forwards');
  260. }
  261. @include keyframes(slideOutExtX) {
  262. 0% { transform: translateX(0%); }
  263. 100% { transform: translateX(-500%); }
  264. }
  265. .slideOutExtX {
  266. @include animation('slideOutExtX .5s forwards');
  267. }
  268. /**
  269. * END of slide out animation for extended toolbar.
  270. */
  271. /**
  272. * START of slide in / out animation for main toolbar.
  273. */
  274. @include keyframes(slideInY) {
  275. 100% { transform: translateY(0%); }
  276. }
  277. .slideInY {
  278. @include animation('slideInY .5s forwards');
  279. }
  280. @include keyframes(slideOutY) {
  281. 0% { transform: translateY(0%); }
  282. 100% { transform: translateY(-100%); }
  283. }
  284. .slideOutY {
  285. @include animation('slideOutY .5s forwards');
  286. }
  287. /**
  288. * END of slide in / out animation for main toolbar.
  289. */
  290. /**
  291. * START of slide in animation for extended toolbar panel.
  292. */
  293. @include keyframes(slideInExt) {
  294. from { width: 0px; }
  295. to { width: $sidebarWidth; } // TO FIX: Make this value a percentage.
  296. }
  297. .slideInExt {
  298. @include animation("slideInExt .5s forwards");
  299. }
  300. @include keyframes(slideOutExt) {
  301. from { width: $sidebarWidth; } // TO FIX: Make this value a percentage.
  302. to { width: 0px; }
  303. }
  304. .slideOutExt {
  305. @include animation("slideOutExt .5s forwards");
  306. }
  307. /**
  308. * START of fade in animation for main toolbar
  309. */
  310. .fadeIn {
  311. opacity: 1;
  312. @include transition(all .3s ease-in);
  313. }
  314. .fadeOut {
  315. opacity: 0;
  316. @include transition(all .3s ease-out);
  317. }