Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

_toolbars.scss 5.4KB

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