sforkowany z mirror/soapbox
				
			
		
			
				
	
	
		
			40 wiersze
		
	
	
		
			663 B
		
	
	
	
		
			SCSS
		
	
	
			
		
		
	
	
			40 wiersze
		
	
	
		
			663 B
		
	
	
	
		
			SCSS
		
	
	
| .svg-icon {
 | |
|   width: 16px;
 | |
|   height: 16px;
 | |
|   display: flex;
 | |
|   align-items: center;
 | |
|   justify-content: center;
 | |
| 
 | |
|   svg {
 | |
|     // Apparently this won't skew the image as long as it has a viewbox
 | |
|     width: 100%;
 | |
|     height: 100%;
 | |
|   }
 | |
| 
 | |
|   &--active {
 | |
|     svg.icon-tabler-search {
 | |
|       stroke-width: 2.3px;
 | |
|     }
 | |
| 
 | |
|     svg.icon-tabler-bell,
 | |
|     svg.icon-tabler-messages {
 | |
|       path:nth-child(2) {
 | |
|         fill: var(--primary-text-color);
 | |
|       }
 | |
|     }
 | |
| 
 | |
|     svg.icon-tabler-users {
 | |
|       circle,
 | |
|       circle + path {
 | |
|         fill: var(--primary-text-color);
 | |
|       }
 | |
|     }
 | |
|   }
 | |
| }
 | |
| 
 | |
| .icon-button > div {
 | |
|   display: flex;
 | |
|   align-items: center;
 | |
|   justify-content: center;
 | |
| }
 |