mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-03 08:02:36 +09:00 
			
		
		
		
	Remove scrollbar customizations (#29800)
Fixes https://github.com/go-gitea/gitea/issues/29652. Removes all scrollbar customization as per popular vote on https://github.com/go-gitea/gitea/issues/29652#issuecomment-1985846162. There is one more case of `-webkit-scrollbar` left in CSS and https://github.com/go-gitea/gitea/pull/29400 will get rid of that as well.
This commit is contained in:
		@@ -105,33 +105,9 @@ progress::-moz-progress-bar {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
* {
 | 
					* {
 | 
				
			||||||
  scrollbar-color: var(--color-primary) transparent;
 | 
					 | 
				
			||||||
  caret-color: var(--color-caret);
 | 
					  caret-color: var(--color-caret);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
::-webkit-scrollbar {
 | 
					 | 
				
			||||||
  width: 10px;
 | 
					 | 
				
			||||||
  height: 10px;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
::-webkit-scrollbar-thumb {
 | 
					 | 
				
			||||||
  box-shadow: inset 0 0 0 6px var(--color-primary);
 | 
					 | 
				
			||||||
  border: 2px solid transparent;
 | 
					 | 
				
			||||||
  border-radius: var(--border-radius);
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
::-webkit-scrollbar-thumb:window-inactive {
 | 
					 | 
				
			||||||
  box-shadow: inset 0 0 0 6px var(--color-primary);
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
::-webkit-scrollbar-thumb:hover {
 | 
					 | 
				
			||||||
  box-shadow: inset 0 0 0 6px var(--color-primary-dark-2);
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
::-webkit-scrollbar-corner {
 | 
					 | 
				
			||||||
  background: transparent;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
::file-selector-button {
 | 
					::file-selector-button {
 | 
				
			||||||
  border: 1px solid var(--color-light-border);
 | 
					  border: 1px solid var(--color-light-border);
 | 
				
			||||||
  color: var(--color-text-light);
 | 
					  color: var(--color-text-light);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user