bigbluebutton-Github/bigbluebutton-html5/imports/ui/stylesheets/styled-components/general.js
2024-10-17 09:03:33 -03:00

189 lines
4.6 KiB
JavaScript

const borderSizeSmall = '1px';
const borderSize = '2px';
const borderSizeLarge = '3px';
const borderRadius = '.2rem';
const smPaddingX = '.75rem';
const smPaddingY = '.3rem';
const mdPaddingY = '.45rem';
const mdPaddingX = '1rem';
const lgPaddingX = '1.25rem';
const lgPaddingY = '0.6rem';
const jumboPaddingY = '1.5rem';
const jumboPaddingX = '3.025rem';
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';
const whiteboardToolbarPadding = '.5rem';
const whiteboardToolbarMargin = '.5rem';
const whiteboardToolbarPaddingSm = '.3rem';
const minModalHeight = '20rem';
const descriptionMargin = '3.5rem';
const navbarHeight = '3.9375rem';
const barsPadding = '0.8rem'; // so user-list and chat title is aligned with the presentation title
const pollHeaderOffset = '-0.875rem';
const toastContentWidth = '98%';
const modalMargin = '3rem';
const titlePositionLeft = '2.2rem';
const userIndicatorsOffset = '-5px';
const indicatorPadding = '.45rem'; // used to center presenter indicator icon in Chrome / Firefox / Edge
const actionsBarHeight = '75px'; // TODO: Change to ActionsBar real height
const audioIndicatorWidth = '1.12rem';
const audioIndicatorFs = '75%';
const chatPollMarginSm = '.5rem';
const talkerBorderRadius = '2rem';
const talkerPaddingXsm = '.13rem';
const talkerPaddingLg = '.75rem';
const talkerPaddingXl = '1.62rem';
const talkerMaxWidth = '10rem';
const talkerMarginSm = '.5rem';
const spokeOpacity = '.5';
const toolbarButtonWidth = '3rem';
const toolbarButtonHeight = '3rem';
const toolbarItemOutlineOffset = '-.19rem';
const toolbarButtonBorder = '1px';
const toolbarButtonBorderRadius = '5px';
const toolbarItemTrianglePadding = '2px';
const toolbarMargin = '.8rem';
const fileLineWidth = '16.75rem';
const iconPaddingMd = '.4rem';
const statusIconSize = '16px';
const toastMdMargin = '.5rem';
const toastMarginMobile = '.35rem';
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';
const innerToastWidth = '17rem';
const toastIconSide = '40px';
const pollStatsElementWidth = '17%';
const pollSmMargin = '0.3125rem';
const pollMdMargin = '0.7rem';
const pollResultWidth = '15rem';
const pollInputHeight = '2.5rem';
const pollWidth = '18rem';
const overlayIndex = '999';
const overlayOpacity = '0.349';
const pollIndex = '1016';
const pollBottomOffset = '4.5rem';
const pollColAmount = '2';
const toastMargin = '.5rem';
const avatarSide = '34px';
const avatarWrapperOffset = '14px';
const avatarInset = '-7px';
const dropdownCaretHeight = '8px';
const dropdownCaretWidth = '12px';
const toastOffsetSm = '.325rem';
const btnSpacing = '.35rem';
const toastIconMd = '2rem';
const toastIconSm = '1.2rem';
const presentationMenuHeight = '45px';
const styleMenuOffset = '6.25rem';
const styleMenuOffsetSmall = '5rem';
export {
borderSizeSmall,
borderSize,
borderSizeLarge,
borderRadius,
smPaddingX,
smPaddingY,
mdPaddingX,
mdPaddingY,
lgPaddingX,
lgPaddingY,
jumboPaddingY,
jumboPaddingX,
whiteboardToolbarPadding,
whiteboardToolbarPaddingSm,
minModalHeight,
descriptionMargin,
navbarHeight,
barsPadding,
pollHeaderOffset,
toastContentWidth,
modalMargin,
titlePositionLeft,
userIndicatorsOffset,
indicatorPadding,
actionsBarHeight,
audioIndicatorWidth,
audioIndicatorFs,
chatPollMarginSm,
talkerBorderRadius,
talkerPaddingXsm,
talkerPaddingLg,
talkerMaxWidth,
talkerMarginSm,
spokeOpacity,
talkerPaddingXl,
toolbarButtonWidth,
toolbarButtonHeight,
toolbarItemOutlineOffset,
toolbarButtonBorder,
toolbarButtonBorderRadius,
toolbarItemTrianglePadding,
toolbarMargin,
whiteboardToolbarMargin,
fileLineWidth,
iconPaddingMd,
statusIconSize,
toastMdMargin,
toastMarginMobile,
uploadListHeight,
modalInnerWidth,
statusInfoHeight,
itemActionsWidth,
uploadIconSize,
iconLineHeight,
innerToastWidth,
toastIconSide,
pollStatsElementWidth,
pollSmMargin,
pollMdMargin,
pollResultWidth,
pollInputHeight,
pollWidth,
overlayIndex,
overlayOpacity,
pollIndex,
pollBottomOffset,
pollColAmount,
toastMargin,
avatarSide,
avatarWrapperOffset,
avatarInset,
dropdownCaretHeight,
dropdownCaretWidth,
toastOffsetSm,
btnSpacing,
toastIconMd,
toastIconSm,
presentationMenuHeight,
styleMenuOffset,
styleMenuOffsetSmall,
lgPadding,
mdPadding,
smPadding,
$2xlPadding,
$3xlPadding,
xlPadding,
xsPadding,
};