changed some small details in the panels
This commit is contained in:
parent
938568037a
commit
b6518dcaf8
3 changed files with 9 additions and 14 deletions
|
@ -3,7 +3,7 @@ import React from 'react'
|
|||
import styled, {css} from 'styled-components'
|
||||
import noop from '@theatre/shared/utils/noop'
|
||||
import {pointerEventsAutoInNormalMode} from '@theatre/studio/css'
|
||||
import { Package} from '@theatre/studio/uiComponents/icons'
|
||||
import {Package} from '@theatre/studio/uiComponents/icons'
|
||||
|
||||
export const Container = styled.li`
|
||||
margin: 0;
|
||||
|
@ -21,7 +21,6 @@ const Header = styled(BaseHeader)`
|
|||
position: relative;
|
||||
margin-bottom: 2px;
|
||||
margin-left: calc(4px + var(--depth) * 16px);
|
||||
padding-left: 4px;
|
||||
padding-right: 8px;
|
||||
gap: 4px;
|
||||
min-height: 21px;
|
||||
|
|
|
@ -29,21 +29,19 @@ const Rect = styled.rect`
|
|||
`
|
||||
|
||||
const DefaultIcon = styled.div`
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
background-color: currentColor;
|
||||
border-radius: 0px;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 2px;
|
||||
transform: rotate(45deg);
|
||||
border: 1px solid grey;
|
||||
background: #a3a3a3;
|
||||
`
|
||||
|
||||
const FilledIcon = styled.div`
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
background-color: currentColor;
|
||||
border-radius: 0px;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 2px;
|
||||
transform: rotate(45deg);
|
||||
border: 1px solid grey;
|
||||
background: #a3a3a3;
|
||||
`
|
||||
|
||||
const DefaultOrStaticValueIndicator: React.FC<{
|
||||
|
|
|
@ -185,8 +185,6 @@ namespace Icons {
|
|||
const Cur_Group = styled.g`
|
||||
stroke-width: 0;
|
||||
${CurButton}:hover & path {
|
||||
stroke: currentColor;
|
||||
stroke-width: 2;
|
||||
}
|
||||
`
|
||||
|
||||
|
|
Loading…
Reference in a new issue