mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	refactor: Add css nesting to #out-of-view-notification.
This commit is contained in:
		@@ -281,6 +281,18 @@ div[id^="message-edit-send-status"],
 | 
				
			|||||||
    background-color: hsla(152, 51%, 63%, 0.25);
 | 
					    background-color: hsla(152, 51%, 63%, 0.25);
 | 
				
			||||||
    border: 1px solid hsla(0, 0%, 0%, 0.1);
 | 
					    border: 1px solid hsla(0, 0%, 0%, 0.1);
 | 
				
			||||||
    border-radius: 4px;
 | 
					    border-radius: 4px;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    .close {
 | 
				
			||||||
 | 
					        position: absolute;
 | 
				
			||||||
 | 
					        right: 8px;
 | 
				
			||||||
 | 
					        top: 4px;
 | 
				
			||||||
 | 
					        font-size: 17px;
 | 
				
			||||||
 | 
					        font-weight: bold;
 | 
				
			||||||
 | 
					        color: hsl(0, 0%, 0%);
 | 
				
			||||||
 | 
					        text-shadow: 0 1px 0 hsl(0, 0%, 100%);
 | 
				
			||||||
 | 
					        opacity: .2;
 | 
				
			||||||
 | 
					        filter: alpha(opacity=20);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.compose-notifications-content {
 | 
					.compose-notifications-content {
 | 
				
			||||||
@@ -292,18 +304,6 @@ div[id^="message-edit-send-status"],
 | 
				
			|||||||
    position: relative;
 | 
					    position: relative;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#out-of-view-notification .close {
 | 
					 | 
				
			||||||
    position: absolute;
 | 
					 | 
				
			||||||
    right: 8px;
 | 
					 | 
				
			||||||
    top: 4px;
 | 
					 | 
				
			||||||
    font-size: 17px;
 | 
					 | 
				
			||||||
    font-weight: bold;
 | 
					 | 
				
			||||||
    color: hsl(0, 0%, 0%);
 | 
					 | 
				
			||||||
    text-shadow: 0 1px 0 hsl(0, 0%, 100%);
 | 
					 | 
				
			||||||
    opacity: .2;
 | 
					 | 
				
			||||||
    filter: alpha(opacity=20);
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
textarea.new_message_textarea {
 | 
					textarea.new_message_textarea {
 | 
				
			||||||
    display: table-cell;
 | 
					    display: table-cell;
 | 
				
			||||||
    width: calc(100% - 12px);
 | 
					    width: calc(100% - 12px);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user