mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-30 21:21:09 -04:00 
			
		
		
		
	init crater
This commit is contained in:
		
							
								
								
									
										77
									
								
								resources/assets/sass/components/charts.scss
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										77
									
								
								resources/assets/sass/components/charts.scss
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,77 @@ | ||||
| // Gauges | ||||
| // ------------------------- | ||||
|  | ||||
| .gauge { | ||||
|     position: relative; | ||||
|     display: flex; | ||||
|     align-items: center; | ||||
| } | ||||
|  | ||||
| .gauge-lg { | ||||
|  | ||||
|     .basic-gauge, .donut-gauge, .color-gauge { | ||||
|         height: 250px; | ||||
|     } | ||||
|  | ||||
|     .gauge-label { | ||||
|         font-size: 40px; | ||||
|     } | ||||
|  | ||||
| } | ||||
|  | ||||
| .gauge-md { | ||||
|  | ||||
|     .basic-gauge, .donut-gauge, .color-gauge { | ||||
|         height: 180px; | ||||
|     } | ||||
|  | ||||
| } | ||||
|  | ||||
| .gauge-sm { | ||||
|  | ||||
|     .basic-gauge, .donut-gauge, .color-gauge { | ||||
|         height: 120px; | ||||
|     } | ||||
|  | ||||
|     .gauge-label { | ||||
|         font-size: 20px; | ||||
|     } | ||||
|  | ||||
| } | ||||
|  | ||||
| .gauge-label { | ||||
|     display: inline-block; | ||||
|     position: absolute; | ||||
|     top: 60%; | ||||
|     left: 0px; | ||||
|     width: 100%; | ||||
|     text-align: center; | ||||
|     font-size: 28px; | ||||
|     font-weight: bold; | ||||
|  | ||||
|     &.middle-label { | ||||
|         top: 50%; | ||||
|         transform: translateY(-50%); | ||||
|     } | ||||
| } | ||||
|  | ||||
| .gauge { | ||||
|     position: relative; | ||||
| } | ||||
|  | ||||
| @media(max-width: $x-small-breakpoint) { | ||||
|  | ||||
|     .gauge-lg { | ||||
|  | ||||
|         .basic-gauge, .donut-gauge, .color-gauge { | ||||
|             height: 180px !important; | ||||
|             width: auto !important; | ||||
|         } | ||||
|  | ||||
|         .gauge-label { | ||||
|             font-size: 28px; | ||||
|         } | ||||
|  | ||||
|     } | ||||
|  | ||||
| } | ||||
		Reference in New Issue
	
	Block a user