Commit dda84f3b authored by 罗超's avatar 罗超

调整鼠标和导入的渐变色调整

parent b5884533
...@@ -147,7 +147,7 @@ const handleSelectElement = (e: MouseEvent | TouchEvent, canMove = true) => { ...@@ -147,7 +147,7 @@ const handleSelectElement = (e: MouseEvent | TouchEvent, canMove = true) => {
.element-content { .element-content {
width: 100%; width: 100%;
height: 100%; height: 100%;
cursor: move; cursor: url('https://im.oytour.com/trip/cusor/c7ca2e93ad449598be9ead2d132dd05b.svg'), default;
} }
.drag-handler { .drag-handler {
position: absolute; position: absolute;
......
...@@ -176,7 +176,7 @@ const extractRotation = (matrix:any) => { ...@@ -176,7 +176,7 @@ const extractRotation = (matrix:any) => {
const getGradient = (obj: any) => { const getGradient = (obj: any) => {
const { GrFl } = obj.data const { GrFl } = obj.data
const angle = GrFl.Angl.value - 90 const angle = GrFl.Angl.value - 90
let linear = `linear-gradient(${angle}deg ` let linear = `linear-gradient(${-angle}deg `
let intr = GrFl.Grad.Intr let intr = GrFl.Grad.Intr
GrFl.Grad.Clrs.forEach((x: any, i: number) => { GrFl.Grad.Clrs.forEach((x: any, i: number) => {
const clrStr = JSON.stringify(x['Clr ']).split(',') const clrStr = JSON.stringify(x['Clr ']).split(',')
......
...@@ -53,6 +53,6 @@ const audioIconSize = computed(() => { ...@@ -53,6 +53,6 @@ const audioIconSize = computed(() => {
align-items: center; align-items: center;
} }
.audio-icon { .audio-icon {
cursor: move; cursor: url('https://im.oytour.com/trip/cusor/c7ca2e93ad449598be9ead2d132dd05b.svg'), default;
} }
</style> </style>
...@@ -113,7 +113,7 @@ const handleSelectElement = (e: MouseEvent | TouchEvent) => { ...@@ -113,7 +113,7 @@ const handleSelectElement = (e: MouseEvent | TouchEvent) => {
align-items: center; align-items: center;
} }
.audio-icon { .audio-icon {
cursor: move; cursor: url('https://im.oytour.com/trip/cusor/c7ca2e93ad449598be9ead2d132dd05b.svg'), default;
} }
.audio-player { .audio-player {
position: absolute; position: absolute;
......
...@@ -74,7 +74,7 @@ const openDataEditor = () => { ...@@ -74,7 +74,7 @@ const openDataEditor = () => {
position: absolute; position: absolute;
&.lock .element-content { &.lock .element-content {
cursor: default; cursor: url('https://im.oytour.com/trip/cusor/c7ca2e93ad449598be9ead2d132dd05b.svg'), default;
} }
} }
.rotate-wrapper { .rotate-wrapper {
...@@ -85,6 +85,6 @@ const openDataEditor = () => { ...@@ -85,6 +85,6 @@ const openDataEditor = () => {
width: 100%; width: 100%;
height: 100%; height: 100%;
overflow: hidden; overflow: hidden;
cursor: move; cursor: url('https://im.oytour.com/trip/cusor/c7ca2e93ad449598be9ead2d132dd05b.svg'), default;
} }
</style> </style>
...@@ -185,7 +185,7 @@ const handleClip = (data: ImageClipedEmitData | null) => { ...@@ -185,7 +185,7 @@ const handleClip = (data: ImageClipedEmitData | null) => {
width: 100%; width: 100%;
height: 100%; height: 100%;
position: relative; position: relative;
cursor: move; cursor: url('https://im.oytour.com/trip/cusor/c7ca2e93ad449598be9ead2d132dd05b.svg'), default;
.image-content { .image-content {
width: 100%; width: 100%;
......
...@@ -69,7 +69,7 @@ const openLatexEditor = () => { ...@@ -69,7 +69,7 @@ const openLatexEditor = () => {
position: absolute; position: absolute;
&.lock .element-content { &.lock .element-content {
cursor: default; cursor: url('https://im.oytour.com/trip/cusor/c7ca2e93ad449598be9ead2d132dd05b.svg'), default;
} }
} }
.rotate-wrapper { .rotate-wrapper {
...@@ -80,7 +80,7 @@ const openLatexEditor = () => { ...@@ -80,7 +80,7 @@ const openLatexEditor = () => {
width: 100%; width: 100%;
height: 100%; height: 100%;
position: relative; position: relative;
cursor: move; cursor: url('https://im.oytour.com/trip/cusor/c7ca2e93ad449598be9ead2d132dd05b.svg'), default;
svg { svg {
transform-origin: 0 0; transform-origin: 0 0;
......
...@@ -128,6 +128,6 @@ const path = computed(() => { ...@@ -128,6 +128,6 @@ const path = computed(() => {
} }
.line-path, .line-point { .line-path, .line-point {
pointer-events: all; pointer-events: all;
cursor: move; cursor: url('https://im.oytour.com/trip/cusor/c7ca2e93ad449598be9ead2d132dd05b.svg'), default;
} }
</style> </style>
...@@ -190,7 +190,7 @@ const startEdit = () => { ...@@ -190,7 +190,7 @@ const startEdit = () => {
pointer-events: none; pointer-events: none;
&.lock .element-content { &.lock .element-content {
cursor: default; cursor: url('https://im.oytour.com/trip/cusor/c7ca2e93ad449598be9ead2d132dd05b.svg'), default;cursor: default;
} }
&.format-painter .element-content { &.format-painter .element-content {
cursor: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzQiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIuNzUgMTMuNzY0VjEuNDIxYS4zLjMgMCAwMS40NDgtLjI2bDEwLjkxIDYuMTk3YS4zLjMgMCAwMS0uMTE2LjU1OWwtNC4xOTYuNDQyIDIuNTgyIDQuNDcyYS4zLjMgMCAwMS0uMTEuNDFsLTMuMTg0IDEuODM4YS4zLjMgMCAwMS0uNDEtLjExbC0yLjU4MS00LjQ3Mi0yLjgxIDMuNDU2YS4zLjMgMCAwMS0uNTMzLS4xODl6IiBmaWxsPSIjZmZmIiBzdHJva2U9IiMzMzMiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48cGF0aCBkPSJNMjYgMTQuNWw0LjUtNC41LTYtNmMtMiAyLTMgMi01LjUgMi41LjQgMy4yIDQuODMzIDYuNjY3IDcgOHptNC41ODgtNC40OTRhLjMuMyAwIDAwLjQyNCAwbC42OC0uNjhhMS41IDEuNSAwIDAwMC0yLjEyMUwzMC4zNCA1Ljg1MmwyLjAyNi0xLjU4MmExLjYyOSAxLjYyOSAwIDEwLTIuMjgtMi4yOTZsLTEuNjAzIDIuMDIxLTEuMzU3LTEuMzU2YTEuNSAxLjUgMCAwMC0yLjEyIDBsLS42ODEuNjhhLjMuMyAwIDAwMCAuNDI0bD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jM1MyAxLjM1M2ExLjUgMS41IDAgMDEwIDIuMTIxbC0uNjguNjh6IiBzdHJva2U9IiMzMzMiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiLz48L3N2Zz4=) 2 5, default !important;
...@@ -204,7 +204,7 @@ const startEdit = () => { ...@@ -204,7 +204,7 @@ const startEdit = () => {
width: 100%; width: 100%;
height: 100%; height: 100%;
position: relative; position: relative;
cursor: move; cursor: url('https://im.oytour.com/trip/cusor/c7ca2e93ad449598be9ead2d132dd05b.svg'), default;
svg { svg {
transform-origin: 0 0; transform-origin: 0 0;
......
...@@ -167,7 +167,7 @@ const updateSelectedCells = (cells: string[]) => { ...@@ -167,7 +167,7 @@ const updateSelectedCells = (cells: string[]) => {
position: absolute; position: absolute;
&.lock .element-content { &.lock .element-content {
cursor: default; cursor: url('https://im.oytour.com/trip/cusor/c7ca2e93ad449598be9ead2d132dd05b.svg'), default;
} }
} }
.rotate-wrapper { .rotate-wrapper {
...@@ -178,7 +178,7 @@ const updateSelectedCells = (cells: string[]) => { ...@@ -178,7 +178,7 @@ const updateSelectedCells = (cells: string[]) => {
width: 100%; width: 100%;
height: 100%; height: 100%;
position: relative; position: relative;
cursor: move; cursor: url('https://im.oytour.com/trip/cusor/c7ca2e93ad449598be9ead2d132dd05b.svg'), default;
} }
.table-mask { .table-mask {
@include absolute-0(); @include absolute-0();
......
...@@ -87,7 +87,7 @@ const { shadowStyle } = useElementShadow(shadow) ...@@ -87,7 +87,7 @@ const { shadowStyle } = useElementShadow(shadow)
padding: 10px; padding: 10px;
line-height: 1.5; line-height: 1.5;
word-break: break-word; word-break: break-word;
cursor: move; cursor: url('https://im.oytour.com/trip/cusor/c7ca2e93ad449598be9ead2d132dd05b.svg'), default;
.text { .text {
position: relative; position: relative;
......
...@@ -206,7 +206,7 @@ watch(isHandleElement, () => { ...@@ -206,7 +206,7 @@ watch(isHandleElement, () => {
position: absolute; position: absolute;
&.lock .element-content { &.lock .element-content {
cursor: default; cursor: url('https://im.oytour.com/trip/cusor/c7ca2e93ad449598be9ead2d132dd05b.svg'), default;
} }
} }
.rotate-wrapper { .rotate-wrapper {
...@@ -218,7 +218,7 @@ watch(isHandleElement, () => { ...@@ -218,7 +218,7 @@ watch(isHandleElement, () => {
padding: 10px; padding: 10px;
line-height: 1.5; line-height: 1.5;
word-break: break-word; word-break: break-word;
cursor: move; cursor: url('https://im.oytour.com/trip/cusor/c7ca2e93ad449598be9ead2d132dd05b.svg'), default;
.text { .text {
position: relative; position: relative;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment