108 lines
2.1 KiB
CSS
108 lines
2.1 KiB
CSS
/* Shared styles for all tools */
|
|
|
|
.tool-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
width: 100%;
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
height: 100%;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.tool-panel {
|
|
width: 100%;
|
|
padding: 2rem;
|
|
border-radius: 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
max-height: 100%;
|
|
overflow-y: auto;
|
|
background: var(--glass-bg);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
border: 1px solid var(--glass-border);
|
|
box-shadow: var(--glass-shadow);
|
|
}
|
|
|
|
/* Custom scrollbar for tool panel */
|
|
.tool-panel::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
.tool-panel::-webkit-scrollbar-track {
|
|
background: rgba(0, 0, 0, 0.1);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.tool-panel::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.tool-panel::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
.tool-title {
|
|
margin: 0;
|
|
text-align: center;
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
background: var(--title-gradient);
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
color: transparent;
|
|
-webkit-text-fill-color: transparent;
|
|
filter: drop-shadow(0 0 10px var(--title-glow));
|
|
}
|
|
|
|
:root[data-theme="light"] .tool-title {
|
|
background: none;
|
|
-webkit-background-clip: unset;
|
|
background-clip: unset;
|
|
color: #000000;
|
|
-webkit-text-fill-color: #000000;
|
|
filter: none;
|
|
}
|
|
|
|
.tool-textarea {
|
|
width: 100%;
|
|
height: 100%;
|
|
padding: 1rem;
|
|
background-color: rgba(0, 0, 0, 0.2);
|
|
border: 1px solid var(--toggle-border);
|
|
border-radius: 12px;
|
|
color: #ffffff; /* Explicit white color for dark mode */
|
|
font-family: monospace;
|
|
font-size: 1rem;
|
|
line-height: 1.6;
|
|
resize: none;
|
|
transition: all 0.3s ease;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
:root[data-theme="light"] .tool-textarea {
|
|
color: #000000;
|
|
}
|
|
|
|
.tool-textarea:focus {
|
|
outline: none;
|
|
border-color: #00f2fe; /* Force cyan accent */
|
|
box-shadow: 0 0 0 1px #00f2fe;
|
|
}
|
|
|
|
.result-area {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
min-height: 200px;
|
|
}
|
|
|
|
.result-area label {
|
|
margin-bottom: 0.5rem;
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
}
|