Grid cell style updates
This commit is contained in:
parent
2e8560fd21
commit
b5eb60acd7
|
@ -145,6 +145,7 @@
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
.dropzone {
|
.dropzone {
|
||||||
|
background: var(--grid-background-alt);
|
||||||
width: 320px;
|
width: 320px;
|
||||||
padding: var(--cell-padding);
|
padding: var(--cell-padding);
|
||||||
}
|
}
|
||||||
|
|
|
@ -228,11 +228,10 @@
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: var(--cell-spacing);
|
gap: var(--cell-spacing);
|
||||||
background-color: var(--grid-background-alt);
|
|
||||||
}
|
}
|
||||||
.option:hover,
|
.option:hover,
|
||||||
.option.focused {
|
.option.focused {
|
||||||
background-color: var(--spectrum-global-color-gray-200);
|
background-color: var(--grid-background-alt);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -231,7 +231,6 @@
|
||||||
class="wrapper"
|
class="wrapper"
|
||||||
class:editable
|
class:editable
|
||||||
class:focused
|
class:focused
|
||||||
class:invertY
|
|
||||||
style="--color:{color};"
|
style="--color:{color};"
|
||||||
bind:this={anchor}
|
bind:this={anchor}
|
||||||
>
|
>
|
||||||
|
@ -324,7 +323,6 @@
|
||||||
min-height: var(--row-height);
|
min-height: var(--row-height);
|
||||||
max-height: var(--row-height);
|
max-height: var(--row-height);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
--max-relationship-height: 96px;
|
|
||||||
}
|
}
|
||||||
.wrapper.focused {
|
.wrapper.focused {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -336,10 +334,6 @@
|
||||||
max-height: none;
|
max-height: none;
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
}
|
}
|
||||||
.wrapper.invertY {
|
|
||||||
top: auto;
|
|
||||||
bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
min-height: var(--row-height);
|
min-height: var(--row-height);
|
||||||
|
@ -350,7 +344,6 @@
|
||||||
.focused .container {
|
.focused .container {
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
max-height: var(--max-relationship-height);
|
|
||||||
}
|
}
|
||||||
.focused .container:after {
|
.focused .container:after {
|
||||||
content: " ";
|
content: " ";
|
||||||
|
|
|
@ -52,8 +52,7 @@
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
:global(.grid-popover-container .spectrum-Popover) {
|
:global(.grid-popover-container .spectrum-Popover) {
|
||||||
background: var(--grid-background-alt);
|
background: var(--grid-background);
|
||||||
border: var(--cell-border);
|
|
||||||
min-width: none;
|
min-width: none;
|
||||||
max-width: none;
|
max-width: none;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
Loading…
Reference in New Issue