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.

_side_toolbar_container.scss 3.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. /**
  2. * Toolbar side panel main container element.
  3. */
  4. .use-new-toolbox #sideToolbarContainer {
  5. background-color: $newToolbarBackgroundColor;
  6. /**
  7. * Make the sidebar flush with the top of the toolbar. Take the size of
  8. * the toolbar and subtract from 100%.
  9. */
  10. height: calc(100% - #{$newToolbarSizeWithPadding});
  11. left: 0;
  12. .side-toolbar-close {
  13. background: gray;
  14. border: 3px solid rgba(255, 255, 255, 0.1);
  15. border-radius: 100%;
  16. color: white;
  17. cursor:pointer;
  18. height: 10px;
  19. line-height: 10px;
  20. padding: 4px;
  21. position: absolute;
  22. right: 5px;
  23. text-align: center;
  24. top: 5px;
  25. width: 10px;
  26. z-index: 1;
  27. }
  28. #chatconversation {
  29. top: 15px;
  30. }
  31. }
  32. #sideToolbarContainer {
  33. background-color: $sideToolbarContainerBg;
  34. height: 100%;
  35. left: $defaultToolbarSize;
  36. max-width: $sidebarWidth;
  37. overflow: hidden;
  38. position: absolute;
  39. top: 0;
  40. width: 0;
  41. z-index: $sideToolbarContainerZ;
  42. /**
  43. * Labels inside the side panel.
  44. */
  45. label {
  46. color: $baseLight;
  47. }
  48. /**
  49. * Form elements and blocks.
  50. */
  51. input,
  52. a,
  53. .sideToolbarBlock,
  54. .form-control {
  55. display: block;
  56. margin-top: 15px;
  57. margin-left: 10%;
  58. width: 80%;
  59. }
  60. /**
  61. * Specify styling of elements inside a block.
  62. */
  63. .sideToolbarBlock {
  64. input, a {
  65. margin-left: 0;
  66. margin-top: 5px;
  67. width: 100%;
  68. }
  69. }
  70. /**
  71. * Inner container, for example contact list, settings or profile.
  72. */
  73. .sideToolbarContainer__inner {
  74. display: none;
  75. height: 100%;
  76. width: $sidebarWidth;
  77. position: absolute;
  78. box-sizing: border-box;
  79. color: #FFF;
  80. .input-control {
  81. border: 0;
  82. }
  83. /**
  84. * Titles and subtitles of inner containers.
  85. */
  86. div.title, div.subTitle {
  87. margin: 24px 0 11px;
  88. }
  89. /**
  90. * Main title size.
  91. */
  92. div.title {
  93. color: $toolbarTitleColor;
  94. text-align: center;
  95. font-size: $toolbarTitleFontSize;
  96. }
  97. /**
  98. * First element after a title.
  99. */
  100. .first {
  101. margin-top: 0 !important;
  102. }
  103. }
  104. .settings-menu {
  105. display: flex;
  106. flex-direction: column;
  107. padding-left: 10%;
  108. padding-right: 10%;
  109. .moderator-checkbox {
  110. display: inline-block;
  111. margin: 0 5px 0;
  112. width: auto;
  113. }
  114. .moderator-option {
  115. margin-top: 15px;
  116. }
  117. .subTitle {
  118. color: $defaultSideBarFontColor;
  119. font-size: 11px;
  120. font-weight: 500;
  121. }
  122. }
  123. }
  124. /**
  125. * Profile
  126. */
  127. .auth_container {
  128. ul {
  129. padding: 0;
  130. li {
  131. list-style-type: none;
  132. a.authButton {
  133. width: 160px;
  134. margin: 10px 20px;
  135. padding: 3px 29px;
  136. box-sizing: border-box;
  137. background-color: #06a5df;
  138. border-radius: 4px;
  139. cursor: pointer;
  140. color: $defaultColor;
  141. text-decoration: none;
  142. text-align: center;
  143. }
  144. }
  145. }
  146. }