.scrollable-container {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
width: 100%;
margin-bottom: 1em;
}
.scrollable-container::-webkit-scrollbar {
height: 8px;
}
.scrollable-container::-webkit-scrollbar-thumb {
background: #888;
border-radius: 4px;
}
.scrollable-container::-webkit-scrollbar-track {
background: #f1f1f1;
}
.airdrop-form p,
.airdrop-subform p {
margin: 1em 0;
}
.airdrop-form label,
.airdrop-subform label {
display: block;
margin-bottom: 0.5em;
}
.airdrop-form input[type="text"],
.airdrop-form input[type="number"],
.airdrop-form input[type="url"],
.airdrop-form textarea,
.airdrop-form select,
.airdrop-subform input[type="text"],
.airdrop-subform input[type="url"],
.airdrop-subform textarea {
width: 100%;
max-width: 500px;
}
.airdrop-table {
width: 100%;
min-width: 600px;
border-collapse: collapse;
margin: 1em 0;
}
.airdrop-table th,
.airdrop-table td {
border: 1px solid #ddd;
padding: 8px;
text-align: left;
}
.airdrop-table th {
background-color: #f4f4f4;
}
.airdrop-table img {
max-width: 50px;
max-height: 50px;
vertical-align: middle;
}
#image_preview {
margin-top: 10px;
max-width: 100px;
max-height: 100px;
display: none;
}
#image_preview.active {
display: block;
}
.existing-image-select {
margin-top: 10px;
max-width: 500px;
}
.status-sent,
.status-done {
color: green;
font-weight: bold;
}
.button,
.responses-btn,
.view-btn {
display: inline-block;
padding: 5px 10px;
background: #0073aa;
color: #fff;
text-decoration: none;
border-radius: 3px;
border: none;
cursor: pointer;
}
.button:hover,
.responses-btn:hover,
.view-btn:hover {
background: #005177;
}
.delete-btn {
display: inline-block;
padding: 5px 10px;
background: #dc3545;
color: #fff;
text-decoration: none;
border-radius: 3px;
border: none;
cursor: pointer;
}
.delete-btn:hover {
background: #c82333;
}
.get-airdrop-btn {
padding: 5px 10px;
background: #28a745;
color: #fff;
border: none;
border-radius: 3px;
cursor: pointer;
}
.get-airdrop-btn:hover:not(:disabled) {
background: #218838;
}
.get-airdrop-btn:disabled {
background: #6c757d;
color: #ccc;
cursor: not-allowed;
}
.submit-airdrop-btn {
padding: 5px 10px;
background: #007bff;
color: #fff;
border: none;
border-radius: 3px;
cursor: pointer;
}
.submit-airdrop-btn:hover {
background: #0056b3;
}
.mark-sent-btn {
padding: 5px 10px;
background: #007bff;
color: #fff;
border: none;
border-radius: 3px;
cursor: pointer;
}
.mark-sent-btn:hover {
background: #0056b3;
}
.response-submitted {
color: #28a745;
font-weight: bold;
}
.success {
color: green;
font-weight: bold;
padding: 10px;
background: #e6ffe6;
border: 1px solid #28a745;
border-radius: 3px;
display: block;
}
.airdrop-pagination {
margin-top: 1em;
}
.airdrop-all-tasks,
.airdrop-my-tasks,
.airdrop-my-answers,
.airdrop-task-single {
margin-bottom: 2em;
}
.form-message {
margin: 1em 0;
padding: 10px;
border-radius: 3px;
}
.form-message.success {
color: green;
background: #e6ffe6;
border: 1px solid #28a745;
}
.sub-row {
display: none;
}
.sub-row.active {
display: table-row;
background: #f4fcf1;
}
.responses-table-wrapper {
display: none;
margin-top: 1em;
width: 100%;
padding: 10px;
}
.responses-table-wrapper.active {
display: block;
}
.responses-table-wrapper .airdrop-table {
width: 100%;
min-width: 600px;
}
.responses-table-wrapper .airdrop-table tr {
background: #f4fcf1;
}
.login-prompt {
color: #d9534f;
font-weight: bold;
}
.login-prompt a {
color: #0073aa;
}
.login-prompt a:hover {
color: #005177;
}
.description-wrapper,
.proof-wrapper {
position: relative;
max-width: 300px;
}
.description-short,
.description-full,
.proof-short,
.proof-full {
display: block;
}
.description-short,
.proof-short {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.description-full,
.proof-full {
display: none;
white-space: normal;
word-break: break-word;
}
.description-full.active,
.proof-full.active {
display: block;
}
.description-toggle,
.proof-toggle {
color: #0073aa;
cursor: pointer;
font-size: 12px;
margin-top: 5px;
display: inline-block;
}
.description-toggle:hover,
.proof-toggle:hover {
color: #005177;
}
.copy-wallet-message {
display: none;
margin-left: 5px;
color: #28a745;
}
@media (max-width: 600px) {
.airdrop-table th,
.airdrop-table td {
padding: 6px;
font-size: 14px;
}
.airdrop-form,
.airdrop-subform {
width: 100%;
min-width: 300px;
}
.airdrop-form input[type="text"],
.airdrop-form input[type="number"],
.airdrop-form input[type="url"],
.airdrop-form textarea,
.airdrop-form select,
.airdrop-subform input[type="text"],
.airdrop-subform input[type="url"],
.airdrop-subform textarea {
max-width: 100%;
}
}