Advertisement
Guest User

Fix side navigation 1.1.1

a guest
Aug 11th, 2021
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.52 KB | None | 0 0
  1. /* side nav fixes */
  2. .Box.SideNav .SideNav-header {
  3.     background: #3d5686;
  4.     border-radius: 0px 0px 0px 0px;
  5.     padding: 14px;
  6.     text-align: center;
  7.     vertical-align: middle!important;
  8.     color: rgb(235, 255, 255);
  9.     /* announcement width = width: 300px!important; */
  10. }
  11.  
  12.  
  13. /* disappear unnecessary drop drown arrow explanation */
  14. .Box.SideNav .SideNav-header .small-text {
  15.     display: none;
  16. }
  17.  
  18. .Panel.Panel-main {
  19.     margin: 0 10px !important;
  20.     top: -14px;
  21. }
  22.  
  23. /* Catergories side panel navigation */
  24. .Panel .Box a:not(.Button):not(.Tag),
  25. .Panel .BoxFilter a:not(.Button):not(.Tag),
  26. body.Section-EditProfile .Box .PanelCategories li.Depth3 a,
  27. body.Section-EditProfile .Box .PanelCategories li.Depth4 a,
  28. body.Section-EditProfile .Box .PanelCategories li.Depth5 a,
  29. .BoxFilter:not(.BoxBestOfFilter) .PanelCategories li.Depth3 a,
  30. .BoxFilter:not(.BoxBestOfFilter) .PanelCategories li.Depth4 a,
  31. .BoxFilter:not(.BoxBestOfFilter) .PanelCategories li.Depth5 a,
  32. .BoxCategories.BoxCategories .PanelCategories li.Depth3 a,
  33. .BoxCategories.BoxCategories .PanelCategories li.Depth4 a,
  34. .BoxCategories.BoxCategories .PanelCategories li.Depth5 a {
  35.     font-size: 12.5px!important;
  36.     font-weight: bold!important;
  37.     line-height: 1.05;
  38.     color: #3d5686;
  39. }
  40.  
  41.  
  42. /* font stlye */
  43. .Panel .BoxCategories.SideNav li {
  44.     font-style: oblique;
  45. }
  46. /* hack dodgey code */
  47. .Panel .BoxCategories.SideNav a {
  48.     padding: 5px;
  49. }
  50.  
  51. /* force category box to be one with announment box && the rest of the page */
  52. .Panel .Box.SideNav {
  53.     width: 300px!important;
  54.     padding-right: 1px;
  55.     padding-left: 1px;
  56.     padding-top: 1px;
  57. }
  58. .Box.BoxCategories.SideNav {
  59.     border-bottom: 1px solid #dbdbdb!important;
  60.     border-top: 1px solid #dbdbdb;
  61. }
  62. .Box.BoxCategories.SideNav {
  63.     border-left: 1px solid #dbdbdb;
  64.     border-right: 1px solid #dbdbdb;
  65. }
  66. /* change colour of nasty blue button and distract from the fact that it doesn't really belong on the page in the first place with some weird transition to orange */
  67. .Box.BoxCategories.SideNav .toggle-dropdown {
  68.     display: inline-block;
  69.     filter: saturate(48%) hue-rotate(20deg);
  70.     transition-duration: 0.075s;
  71.     transition-timing-function: cubic-bezier(0, 0.99, 1, 2.74);;;
  72.     transition-property: filter;
  73.     font-style: normal!important; /* very important! */
  74. }
  75. /* transition on hover */
  76. .Box.BoxCategories.SideNav .toggle-dropdown:hover {
  77.     filter: saturate(200%) hue-rotate(180deg);
  78. }
  79.  
  80. /* announcments margin */
  81. .Panel > * + * {
  82.     margin-top: -20px;
  83. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement