diff --git a/packages/design-system/src/components/N8nButton/Button.vue b/packages/design-system/src/components/N8nButton/Button.vue
index 3c9434b017c28..7c8988a9c8e4f 100644
--- a/packages/design-system/src/components/N8nButton/Button.vue
+++ b/packages/design-system/src/components/N8nButton/Button.vue
@@ -1,7 +1,7 @@
-
@@ -178,7 +166,8 @@ $loading-overlay-background-color: rgba(255, 255, 255, 0);
* Colors
*/
-.secondary {
+.secondary,
+.btn--cancel {
--button-color: var(--color-primary);
--button-border-color: var(--color-primary);
--button-background-color: var(--color-background-xlight);
diff --git a/packages/design-system/src/components/N8nSelect/Select.vue b/packages/design-system/src/components/N8nSelect/Select.vue
index b0fc0c62e6f43..56239a30f0db1 100644
--- a/packages/design-system/src/components/N8nSelect/Select.vue
+++ b/packages/design-system/src/components/N8nSelect/Select.vue
@@ -93,6 +93,10 @@ export default defineComponent({
},
computed: {
computedSize(): string | undefined {
+ if (this.size === 'medium') {
+ return 'default';
+ }
+
if (this.size === 'xlarge') {
return undefined;
}
diff --git a/packages/design-system/src/css/checkbox.scss b/packages/design-system/src/css/checkbox.scss
index aa31707b70357..3b79a6353227e 100644
--- a/packages/design-system/src/css/checkbox.scss
+++ b/packages/design-system/src/css/checkbox.scss
@@ -276,7 +276,7 @@
color: var(--color-primary);
}
- & [class*='el-icon-'] {
+ & .el-icon {
line-height: 0.9;
& + span {
diff --git a/packages/design-system/src/css/dialog.scss b/packages/design-system/src/css/dialog.scss
index 08c250836bdce..7b497a2544d01 100644
--- a/packages/design-system/src/css/dialog.scss
+++ b/packages/design-system/src/css/dialog.scss
@@ -16,6 +16,10 @@
@include mixins.b(overlay-dialog) {
width: 100%;
height: 100%;
+ display: flex;
+ flex-direction: column;
+ align-items: inherit;
+ justify-content: center;
padding-top: var(--spacing-2xl);
}
diff --git a/packages/design-system/src/css/icon.scss b/packages/design-system/src/css/icon.scss
index dfab446582d3e..5ffa344d56964 100644
--- a/packages/design-system/src/css/icon.scss
+++ b/packages/design-system/src/css/icon.scss
@@ -27,6 +27,24 @@
-moz-osx-font-smoothing: grayscale;
}
+.el-icon {
+ --color: inherit;
+ height: 1em;
+ width: 1em;
+ line-height: 1em;
+ display: inline-flex;
+ justify-content: center;
+ align-items: center;
+ position: relative;
+ fill: currentColor;
+ color: var(--color);
+ font-size: inherit;
+
+ svg {
+ height: 1em;
+ width: 1em;
+ }
+}
.el-icon-ice-cream-round:before {
content: '\e6a0';
}
diff --git a/packages/design-system/src/css/message-box.scss b/packages/design-system/src/css/message-box.scss
index 360130d5a6651..023c984a168f7 100644
--- a/packages/design-system/src/css/message-box.scss
+++ b/packages/design-system/src/css/message-box.scss
@@ -150,13 +150,23 @@
margin-left: 10px;
}
- //& .btn--confirm {
- // @include button.button-just-primary();
- // @include button.button-medium();
- //}
+ & .btn--confirm {
+ @include button.button-just-primary();
+ @include button.button-small();
+ }
//
- //& .btn--cancel {
- //}
+ & .btn--cancel {
+ @include button.button-small();
+ @include button.button-outline;
+
+ --button-active-background-color: var(--color-primary-tint-2);
+ --button-active-color: var(--color-primary);
+ --button-active-border-color: var(--color-primary);
+ --button-hover-background-color: var(--color-primary-tint-3);
+ --button-hover-color: var(--color-primary);
+ --button-hover-border-color: var(--color-primary);
+ --button-focus-outline-color: var(--color-primary-tint-1);
+ }
}
@include mixins.e(btns-reverse) {
diff --git a/packages/design-system/src/css/notification.scss b/packages/design-system/src/css/notification.scss
index fae03903d04b8..b948f65a0d49f 100644
--- a/packages/design-system/src/css/notification.scss
+++ b/packages/design-system/src/css/notification.scss
@@ -67,19 +67,19 @@
}
}
- .el-icon-success {
+ .el-icon.el-notification--success {
color: var.$notification-success-icon-color;
}
- .el-icon-error {
+ .el-icon.el-notification--error {
color: var.$notification-danger-icon-color;
}
- .el-icon-info {
+ .el-icon.el-notification--info {
color: var.$notification-info-icon-color;
}
- .el-icon-warning {
+ .el-icon.el-notification--warning {
color: var.$notification-warning-icon-color;
}
}
diff --git a/packages/design-system/src/css/select.scss b/packages/design-system/src/css/select.scss
index 6fed9ae001299..1b09d2656e046 100644
--- a/packages/design-system/src/css/select.scss
+++ b/packages/design-system/src/css/select.scss
@@ -165,4 +165,9 @@
height: 42px;
}
}
+ &--default {
+ .el-tag {
+ padding: var(--spacing-5xs) var(--spacing-xs);
+ }
+ }
}
diff --git a/packages/design-system/src/css/tag.scss b/packages/design-system/src/css/tag.scss
index d7e8f736e9b67..47d740fd4e752 100644
--- a/packages/design-system/src/css/tag.scss
+++ b/packages/design-system/src/css/tag.scss
@@ -104,7 +104,7 @@
box-sizing: border-box;
white-space: nowrap;
- .el-icon-close {
+ .el-icon.el-tag__close {
border-radius: 50%;
text-align: center;
position: relative;
@@ -133,7 +133,7 @@
@include mixins.m(medium) {
padding: 12px;
- .el-icon-close {
+ .el-icon.el-tag__close {
transform: scale(0.8);
}
}
@@ -143,7 +143,7 @@
padding: 0 8px;
line-height: 22px;
- .el-icon-close {
+ .el-icon.el-tag__close {
transform: scale(0.8);
}
}
@@ -153,7 +153,7 @@
padding: 0 5px;
line-height: 18px;
- .el-icon-close {
+ .el-icon.el-tag__close {
margin-left: -3px;
transform: scale(0.7);
}
diff --git a/packages/editor-ui/src/App.vue b/packages/editor-ui/src/App.vue
index 49601eef170f9..78bb5151c9224 100644
--- a/packages/editor-ui/src/App.vue
+++ b/packages/editor-ui/src/App.vue
@@ -16,11 +16,11 @@