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 2.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. /**
  2. * Toolbar side panel main container element.
  3. */
  4. #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. max-width: $sidebarWidth;
  13. overflow: hidden;
  14. position: absolute;
  15. top: 0;
  16. width: 0;
  17. z-index: $sideToolbarContainerZ;
  18. /**
  19. * Labels inside the side panel.
  20. */
  21. label {
  22. color: $baseLight;
  23. }
  24. /**
  25. * Form elements and blocks.
  26. */
  27. input,
  28. a,
  29. .sideToolbarBlock,
  30. .form-control {
  31. display: block;
  32. margin-top: 15px;
  33. margin-left: 10%;
  34. width: 80%;
  35. }
  36. /**
  37. * Specify styling of elements inside a block.
  38. */
  39. .sideToolbarBlock {
  40. input, a {
  41. margin-left: 0;
  42. margin-top: 5px;
  43. width: 100%;
  44. }
  45. }
  46. /**
  47. * Inner container, for example settings or profile.
  48. */
  49. .sideToolbarContainer__inner {
  50. display: none;
  51. height: 100%;
  52. width: $sidebarWidth;
  53. position: absolute;
  54. box-sizing: border-box;
  55. color: #FFF;
  56. .input-control {
  57. border: 0;
  58. }
  59. /**
  60. * Titles and subtitles of inner containers.
  61. */
  62. div.title {
  63. margin: 24px 0 11px;
  64. }
  65. /**
  66. * Main title size.
  67. */
  68. div.title {
  69. color: $toolbarTitleColor;
  70. text-align: center;
  71. font-size: $toolbarTitleFontSize;
  72. }
  73. /**
  74. * First element after a title.
  75. */
  76. .first {
  77. margin-top: 0 !important;
  78. }
  79. }
  80. .side-toolbar-close {
  81. background: gray;
  82. border: 3px solid rgba(255, 255, 255, 0.1);
  83. border-radius: 100%;
  84. color: white;
  85. cursor:pointer;
  86. height: 10px;
  87. line-height: 10px;
  88. padding: 4px;
  89. position: absolute;
  90. right: 5px;
  91. text-align: center;
  92. top: 5px;
  93. width: 10px;
  94. z-index: 1;
  95. }
  96. }