|
Tags: Blanking Manual revert |
| (16 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| /* =========================
| |
| SUBTABS WRAPPER
| |
| ========================= */
| |
| .subtab-wrapper {
| |
| border-bottom: 1px solid #a2a9b1;
| |
| margin-bottom: 1em;
| |
| padding-bottom: 0.25em;
| |
| }
| |
|
| |
|
| /* =========================
| |
| FLEX CONTAINER FIX
| |
| ========================= */
| |
| .subtab-list {
| |
| display: flex !important;
| |
| flex-direction: row;
| |
| flex-wrap: wrap; /* change to nowrap if you want scroll tabs */
| |
|
| |
| gap: 0.4rem;
| |
|
| |
| margin: 0;
| |
| padding: 0;
| |
|
| |
| list-style: none;
| |
|
| |
| align-items: center;
| |
|
| |
| /* prevents Citizen overrides */
| |
| width: 100%;
| |
| }
| |
|
| |
| /* =========================
| |
| TAB ITEMS (CRITICAL FIX)
| |
| ========================= */
| |
| .subtab-item {
| |
| display: inline-flex !important;
| |
| width: auto !important;
| |
|
| |
| padding: 0.25em 0.6em;
| |
|
| |
| border-radius: 4px;
| |
|
| |
| white-space: nowrap;
| |
|
| |
| text-decoration: none;
| |
| }
| |
|
| |
| /* Make MediaWiki links inside spans behave properly */
| |
| .subtab-item a {
| |
| text-decoration: none;
| |
| color: inherit;
| |
| }
| |
|
| |
| /* =========================
| |
| ACTIVE TAB
| |
| ========================= */
| |
| .subtab-item.active {
| |
| font-weight: 600;
| |
| border-bottom: 2px solid #36c;
| |
| }
| |
|
| |
| /* =========================
| |
| OPTIONAL: HOVER EFFECT
| |
| ========================= */
| |
| .subtab-item:hover {
| |
| background: rgba(54, 108, 204, 0.08);
| |
| }
| |
|
| |
| /* =========================
| |
| EMERGENCY OVERRIDE (Citizen safety net)
| |
| ========================= */
| |
| .subtab-list > * {
| |
| display: inline-flex !important;
| |
| width: auto !important;
| |
| }
| |