fix(core): update
This commit is contained in:
parent
989d4d35d2
commit
e5056a7be3
8
ts/00_commitinfo_data.ts
Normal file
8
ts/00_commitinfo_data.ts
Normal 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'
|
||||||
|
}
|
@ -6,30 +6,28 @@ import { css, unsafeCSS } from 'lit';
|
|||||||
* changes scrollbar styles to be consistent across OS borders
|
* changes scrollbar styles to be consistent across OS borders
|
||||||
*/
|
*/
|
||||||
export const scrollBarStyles: string = (() => {
|
export const scrollBarStyles: string = (() => {
|
||||||
const returnStyles =
|
const returnStylesOld = navigator.userAgent.indexOf('Mac OS X') === -1 ? css``.cssText : ``;
|
||||||
navigator.userAgent.indexOf('Mac OS X') === -1
|
const returnStyles = css`
|
||||||
? css`
|
/* width */
|
||||||
/* width */
|
::-webkit-scrollbar {
|
||||||
::-webkit-scrollbar {
|
width: 0px;
|
||||||
width: 6px;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/* Track */
|
/* Track */
|
||||||
::-webkit-scrollbar-track {
|
::-webkit-scrollbar-track {
|
||||||
background: #111;
|
background: #111;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Handle */
|
/* Handle */
|
||||||
::-webkit-scrollbar-thumb {
|
::-webkit-scrollbar-thumb {
|
||||||
background: #666;
|
background: #666;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Handle on hover */
|
/* Handle on hover */
|
||||||
::-webkit-scrollbar-thumb:hover {
|
::-webkit-scrollbar-thumb:hover {
|
||||||
background: #777;
|
background: #777;
|
||||||
}
|
}
|
||||||
`.cssText
|
`.cssText;
|
||||||
: ``;
|
|
||||||
return returnStyles;
|
return returnStyles;
|
||||||
})();
|
})();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user