Skip to content

Commit 97b0161

Browse files
committed
Cards: Fixed styling on search
1 parent fedf061 commit 97b0161

File tree

1 file changed

+11
-21
lines changed

1 file changed

+11
-21
lines changed

assets/css/v2/style.css

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,6 @@
99
box-sizing: border-box;
1010
}
1111

12-
/* Coveo color overrides */
13-
/* More info: https://docs.coveo.com/en/atomic/latest/usage/themes-and-visual-customization/ */
14-
* {
15-
--atomic-primary: oklch(var(--color-brand)); /* Adjust the primary color */
16-
--atomic-ring-primary: oklch(var(--color-brand) / 0.4); /* Adjust the focus color */
17-
--atomic-primary-light: oklch(var(--color-brand));
18-
19-
/* Remove round corners */
20-
--atomic-border-radius-lg: 0;
21-
--atomic-border-radius-md: 0;
22-
--atomic-border-radius: 0;
23-
}
24-
2512
/* Prevent font size inflation */
2613
html {
2714
-moz-text-size-adjust: none;
@@ -143,6 +130,17 @@ textarea:not([rows]) {
143130
}
144131

145132
:root {
133+
/* Coveo color overrides */
134+
/* More info: https://docs.coveo.com/en/atomic/latest/usage/themes-and-visual-customization/ */
135+
--atomic-primary: oklch(var(--color-brand)) !important; /* Adjust the primary color */
136+
--atomic-ring-primary: oklch(var(--color-brand) / 0.4) !important; /* Adjust the focus color */
137+
--atomic-primary-light: oklch(var(--color-brand)) !important;
138+
139+
/* Remove round corners */
140+
--atomic-border-radius-lg: 0 !important;
141+
--atomic-border-radius-md: 0 !important;
142+
--atomic-border-radius: 0 !important;
143+
146144
/* webfonts */
147145
font-family: var(--font-family);
148146
font-feature-settings:
@@ -476,10 +474,6 @@ ol li:last-child {
476474
.sidebar {
477475
display: none;
478476
}
479-
480-
.header__logo {
481-
display: unset;
482-
}
483477
}
484478

485479
.header {
@@ -1159,10 +1153,6 @@ atomic-search-interface#search-standalone-header {
11591153
width: calc(100% + 2px);
11601154
margin-inline-start: -1px;
11611155
}
1162-
1163-
&::part(submit-button-wrapper) {
1164-
--atomic-primary: var(--atomic-neutral-dark);
1165-
}
11661156
}
11671157
}
11681158

0 commit comments

Comments
 (0)