Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
19a9d70
Added borders for blind and pushcard.
1307-Dev Apr 27, 2026
13dbcda
FInalizing format
1307-Dev Apr 27, 2026
da681eb
used variables instead of hardcoded strings
1307-Dev Apr 27, 2026
8a48cf2
Added change for outline variant
1307-Dev Apr 27, 2026
5db08d3
correction for bottom height
1307-Dev Apr 27, 2026
ac64e98
Merge branch 'main' into ix-4047-blind-pushcard
1307-Dev Apr 27, 2026
41d691b
added more rounded borders around the bottom corners
1307-Dev Apr 28, 2026
960a39b
Changes added to scss
1307-Dev Apr 28, 2026
af710ef
added hide
1307-Dev Apr 28, 2026
7ea4ac1
Fix
1307-Dev Apr 29, 2026
158c2cf
reverted filled to use previous CSS
1307-Dev Apr 29, 2026
78de17b
added changes for push card
1307-Dev Apr 29, 2026
2b5d218
Updating snapshots
1307-Dev Apr 29, 2026
5c94aab
Merge branch 'main' into ix-4047-blind-pushcard
1307-Dev Apr 29, 2026
f48bd9f
Merge branch 'main' into ix-4047-blind-pushcard
1307-Dev May 4, 2026
53785b2
Create brave-jeans-rule.md
nuke-ellington May 22, 2026
e642b18
Create brave-jeans-rulez.md
nuke-ellington May 22, 2026
0ed5a7b
Added changes from comments
1307-Dev Jun 5, 2026
32777b0
Merge remote-tracking branch 'origin/main' into ix-4047-blind-pushcard
1307-Dev Jun 22, 2026
fe71689
Added fix for blind animation
1307-Dev Jun 29, 2026
99a5605
Merge branch 'main' into ix-4047-blind-pushcard
1307-Dev Jun 29, 2026
c568ed9
Added some fixes
1307-Dev Jun 29, 2026
228bc96
Addressing comments
1307-Dev Jul 2, 2026
c7a1e0b
Merge branch 'main' into ix-4047-blind-pushcard
1307-Dev Jul 2, 2026
3d2de2e
Updated VRT snapshots
1307-Dev Jul 2, 2026
2048337
Added 1px border fix when collapsed
1307-Dev Jul 3, 2026
1033459
Addressing review comments regarding animation and border width
1307-Dev Jul 8, 2026
4a24d70
Merge branch 'main' into ix-4047-blind-pushcard
1307-Dev Jul 8, 2026
b9f77d2
Added push card snapshots after changes
1307-Dev Jul 8, 2026
fa52d13
Dead code cleanup
1307-Dev Jul 8, 2026
086996f
Merge branch 'main' into ix-4047-blind-pushcard
1307-Dev Jul 14, 2026
c0fa7e5
Merge branch 'main' into ix-4047-blind-pushcard
1307-Dev Jul 19, 2026
964a809
Merge branch 'main' into ix-4047-blind-pushcard
nuke-ellington Aug 10, 2026
dd847e0
fix(core/card-accordion): update animation
nuke-ellington Aug 10, 2026
af3743d
fix(core/blind): outline variant height
nuke-ellington Aug 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/brave-jeans-rule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@siemens/ix": patch
---

Color **ix-blind** borders according to variant.
5 changes: 5 additions & 0 deletions .changeset/brave-jeans-rulez.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@siemens/ix": patch
---

Color **ix-push-card** borders according to variant.
94 changes: 86 additions & 8 deletions packages/core/src/components/blind/blind.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,26 @@
* LICENSE file in the root directory of this source tree.
*/

@use 'sass:list';
@use 'sass:map';
@use 'misc/common-variables' as vars;
@use 'legacy/mixins/fonts';
@use 'mixins/hover';
@use 'mixins/text-truncation';
@use 'mixins/shadow-dom/component';

$blind-status-border: (
alarm: var(--theme-color-alarm-bdr),
critical: var(--theme-color-critical),
warning: var(--theme-color-warning-bdr),
info: var(--theme-color-info),
success: var(--theme-color-success),
neutral: var(--theme-color-neutral),
primary: var(--theme-color-primary),
);

@mixin blind($variant: 'filled') {
:host(.blind-#{$variant}) {
@if $variant == 'outline' {
border: solid
var(--theme-blind--border-thickness)
var(--theme-blind-base--border-color);
}

.blind-header {
@if $variant == 'outline' {
background-color: var(--theme-color-ghost);
Expand Down Expand Up @@ -65,11 +71,61 @@
}

@if $variant == 'outline' {
border-color: var(--theme-color-soft-bdr);
} @else {
.blind-header-wrapper {
border: solid
var(--theme-blind--border-thickness)
var(--theme-color-soft-bdr);
border-bottom: none;
border-radius: var(--theme-blind--border-radius)
var(--theme-blind--border-radius)
0
0;

@include hover.hover {
border-color: var(--theme-color-ghost--hover);
}

@include hover.active {
border-color: var(--theme-color-ghost--active);
}
}

.blind-header {
border-radius: 0;
}
}

@if $variant != 'filled' {
.blind-content {
border-radius: 0
0
var(--theme-blind--border-radius)
var(--theme-blind--border-radius);

@if $variant == 'outline' {
border: solid
var(--theme-blind--border-thickness)
var(--theme-color-soft-bdr);
border-top: none;
} @else {
border: solid
var(--theme-blind--border-thickness)
#{map.get($blind-status-border, $variant)};
border-top: none;
}
}
}

@if $variant != 'outline' {
background-color: var(--theme-blind-base--background);
}
}

@if not list.index(('filled', 'outline'), $variant) {
:host(.blind-#{$variant}[collapsed]) .blind-content {
border-width: 0;
}
}
}

:host {
Expand Down Expand Up @@ -196,6 +252,7 @@
max-height: 0;
padding-top: 0px;
padding-bottom: 0px;
border-width: 0;
}
}

