Compare commits

...

2 Commits

Author SHA1 Message Date
7bad85a1fa 2.0.20 2022-05-01 16:42:37 +02:00
e5056a7be3 fix(core): update 2022-05-01 16:42:37 +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-domtools",
"version": "2.0.19",
"version": "2.0.20",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@designestate/dees-domtools",
"version": "2.0.19",
"version": "2.0.20",
"license": "MIT",
"dependencies": {
"@apiglobal/typedrequest": "^2.0.3",

View File

@ -1,6 +1,6 @@
{
"name": "@designestate/dees-domtools",
"version": "2.0.19",
"version": "2.0.20",
"private": false,
"description": "tools to simplify complex css structures",
"main": "dist_ts/index.js",

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;
})();