mirror of
https://github.com/kristoferssolo/cipher-workshop.git
synced 2026-02-04 06:42:11 +00:00
feat(web): add AES-CBC page with file encryption support
This commit is contained in:
@@ -775,6 +775,12 @@ main {
|
||||
border-color: var(--primary);
|
||||
background: var(--bg-highlight);
|
||||
}
|
||||
|
||||
&.dragging {
|
||||
border-color: var(--accent);
|
||||
background: var(--bg-highlight);
|
||||
box-shadow: 0 0 0 3px var(--focus-ring);
|
||||
}
|
||||
}
|
||||
|
||||
.file-placeholder {
|
||||
@@ -795,6 +801,10 @@ main {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
padding: 0 40px;
|
||||
box-sizing: border-box;
|
||||
|
||||
.file-icon {
|
||||
font-size: 1.5rem;
|
||||
@@ -812,10 +822,33 @@ main {
|
||||
font-size: 0.85rem;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.btn-clear-file {
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
background: var(--bg-input);
|
||||
border: 1px solid var(--border);
|
||||
color: var(--error);
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 700;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: all 0.2s;
|
||||
|
||||
&:hover {
|
||||
background: var(--error);
|
||||
color: var(--bg-body);
|
||||
border-color: var(--error);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Result actions
|
||||
.result-actions {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
|
||||
Reference in New Issue
Block a user