@@ -133,8 +140,10 @@ export default {
return this.type === 'seamless';
},
btnType() {
- if (this.isSeamless || this.type === 'light') {
+ if (this.type === 'light') {
return 'btn-outline-secondary';
+ } else if (this.isSeamless) {
+ return '';
}
return `btn-outline-${this.type || 'secondary'}`;
},
@@ -151,12 +160,12 @@ export default {
},
cardType() {
if (this.isSeamless) {
- return 'bg-white';
+ return 'bg-transparent';
}
return `bg-${this.type || 'light'}`;
},
isLightBg() {
- return this.cardType === 'bg-light' || this.cardType === 'bg-white' || this.cardType === 'bg-warning';
+ return this.cardType === 'bg-light' || this.cardType === 'bg-warning';
},
},
};
@@ -175,6 +184,13 @@ export default {
.seamless-button {
opacity: 0;
transition: 0.3s opacity;
+ color: inherit;
+ border-color: inherit;
+ }
+
+ .seamless-button:hover {
+ border-color: transparent;
+ background-color: color-mix(in srgb, currentcolor 25%, transparent);
}
.card-header:hover .seamless-button {
@@ -229,6 +245,10 @@ export default {
width: 100%;
}
+ .card-seamless {
+ background-color: inherit;
+ }
+
.card-title {
display: inline-block;
font-size: 1em;
@@ -279,6 +299,8 @@ export default {
.card-collapse > hr {
margin-top: 0;
+ background-color: currentcolor;
+ opacity: 0.5;
}
.card-group > .card-container > .expandable-card {
@@ -292,7 +314,7 @@ export default {
.bottom-button-wrapper > .collapse-button {
margin-top: 5px;
- opacity: 0.2;
+ opacity: 0.5;
}
.bottom-button-wrapper > .collapse-button:hover {
@@ -324,6 +346,14 @@ export default {
align-items: center;
}
+ .morph-display-wrapper-seamless {
+ color: inherit;
+ }
+
+ .morph-display-wrapper-seamless:hover {
+ color: inherit;
+ }
+
/* Bootstrap extra small(xs) responsive breakpoint */
@media (width <= 575.98px) {
.header-wrapper {
diff --git a/packages/vue-components/src/panels/PanelSwitch.vue b/packages/vue-components/src/panels/PanelSwitch.vue
index f775c4262b..8350a60e3b 100644
--- a/packages/vue-components/src/panels/PanelSwitch.vue
+++ b/packages/vue-components/src/panels/PanelSwitch.vue
@@ -1,7 +1,9 @@