Form:SmokeReport/styles.css
From Landrace.Wiki - The Landrace Cannabis Wiki
More actions
/* Form:SmokeReport/styles.css
Content model must be set to "Sanitised CSS" via Special:ChangeContentModel.
Modelled on Form:NewsItem/styles.css and Form:ResearchItem/styles.css.
*/
.lw-form {
max-width: 880px;
margin: 0 auto;
font-size: 14px;
color: #34402d;
}
.lw-section {
border: 1px solid #d2ddce;
border-radius: 8px;
background: #ffffff;
margin-bottom: 14px;
overflow: hidden;
}
.lw-section-title {
background: #f7faf6;
border-bottom: 1px solid #d2ddce;
padding: 10px 14px;
font-weight: 600;
font-size: 14px;
color: #1a2612;
letter-spacing: 0.02em;
}
.lw-section-body {
padding: 14px;
}
.lw-field {
margin-bottom: 14px;
}
.lw-field:last-child {
margin-bottom: 0;
}
.lw-field-row {
display: flex;
gap: 14px;
margin-bottom: 14px;
}
.lw-field-row .lw-field {
flex: 1;
margin-bottom: 0;
}
.lw-label {
font-weight: 600;
color: #1a2612;
margin-bottom: 4px;
font-size: 13px;
}
.lw-help {
color: #5a6650;
font-size: 12px;
margin-bottom: 6px;
line-height: 1.4;
}
.lw-req {
color: #c75b3c;
font-weight: 700;
margin-left: 2px;
}
.lw-form input[type="text"],
.lw-form input[type="number"],
.lw-form select,
.lw-form textarea {
width: 100%;
box-sizing: border-box;
padding: 6px 8px;
border: 1px solid #d2ddce;
border-radius: 4px;
background: #fafbf9;
font-family: inherit;
font-size: 14px;
color: #34402d;
}
.lw-form input[type="text"]:focus,
.lw-form input[type="number"]:focus,
.lw-form select:focus,
.lw-form textarea:focus {
outline: none;
border-color: #2d6a4f;
background: #ffffff;
}
.lw-form textarea {
resize: vertical;
min-height: 60px;
line-height: 1.5;
}
@media (max-width: 700px) {
.lw-field-row {
flex-direction: column;
gap: 0;
}
.lw-field-row .lw-field {
margin-bottom: 14px;
}
}