2025-11-30 21:54:10 +00:00
|
|
|
import { cssManager, colors } from './shared.js';
|
2025-01-13 22:20:19 +01:00
|
|
|
|
2025-11-30 21:54:10 +00:00
|
|
|
import {
|
|
|
|
|
DeesElement,
|
|
|
|
|
customElement,
|
|
|
|
|
html,
|
|
|
|
|
css,
|
|
|
|
|
type TemplateResult,
|
|
|
|
|
} from '@design.estate/dees-element';
|
2025-01-13 22:20:19 +01:00
|
|
|
|
|
|
|
|
@customElement('consentsoftware-header')
|
2025-11-30 21:54:10 +00:00
|
|
|
export class ConsentsoftwareHeader extends DeesElement {
|
|
|
|
|
public static demo = () => html`<consentsoftware-header></consentsoftware-header>`;
|
2025-01-13 22:20:19 +01:00
|
|
|
|
2025-11-30 21:54:10 +00:00
|
|
|
public static styles = [
|
|
|
|
|
cssManager.defaultStyles,
|
|
|
|
|
css`
|
|
|
|
|
:host {
|
|
|
|
|
display: block;
|
|
|
|
|
padding: 14px 16px;
|
|
|
|
|
border-bottom: 1px solid ${cssManager.bdTheme(colors.light.border, colors.dark.border)};
|
|
|
|
|
}
|
2025-01-13 22:20:19 +01:00
|
|
|
|
2025-11-30 21:54:10 +00:00
|
|
|
.heading {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
font-size: 0.95em;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: ${cssManager.bdTheme(colors.light.foreground, colors.dark.foreground)};
|
|
|
|
|
}
|
2025-11-30 21:43:36 +00:00
|
|
|
|
2025-11-30 21:54:10 +00:00
|
|
|
.icon {
|
|
|
|
|
width: 18px;
|
|
|
|
|
height: 18px;
|
|
|
|
|
opacity: 0.7;
|
|
|
|
|
}
|
|
|
|
|
`,
|
|
|
|
|
];
|
2025-01-13 22:20:19 +01:00
|
|
|
|
|
|
|
|
public render(): TemplateResult {
|
|
|
|
|
return html`
|
|
|
|
|
<div class="heading">
|
2025-11-30 21:43:36 +00:00
|
|
|
<svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
|
|
|
<circle cx="12" cy="12" r="10"/>
|
|
|
|
|
<path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"/>
|
|
|
|
|
<path d="M12 17h.01"/>
|
|
|
|
|
</svg>
|
|
|
|
|
Cookie Preferences
|
2025-01-13 22:20:19 +01:00
|
|
|
</div>
|
|
|
|
|
`;
|
|
|
|
|
}
|
2025-11-30 21:54:10 +00:00
|
|
|
}
|