Commit 6fefb93a authored by Adarsh's avatar Adarsh

minor

parent a09fde7b
...@@ -46,21 +46,22 @@ ...@@ -46,21 +46,22 @@
height: 100%; /* Full height */ height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */ overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */ background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */ background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
} }
/* Modal Content */ /* Modal Content */
.modal-content { .modal-content {
background-color: #fefefe; background: var(--bgcolor);
margin: auto; margin: auto;
padding: 20px; padding: 20px;
border: 1px solid #888; border: 2px solid var(--color);
border-radius: 10px;
width: 80%; width: 80%;
} }
/* The Close Button */ /* The Close Button */
.close { .close {
color: #aaaaaa; color: var(--color);
float: right; float: right;
font-size: 28px; font-size: 28px;
font-weight: bold; font-weight: bold;
...@@ -68,7 +69,7 @@ ...@@ -68,7 +69,7 @@
.close:hover, .close:hover,
.close:focus { .close:focus {
color: #000; color: white;
text-decoration: none; text-decoration: none;
cursor: pointer; cursor: pointer;
} }
...@@ -34,6 +34,8 @@ export class FileComponent implements OnInit { ...@@ -34,6 +34,8 @@ export class FileComponent implements OnInit {
onClick2(): void { onClick2(): void {
var modal = document.getElementById("myModal"); var modal = document.getElementById("myModal");
modal.style.display = "none"; modal.style.display = "none";
this.shortLink = "";
this.loading = false;
} }
onChange(event) { onChange(event) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment