SuperGradio / frontend /src /TokenInput.css
hadinicknam's picture
replace the logo , Add an option for HF_TOKEN
fe90915
.token-container {
position: relative;
z-index: 1100;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.token-button {
background-color: #5464e2;
color: white;
border: none;
border-radius: 4px;
padding: 8px 12px;
font-size: 14px;
cursor: pointer;
transition: background-color 0.2s;
}
.token-button:hover {
background-color: #4455d5;
}
.token-input-container {
position: absolute;
right: 0;
top: 100%;
margin-top: 5px;
background-color: #fff;
border-radius: 4px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
padding: 10px;
width: 280px;
}
.token-input {
width: 100%;
padding: 8px;
margin-bottom: 8px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 14px;
}
.token-actions {
display: flex;
justify-content: flex-end;
gap: 8px;
}
.token-save, .token-cancel {
padding: 6px 12px;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
}
.token-save {
background-color: #4caf50;
color: white;
border: none;
}
.token-save:hover {
background-color: #45a049;
}
.token-cancel {
background-color: #f5f5f5;
border: 1px solid #ddd;
color: #333;
}
.token-cancel:hover {
background-color: #e9e9e9;
}