134 lines
2.3 KiB
CSS
134 lines
2.3 KiB
CSS
.crypto-layout {
|
|
align-items: start;
|
|
}
|
|
|
|
.paper-form,
|
|
.output-panel {
|
|
align-content: start;
|
|
}
|
|
|
|
#inputText {
|
|
min-height: 16rem;
|
|
}
|
|
|
|
#inputSalt {
|
|
min-height: 8rem;
|
|
}
|
|
|
|
#inputSalt:disabled {
|
|
opacity: 0.55;
|
|
cursor: not-allowed;
|
|
background: rgba(24, 22, 18, 0.04);
|
|
}
|
|
|
|
body.night-mode #inputSalt:disabled {
|
|
background: rgba(255, 255, 255, 0.03);
|
|
}
|
|
|
|
#outputText {
|
|
min-height: 22rem;
|
|
background: rgba(24, 22, 18, 0.04);
|
|
}
|
|
|
|
body.night-mode #outputText {
|
|
background: rgba(255, 255, 255, 0.03);
|
|
}
|
|
|
|
.panel-toolbar {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.privacy-control {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 8px 14px;
|
|
border-radius: 999px;
|
|
border: 1px dashed var(--rule-strong);
|
|
color: var(--ink-soft);
|
|
}
|
|
|
|
.toggle-container {
|
|
position: relative;
|
|
width: 3.5rem;
|
|
height: 2rem;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.checkbox {
|
|
position: absolute;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.toggle {
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: 999px;
|
|
border: 1px solid var(--rule-strong);
|
|
background: rgba(24, 22, 18, 0.08);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.toggle::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 3px;
|
|
left: 3px;
|
|
width: 1.4rem;
|
|
height: 1.4rem;
|
|
border-radius: 50%;
|
|
background: var(--paper-strong);
|
|
box-shadow: var(--button-shadow);
|
|
transition: transform 0.2s ease, background-color 0.2s ease;
|
|
}
|
|
|
|
body.night-mode .toggle {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
#passwordToggle:checked + .toggle {
|
|
background: var(--accent-soft);
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
#passwordToggle:checked + .toggle::before {
|
|
transform: translateX(1.45rem);
|
|
background: var(--accent);
|
|
}
|
|
|
|
.blurred,
|
|
.blurred::selection {
|
|
color: transparent;
|
|
text-shadow: 0 0 8px rgba(24, 22, 18, 0.55);
|
|
}
|
|
|
|
body.night-mode .blurred,
|
|
body.night-mode .blurred::selection {
|
|
text-shadow: 0 0 8px rgba(255, 255, 255, 0.45);
|
|
}
|
|
|
|
.blurred::placeholder {
|
|
color: rgba(0, 0, 0, 0.2);
|
|
text-shadow: none;
|
|
}
|
|
|
|
body.night-mode .blurred::placeholder {
|
|
color: rgba(255, 255, 255, 0.22);
|
|
}
|
|
|
|
@media (max-width: 760px) {
|
|
.panel-toolbar {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.privacy-control {
|
|
justify-content: space-between;
|
|
}
|
|
}
|