135 lines
2.2 KiB
CSS
135 lines
2.2 KiB
CSS
.pin-selector-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
z-index: 1000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.pin-selector {
|
|
position: relative;
|
|
background-color: #2d2d2d;
|
|
border: 1px solid #555;
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
min-width: 320px;
|
|
max-width: 400px;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.pin-selector-header {
|
|
margin-bottom: 15px;
|
|
border-bottom: 1px solid #444;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.pin-selector-header h4 {
|
|
margin: 0 0 5px 0;
|
|
color: #fff;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.component-type-label {
|
|
font-size: 12px;
|
|
color: #888;
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.pin-group {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.pin-group-label {
|
|
font-size: 13px;
|
|
color: #aaa;
|
|
margin-bottom: 8px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.pin-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(7, 1fr);
|
|
gap: 6px;
|
|
}
|
|
|
|
.pin-button {
|
|
padding: 8px 4px;
|
|
background-color: #3d3d3d;
|
|
border: 1px solid #555;
|
|
border-radius: 4px;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.pin-button:hover {
|
|
background-color: #4d4d4d;
|
|
border-color: #007acc;
|
|
}
|
|
|
|
.pin-button.selected {
|
|
background-color: #007acc;
|
|
border-color: #007acc;
|
|
color: #fff;
|
|
}
|
|
|
|
.pin-button.current {
|
|
background-color: #28a745;
|
|
border-color: #28a745;
|
|
color: #fff;
|
|
}
|
|
|
|
.pin-button.selected.current {
|
|
background-color: #007acc;
|
|
border-color: #007acc;
|
|
}
|
|
|
|
.pin-selector-footer {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
margin-top: 15px;
|
|
padding-top: 15px;
|
|
border-top: 1px solid #444;
|
|
}
|
|
|
|
.pin-selector-footer .btn {
|
|
padding: 8px 16px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.pin-selector-footer .btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.pin-selector-footer .btn-primary {
|
|
background-color: #007acc;
|
|
color: white;
|
|
}
|
|
|
|
.pin-selector-footer .btn-primary:hover:not(:disabled) {
|
|
background-color: #005a9e;
|
|
}
|
|
|
|
.pin-selector-footer .btn-secondary {
|
|
background-color: #6c757d;
|
|
color: white;
|
|
}
|
|
|
|
.pin-selector-footer .btn-secondary:hover {
|
|
background-color: #5a6268;
|
|
}
|