fix(core): update

This commit is contained in:
Philipp Kunz 2022-05-01 16:42:37 +02:00
parent 989d4d35d2
commit e5056a7be3
2 changed files with 27 additions and 21 deletions

8
ts/00_commitinfo_data.ts Normal file
View File

@ -0,0 +1,8 @@
/**
* autocreated commitinfo by @pushrocks/commitinfo
*/
export const commitinfo = {
name: '@designestate/dees-domtools',
version: '2.0.20',
description: 'tools to simplify complex css structures'
}

View File

@ -6,30 +6,28 @@ import { css, unsafeCSS } from 'lit';
* changes scrollbar styles to be consistent across OS borders
*/
export const scrollBarStyles: string = (() => {
const returnStyles =
navigator.userAgent.indexOf('Mac OS X') === -1
? css`
/* width */
::-webkit-scrollbar {
width: 6px;
}
const returnStylesOld = navigator.userAgent.indexOf('Mac OS X') === -1 ? css``.cssText : ``;
const returnStyles = css`
/* width */
::-webkit-scrollbar {
width: 0px;
}
/* Track */
::-webkit-scrollbar-track {
background: #111;
}
/* Track */
::-webkit-scrollbar-track {
background: #111;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: #666;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: #666;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #777;
}
`.cssText
: ``;
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #777;
}
`.cssText;
return returnStyles;
})();