Merge pull request #783 from Moini/patch-1

Improve visibility of close button for embedded web pages
This commit is contained in:
Kharhamel 2021-03-17 14:35:11 +01:00 committed by GitHub
commit 19856c0ee9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -347,10 +347,19 @@ body {
cursor: url('/resources/logos/cursor_pointer.png'), pointer; cursor: url('/resources/logos/cursor_pointer.png'), pointer;
animation: right .2s ease; animation: right .2s ease;
} }
#cowebsite .close-btn img { #cowebsite .close-btn img {
height: 15px; height: 20px;
right: 15px; right: 15px;
background-color: rgba(0,0.0,0,0.3);
padding: 5px;
border-radius: 3px;
} }
#cowebsite .close-btn img:hover {
background-color: rgba(0,0,0,0.4);
}
#cowebsite:hover .close-btn{ #cowebsite:hover .close-btn{
right: 10px; right: 10px;
} }