Classes Table
All consent-UI CSS classes (banner, privacy trigger, and preferences popup shadow roots) in one compact table. For full details including default properties, tokens used, and compliance notes, see the CSS Classes page.
Classes marked with ✓ in the customizable column can be freely targeted in custom CSS. Classes marked — are protected (branding) and will cause HTTP 422 if targeted.
| name | role | customizable | description |
|---|---|---|---|
.ag-overlay | overlay | Full-viewport fixed-position backdrop. Hosts the banner inside. Neither shows nor takes clicks while the visitor has folded the banner (it carries .minimized then), or when the owner has switched the backdrop off. | |
.ag-banner | container | Visual surface of the banner — background, border, shadow, position. Renders template-specific signature decorations via ::before/::after. Carries .minimized while the visitor has folded the banner into a strip (only when visitors may minimize it). aria-modal is false then, and on a banner whose backdrop the owner has switched off. | |
.ag-banner-inner | container | Layout container — padding, max-width, grid/flex. Holds all content. | |
.ag-content | container | Wrapper around title + description + GPC notice. | |
.ag-title | text | Banner heading. Holds title text from BannerTranslation. | |
.ag-desc | text | Banner description text. May contain HTML (links, paragraphs) sanitized server-side. | |
.ag-btns | container | Button row holding Reject all, Accept all, Accept selected. All three must remain visually equal weight (GDPR). | |
.ag-btn | interactive | Base styling for all 3 consent decision buttons. | |
.ag-bar-cats | container | Settings Card containing label, Customize button, and category chip list. | |
.ag-bar-cats-header | container | Header row of Settings Card with label + Customize toggle. | |
.ag-bar-cats-label | text | Label text for the Settings Card header (e.g., "Cookie categories"). | |
.ag-bar-cats-list | container | Wrapper for category chip toggles. Not shown in the floating layout, nor in any layout of a compact banner. | |
.ag-bar-cat | interactive | Category toggle chip. Adds .on class when active. Necessary category is locked. | |
.ag-detail | container | Expandable detail panel. Hidden until Customize is clicked. | |
.ag-detail-grid | container | Grid container for 4 category cards. | |
.ag-detail-cat | container | Category card holding title + toggle + description. | |
.ag-detail-cat-head | container | Header row of category card. | |
.ag-detail-cat-name | text | Category name text. | |
.ag-detail-toggle | interactive | Switch for a category: a button that Tab reaches and Enter or Space flips; disabled for Necessary. | |
.ag-detail-cat-desc | text | Category description text. | |
.ag-links | container | Footer row with privacy + cookie policy links. | |
.ag-link | interactive | Individual policy link. | |
.ag-branding | branding | — | Powered by Kookiok attribution. **Protected** — cannot be modified via custom CSS. |
.ag-cookie-mark | branding | — | Animated cookie SVG inside branding attribution. **Protected**. |
.ag-bite | branding | — | Cookie bite shape inside the branding SVG animation. **Protected**. |
.ag-cr1 | branding | — | Cookie crumb animation element 1 within branding mark. **Protected**. |
.ag-cr2 | branding | — | Cookie crumb animation element 2 within branding mark. **Protected**. |
.ag-cr3 | branding | — | Cookie crumb animation element 3 within branding mark. **Protected**. |
.ag-bar-cat-dot | interactive | Decorative dot indicator inside a category chip. | |
.btn-primary | interactive | Modifier on .ag-btn for primary action — Accept all. Combine: `.ag-btn.btn-primary`. | |
.btn-secondary | interactive | Modifier on .ag-btn for secondary action — Reject all. Combine: `.ag-btn.btn-secondary`. | |
.btn-save | interactive | Modifier on .ag-btn for Accept Selected (visible in granular mode). Combine: `.ag-btn.btn-save`. | |
.btn-tertiary | interactive | Modifier on .ag-btn for Customize toggle. Combine: `.ag-btn.btn-tertiary`. | |
.ag-gpc-notice | text | Notice shown while the browser's Global Privacy Control signal applies and its refusal is in force, not over the visitor's own choice. | |
.ag-lang-select | interactive | Language switcher dropdown. | |
.ag-minimize | interactive | Folds the banner into a strip and unfolds it. Decides nothing about consent. | |
.ag-logo | media | Customer logo above content. Keeps its own proportions, aligned to the start. | |
.ag-trigger-btn | interactive | Floating round privacy-trigger button shown after a consent decision. Reopens the preferences popup. | |
.ag-mark | branding | — | KookiOk mark on the privacy button: a cookie on its edge, which opens into the word on hover and keyboard focus. **Protected**: cannot be modified via custom CSS. |
.ag-popup | container | Preferences popup card opened by the privacy trigger. Shows current consent per category, consent date/ID, and Change/Withdraw actions. Its background is laid on an opaque white (light theme) or black (dark theme) base, so the page never shows through. | |
.ag-popup-header | container | Header row of the preferences popup with title and close button. | |
.ag-popup-title | text | Popup heading text: the privacyTriggerTitle translation, or cookieSettingsText for the default where no regulation applies (nobody decided it). | |
.ag-popup-close | interactive | Close button (×) of the preferences popup. | |
.ag-popup-cat | container | Row showing one cookie category with its accepted/declined status icon. | |
.ag-popup-cat-icon | media | Check/cross status icon per category. `.accepted` uses --accent, `.declined` uses --surface-text-subtle. | |
.ag-popup-cat-label | text | Category name text in the popup status list. | |
.ag-popup-meta | text | Decision metadata block: the date of the decision and its consent ID (.ag-popup-id). For the default where no regulation applies only the date ("Allowed by default"): nothing was recorded. | |
.ag-popup-id | text | Consent ID line of the metadata block; breaks anywhere so the ID fits the popup. | |
.ag-popup-actions | container | Action row holding the change and withdraw buttons (privacyTriggerChange and privacyTriggerWithdraw; customizeSettingsText and rejectAllText for the default where no regulation applies). | |
.ag-popup-btn | interactive | Popup action button (privacyTriggerChange / privacyTriggerWithdraw, or customizeSettingsText / rejectAllText for the default where no regulation applies). Shares the banner button tokens. |