Expand All @@ -220,3 +277,24 @@ $blind-variants: (
@each $variant in $blind-variants {
@include blind($variant);
}

:host(.blind-outline[collapsed]) {
.blind-header-wrapper {
box-sizing: border-box;
border-bottom: solid var(--theme-blind--border-thickness)
var(--theme-color-soft-bdr);
border-radius: var(--theme-blind--border-radius);

@include hover.hover {
border-color: var(--theme-color-ghost--hover);
}

@include hover.active {
border-color: var(--theme-color-ghost--active);
}
}

.blind-content {
border-width: 0;
}
}
52 changes: 30 additions & 22 deletions packages/core/src/components/card-accordion/card-accordion.scss
Comment thread
nuke-ellington marked this conversation as resolved.
Resolved
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
flex-direction: column;
width: 100%;
transition: var(--theme-default-time) ease-in-out;
--ix-card-accordion-expanded-height: 14.75rem;

@include component.ix-component;

Expand Down Expand Up @@ -57,18 +58,25 @@
}

.expand-content {
display: grid;
display: block;
position: relative;
grid-template-rows: 0fr;
transition: var(--theme-default-time) ease-in-out;
width: 100%;
max-height: 14.75rem;
opacity: 0;
height: 0;
overflow: hidden;
Comment thread
alexkaduk marked this conversation as resolved.
Resolved
transition: height var(--theme-default-time) ease-in-out;
}

.expand-content::after {
content: '';
position: absolute;
inset: 0;
pointer-events: none;
border-radius: var(--ix-card-accordion-expand-content--border-radius, 0);
border-top: none;
}

.expand-content.show {
grid-template-rows: 14.75rem;
opacity: 1;
height: var(--ix-card-accordion-expanded-height);
}

.expand-content-inner {
Expand All @@ -77,27 +85,27 @@
overflow: hidden;
}

.expand-content.show .expand-content-body {
display: none;
overflow: hidden;
color: var(--theme-color-std-text);
.expand-content-body {
opacity: 0;
transition: opacity var(--theme-default-time) ease-in-out;
}

.expand-content.show .expand-content-body {
display: block;
overflow: auto;
height: calc(100% - 1rem);
height: calc(var(--ix-card-accordion-expanded-height) - 1rem);
color: var(--theme-color-std-text);
opacity: 1;
}

.expand-content-footer {
display: block;
position: relative;
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 1rem;

margin-top: auto;
margin-bottom: 0px;

background-color: var(--theme-color-component-1);
border-bottom-left-radius: var(--theme-default-border-radius);
border-bottom-right-radius: var(--theme-default-border-radius);
Expand Down Expand Up @@ -130,13 +138,13 @@
);
}

.expand-content.show {
border: var(
--theme-push-card-#{$variant}-accordion-frame--border-width,
Comment thread
nuke-ellington marked this conversation as resolved.
Resolved
0px
)
.expand-content::after {
border: var(--theme-push-card-#{$variant}-accordion-frame--border-width)
solid
var(--theme-push-card-#{$variant}-accordion-frame--border-color);
transparent;
border-color: var(
--theme-push-card-#{$variant}-accordion-frame--border-color
);
}

.expand-content.show .expand-content-body {
Expand Down
30 changes: 30 additions & 0 deletions packages/core/src/components/push-card/push-card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,35 @@
solid
var(--theme-push-card-#{$variant}-accordion--border-color);
}

ix-card-accordion {
--theme-push-card-#{$variant}-accordion--background--hover: var(--theme-push-card-#{$variant}-accordion--background);
--theme-push-card-#{$variant}-accordion--background--active: var(--theme-push-card-#{$variant}-accordion--background);
--theme-push-card-#{$variant}-accordion-frame--border-color: var(--theme-push-card-#{$variant}-accordion--background);
Comment thread
nuke-ellington marked this conversation as resolved.
Resolved
--ix-card-accordion-expand-content--border-radius: 0 0 var(--theme-default-border-radius) var(--theme-default-border-radius);

@if $variant != 'outline' and $variant != 'filled' {
--ix-card-accordion-expand-content--border-radius: 0 0 calc(var(--theme-default-border-radius) + var(--theme-push-card--border-width)) calc(var(--theme-default-border-radius) + var(--theme-push-card--border-width));
}

@if $variant == 'outline' or $variant == 'filled' {
--ix-card-background: var(--theme-color-component-1);
}

@if $variant == 'outline' {
--theme-push-card-outline-accordion-frame--border-color: var(--theme-color-soft-bdr);
}
}

@if $variant == 'outline' {
ix-card {
--ix-card-border-color: var(--theme-color-soft-bdr);

&:hover,
&:active {
--ix-card-border-color: var(--theme-color-soft-bdr);
}
}
}
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Comment thread
nuke-ellington marked this conversation as resolved.
Resolved
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading