Browse Source

task panel: better close button

mj-deploy
Vašek Šraier 4 years ago
parent
commit
94f74b7016
  1. 15
      frontend/src/TaskPanel.svelte

15
frontend/src/TaskPanel.svelte

@ -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>