Skip to content

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.

namerolecustomizabledescription
.ag-overlayoverlay 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-bannercontainer 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-innercontainer Layout container — padding, max-width, grid/flex. Holds all content.
.ag-contentcontainer Wrapper around title + description + GPC notice.
.ag-titletext Banner heading. Holds title text from BannerTranslation.
.ag-desctext Banner description text. May contain HTML (links, paragraphs) sanitized server-side.
.ag-btnscontainer Button row holding Reject all, Accept all, Accept selected. All three must remain visually equal weight (GDPR).
.ag-btninteractive Base styling for all 3 consent decision buttons.
.ag-bar-catscontainer Settings Card containing label, Customize button, and category chip list.
.ag-bar-cats-headercontainer Header row of Settings Card with label + Customize toggle.
.ag-bar-cats-labeltext Label text for the Settings Card header (e.g., "Cookie categories").
.ag-bar-cats-listcontainer Wrapper for category chip toggles. Not shown in the floating layout, nor in any layout of a compact banner.
.ag-bar-catinteractive Category toggle chip. Adds .on class when active. Necessary category is locked.
.ag-detailcontainer Expandable detail panel. Hidden until Customize is clicked.
.ag-detail-gridcontainer Grid container for 4 category cards.
.ag-detail-catcontainer Category card holding title + toggle + description.
.ag-detail-cat-headcontainer Header row of category card.
.ag-detail-cat-nametext Category name text.
.ag-detail-toggleinteractive Switch for a category: a button that Tab reaches and Enter or Space flips; disabled for Necessary.
.ag-detail-cat-desctext Category description text.
.ag-linkscontainer Footer row with privacy + cookie policy links.
.ag-linkinteractive Individual policy link.
.ag-brandingbranding — Powered by Kookiok attribution. **Protected** — cannot be modified via custom CSS.
.ag-cookie-markbranding — Animated cookie SVG inside branding attribution. **Protected**.
.ag-bitebranding — Cookie bite shape inside the branding SVG animation. **Protected**.
.ag-cr1branding — Cookie crumb animation element 1 within branding mark. **Protected**.
.ag-cr2branding — Cookie crumb animation element 2 within branding mark. **Protected**.
.ag-cr3branding — Cookie crumb animation element 3 within branding mark. **Protected**.
.ag-bar-cat-dotinteractive Decorative dot indicator inside a category chip.
.btn-primaryinteractive Modifier on .ag-btn for primary action — Accept all. Combine: `.ag-btn.btn-primary`.
.btn-secondaryinteractive Modifier on .ag-btn for secondary action — Reject all. Combine: `.ag-btn.btn-secondary`.
.btn-saveinteractive Modifier on .ag-btn for Accept Selected (visible in granular mode). Combine: `.ag-btn.btn-save`.
.btn-tertiaryinteractive Modifier on .ag-btn for Customize toggle. Combine: `.ag-btn.btn-tertiary`.
.ag-gpc-noticetext 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-selectinteractive Language switcher dropdown.
.ag-minimizeinteractive Folds the banner into a strip and unfolds it. Decides nothing about consent.
.ag-logomedia Customer logo above content. Keeps its own proportions, aligned to the start.
.ag-trigger-btninteractive Floating round privacy-trigger button shown after a consent decision. Reopens the preferences popup.
.ag-markbranding — 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-popupcontainer 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-headercontainer Header row of the preferences popup with title and close button.
.ag-popup-titletext Popup heading text: the privacyTriggerTitle translation, or cookieSettingsText for the default where no regulation applies (nobody decided it).
.ag-popup-closeinteractive Close button (×) of the preferences popup.
.ag-popup-catcontainer Row showing one cookie category with its accepted/declined status icon.
.ag-popup-cat-iconmedia Check/cross status icon per category. `.accepted` uses --accent, `.declined` uses --surface-text-subtle.
.ag-popup-cat-labeltext Category name text in the popup status list.
.ag-popup-metatext 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-idtext Consent ID line of the metadata block; breaks anywhere so the ID fits the popup.
.ag-popup-actionscontainer Action row holding the change and withdraw buttons (privacyTriggerChange and privacyTriggerWithdraw; customizeSettingsText and rejectAllText for the default where no regulation applies).
.ag-popup-btninteractive Popup action button (privacyTriggerChange / privacyTriggerWithdraw, or customizeSettingsText / rejectAllText for the default where no regulation applies). Shares the banner button tokens.