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

22 lines
774 B
JavaScript
Raw Normal View History

2021-10-25 21:29:29 +08:00
const smallOnly = 'only screen and (max-width: 40em)';
2021-10-28 01:07:09 +08:00
const mediumOnly = 'only screen and (min-width: 40.063em) and (max-width: 64em)';
2021-10-28 00:21:57 +08:00
const mediumUp = 'only screen and (min-width: 40.063em)';
const mediumDown = 'only screen and (max-width: 40.0629em)';
2021-11-03 22:34:03 +08:00
const landscape = "only screen and (orientation: landscape)";
2021-11-03 00:25:39 +08:00
const phoneLandscape = 'only screen and (max-width: 480px) and (orientation: landscape)';
const largeUp = 'only screen and (min-width: 64.063em)';
2021-11-05 01:03:25 +08:00
const hasPhoneDimentions = 'only screen and (max-height: 479px), only screen and (max-width: 479px)';
const hasPhoneWidth = 'only screen and (max-width: 479px)';
2021-10-25 21:29:29 +08:00
export {
smallOnly,
2021-10-28 01:07:09 +08:00
mediumOnly,
2021-10-28 00:21:57 +08:00
mediumUp,
2021-11-03 22:34:03 +08:00
landscape,
2021-11-03 00:25:39 +08:00
phoneLandscape,
largeUp,
2021-11-05 01:03:25 +08:00
hasPhoneDimentions,
mediumDown,
hasPhoneWidth,
2021-10-25 21:29:29 +08:00
};