react-scenejs-timeline
Advanced tools
Comparing version 0.1.7 to 0.1.8
export declare const PREFIX = "scenejs-editor-"; | ||
export declare const SUPPORT_POINTER_EVENTS: boolean; | ||
export declare const SUPPORT_TOUCH: boolean; | ||
export declare const CSS2: string; | ||
export declare const CSS: string; | ||
@@ -6,0 +5,0 @@ export declare const DURATION = "duration"; |
{ | ||
"name": "react-scenejs-timeline", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "A library that represents the timeline of Scene.js. You can control time, properties, and items.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/timeline.cjs.js", |
@@ -5,51 +5,2 @@ export const PREFIX = `scenejs-editor-`; | ||
export const CSS2 = ` | ||
.item-info { | ||
position: fixed; | ||
right: 0; | ||
top: 0; | ||
width: 200px; | ||
background: #000; | ||
} | ||
.options-area { | ||
} | ||
.option-area { | ||
position: relative; | ||
border-bottom: 1px solid #777; | ||
box-sizing: border-box; | ||
white-space: nowrap; | ||
background: rgba(90, 90, 90, 0.7); | ||
font-size: 13px; | ||
font-weight: bold; | ||
color: #eee; | ||
display: flex; | ||
} | ||
.option-name, .option-value { | ||
width: 50%; | ||
height: 30px; | ||
line-height: 20px; | ||
box-sizing: border-box; | ||
padding: 5px; | ||
} | ||
.option-name { | ||
border-right: 1px solid #999; | ||
} | ||
.option-value input { | ||
appearance: none; | ||
-webkit-appearance: none; | ||
outline: none; | ||
position: relative; | ||
display: block; | ||
width: 100%; | ||
height: 100%; | ||
background: transparent; | ||
color: #4af; | ||
font-weight: bold; | ||
background: none; | ||
border: 0; | ||
box-sizing: border-box; | ||
} | ||
`.replace(/\.([^{,\s\d.]+)/g, `.${PREFIX}$1`); | ||
export const CSS = ` | ||
@@ -203,3 +154,3 @@ .timeline * { | ||
height: 10px; | ||
background: #777; | ||
background: #666; | ||
transform: translate(-50%); | ||
@@ -244,3 +195,3 @@ } | ||
display: inline-block; | ||
border-right: 1px solid #999; | ||
border-right: 1px solid #666; | ||
box-sizing: border-box; | ||
@@ -288,3 +239,3 @@ } | ||
line-height: 30px; | ||
border-bottom: 1px solid #777; | ||
border-bottom: 1px solid #555; | ||
box-sizing: border-box; | ||
@@ -291,0 +242,0 @@ white-space: nowrap; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
489574
6865