transbeam/static/transbeam.css

85 lines
1.2 KiB
CSS

body {
text-align: center;
font-family: sans-serif;
max-width: 512px;
margin: 0.5em auto;
padding: 0 1em;
}
#header h1 {
margin-top: 5px;
}
#progress_container {
margin: 10px auto;
}
#progress_bar {
height: 20px;
border-radius: 10px;
border: 1px solid #48f;
background-image: linear-gradient(0deg, #27f, #27f);
background-repeat: no-repeat;
background-size: 0;
}
table {
border-collapse: collapse;
margin: 20px auto;
}
tr {
background-image: linear-gradient(0deg, #7af, #7af);
background-repeat: no-repeat;
background-size: 0;
}
tr + tr td {
border-top: 1px solid #ddd;
}
td {
padding: 10px;
}
td.file_size {
text-align: right;
}
td.file_name {
text-align: left;
}
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;
}
button:disabled, input:disabled + .fake_button {
color: #aaa;
background-color: #eee;
border-color: #ddd;
cursor: not-allowed;
}
#footer {
margin-top: 30px;
}
#footer h5 {
margin: 5px auto;
}