Compare commits

..

8 Commits

Author SHA1 Message Date
68ccc02699 1.0.86 2022-05-20 21:04:59 +02:00
ed1c18b8ac fix(core): update 2022-05-20 21:04:59 +02:00
e8cc4c7c90 1.0.85 2022-05-20 19:51:21 +02:00
187ebed3ab fix(core): update 2022-05-20 19:51:20 +02:00
b909617271 1.0.84 2022-05-20 19:48:48 +02:00
9c2fe9f739 fix(core): update 2022-05-20 19:48:48 +02:00
ed49de64bc 1.0.83 2022-05-20 19:43:17 +02:00
162003ba7a fix(core): update 2022-05-20 19:43:16 +02:00
4 changed files with 30 additions and 24 deletions

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "@designestate/dees-catalog", "name": "@designestate/dees-catalog",
"version": "1.0.82", "version": "1.0.86",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@designestate/dees-catalog", "name": "@designestate/dees-catalog",
"version": "1.0.82", "version": "1.0.86",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@designestate/dees-domtools": "^2.0.22", "@designestate/dees-domtools": "^2.0.22",

View File

@@ -1,6 +1,6 @@
{ {
"name": "@designestate/dees-catalog", "name": "@designestate/dees-catalog",
"version": "1.0.82", "version": "1.0.86",
"private": false, "private": false,
"description": "website for lossless.com", "description": "website for lossless.com",
"main": "dist_ts_web/index.js", "main": "dist_ts_web/index.js",

View File

@@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@designestate/dees-catalog', name: '@designestate/dees-catalog',
version: '1.0.82', version: '1.0.86',
description: 'website for lossless.com' description: 'website for lossless.com'
} }

View File

@@ -50,7 +50,7 @@ export class DeesSpeechbubble extends DeesElement {
position: relative; position: relative;
display: block; display: block;
box-sizing: border-box; box-sizing: border-box;
color: #fff; color: ${cssManager.bdTheme('#333', '#fff')};
cursor: pointer; cursor: pointer;
user-select: none; user-select: none;
} }
@@ -58,23 +58,34 @@ export class DeesSpeechbubble extends DeesElement {
display: none; display: none;
} }
.maincontainer {
position: relative;
transition: all 0.2s;
margin-left: 0px;
}
.maincontainer:hover {
margin-left: 3px;
}
.arrow { .arrow {
position: absolute; position: absolute;
transform: rotate(45deg); transform: rotate(45deg);
background: #333; background: ${cssManager.bdTheme('#fff', '#333')};
height: 20px; height: 15px;
width: 20px; width: 15px;
left: 5px; left: 4px;
top: 5px; top: 5px;
border-radius: 3px; border-radius: 2px;
} }
.maincontainer { .speechbubble {
background: #333; background: ${cssManager.bdTheme('#fff', '#333')};
padding: 0px 10px; padding: 0px 10px;
border-radius: 3px; border-radius: 3px;
position: absolute; position: absolute;
line-height: 30px; line-height: 25px;
font-size: 12px;
top: 0px; top: 0px;
left: 8px; left: 8px;
} }
@@ -118,24 +129,19 @@ export class DeesSpeechbubble extends DeesElement {
public render(): TemplateResult { public render(): TemplateResult {
return html` return html`
<div class="maincontainer" @click=${this.handleClick}>
<div class="arrow"></div> <div class="arrow"></div>
<div class="maincontainer"><span class="wave">👋</span> Hey! We are consulting.</div> <div class="speechbubble"><span class="wave">👋</span> Hey! We are consulting.</div>
</div>
`; `;
} }
public async dispatchClick() { public async handleClick() {
if (this.disabled) { if (this.disabled) {
return; return;
} }
this.dispatchEvent( globalThis.location.href = "https://lossless.consulting"
new CustomEvent('clicked', {
detail: {
data: null,
},
bubbles: true,
})
);
} }
public async firstUpdated() { public async firstUpdated() {