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

47 lines
1.2 KiB
JavaScript
Raw Normal View History

2021-10-28 19:58:39 +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-28 22:05:26 +08:00
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-10-25 21:29:29 +08:00
export {
2021-10-28 19:58:39 +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-28 22:05:26 +08:00
titlePositionLeft,
2021-10-29 19:23:50 +08:00
userIndicatorsOffset,
indicatorPadding,
2021-10-25 21:29:29 +08:00
};