mirror of https://github.com/ghostfolio/ghostfolio
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							107 lines
						
					
					
						
							2.1 KiB
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							107 lines
						
					
					
						
							2.1 KiB
						
					
					
				
								@import '~apps/client/src/styles/ghostfolio-style';
							 | 
						|
								
							 | 
						|
								:host {
							 | 
						|
								  color: rgb(var(--dark-primary-text));
							 | 
						|
								  display: block;
							 | 
						|
								  min-height: calc(100vh - 5rem);
							 | 
						|
								  position: relative;
							 | 
						|
								
							 | 
						|
								  &.with-create-account-container {
							 | 
						|
								    min-height: calc(100vh - 5rem - 2.5rem);
							 | 
						|
								  }
							 | 
						|
								
							 | 
						|
								  .mat-tab-group {
							 | 
						|
								    bottom: 0;
							 | 
						|
								    left: 0;
							 | 
						|
								    right: 0;
							 | 
						|
								    top: 0;
							 | 
						|
								
							 | 
						|
								    ::ng-deep {
							 | 
						|
								      .mat-tab-body-wrapper {
							 | 
						|
								        height: 100%;
							 | 
						|
								
							 | 
						|
								        .container {
							 | 
						|
								          &.overview {
							 | 
						|
								            .chart-container {
							 | 
						|
								              aspect-ratio: 16 / 9;
							 | 
						|
								              cursor: pointer;
							 | 
						|
								              max-height: 50vh;
							 | 
						|
								
							 | 
						|
								              // Fallback for aspect-ratio (using padding hack)
							 | 
						|
								              @supports not (aspect-ratio: 16 / 9) {
							 | 
						|
								                &::before {
							 | 
						|
								                  float: left;
							 | 
						|
								                  padding-top: 56.25%;
							 | 
						|
								                  content: '';
							 | 
						|
								                }
							 | 
						|
								
							 | 
						|
								                &::after {
							 | 
						|
								                  display: block;
							 | 
						|
								                  content: '';
							 | 
						|
								                  clear: both;
							 | 
						|
								                }
							 | 
						|
								              }
							 | 
						|
								
							 | 
						|
								              gf-line-chart {
							 | 
						|
								                bottom: 0;
							 | 
						|
								                left: 0;
							 | 
						|
								                position: absolute;
							 | 
						|
								                right: 0;
							 | 
						|
								                top: 0;
							 | 
						|
								                z-index: -1;
							 | 
						|
								              }
							 | 
						|
								            }
							 | 
						|
								          }
							 | 
						|
								
							 | 
						|
								          &.positions {
							 | 
						|
								            min-height: 100%;
							 | 
						|
								          }
							 | 
						|
								        }
							 | 
						|
								      }
							 | 
						|
								
							 | 
						|
								      .mat-tab-header {
							 | 
						|
								        border-top: 0;
							 | 
						|
								
							 | 
						|
								        .mat-ink-bar {
							 | 
						|
								          visibility: hidden !important;
							 | 
						|
								        }
							 | 
						|
								
							 | 
						|
								        .mat-tab-label-active {
							 | 
						|
								          color: rgba(var(--palette-primary-500), 1);
							 | 
						|
								        }
							 | 
						|
								      }
							 | 
						|
								    }
							 | 
						|
								  }
							 | 
						|
								
							 | 
						|
								  ::ng-deep {
							 | 
						|
								    .mat-form-field-infix {
							 | 
						|
								      border-top: 0 solid transparent !important;
							 | 
						|
								    }
							 | 
						|
								
							 | 
						|
								    .mat-form-field-wrapper {
							 | 
						|
								      padding-bottom: 0 !important;
							 | 
						|
								    }
							 | 
						|
								
							 | 
						|
								    .mat-form-field-underline {
							 | 
						|
								      bottom: 0 !important;
							 | 
						|
								    }
							 | 
						|
								
							 | 
						|
								    .mat-form-field-appearance-outline .mat-select-arrow-wrapper {
							 | 
						|
								      transform: translateY(0);
							 | 
						|
								    }
							 | 
						|
								  }
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								:host-context(.is-dark-theme) {
							 | 
						|
								  color: rgb(var(--light-primary-text));
							 | 
						|
								
							 | 
						|
								  .container {
							 | 
						|
								    &.overview {
							 | 
						|
								      .button-container {
							 | 
						|
								        .mat-flat-button {
							 | 
						|
								          background-color: rgba(255, 255, 255, $alpha-hover);
							 | 
						|
								        }
							 | 
						|
								      }
							 | 
						|
								    }
							 | 
						|
								  }
							 | 
						|
								}
							 | 
						|
								
							 |