bigbluebutton-Github/bigbluebutton-html5/imports/ui/stylesheets/styled-components/general.js

94 lines
2.4 KiB
JavaScript
Raw Normal View History

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';
const whiteboardToolbarPadding = '.5rem';
const minModalHeight = '20rem';
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
const actionsBarHeight = '75px'; // TODO: Change to ActionsBar real height
2021-11-03 22:34:03 +08:00
const audioIndicatorWidth = '1.12rem';
const audioIndicatorFs = '75%';
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-10-25 21:29:29 +08:00
2021-11-04 20:49:04 +08:00
const pollStatsElementWidth = '17%';
const pollSmMargin = '0.3125rem';
const pollResultWidth = '15rem';
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,
whiteboardToolbarPadding,
minModalHeight,
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,
actionsBarHeight,
2021-11-03 22:34:03 +08:00
audioIndicatorWidth,
audioIndicatorFs,
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-04 20:49:04 +08:00
pollStatsElementWidth,
pollSmMargin,
pollResultWidth,
2021-10-25 21:29:29 +08:00
};