css changes
This commit is contained in:
parent
4209aabb96
commit
def1362bb4
7 changed files with 14 additions and 13 deletions
|
@ -8,7 +8,7 @@ const Container = styled.div`
|
||||||
position: absolute;
|
position: absolute;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
font-family: 'Tonka';
|
font-family: 'OPS-Cubic';
|
||||||
${pointerEventsAutoInNormalMode};
|
${pointerEventsAutoInNormalMode};
|
||||||
/* box-shadow: 1px 2px 10px -5px black; */
|
/* box-shadow: 1px 2px 10px -5px black; */
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,8 @@ const headerHeight = `32px`
|
||||||
|
|
||||||
const Container = styled.div<{pin: boolean}>`
|
const Container = styled.div<{pin: boolean}>`
|
||||||
${pointerEventsAutoInNormalMode};
|
${pointerEventsAutoInNormalMode};
|
||||||
font-family: 'Tonka';
|
font-family: 'OPS-Cubic';
|
||||||
|
text-transform: uppercase;
|
||||||
background-color: rgba(255, 255, 255, 1);
|
background-color: rgba(255, 255, 255, 1);
|
||||||
border: 2px solid rgba(0, 146, 255, 1);
|
border: 2px solid rgba(0, 146, 255, 1);
|
||||||
border-radius: 15px;
|
border-radius: 15px;
|
||||||
|
|
|
@ -31,10 +31,10 @@ import {HiOutlineChevronRight} from 'react-icons/all'
|
||||||
import memoizeFn from '@theatre/shared/utils/memoizeFn'
|
import memoizeFn from '@theatre/shared/utils/memoizeFn'
|
||||||
|
|
||||||
const Container = styled.div`
|
const Container = styled.div`
|
||||||
--step: 15px;
|
--step: 10px;
|
||||||
--left-pad: 15px;
|
--left-pad: 10px;
|
||||||
${pointerEventsAutoInNormalMode};
|
${pointerEventsAutoInNormalMode};
|
||||||
--right-width: 60%;
|
--right-width: 40%;
|
||||||
`
|
`
|
||||||
|
|
||||||
const Header = styled.div<{isHighlighted: PropHighlighted}>`
|
const Header = styled.div<{isHighlighted: PropHighlighted}>`
|
||||||
|
|
|
@ -18,7 +18,7 @@ const Container = deriver(styled.div<{
|
||||||
isHighlighted: PropHighlighted
|
isHighlighted: PropHighlighted
|
||||||
}>`
|
}>`
|
||||||
display: flex;
|
display: flex;
|
||||||
min-height: 30px;
|
// min-height: 30px;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
// We cannot calculate both the container (details panel) width and the descendant
|
// We cannot calculate both the container (details panel) width and the descendant
|
||||||
|
@ -29,7 +29,7 @@ const Container = deriver(styled.div<{
|
||||||
// The correct solution for tabulated UIs with dynamic container widths is to use
|
// The correct solution for tabulated UIs with dynamic container widths is to use
|
||||||
// CSS grid. For now I fixed this issue by just giving a great enough width
|
// CSS grid. For now I fixed this issue by just giving a great enough width
|
||||||
// to the details panel so most things don't break.
|
// to the details panel so most things don't break.
|
||||||
--right-width: 60%;
|
--right-width: 40%;
|
||||||
position: relative;
|
position: relative;
|
||||||
${pointerEventsAutoInNormalMode};
|
${pointerEventsAutoInNormalMode};
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ const Header = styled(BaseHeader)`
|
||||||
align-items: center;
|
align-items: center;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
font-family: 'Tonka';
|
font-family: 'OPS-Cubic';
|
||||||
|
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
/*box-shadow: 0 3px 4px -1px rgba(0, 0, 0, 0.48);*/
|
/*box-shadow: 0 3px 4px -1px rgba(0, 0, 0, 0.48);*/
|
||||||
|
|
|
@ -78,7 +78,7 @@ const Button = styled.div`
|
||||||
|
|
||||||
export const nextPrevCursorsTheme = {
|
export const nextPrevCursorsTheme = {
|
||||||
offColor: '#555',
|
offColor: '#555',
|
||||||
onColor: '#e0c917',
|
onColor: '#0092FF',
|
||||||
}
|
}
|
||||||
|
|
||||||
const CurButton = styled(Button)<{
|
const CurButton = styled(Button)<{
|
||||||
|
@ -86,7 +86,7 @@ const CurButton = styled(Button)<{
|
||||||
presence: PresenceFlag | undefined
|
presence: PresenceFlag | undefined
|
||||||
}>`
|
}>`
|
||||||
&:hover {
|
&:hover {
|
||||||
color: #e0c917;
|
color: #0092ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
color: ${(props) =>
|
color: ${(props) =>
|
||||||
|
@ -181,8 +181,8 @@ namespace Icons {
|
||||||
|
|
||||||
export const Cur = () => (
|
export const Cur = () => (
|
||||||
<svg
|
<svg
|
||||||
width="8"
|
width="12"
|
||||||
height="12"
|
height="14"
|
||||||
viewBox="0 0 8 12"
|
viewBox="0 0 8 12"
|
||||||
fill="none"
|
fill="none"
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
|
|
@ -3,7 +3,7 @@ import {css} from 'styled-components'
|
||||||
|
|
||||||
export const propNameTextCSS = css<{isHighlighted?: PropHighlighted}>`
|
export const propNameTextCSS = css<{isHighlighted?: PropHighlighted}>`
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
font-size: 11px;
|
font-size: 14px;
|
||||||
color: ${(props) =>
|
color: ${(props) =>
|
||||||
props.isHighlighted === 'self' ? '#FFFFFF77' : '#0092FF'};
|
props.isHighlighted === 'self' ? '#FFFFFF77' : '#0092FF'};
|
||||||
text-shadow: 0.5px 0.5px 2px rgba(0, 146, 255, 0.3);
|
text-shadow: 0.5px 0.5px 2px rgba(0, 146, 255, 0.3);
|
||||||
|
|
Loading…
Reference in a new issue