fix(core): update

This commit is contained in:
Philipp Kunz 2023-01-13 00:46:17 +01:00
parent 3792c5edf5
commit fb48425c13
2 changed files with 15 additions and 6 deletions

View File

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

View File

@ -61,16 +61,12 @@ export class DeesSpinner extends DeesElement {
} }
#loading.success { #loading.success {
border: 0px solid rgba(255, 255, 255, 0);
background: #8bc34a;
border-radius: 50%; border-radius: 50%;
animation: none; animation: none;
-webkit-animation: none; -webkit-animation: none;
} }
#loading.error { #loading.error {
border: 0px solid rgba(255, 255, 255, 0);
background: #e64a19;
border-radius: 50%; border-radius: 50%;
animation: none; animation: none;
-webkit-animation: none; -webkit-animation: none;
@ -88,11 +84,18 @@ export class DeesSpinner extends DeesElement {
} }
dees-icon { dees-icon {
color: #fff;
position: absolute; position: absolute;
height: 100%; height: 100%;
width: 100%; width: 100%;
} }
#loading.success dees-icon {
color: #8bc34a;
}
#loading.error dees-icon {
color: #e64a19;
}
`, `,
]; ];
@ -103,6 +106,12 @@ export class DeesSpinner extends DeesElement {
width: ${this.size}px; width: ${this.size}px;
height: ${this.size}px; height: ${this.size}px;
} }
#loading.success {
border: ${Math.round(this.size * 0.08)}px solid ${cssManager.bdTheme(`#8bc34a`, '#8bc34a')}
}
#loading.error {
border: ${Math.round(this.size * 0.1)}px solid ${cssManager.bdTheme(`#e64a19`, '#e64a19')}
}
dees-icon { dees-icon {
font-size: ${Math.round(this.size * 0.6)}px; font-size: ${Math.round(this.size * 0.6)}px;
} }