* feat(ui): some design mocks * fix(ui): some fixes for stuff * feat(ui): test overview page layout * feat(ui): fix placeholder * feat(ui): answers table modal * feat(tracker): user testing module in tracker * fix(tracker): add "thank you" section, refactor file to make it readable * fix(tracker): naming * fix(tracker): naming * fix(tracker): some refactorings for user testing modd * feat(tracker): export assist vers to window obj, add recorder manager for user testing * feat(tracker): refactor UT file * feat(tracker): add recording delay for UT module * feat(tracker): dnd for UT widget * fix(tracker): changelog for assist * fix(tracker): cover ut with tests * fix(tracker): update package scripts to include testing before releasing packages * fix(UI): fix uxt routes * feat(ui): uxt store * feat(ui): uxt store connection * feat(ui): some api connections for utx * feat(ui): some api connections for utx * feat(ui): some api connections for utx * feat(ui): api connections * feat(ui): api connections * feat(ui): api connections * feat(ui): api connections * feat(ui): utx components for replay * feat(ui): utx components for replay * feat(ui): make events shared * feat(ui): final fixes
260 lines
5.5 KiB
TypeScript
260 lines
5.5 KiB
TypeScript
export const bgStyle = {
|
|
position: 'fixed',
|
|
top: 0,
|
|
left: 0,
|
|
width: '100vw',
|
|
height: '100vh',
|
|
background: 'rgba(0, 0, 0, 0.40)',
|
|
display: 'flex',
|
|
alignItems: 'center',
|
|
justifyContent: 'center',
|
|
}
|
|
|
|
export const containerStyle = {
|
|
display: 'flex',
|
|
flexDirection: 'column',
|
|
gap: '8px',
|
|
alignItems: 'center',
|
|
padding: '1.5rem',
|
|
borderRadius: '0.375rem',
|
|
border: '1px solid #D9D9D9',
|
|
background: '#FFF',
|
|
width: '29rem',
|
|
}
|
|
export const containerWidgetStyle = {
|
|
display: 'flex',
|
|
'flex-direction': 'column',
|
|
gap: '8px',
|
|
'align-items': 'center',
|
|
padding: '1rem',
|
|
'border-radius': '0.375rem',
|
|
border: '1px solid #D9D9D9',
|
|
background: '#FFF',
|
|
width: '29rem',
|
|
}
|
|
|
|
export const titleStyle = {
|
|
fontFamily: 'Verdana, sans-serif',
|
|
fontSize: '1.25rem',
|
|
fontStyle: 'normal',
|
|
fontWeight: '500',
|
|
lineHeight: '1.75rem',
|
|
color: 'rgba(0, 0, 0, 0.85)',
|
|
}
|
|
|
|
export const descriptionStyle = {
|
|
borderTop: '1px solid rgba(0, 0, 0, 0.06)',
|
|
borderBottom: '1px solid rgba(0, 0, 0, 0.06)',
|
|
padding: '1.25rem 0rem',
|
|
color: 'rgba(0, 0, 0, 0.85)',
|
|
fontFamily: 'Verdana, sans-serif',
|
|
fontSize: '1rem',
|
|
fontStyle: 'normal',
|
|
fontWeight: '400',
|
|
lineHeight: '1.5rem',
|
|
}
|
|
|
|
export const noticeStyle = {
|
|
color: 'rgba(0, 0, 0, 0.85)',
|
|
fontFamily: 'Verdana, sans-serif',
|
|
fontSize: '0.875rem',
|
|
fontStyle: 'normal',
|
|
fontWeight: '400',
|
|
lineHeight: '1.375rem',
|
|
}
|
|
|
|
export const buttonStyle = {
|
|
display: 'flex',
|
|
padding: '0.4rem 0.9375rem',
|
|
justifyContent: 'center',
|
|
alignItems: 'center',
|
|
gap: '0.625rem',
|
|
borderRadius: '0.25rem',
|
|
border: '1px solid #394EFF',
|
|
background: '#394EFF',
|
|
boxShadow: '0px 2px 0px 0px rgba(0, 0, 0, 0.04)',
|
|
color: '#FFF',
|
|
textAlign: 'center',
|
|
fontFamily: 'Verdana, sans-serif',
|
|
fontSize: '1rem',
|
|
fontStyle: 'normal',
|
|
fontWeight: '500',
|
|
lineHeight: '1.5rem',
|
|
cursor: 'pointer',
|
|
}
|
|
|
|
export const sectionTitleStyle = {
|
|
fontFamily: 'Verdana, sans-serif',
|
|
fontSize: '0.875rem',
|
|
fontWeight: '500',
|
|
lineHeight: '1.375rem',
|
|
display: 'flex',
|
|
justifyContent: 'space-between',
|
|
width: '100%',
|
|
cursor: 'pointer',
|
|
}
|
|
|
|
export const contentStyle = {
|
|
display: 'flex',
|
|
flexDirection: 'column',
|
|
alignItems: 'flex-start',
|
|
gap: '0.625rem',
|
|
}
|
|
|
|
// New widget styles
|
|
export const titleWidgetStyle = {
|
|
padding: '0.5rem',
|
|
gap: '0.5rem',
|
|
fontFamily: 'Verdana, sans-serif',
|
|
fontSize: '1.25rem',
|
|
fontStyle: 'normal',
|
|
fontWeight: '500',
|
|
lineHeight: '1.75rem',
|
|
color: 'white',
|
|
display: 'flex',
|
|
alignItems: 'center',
|
|
width: '100%',
|
|
borderRadius: '0.375rem',
|
|
background: 'rgba(0, 0, 0, 0.60)',
|
|
boxSizing: 'border-box',
|
|
}
|
|
|
|
export const descriptionWidgetStyle = {
|
|
boxSizing: 'border-box',
|
|
display: 'block',
|
|
width: '100%',
|
|
borderRadius: '0.375rem',
|
|
border: '1px solid #D9D9D9',
|
|
background: '#FFF',
|
|
padding: '0.625rem 1rem',
|
|
alignSelf: 'stretch',
|
|
color: '#000',
|
|
fontFamily: 'Verdana, sans-serif',
|
|
fontSize: '0.875rem',
|
|
fontStyle: 'normal',
|
|
fontWeight: '400',
|
|
lineHeight: '1.375rem',
|
|
}
|
|
|
|
export const endSectionStyle = {
|
|
...descriptionWidgetStyle,
|
|
display: 'flex',
|
|
flexDirection: 'column',
|
|
alignItems: 'center',
|
|
gap: '0.625rem',
|
|
}
|
|
|
|
export const symbolIcon = {
|
|
fontSize: '1.25rem',
|
|
fontWeight: '500',
|
|
cursor: 'pointer',
|
|
color: '#394EFF',
|
|
}
|
|
|
|
export const buttonWidgetStyle = {
|
|
display: 'flex',
|
|
padding: '0.4rem 0.9375rem',
|
|
justifyContent: 'center',
|
|
alignItems: 'center',
|
|
gap: '0.625rem',
|
|
borderRadius: '0.25rem',
|
|
border: '1px solid #394EFF',
|
|
background: '#394EFF',
|
|
boxShadow: '0px 2px 0px 0px rgba(0, 0, 0, 0.04)',
|
|
color: '#FFF',
|
|
textAlign: 'center',
|
|
fontFamily: 'Verdana, sans-serif',
|
|
fontSize: '1rem',
|
|
fontStyle: 'normal',
|
|
fontWeight: '500',
|
|
lineHeight: '1.5rem',
|
|
width: '100%',
|
|
boxSizing: 'border-box',
|
|
cursor: 'pointer',
|
|
}
|
|
|
|
export const stopWidgetStyle = {
|
|
marginTop: '2rem',
|
|
cursor: 'pointer',
|
|
display: 'block',
|
|
fontWeight: '600',
|
|
}
|
|
|
|
export const paginationStyle = {
|
|
display: 'flex',
|
|
justifyContent: 'space-between',
|
|
alignItems: 'center',
|
|
gap: '1rem',
|
|
padding: '0.5rem',
|
|
width: '100%',
|
|
boxSizing: 'border-box',
|
|
}
|
|
|
|
export const taskNumberActive = {
|
|
display: 'flex',
|
|
padding: '0.0625rem 0.5rem',
|
|
flexDirection: 'column',
|
|
alignItems: 'center',
|
|
borderRadius: '6.25em',
|
|
outline: '1px solid #394EFF',
|
|
}
|
|
export const taskNumberDone = {
|
|
display: 'flex',
|
|
padding: '0.0625rem 0.5rem',
|
|
flexDirection: 'column',
|
|
alignItems: 'center',
|
|
borderRadius: '6.25em',
|
|
outline: '1px solid #D2DFFF',
|
|
boxShadow: '0px 2px 0px 0px rgba(0, 0, 0, 0.04)',
|
|
background: '#D2DFFF',
|
|
}
|
|
|
|
export const taskDescriptionCard = {
|
|
borderRadius: '0.375rem',
|
|
border: '1px solid rgba(0, 0, 0, 0.06)',
|
|
background: '#F5F7FF',
|
|
boxShadow: '0px 2px 0px 0px rgba(0, 0, 0, 0.04)',
|
|
display: 'flex',
|
|
flexDirection: 'column',
|
|
padding: '0.625rem 0.9375rem',
|
|
gap: '0.5rem',
|
|
alignSelf: 'stretch',
|
|
}
|
|
|
|
export const taskTextStyle = {
|
|
fontWeight: 'bold',
|
|
}
|
|
|
|
export const taskDescriptionStyle = {
|
|
color: '#8C8C8C',
|
|
}
|
|
|
|
export const taskButtonStyle = {
|
|
marginRight: '0.5rem',
|
|
cursor: 'pointer',
|
|
color: '#394EFF',
|
|
textAlign: 'center',
|
|
fontFamily: 'Verdana, sans-serif',
|
|
fontSize: '0.875rem',
|
|
fontStyle: 'normal',
|
|
fontWeight: '500',
|
|
lineHeight: '1.375rem',
|
|
}
|
|
export const taskButtonBorderedStyle = {
|
|
...taskButtonStyle,
|
|
display: 'flex',
|
|
padding: '0.25rem 0.9375rem',
|
|
justifyContent: 'center',
|
|
alignItems: 'center',
|
|
gap: '0.5rem',
|
|
borderRadius: '0.25rem',
|
|
border: '1px solid #394EFF',
|
|
}
|
|
|
|
export const taskButtonsRow = {
|
|
display: 'flex',
|
|
justifyContent: 'space-between',
|
|
alignItems: 'center',
|
|
width: '100%',
|
|
boxSizing: 'border-box',
|
|
}
|