mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Revert material-icons CSS classes
Add new material-symbols classes for Material Symbols fonts
This commit is contained in:
		
							parent
							
								
									8007225a41
								
							
						
					
					
						commit
						20b8e35132
					
				| @ -12,7 +12,36 @@ | ||||
|   src: url(~static/fonts/MaterialSymbolsOutlined[FILL,GRAD,opsz,wght].woff2) format('woff2'); | ||||
| } | ||||
| 
 | ||||
| @font-face { | ||||
|   font-family: 'Material Icons'; | ||||
|   font-style: normal; | ||||
|   font-weight: 400; | ||||
|   src: url(~static/fonts/MaterialIcons.woff2) format('woff2'); | ||||
| } | ||||
| 
 | ||||
| @font-face { | ||||
|   font-family: 'Material Icons Outlined'; | ||||
|   font-style: normal; | ||||
|   font-weight: 400; | ||||
|   src: url(~static/fonts/MaterialIconsOutlined.woff2) format('woff2'); | ||||
| } | ||||
| 
 | ||||
| .material-icons { | ||||
|   font-family: 'Material Icons'; | ||||
|   font-weight: normal; | ||||
|   font-style: normal; | ||||
|   line-height: 1; | ||||
|   letter-spacing: normal; | ||||
|   text-transform: none; | ||||
|   display: inline-block; | ||||
|   white-space: nowrap; | ||||
|   word-wrap: normal; | ||||
|   direction: ltr; | ||||
|   -webkit-font-smoothing: antialiased; | ||||
|   vertical-align: top; | ||||
| } | ||||
| 
 | ||||
| .material-symbols { | ||||
|   font-family: 'Material Symbols Rounded'; | ||||
|   font-weight: normal; | ||||
|   font-style: normal; | ||||
| @ -27,11 +56,30 @@ | ||||
|   vertical-align: top; | ||||
| } | ||||
| 
 | ||||
| .material-symbols.fill { | ||||
|   font-variation-settings:  | ||||
|     'FILL' 1  | ||||
| } | ||||
| 
 | ||||
| .material-icons:not([class*="text-"]) { | ||||
|   font-size: 1.5rem; | ||||
| } | ||||
| 
 | ||||
| .material-icons-outlined { | ||||
|   font-family: 'Material Icons Outlined'; | ||||
|   font-weight: normal; | ||||
|   font-style: normal; | ||||
|   line-height: 1; | ||||
|   letter-spacing: normal; | ||||
|   text-transform: none; | ||||
|   display: inline-block; | ||||
|   white-space: nowrap; | ||||
|   word-wrap: normal; | ||||
|   direction: ltr; | ||||
|   -webkit-font-smoothing: antialiased; | ||||
| } | ||||
| 
 | ||||
| .material-symbols-outlined { | ||||
|   font-family: 'Material Symbols Outlined'; | ||||
|   font-weight: normal; | ||||
|   font-style: normal; | ||||
| @ -43,6 +91,12 @@ | ||||
|   word-wrap: normal; | ||||
|   direction: ltr; | ||||
|   -webkit-font-smoothing: antialiased; | ||||
|   vertical-align: top; | ||||
| } | ||||
| 
 | ||||
| .material-symbols-outlined.fill { | ||||
|   font-variation-settings:  | ||||
|     'FILL' 1  | ||||
| } | ||||
| 
 | ||||
| .material-icons-outlined:not([class*="text-"]) { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user