Improve visibility of close button for embedded web pages
The button (a white x) wasn't visible on white background. Now it is. Also is a little bit larger and changes color on hover.
This commit is contained in:
parent
48c13119bd
commit
95da470a89
13
front/dist/resources/style/style.css
vendored
13
front/dist/resources/style/style.css
vendored
@ -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{
|
|
||||||
height: 15px;
|
#cowebsite .close-btn img {
|
||||||
|
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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user