Fancified the template selector
This commit is contained in:
@ -738,25 +738,65 @@ input:checked + .toggle-slider:before {
|
||||
}
|
||||
|
||||
.protocol-template-selector {
|
||||
padding: 2rem;
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
background-color: rgba(0, 0, 0, 0.02);
|
||||
}
|
||||
|
||||
.protocol-template-selector label {
|
||||
display: block;
|
||||
margin-bottom: 0.75rem;
|
||||
font-weight: 500;
|
||||
font-size: 1.1rem;
|
||||
.protocol-template-selector .stage-header {
|
||||
background-color: rgba(0, 0, 0, 0.02);
|
||||
}
|
||||
|
||||
.protocol-template-select {
|
||||
width: 100%;
|
||||
padding: 0.75rem;
|
||||
.template-body {
|
||||
padding: 0 2rem 2rem;
|
||||
}
|
||||
|
||||
.template-options {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
padding-top: 1rem;
|
||||
}
|
||||
|
||||
.template-option {
|
||||
border: 1px solid var(--border-color);
|
||||
font-family: inherit;
|
||||
background-color: var(--light-color);
|
||||
margin-bottom: 1rem;
|
||||
padding: 1.5rem;
|
||||
background-color: white;
|
||||
border-radius: 4px;
|
||||
transition: border-color 0.3s, box-shadow 0.3s;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.template-option:hover {
|
||||
border-color: #aaa;
|
||||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.template-option.selected {
|
||||
border-color: var(--dark-color);
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.template-select-btn {
|
||||
display: block;
|
||||
font-size: 1.2rem;
|
||||
font-weight: 600;
|
||||
margin-bottom: 0.75rem;
|
||||
color: var(--dark-color);
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 0;
|
||||
text-align: left;
|
||||
cursor: inherit;
|
||||
}
|
||||
|
||||
/* Remove the underline effect */
|
||||
|
||||
.template-description {
|
||||
font-size: 0.95rem;
|
||||
color: var(--secondary-color);
|
||||
margin: 0;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.protocol-metadata {
|
||||
@ -773,11 +813,11 @@ input:checked + .toggle-slider:before {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.metadata-field label {
|
||||
display: block;
|
||||
margin-bottom: 0.75rem;
|
||||
font-weight: 500;
|
||||
font-size: 1.1rem;
|
||||
.metadata-field h2 {
|
||||
font-size: 1.4rem;
|
||||
margin: 0 0 0.75rem 0;
|
||||
color: var(--dark-color);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.metadata-field input[type="text"] {
|
||||
@ -786,6 +826,8 @@ input:checked + .toggle-slider:before {
|
||||
border: 1px solid var(--border-color);
|
||||
font-family: inherit;
|
||||
background-color: var(--light-color);
|
||||
font-size: 1.25rem; /* Larger font size for community name */
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.metadata-field textarea {
|
||||
|
Reference in New Issue
Block a user