2021-10-30 01:31:08 +08:00
|
|
|
const borderSizeSmall = '1px';
|
2021-10-25 21:29:29 +08:00
|
|
|
const borderSize = '2px';
|
2021-10-26 20:37:26 +08:00
|
|
|
const borderSizeLarge = '3px';
|
|
|
|
const borderRadius = '.2rem';
|
2021-10-25 21:29:29 +08:00
|
|
|
const smPaddingX = '.75rem';
|
|
|
|
const smPaddingY = '.3rem';
|
|
|
|
const mdPaddingY = '.45rem';
|
|
|
|
const mdPaddingX = '1rem';
|
|
|
|
const lgPaddingX = '1.25rem';
|
|
|
|
const lgPaddingY = '0.6rem';
|
2021-10-26 20:37:26 +08:00
|
|
|
const jumboPaddingY = '1.5rem';
|
2021-11-05 01:03:25 +08:00
|
|
|
const jumboPaddingX = '3.025rem';
|
2021-10-26 20:37:26 +08:00
|
|
|
|
2024-10-17 03:10:27 +08:00
|
|
|
const xsPadding = '0.125rem';
|
|
|
|
const smPadding = '0.25rem';
|
|
|
|
const mdPadding = '0.375rem';
|
|
|
|
const lgPadding = '0.5rem';
|
|
|
|
const xlPadding = '0.75rem';
|
|
|
|
const $2xlPadding = '1rem';
|
|
|
|
const $3xlPadding = '1.25rem';
|
|
|
|
|
2021-10-26 20:37:26 +08:00
|
|
|
const whiteboardToolbarPadding = '.5rem';
|
2021-11-08 21:09:56 +08:00
|
|
|
const whiteboardToolbarMargin = '.5rem';
|
|
|
|
const whiteboardToolbarPaddingSm = '.3rem';
|
2021-10-26 20:37:26 +08:00
|
|
|
const minModalHeight = '20rem';
|
2021-10-28 21:46:40 +08:00
|
|
|
const descriptionMargin = '3.5rem';
|
2021-10-28 00:21:57 +08:00
|
|
|
const navbarHeight = '3.9375rem';
|
2021-10-28 01:48:15 +08:00
|
|
|
const barsPadding = '0.8rem'; // so user-list and chat title is aligned with the presentation title
|
|
|
|
const pollHeaderOffset = '-0.875rem';
|
|
|
|
const toastContentWidth = '98%';
|
2021-10-29 21:41:24 +08:00
|
|
|
const modalMargin = '3rem';
|
|
|
|
const titlePositionLeft = '2.2rem';
|
2021-10-29 19:23:50 +08:00
|
|
|
const userIndicatorsOffset = '-5px';
|
|
|
|
const indicatorPadding = '.45rem'; // used to center presenter indicator icon in Chrome / Firefox / Edge
|
2021-11-03 21:34:15 +08:00
|
|
|
const actionsBarHeight = '75px'; // TODO: Change to ActionsBar real height
|
2021-11-03 22:34:03 +08:00
|
|
|
const audioIndicatorWidth = '1.12rem';
|
|
|
|
const audioIndicatorFs = '75%';
|
2021-11-02 21:39:50 +08:00
|
|
|
const chatPollMarginSm = '.5rem';
|
2021-10-25 21:29:29 +08:00
|
|
|
|
2021-11-03 00:25:39 +08:00
|
|
|
const talkerBorderRadius = '2rem';
|
|
|
|
const talkerPaddingXsm = '.13rem';
|
|
|
|
const talkerPaddingLg = '.75rem';
|
|
|
|
const talkerPaddingXl = '1.62rem';
|
|
|
|
const talkerMaxWidth = '10rem';
|
|
|
|
const talkerMarginSm = '.5rem';
|
|
|
|
const spokeOpacity = '.5';
|
|
|
|
|
2021-11-03 01:11:41 +08:00
|
|
|
const toolbarButtonWidth = '3rem';
|
|
|
|
const toolbarButtonHeight = '3rem';
|
|
|
|
const toolbarItemOutlineOffset = '-.19rem';
|
|
|
|
const toolbarButtonBorder = '1px';
|
|
|
|
const toolbarButtonBorderRadius = '5px';
|
|
|
|
const toolbarItemTrianglePadding = '2px';
|
2021-11-03 04:05:49 +08:00
|
|
|
const toolbarMargin = '.8rem';
|
2021-11-03 01:11:41 +08:00
|
|
|
|
2021-11-08 21:57:55 +08:00
|
|
|
const fileLineWidth = '16.75rem';
|
2022-02-24 22:49:56 +08:00
|
|
|
const iconPaddingMd = '.4rem';
|
2021-11-08 21:57:55 +08:00
|
|
|
const statusIconSize = '16px';
|
|
|
|
const toastMdMargin = '.5rem';
|
2022-03-04 02:35:05 +08:00
|
|
|
const toastMarginMobile = '.35rem';
|
2021-11-08 21:57:55 +08:00
|
|
|
const uploadListHeight = '30vh';
|
|
|
|
const modalInnerWidth = '40rem';
|
|
|
|
const statusInfoHeight = '8px';
|
|
|
|
const itemActionsWidth = '68px'; // size of the 2 icons (check/trash)
|
|
|
|
const uploadIconSize = '2.286rem';
|
|
|
|
const iconLineHeight = '2.35rem';
|
2021-11-09 01:28:22 +08:00
|
|
|
const innerToastWidth = '17rem';
|
|
|
|
const toastIconSide = '40px';
|
2021-11-04 20:49:04 +08:00
|
|
|
const pollStatsElementWidth = '17%';
|
|
|
|
const pollSmMargin = '0.3125rem';
|
2021-11-04 22:19:38 +08:00
|
|
|
const pollMdMargin = '0.7rem';
|
2021-11-04 20:49:04 +08:00
|
|
|
const pollResultWidth = '15rem';
|
2021-11-04 22:19:38 +08:00
|
|
|
const pollInputHeight = '2.5rem';
|
2021-11-05 01:03:25 +08:00
|
|
|
const pollWidth = '18rem';
|
2023-05-16 03:21:27 +08:00
|
|
|
const overlayIndex = '999';
|
2021-11-05 01:03:25 +08:00
|
|
|
const overlayOpacity = '0.349';
|
|
|
|
const pollIndex = '1016';
|
|
|
|
const pollBottomOffset = '4.5rem';
|
|
|
|
const pollColAmount = '2';
|
2021-11-08 21:57:55 +08:00
|
|
|
|
2021-11-09 03:54:19 +08:00
|
|
|
const toastMargin = '.5rem';
|
|
|
|
const avatarSide = '34px';
|
|
|
|
const avatarWrapperOffset = '14px';
|
|
|
|
const avatarInset = '-7px';
|
|
|
|
|
2021-11-10 01:24:42 +08:00
|
|
|
const dropdownCaretHeight = '8px';
|
|
|
|
const dropdownCaretWidth = '12px';
|
|
|
|
|
2021-11-10 19:37:08 +08:00
|
|
|
const toastOffsetSm = '.325rem';
|
|
|
|
const btnSpacing = '.35rem';
|
2021-11-10 01:24:42 +08:00
|
|
|
|
2021-11-11 04:31:00 +08:00
|
|
|
const toastIconMd = '2rem';
|
|
|
|
const toastIconSm = '1.2rem';
|
|
|
|
|
2023-02-10 21:37:29 +08:00
|
|
|
const presentationMenuHeight = '45px';
|
|
|
|
|
2023-03-27 23:33:10 +08:00
|
|
|
const styleMenuOffset = '6.25rem';
|
|
|
|
const styleMenuOffsetSmall = '5rem';
|
|
|
|
|
2021-10-25 21:29:29 +08:00
|
|
|
export {
|
2021-10-30 01:31:08 +08:00
|
|
|
borderSizeSmall,
|
2021-10-25 21:29:29 +08:00
|
|
|
borderSize,
|
2021-10-26 20:37:26 +08:00
|
|
|
borderSizeLarge,
|
|
|
|
borderRadius,
|
2021-10-25 21:29:29 +08:00
|
|
|
smPaddingX,
|
|
|
|
smPaddingY,
|
|
|
|
mdPaddingX,
|
|
|
|
mdPaddingY,
|
|
|
|
lgPaddingX,
|
|
|
|
lgPaddingY,
|
2021-10-26 20:37:26 +08:00
|
|
|
jumboPaddingY,
|
2021-11-05 01:03:25 +08:00
|
|
|
jumboPaddingX,
|
2021-10-26 20:37:26 +08:00
|
|
|
whiteboardToolbarPadding,
|
2021-11-08 21:09:56 +08:00
|
|
|
whiteboardToolbarPaddingSm,
|
2021-10-26 20:37:26 +08:00
|
|
|
minModalHeight,
|
2021-10-28 21:46:40 +08:00
|
|
|
descriptionMargin,
|
2021-10-28 00:21:57 +08:00
|
|
|
navbarHeight,
|
2021-10-28 00:43:51 +08:00
|
|
|
barsPadding,
|
2021-10-28 01:48:15 +08:00
|
|
|
pollHeaderOffset,
|
|
|
|
toastContentWidth,
|
2021-10-29 21:41:24 +08:00
|
|
|
modalMargin,
|
|
|
|
titlePositionLeft,
|
2021-10-29 19:23:50 +08:00
|
|
|
userIndicatorsOffset,
|
|
|
|
indicatorPadding,
|
2021-11-03 21:34:15 +08:00
|
|
|
actionsBarHeight,
|
2021-11-03 22:34:03 +08:00
|
|
|
audioIndicatorWidth,
|
|
|
|
audioIndicatorFs,
|
2021-11-02 21:39:50 +08:00
|
|
|
chatPollMarginSm,
|
2021-11-03 00:25:39 +08:00
|
|
|
talkerBorderRadius,
|
|
|
|
talkerPaddingXsm,
|
|
|
|
talkerPaddingLg,
|
|
|
|
talkerMaxWidth,
|
|
|
|
talkerMarginSm,
|
|
|
|
spokeOpacity,
|
|
|
|
talkerPaddingXl,
|
2021-11-03 01:11:41 +08:00
|
|
|
toolbarButtonWidth,
|
|
|
|
toolbarButtonHeight,
|
|
|
|
toolbarItemOutlineOffset,
|
|
|
|
toolbarButtonBorder,
|
|
|
|
toolbarButtonBorderRadius,
|
|
|
|
toolbarItemTrianglePadding,
|
2021-11-03 04:05:49 +08:00
|
|
|
toolbarMargin,
|
2021-11-08 21:09:56 +08:00
|
|
|
whiteboardToolbarMargin,
|
2021-11-08 21:57:55 +08:00
|
|
|
fileLineWidth,
|
|
|
|
iconPaddingMd,
|
|
|
|
statusIconSize,
|
|
|
|
toastMdMargin,
|
2022-03-04 02:35:05 +08:00
|
|
|
toastMarginMobile,
|
2021-11-08 21:57:55 +08:00
|
|
|
uploadListHeight,
|
|
|
|
modalInnerWidth,
|
|
|
|
statusInfoHeight,
|
|
|
|
itemActionsWidth,
|
|
|
|
uploadIconSize,
|
|
|
|
iconLineHeight,
|
2021-11-09 01:28:22 +08:00
|
|
|
innerToastWidth,
|
|
|
|
toastIconSide,
|
2021-11-04 20:49:04 +08:00
|
|
|
pollStatsElementWidth,
|
|
|
|
pollSmMargin,
|
2021-11-04 22:19:38 +08:00
|
|
|
pollMdMargin,
|
2021-11-04 20:49:04 +08:00
|
|
|
pollResultWidth,
|
2021-11-04 22:19:38 +08:00
|
|
|
pollInputHeight,
|
2021-11-05 01:03:25 +08:00
|
|
|
pollWidth,
|
|
|
|
overlayIndex,
|
|
|
|
overlayOpacity,
|
|
|
|
pollIndex,
|
|
|
|
pollBottomOffset,
|
|
|
|
pollColAmount,
|
2021-11-09 03:54:19 +08:00
|
|
|
toastMargin,
|
|
|
|
avatarSide,
|
|
|
|
avatarWrapperOffset,
|
|
|
|
avatarInset,
|
2021-11-10 01:24:42 +08:00
|
|
|
dropdownCaretHeight,
|
|
|
|
dropdownCaretWidth,
|
2021-11-10 19:37:08 +08:00
|
|
|
toastOffsetSm,
|
|
|
|
btnSpacing,
|
2021-11-11 04:31:00 +08:00
|
|
|
toastIconMd,
|
|
|
|
toastIconSm,
|
2023-02-10 21:37:29 +08:00
|
|
|
presentationMenuHeight,
|
2023-03-27 23:33:10 +08:00
|
|
|
styleMenuOffset,
|
|
|
|
styleMenuOffsetSmall,
|
2024-10-17 03:10:27 +08:00
|
|
|
lgPadding,
|
|
|
|
mdPadding,
|
|
|
|
smPadding,
|
|
|
|
$2xlPadding,
|
|
|
|
$3xlPadding,
|
|
|
|
xlPadding,
|
|
|
|
xsPadding,
|
2021-10-25 21:29:29 +08:00
|
|
|
};
|