Sidebar.scss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. @import './adaptivefont.scss';
  2. .sidebar {
  3. background-color: #1e1d45;
  4. width: 30%;
  5. overflow:auto;
  6. overflow-x: hidden;
  7. &__link {
  8. @include adaptive-font(20, 12);
  9. //font-size: medium;
  10. display: block;
  11. text-decoration: none;
  12. border-left: 5px solid #05f09b;
  13. background-color: #100d23;
  14. color: #05f09b;
  15. margin: 5px;
  16. padding: 5px;
  17. &:hover {
  18. background-color: #323151;
  19. }
  20. }
  21. &__button {
  22. //font-size: medium;
  23. @include adaptive-font(20, 12);
  24. width: 100%;
  25. border-style: none;
  26. padding: 10px;
  27. &:active {
  28. background-color: #05f09b;
  29. color: #0e6147;
  30. }
  31. }
  32. &__addpanel {
  33. display: flex;
  34. width: 95%;
  35. margin: 0 auto;
  36. border: 1px solid #05f09b;
  37. padding: 0.5%;
  38. input {
  39. @include adaptive-font(20, 12);
  40. //font-size: medium;
  41. outline: none;
  42. background-color: transparent;
  43. width: 80%;
  44. color: #05f09b;
  45. border-style: none;
  46. }
  47. .btnWrapper {
  48. display: inline-block;
  49. width: 20%;
  50. border: none;
  51. button {
  52. border: none;
  53. background-color: transparent;
  54. @include adaptive-font(20, 15);
  55. //font-size: large;
  56. padding: 4% 5% 2% 5%;
  57. margin: 0 2%;
  58. }
  59. }
  60. }
  61. &__profile {
  62. margin: 0 auto;
  63. @include adaptive-font(25, 13);
  64. img {
  65. max-width: 45%;
  66. //max-width: 100px;
  67. height: auto;
  68. border-radius: 10%;
  69. border: 2px solid #70b2e7;
  70. box-shadow: 0 0 15px black;
  71. }
  72. }
  73. }