MediaWiki:Common.css: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 628: | Line 628: | ||
/* ========================================================= | /* ========================================================= | ||
OOO FAQ – Clean | OOO FAQ – Clean Industrial | ||
========================================================= */ | ========================================================= */ | ||
| Line 635: | Line 635: | ||
} | } | ||
/* FAQ | /* FAQ card */ | ||
.ooo-faq__item { | .ooo-faq__item { | ||
border: 1px solid rgba(245,196,0,0.25); | |||
border-radius: 8px; | border-radius: 8px; | ||
background: rgba(245,196,0,0.05); | |||
margin-bottom: 14px; | |||
overflow: hidden; | overflow: hidden; | ||
transition: border 0.2s ease, background 0.2s ease; | |||
transition: | |||
} | } | ||
/* Question */ | /* Question */ | ||
.ooo-faq__question { | .ooo-faq__question { | ||
padding: 16px 22px; | padding: 16px 22px; | ||
font-weight: 700; | font-weight: 700; | ||
cursor: pointer; | cursor: pointer; | ||
position: relative; | |||
position: | |||
} | } | ||
/* Left accent */ | |||
/* Left accent | |||
.ooo-faq__question::before { | .ooo-faq__question::before { | ||
content: ""; | content: ""; | ||
| Line 686: | Line 662: | ||
width: 4px; | width: 4px; | ||
background: var(--ooo-accent); | background: var(--ooo-accent); | ||
} | |||
/* Hover */ | |||
.ooo-faq__question:hover { | |||
background: rgba(245,196,0,0.08); | |||
} | |||
/* Arrow (using MW toggle link) */ | |||
.ooo-faq__item .mw-collapsible-toggle { | |||
float: right; | |||
font-size: 0; | |||
} | |||
.ooo-faq__item .mw-collapsible-toggle::after { | |||
content: "▸"; | |||
font-size: 18px; | |||
color: var(--ooo-accent); | |||
transition: transform 0.2s ease; | |||
} | |||
/* Rotate arrow */ | |||
.ooo-faq__item:not(.mw-collapsed) .mw-collapsible-toggle::after { | |||
transform: rotate(90deg); | |||
} | } | ||
/* Answer */ | /* Answer */ | ||
.ooo- | .ooo-faq__answer { | ||
padding: 16px 22px; | padding: 16px 22px; | ||
line-height: 1.7; | line-height: 1.7; | ||
border-top: 1px solid rgba(245,196,0,0.2); | |||
} | } | ||
/* Dark theme | /* Dark theme */ | ||
.skin-theme-clientpref-night .ooo-faq__item { | .skin-theme-clientpref-night .ooo-faq__item { | ||
background: rgba(245,196,0,0.08); | background: rgba(245,196,0,0.08); | ||
border-color: rgba(245,196,0,0.35); | border-color: rgba(245,196,0,0.35); | ||
} | } | ||