Move attachment-lists out of lists.scss
This commit is contained in:
		
							parent
							
								
									995eea1836
								
							
						
					
					
						commit
						18c7b739eb
					
				
					 2 changed files with 64 additions and 64 deletions
				
			
		|  | @ -1,67 +1,3 @@ | ||||||
| .attachment-list { |  | ||||||
|   display: flex; |  | ||||||
|   font-size: 14px; |  | ||||||
|   border: 1px solid lighten($ui-base-color, 8%); |  | ||||||
|   border-radius: 4px; |  | ||||||
|   margin-top: 14px; |  | ||||||
|   overflow: hidden; |  | ||||||
| 
 |  | ||||||
|   &__icon { |  | ||||||
|     flex: 0 0 auto; |  | ||||||
|     color: $dark-text-color; |  | ||||||
|     padding: 8px 18px; |  | ||||||
|     cursor: default; |  | ||||||
|     border-right: 1px solid lighten($ui-base-color, 8%); |  | ||||||
|     display: flex; |  | ||||||
|     flex-direction: column; |  | ||||||
|     align-items: center; |  | ||||||
|     justify-content: center; |  | ||||||
|     font-size: 26px; |  | ||||||
| 
 |  | ||||||
|     .fa { |  | ||||||
|       display: block; |  | ||||||
|     } |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   &__list { |  | ||||||
|     list-style: none; |  | ||||||
|     padding: 4px 0; |  | ||||||
|     padding-left: 8px; |  | ||||||
|     display: flex; |  | ||||||
|     flex-direction: column; |  | ||||||
|     justify-content: center; |  | ||||||
| 
 |  | ||||||
|     li { |  | ||||||
|       display: block; |  | ||||||
|       padding: 4px 0; |  | ||||||
|     } |  | ||||||
| 
 |  | ||||||
|     a { |  | ||||||
|       text-decoration: none; |  | ||||||
|       color: $dark-text-color; |  | ||||||
|       font-weight: 500; |  | ||||||
| 
 |  | ||||||
|       &:hover { |  | ||||||
|         text-decoration: underline; |  | ||||||
|       } |  | ||||||
|     } |  | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   &.compact { |  | ||||||
|     border: 0; |  | ||||||
|     margin-top: 4px; |  | ||||||
| 
 |  | ||||||
|     .attachment-list__list { |  | ||||||
|       padding: 0; |  | ||||||
|       display: block; |  | ||||||
|     } |  | ||||||
| 
 |  | ||||||
|     .fa { |  | ||||||
|       color: $dark-text-color; |  | ||||||
|     } |  | ||||||
|   } |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .list-editor { | .list-editor { | ||||||
|   background: $ui-base-color; |   background: $ui-base-color; | ||||||
|   flex-direction: column; |   flex-direction: column; | ||||||
|  |  | ||||||
|  | @ -734,3 +734,67 @@ | ||||||
|   top: 4px; |   top: 4px; | ||||||
|   z-index: 5; |   z-index: 5; | ||||||
| } | } | ||||||
|  | 
 | ||||||
|  | .attachment-list { | ||||||
|  |   display: flex; | ||||||
|  |   font-size: 14px; | ||||||
|  |   border: 1px solid lighten($ui-base-color, 8%); | ||||||
|  |   border-radius: 4px; | ||||||
|  |   margin-top: 14px; | ||||||
|  |   overflow: hidden; | ||||||
|  | 
 | ||||||
|  |   &__icon { | ||||||
|  |     flex: 0 0 auto; | ||||||
|  |     color: $dark-text-color; | ||||||
|  |     padding: 8px 18px; | ||||||
|  |     cursor: default; | ||||||
|  |     border-right: 1px solid lighten($ui-base-color, 8%); | ||||||
|  |     display: flex; | ||||||
|  |     flex-direction: column; | ||||||
|  |     align-items: center; | ||||||
|  |     justify-content: center; | ||||||
|  |     font-size: 26px; | ||||||
|  | 
 | ||||||
|  |     .fa { | ||||||
|  |       display: block; | ||||||
|  |     } | ||||||
|  |   } | ||||||
|  | 
 | ||||||
|  |   &__list { | ||||||
|  |     list-style: none; | ||||||
|  |     padding: 4px 0; | ||||||
|  |     padding-left: 8px; | ||||||
|  |     display: flex; | ||||||
|  |     flex-direction: column; | ||||||
|  |     justify-content: center; | ||||||
|  | 
 | ||||||
|  |     li { | ||||||
|  |       display: block; | ||||||
|  |       padding: 4px 0; | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     a { | ||||||
|  |       text-decoration: none; | ||||||
|  |       color: $dark-text-color; | ||||||
|  |       font-weight: 500; | ||||||
|  | 
 | ||||||
|  |       &:hover { | ||||||
|  |         text-decoration: underline; | ||||||
|  |       } | ||||||
|  |     } | ||||||
|  |   } | ||||||
|  | 
 | ||||||
|  |   &.compact { | ||||||
|  |     border: 0; | ||||||
|  |     margin-top: 4px; | ||||||
|  | 
 | ||||||
|  |     .attachment-list__list { | ||||||
|  |       padding: 0; | ||||||
|  |       display: block; | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     .fa { | ||||||
|  |       color: $dark-text-color; | ||||||
|  |     } | ||||||
|  |   } | ||||||
|  | } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue