mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
fix(editor): Use contrasting colors for popovers and tooltips
This commit is contained in:
parent
53365a2159
commit
61d812c07d
|
@ -748,14 +748,15 @@ $popover-title-font-color: var(--color-text-dark);
|
|||
/* Tooltip
|
||||
-------------------------- */
|
||||
/// color|1|Color|0
|
||||
$tooltip-fill: var(--color-background-dark);
|
||||
$tooltip-fill: var(--color-background-xlight);
|
||||
/// color|1|Color|0
|
||||
$tooltip-color: $color-white;
|
||||
$tooltip-color: var(--color-text-base);
|
||||
/// fontSize||Font|1
|
||||
$tooltip-font-size: 12px;
|
||||
/// color||Color|0
|
||||
$tooltip-border-color: var(--color-background-dark);
|
||||
$tooltip-arrow-size: 6px;
|
||||
$tooltip-border-color: var(--color-background-medium);
|
||||
$tooltip-border-width: 1px;
|
||||
$tooltip-arrow-size: 8px;
|
||||
/// padding||Spacing|3
|
||||
$tooltip-padding: 10px;
|
||||
|
||||
|
|
|
@ -114,6 +114,7 @@
|
|||
|
||||
@include mixins.when(dark) {
|
||||
background: var.$tooltip-fill;
|
||||
border: var.$tooltip-border-width solid var.$tooltip-border-color;
|
||||
color: var.$tooltip-color;
|
||||
|
||||
&[data-popper-placement^='top'] .el-popper__arrow {
|
||||
|
|
|
@ -358,7 +358,6 @@ const onContextMenu = (e: MouseEvent): void => {
|
|||
<font-awesome-icon icon="trash" />
|
||||
</div>
|
||||
<n8n-popover
|
||||
effect="dark"
|
||||
trigger="click"
|
||||
placement="top"
|
||||
:popper-style="{ width: '208px' }"
|
||||
|
|
|
@ -59,7 +59,6 @@ onBeforeUnmount(() => {
|
|||
|
||||
<template>
|
||||
<N8nPopover
|
||||
effect="dark"
|
||||
trigger="click"
|
||||
placement="top"
|
||||
:popper-class="$style.popover"
|
||||
|
|
Loading…
Reference in a new issue