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

66 lines
1.6 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 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-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,
chatPollMarginSm,
2021-11-03 00:25:39 +08:00
talkerBorderRadius,
talkerPaddingXsm,
talkerPaddingLg,
talkerMaxWidth,
talkerMarginSm,
spokeOpacity,
talkerPaddingXl,
2021-10-25 21:29:29 +08:00
};