188 lines
3.1 KiB
CSS
188 lines
3.1 KiB
CSS
.tool h2 {
|
|
font-size: 16px;
|
|
}
|
|
|
|
/* Wrapper for input section */
|
|
.input-wrapper {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
/* Flex container for dropdown and input */
|
|
.form-group-row {
|
|
display: flex;
|
|
flex-wrap: wrap; /* Ensure responsiveness */
|
|
gap: 15px; /* Space between dropdown and input */
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.form-group-row.extended {
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* Form group styling */
|
|
.form-group {
|
|
flex: 1;
|
|
min-width: 200px;
|
|
}
|
|
|
|
.select-group {
|
|
flex: 1;
|
|
min-width: 200px;
|
|
max-width: 50%;
|
|
}
|
|
|
|
.input-group {
|
|
flex: 1;
|
|
min-width: 200px;
|
|
}
|
|
|
|
.input-group.extended {
|
|
max-width: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
font-weight: bold;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.form-group select,
|
|
.form-group input,
|
|
.form-group button:not(.remove-input-button) {
|
|
width: 100%; /* Makes fields responsive */
|
|
padding: 10px;
|
|
font-size: 1rem;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
/* Extended input styling */
|
|
.extended-input {
|
|
width: 100%;
|
|
min-height: 2.5rem;
|
|
max-height: 300px;
|
|
resize: none;
|
|
padding: 0.5rem;
|
|
line-height: 1.5;
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
border: 1px solid var(--vp-c-divider);
|
|
border-radius: 4px;
|
|
background: var(--vp-c-bg-alt);
|
|
}
|
|
|
|
.form-group button {
|
|
background-color: #333;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.form-group button:hover {
|
|
background-color: #555;
|
|
}
|
|
|
|
/* Output section */
|
|
.output-section {
|
|
margin-top: 20px;
|
|
margin-bottom: 50px;
|
|
}
|
|
|
|
.output-box-container {
|
|
position: relative;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.output-box-label {
|
|
font-size: 0.8em;
|
|
}
|
|
|
|
.output-box {
|
|
box-sizing: content-box;
|
|
border: 1px dashed #ccc;
|
|
padding: 10px;
|
|
min-height: 24px;
|
|
overflow-wrap: break-word;
|
|
white-space: pre-wrap;
|
|
font-family: monospace;
|
|
}
|
|
|
|
.placeholder {
|
|
text-align: center;
|
|
color: #888;
|
|
font-style: italic;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
/* Gradient Button Styling */
|
|
.gradient-button {
|
|
padding: 10px 20px;
|
|
font-size: 1rem;
|
|
font-weight: bold;
|
|
color: white;
|
|
background: var(--vp-home-hero-name-background);
|
|
border: none;
|
|
width: 100%;
|
|
margin: auto;
|
|
border-radius: 10px; /* Full-rounded button */
|
|
cursor: pointer;
|
|
text-transform: uppercase;
|
|
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Soft shadow */
|
|
}
|
|
|
|
.gradient-button:hover {
|
|
background: var(--primary);
|
|
}
|
|
|
|
.add-input-container >button.flat-rounded-button {
|
|
border-radius: 100px;
|
|
cursor: pointer;
|
|
text-transform: uppercase;
|
|
border: none;
|
|
padding: 10px 20px;
|
|
width: auto;
|
|
font-size: 0.85rem;
|
|
font-weight: bold;
|
|
background: transparent;
|
|
}
|
|
|
|
.add-input-container > button.flat-rounded-button:hover {
|
|
background: var(--vp-c-divider); /* Super light grey */
|
|
}
|
|
|
|
.add-input-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
padding-top: 10px;
|
|
}
|
|
|
|
.input-with-remove {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.remove-input-button {
|
|
position: absolute;
|
|
right: 8px;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.remove-input-button:hover {
|
|
color: #f46666;
|
|
}
|
|
|
|
.hint-container {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
/* Mobile responsiveness */
|
|
@media (max-width: 768px) {
|
|
.select-group {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.input-group {
|
|
width: 100%;
|
|
}
|
|
}
|