custom.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. /* The side navigation menu */
  2. .sidenav {
  3. height: 100%; /* 100% Full-height */
  4. width: 0; /* 0 width - change this with JavaScript */
  5. position: fixed; /* Stay in place */
  6. z-index: 1; /* Stay on top */
  7. top: 0; /* Stay at the top */
  8. left: 0;
  9. background-color: #111; /* Black*/
  10. overflow-x: hidden; /* Disable horizontal scroll */
  11. padding-top: 60px; /* Place content 60px from the top */
  12. transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
  13. }
  14. /* The navigation menu links */
  15. .sidenav a {
  16. padding: 8px 8px 8px 32px;
  17. text-decoration: none;
  18. font-size: 25px;
  19. color: #818181;
  20. display: block;
  21. transition: 0.3s;
  22. }
  23. /*This is modifying the btn-primary colors but you could create your own .btn-something class as well*/
  24. .btn-primary {
  25. color: #fff;
  26. background-color: rgba(38, 41, 50, 0.9);
  27. border-color: #9dadbb; /*set the color you want here*/
  28. }
  29. .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open>.dropdown-toggle.btn-primary {
  30. color: #8a3b3b;
  31. background-color: rgba(58, 20, 20, 0.9);
  32. border-color: rgb(142, 40, 40); /*set the color you want here*/
  33. }
  34. /* When you mouse over the navigation links, change their color */
  35. .sidenav a:hover {
  36. color: #f1f1f1;
  37. }
  38. /* Position and style the close button (top right corner) */
  39. .sidenav .closebtn {
  40. position: absolute;
  41. top: 0;
  42. right: 25px;
  43. font-size: 36px;
  44. margin-left: 50px;
  45. }
  46. /* Style page content - use this if you want to push the page content to the right when you open the side navigation */
  47. #main {
  48. transition: margin-left .5s;
  49. }
  50. /* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
  51. @media screen and (max-height: 450px) {
  52. .sidenav {padding-top: 15px;}
  53. .sidenav a {font-size: 18px;}
  54. }
  55. .image-select {
  56. width: 260px;
  57. position: relative;
  58. color: white;
  59. font-family: monospace;
  60. }
  61. .image-select .selected {
  62. background: rgb(73, 73, 73);
  63. padding: 10px;
  64. cursor: pointer;
  65. border-radius: 4px;
  66. user-select: none;
  67. }
  68. .image-select .options {
  69. display: none;
  70. position: absolute;
  71. background: rgb(50, 50, 50);
  72. width: 100%;
  73. border: 1px solid #444;
  74. z-index: 100;
  75. max-height: 300px;
  76. overflow-y: auto;
  77. border-radius: 4px;
  78. }
  79. .image-select .option {
  80. display: flex;
  81. align-items: center;
  82. padding: 8px;
  83. gap: 10px;
  84. cursor: pointer;
  85. }
  86. .image-select .option:hover {
  87. background: rgb(90, 90, 90);
  88. }
  89. .image-select .option img {
  90. width: 40px;
  91. height: 40px;
  92. object-fit: cover;
  93. border-radius: 3px;
  94. }
  95. .real-select {
  96. display: none;
  97. }