changed some small details in the panels

This commit is contained in:
asuk 2023-06-11 14:28:31 +02:00
parent 938568037a
commit b6518dcaf8
3 changed files with 9 additions and 14 deletions

View file

@ -3,7 +3,7 @@ import React from 'react'
import styled, {css} from 'styled-components' import styled, {css} from 'styled-components'
import noop from '@theatre/shared/utils/noop' import noop from '@theatre/shared/utils/noop'
import {pointerEventsAutoInNormalMode} from '@theatre/studio/css' 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` export const Container = styled.li`
margin: 0; margin: 0;
@ -21,7 +21,6 @@ const Header = styled(BaseHeader)`
position: relative; position: relative;
margin-bottom: 2px; margin-bottom: 2px;
margin-left: calc(4px + var(--depth) * 16px); margin-left: calc(4px + var(--depth) * 16px);
padding-left: 4px;
padding-right: 8px; padding-right: 8px;
gap: 4px; gap: 4px;
min-height: 21px; min-height: 21px;

View file

@ -29,21 +29,19 @@ const Rect = styled.rect`
` `
const DefaultIcon = styled.div` const DefaultIcon = styled.div`
width: 5px; width: 8px;
height: 5px; height: 8px;
background-color: currentColor; border-radius: 2px;
border-radius: 0px;
transform: rotate(45deg); transform: rotate(45deg);
border: 1px solid grey; background: #a3a3a3;
` `
const FilledIcon = styled.div` const FilledIcon = styled.div`
width: 5px; width: 8px;
height: 5px; height: 8px;
background-color: currentColor; border-radius: 2px;
border-radius: 0px;
transform: rotate(45deg); transform: rotate(45deg);
border: 1px solid grey; background: #a3a3a3;
` `
const DefaultOrStaticValueIndicator: React.FC<{ const DefaultOrStaticValueIndicator: React.FC<{

View file

@ -185,8 +185,6 @@ namespace Icons {
const Cur_Group = styled.g` const Cur_Group = styled.g`
stroke-width: 0; stroke-width: 0;
${CurButton}:hover & path { ${CurButton}:hover & path {
stroke: currentColor;
stroke-width: 2;
} }
` `