選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

_toolbars.scss 5.4KB

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