fix(core): update

This commit is contained in:
Philipp Kunz 2023-09-15 20:11:51 +02:00
parent 2a2fd324a0
commit 8534bc254b
2 changed files with 16 additions and 10 deletions

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@design.estate/dees-catalog', name: '@design.estate/dees-catalog',
version: '1.0.204', version: '1.0.205',
description: 'website for lossless.com' description: 'website for lossless.com'
} }

View File

@ -199,7 +199,7 @@ export class DeesTable<T> extends DeesElement {
cursor: pointer; cursor: pointer;
} }
tr:hover td { tr:hover td {
background: ${cssManager.bdTheme('#22222210', '#ffffff20')}; background: ${cssManager.bdTheme('#22222210', '#ffffff10')};
} }
tr:first-child:hover { tr:first-child:hover {
cursor: auto; cursor: auto;
@ -208,8 +208,13 @@ export class DeesTable<T> extends DeesElement {
background: none; background: none;
} }
tr.selected td { tr.selected td {
background: ${cssManager.bdTheme('#22222220', '#ffffff40')}; background: ${cssManager.bdTheme('#22222220', '#ffffff20')};
} }
tr.hasAttachment td {
background: ${cssManager.bdTheme('#0098847c', '#0098847c')};
}
th { th {
text-transform: uppercase; text-transform: uppercase;
} }
@ -249,7 +254,7 @@ export class DeesTable<T> extends DeesElement {
right: 0px; right: 0px;
left: 0px; left: 0px;
position: absolute; position: absolute;
background: #00000060; background: #fa610140;
color: inherit; color: inherit;
font-family: inherit; font-family: inherit;
font-size: inherit; font-size: inherit;
@ -258,9 +263,10 @@ export class DeesTable<T> extends DeesElement {
} }
.action { .action {
margin: -8px 0px; margin: -6px 0px;
padding: 8px; padding: 10px;
line-height: 16px; line-height: 36px;
height: 36px;
display: inline-block; display: inline-block;
} }
@ -270,7 +276,7 @@ export class DeesTable<T> extends DeesElement {
} }
.action:hover { .action:hover {
background: ${cssManager.bdTheme('#CCC', '#111')}; background: ${cssManager.bdTheme('#CCC', '#00000030')};
} }
.footer { .footer {
@ -391,14 +397,14 @@ export class DeesTable<T> extends DeesElement {
console.log('dragenter'); console.log('dragenter');
console.log(realTarget); console.log(realTarget);
setTimeout(() => { setTimeout(() => {
realTarget.style.background = 'green'; realTarget.classList.add('hasAttachment');
}, 0); }, 0);
}} }}
@dragleave=${async (eventArg: DragEvent) => { @dragleave=${async (eventArg: DragEvent) => {
eventArg.preventDefault(); eventArg.preventDefault();
eventArg.stopPropagation(); eventArg.stopPropagation();
const realTarget = getTr(eventArg.target as HTMLElement); const realTarget = getTr(eventArg.target as HTMLElement);
realTarget.style.background = 'none'; realTarget.classList.remove('hasAttachment');
}} }}
@dragover=${async (eventArg: DragEvent) => { @dragover=${async (eventArg: DragEvent) => {
eventArg.preventDefault(); eventArg.preventDefault();