mirror of https://github.com/vector-im/riot-web
				
				
				
			Move mx_EventTile_highlight out of mx_EventTile:not([data-layout=bubble]) (#8940)
* Move mx_EventTile_highlight etc. out of mx_EventTile:not([data-layout=bubble]) Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Set highlight text color globally Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>pull/28788/head^2
							parent
							
								
									2a4992c56a
								
							
						
					
					
						commit
						d439871ea1
					
				| 
						 | 
				
			
			@ -81,8 +81,6 @@ limitations under the License.
 | 
			
		|||
        &::before {
 | 
			
		||||
            background-color: $event-highlight-bg-color;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        color: $alert;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /* For replies */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -23,6 +23,11 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
 | 
			
		|||
 | 
			
		||||
    flex-shrink: 0;
 | 
			
		||||
 | 
			
		||||
    &.mx_EventTile_highlight,
 | 
			
		||||
    &.mx_EventTile_highlight .markdown-body {
 | 
			
		||||
        color: $alert;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    .mx_EventTile_avatar {
 | 
			
		||||
        cursor: pointer;
 | 
			
		||||
        user-select: none;
 | 
			
		||||
| 
						 | 
				
			
			@ -89,6 +94,13 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
 | 
			
		|||
 | 
			
		||||
    &[data-layout=irc],
 | 
			
		||||
    &[data-layout=group] {
 | 
			
		||||
        &.mx_EventTile_highlight,
 | 
			
		||||
        &.mx_EventTile_highlight .markdown-body {
 | 
			
		||||
            .mx_EventTile_line {
 | 
			
		||||
                background-color: $event-highlight-bg-color;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        .mx_EventTile_e2eIcon {
 | 
			
		||||
            position: absolute;
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			@ -227,15 +239,6 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
 | 
			
		|||
        background-color: $event-selected-color;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    &.mx_EventTile_highlight,
 | 
			
		||||
    &.mx_EventTile_highlight .markdown-body {
 | 
			
		||||
        color: $alert;
 | 
			
		||||
 | 
			
		||||
        .mx_EventTile_line {
 | 
			
		||||
            background-color: $event-highlight-bg-color;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    &.mx_EventTile_selected.mx_EventTile_info .mx_EventTile_line {
 | 
			
		||||
        padding-left: calc($left-gutter + 18px);
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue