mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	* refactor: convert remaining js files to typescript * refactor: conditionally render remove index * refactor: dialog component to tsx * refactor: migrate some files from jsx to tsx * refactor: convert dropdown element to tsx * refactor: feature toggle list to tsx * refactor: update context name in use overrides * refactor: variant overrides to tsx refactor: remove unused strategy constraint file * fix: tsx imports * fix: update refectored components after rebase * refactor: rename report list files to tsx * fix: project health list types * refactor: addon form - add types * refactor: copy feature component types * fix: projects toggle style after tsx refactor * refactor: update ts types from openapi * fix: ts refactor changes after review * fix: header title prop * fix: update after PR comments * add test to useoverrides hook * fix conditionally render time ago * fix: toggle list empty tooltip * fix: remove unused variable * remove unused variable * fix: remove faulty snapshot
		
			
				
	
	
		
			133 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			SCSS
		
	
	
	
	
	
			
		
		
	
	
			133 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			SCSS
		
	
	
	
	
	
| /** Select **/
 | |
| 
 | |
| .truncate {
 | |
|     white-space: nowrap;
 | |
|     overflow: hidden;
 | |
|     text-overflow: ellipsis;
 | |
| }
 | |
| 
 | |
| .fullwidth {
 | |
|     width: 100%;
 | |
| }
 | |
| 
 | |
| .sectionPadding {
 | |
|     padding: 0 16px;
 | |
| }
 | |
| 
 | |
| .horisontalScroll {
 | |
|     overflow-x: scroll;
 | |
|     -webkit-overflow-scrolling: touch;
 | |
| }
 | |
| 
 | |
| .horisontalScroll::-webkit-scrollbar {
 | |
|     display: none;
 | |
| }
 | |
| 
 | |
| .listLink {
 | |
|     color: #212121;
 | |
|     text-decoration: none;
 | |
|     font-weight: normal;
 | |
|     display: block;
 | |
| }
 | |
| 
 | |
| .listLink:hover {
 | |
|     color: #000;
 | |
| }
 | |
| 
 | |
| @media (max-width: 920px) {
 | |
|     .hideLt920 {
 | |
|         display: none;
 | |
|     }
 | |
| }
 | |
| 
 | |
| @media (max-width: 600px) {
 | |
|     .hideLt600 {
 | |
|         display: none;
 | |
|     }
 | |
| }
 | |
| 
 | |
| .dataTableHeader {
 | |
|     display: flex;
 | |
|     justify-content: space-between;
 | |
|     align-items: center;
 | |
| 
 | |
|     .titleText {
 | |
|         margin: 0;
 | |
|         font-size: 20px;
 | |
|         line-height: 24px;
 | |
|     }
 | |
| 
 | |
|     .actions {
 | |
|         flex-shrink: 0;
 | |
|     }
 | |
| }
 | |
| 
 | |
| .switchWithLabel {
 | |
|     display: flex;
 | |
| 
 | |
|     .label {
 | |
|         padding-right: 16px;
 | |
|         line-height: 24px;
 | |
|     }
 | |
|     .switch {
 | |
|         display: inline-block;
 | |
|         padding-right: 8px;
 | |
|     }
 | |
| }
 | |
| 
 | |
| .emptyState {
 | |
|     display: flex;
 | |
|     align-items: center;
 | |
|     flex-direction: column;
 | |
|     justify-content: center;
 | |
|     min-height: 200px;
 | |
| }
 | |
| 
 | |
| .toggleName {
 | |
|     color: #37474f !important;
 | |
|     font-weight: 700;
 | |
| }
 | |
| 
 | |
| .toolbar {
 | |
|     position: relative;
 | |
|     padding: 0 24px 16px 24px;
 | |
|     text-align: center;
 | |
| }
 | |
| 
 | |
| .toolbarButton {
 | |
|     position: absolute;
 | |
|     top: 56px;
 | |
|     right: 24px;
 | |
|     z-index: 2;
 | |
| }
 | |
| 
 | |
| .error {
 | |
|     color: #d50000;
 | |
| }
 | |
| 
 | |
| .headerTitle {
 | |
|     font-size: var(--h1-size);
 | |
|     margin: 0;
 | |
| }
 | |
| 
 | |
| .listItem {
 | |
|     padding: 0;
 | |
| }
 | |
| 
 | |
| .section {
 | |
|     padding: 8px 16px 8px 16px;
 | |
| }
 | |
| 
 | |
| .contentPadding {
 | |
|     padding: var(--card-padding);
 | |
| }
 | |
| 
 | |
| .contentSpacing > * {
 | |
|     margin: 0.5rem 0;
 | |
| }
 | |
| 
 | |
| .searchField {
 | |
|     margin-bottom: 2rem;
 | |
|     max-width: 400px;
 | |
| }
 |