task panel: better close button
This commit is contained in:
parent
0d8575d5a7
commit
94f74b7016
1 changed files with 10 additions and 5 deletions
|
@ -67,17 +67,22 @@
|
||||||
border-bottom: 2px solid #444444;
|
border-bottom: 2px solid #444444;
|
||||||
}
|
}
|
||||||
.closeButton {
|
.closeButton {
|
||||||
display: none;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
color: white;
|
margin-top: 0.3em;
|
||||||
background-color: red;
|
margin-right: 0.3em;
|
||||||
border: 0;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
color: #ddd;
|
||||||
|
border-radius: 1.5em;
|
||||||
|
border: 1.5px solid #666666;
|
||||||
|
background: transparent;
|
||||||
|
font-size: 1.5em;
|
||||||
|
line-height: 0.7em;
|
||||||
|
padding: 0.4em 0.4em;
|
||||||
}
|
}
|
||||||
.closeButton::before {
|
.closeButton::before {
|
||||||
content: "X";
|
content: "✖";
|
||||||
}
|
}
|
||||||
.panel.full .closeButton { display: inherit }
|
.panel.full .closeButton { display: inherit }
|
||||||
</style>
|
</style>
|
||||||
|
|
Reference in a new issue