Template:NewsItemForm/styles.css: Difference between revisions
Template page
More actions
Eloise Zomia (talk | contribs) No edit summary |
Eloise Zomia (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* Template:NewsItemForm/styles.css | ||
Styles for collapsible Enforcement + Plots | Styles for collapsible Enforcement + Plots tables in Form:NewsItem | ||
*/ | */ | ||
.lw-form-collapsible { | .lw-form-collapsible { | ||
margin: 6px 0; | margin: 6px 0; | ||
| Line 149: | Line 37: | ||
padding: 6px 8px; | padding: 6px 8px; | ||
max-width: 100%; | max-width: 100%; | ||
} | |||
.lw-form-collapsible input[type="text"]:focus, | |||
.lw-form-collapsible input[type="url"]:focus, | |||
.lw-form-collapsible textarea:focus, | |||
.lw-form-collapsible select:focus { | |||
outline: none; | |||
border-color: #8bb59f; | |||
box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12); | |||
} | } | ||
Latest revision as of 15:15, 18 January 2026
/* Template:NewsItemForm/styles.css
Styles for collapsible Enforcement + Plots tables in Form:NewsItem
*/
.lw-form-collapsible {
margin: 6px 0;
border: 1px solid #d9d9d9;
border-radius: 12px;
background: #fafafa;
width: 100%;
}
.lw-form-collapsible > caption,
.lw-form-collapsible > .mw-table-caption {
padding: 10px 12px;
font-weight: 700;
}
.lw-form-collapsible tr > th,
.lw-form-collapsible tr > td {
border: none;
padding: 6px 12px;
vertical-align: top;
}
.lw-form-collapsible .mw-collapsible-toggle {
float: right;
font-weight: 600;
}
.lw-form-collapsible input[type="text"],
.lw-form-collapsible input[type="url"],
.lw-form-collapsible textarea,
.lw-form-collapsible select {
border: 1px solid #cfcfcf;
border-radius: 8px;
padding: 6px 8px;
max-width: 100%;
}
.lw-form-collapsible input[type="text"]:focus,
.lw-form-collapsible input[type="url"]:focus,
.lw-form-collapsible textarea:focus,
.lw-form-collapsible select:focus {
outline: none;
border-color: #8bb59f;
box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
}
@media (max-width: 720px) {
.lw-form-collapsible tr > th {
white-space: normal;
width: auto !important;
}
}