transbeam/static/transbeam.css

147 lines
2.3 KiB
CSS
Raw Normal View History

2022-04-27 23:52:45 -04:00
body {
text-align: center;
font-family: sans-serif;
max-width: 512px;
2022-04-28 00:01:16 -04:00
margin: 0.5em auto;
padding: 0 1em;
}
#header h1 {
margin-top: 5px;
2022-04-27 23:52:45 -04:00
}
#progress_container {
margin: 10px auto;
}
#progress_bar {
2022-04-28 02:28:10 -04:00
height: 20px;
border-radius: 10px;
2022-04-27 23:52:45 -04:00
border: 1px solid #48f;
2022-04-28 02:28:10 -04:00
background-image: linear-gradient(0deg, #27f, #27f);
background-repeat: no-repeat;
background-size: 0;
2022-04-27 23:52:45 -04:00
}
2022-04-28 03:24:05 -04:00
#download_link_container {
border: 1px solid #ddd;
border-radius: 4px;
padding: 10px;
cursor: pointer;
width: fit-content;
margin: 10px auto;
position: relative;
}
#download_link_container:hover {
border-color: #777;
}
#download_link_main {
display: flex;
align-items: center;
gap: 10px;
}
.copy_button {
width: 18px;
height: 18px;
background-color: #333;
2022-04-30 01:46:21 -04:00
mask-image: url("images/feather-icons/copy.svg");
2022-04-28 03:24:05 -04:00
mask-size: contain;
mask-repeat: no-repeat;
}
#download_link_container:hover .copy_button {
background-color: #000;
}
#copied_message {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
margin: auto;
height: fit-content;
}
2022-04-27 23:52:45 -04:00
table {
border-collapse: collapse;
margin: 20px auto;
}
2022-04-28 02:19:43 -04:00
tr {
background-image: linear-gradient(0deg, #7af, #7af);
background-repeat: no-repeat;
background-size: 0;
}
2022-04-27 23:52:45 -04:00
tr + tr td {
border-top: 1px solid #ddd;
}
td {
padding: 10px;
}
2022-04-28 03:35:02 -04:00
td.file_delete {
background-color: #888;
2022-04-30 01:46:21 -04:00
mask-image: url("images/feather-icons/x.svg");
2022-04-28 03:35:02 -04:00
mask-size: contain;
mask-repeat: no-repeat;
mask-position: center;
padding-left: 15px;
padding-right: 15px;
cursor: pointer;
}
td.file_delete:hover {
background-color: #f00;
}
2022-04-27 23:52:45 -04:00
td.file_size {
text-align: right;
}
td.file_name {
text-align: left;
}
2022-04-26 23:54:29 -04:00
input[type="file"] {
display: none;
}
button, .fake_button {
font-size: 18px;
color: #000;
background-color: #ccc;
border: 1px solid #bbb;
border-radius: 4px;
padding: 6px 12px;
cursor: pointer;
}
button:hover, .fake_button:hover {
background-color: #aaa;
}
2022-04-27 21:47:52 -04:00
button:disabled, input:disabled + .fake_button {
2022-04-26 23:54:29 -04:00
color: #aaa;
background-color: #eee;
border-color: #ddd;
2022-04-27 21:47:52 -04:00
cursor: not-allowed;
2022-04-26 23:54:29 -04:00
}
2022-04-27 23:52:45 -04:00
#lifetime_container {
margin-top: 10px;
}
2022-04-27 23:52:45 -04:00
#footer {
margin-top: 30px;
}
#footer h5 {
margin: 5px auto;
}