proxy01 / extension /popup.css
phonglanvq002's picture
Upload folder using huggingface_hub
4a58a99 verified
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
min-width: 280px;
color: #e0e0e0;
}
.container {
padding: 20px;
}
header {
text-align: center;
margin-bottom: 16px;
}
header h1 {
font-size: 18px;
font-weight: 600;
background: linear-gradient(90deg, #00d9ff, #00ff88);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.status-card {
display: flex;
align-items: center;
gap: 10px;
padding: 12px 16px;
background: rgba(255, 255, 255, 0.05);
border-radius: 12px;
margin-bottom: 16px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.status-indicator {
width: 12px;
height: 12px;
border-radius: 50%;
background: #ff4757;
box-shadow: 0 0 10px #ff4757;
transition: all 0.3s ease;
}
.status-indicator.active {
background: #00ff88;
box-shadow: 0 0 10px #00ff88;
}
#statusText {
font-size: 14px;
font-weight: 500;
}
.toggle-section {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 16px;
padding: 12px 16px;
background: rgba(255, 255, 255, 0.05);
border-radius: 12px;
}
.toggle {
position: relative;
width: 50px;
height: 26px;
}
.toggle input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
inset: 0;
background: #3a3a5a;
border-radius: 26px;
transition: 0.3s;
}
.slider::before {
position: absolute;
content: "";
height: 20px;
width: 20px;
left: 3px;
bottom: 3px;
background: white;
border-radius: 50%;
transition: 0.3s;
}
.toggle input:checked + .slider {
background: linear-gradient(90deg, #00d9ff, #00ff88);
}
.toggle input:checked + .slider::before {
transform: translateX(24px);
}
.toggle-label {
font-size: 14px;
font-weight: 500;
}
.settings {
display: flex;
flex-direction: column;
gap: 12px;
margin-bottom: 16px;
}
.input-group {
display: flex;
flex-direction: column;
gap: 6px;
}
.input-group label {
font-size: 12px;
color: #888;
font-weight: 500;
}
.input-group input {
padding: 10px 14px;
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
background: rgba(255, 255, 255, 0.05);
color: #e0e0e0;
font-size: 14px;
transition: all 0.2s;
}
.input-group input:focus {
outline: none;
border-color: #00d9ff;
box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}
.input-group input::placeholder {
color: #555;
}
.save-btn {
width: 100%;
padding: 12px;
border: none;
border-radius: 10px;
background: linear-gradient(90deg, #00d9ff, #00ff88);
color: #1a1a2e;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
}
.save-btn:hover {
transform: translateY(-2px);
box-shadow: 0 4px 20px rgba(0, 217, 255, 0.3);
}
.save-btn:active {
transform: translateY(0);
}
footer {
text-align: center;
margin-top: 16px;
padding-top: 12px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
footer small {
font-size: 11px;
color: #666;
}