Merge pull request #3466 from thelounge/xpaw/menu-styles

Update context and auto complete menu styles
This commit is contained in:
Pavel Djundik 2019-10-20 22:28:10 +03:00 committed by GitHub
commit 93cb395b75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2121,13 +2121,13 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */
position: absolute; position: absolute;
list-style: none; list-style: none;
margin: 0; margin: 0;
padding: 0; padding: 0 6px;
min-width: 180px; min-width: 180px;
font-size: 14px; font-size: 14px;
background-color: #fff; background-color: #fff;
box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15); box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
border: 1px solid rgba(0, 0, 0, 0.15); border: 1px solid rgba(0, 0, 0, 0.15);
border-radius: 2px; border-radius: 5px;
} }
.context-menu-divider { .context-menu-divider {
@ -2146,6 +2146,7 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */
margin-bottom: 6px; margin-bottom: 6px;
line-height: 1.4; line-height: 1.4;
transition: background-color 0.2s; transition: background-color 0.2s;
border-radius: 3px;
} }
.context-menu-item:focus, .context-menu-item:focus,
@ -2154,7 +2155,7 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */
.textcomplete-item:hover, .textcomplete-item:hover,
.textcomplete-menu .active, .textcomplete-menu .active,
#chat .userlist .user.active { #chat .userlist .user.active {
background-color: #f6f6f6; background-color: rgba(0, 0, 0, 0.1);
transition: none; transition: none;
outline: 0; outline: 0;
} }