bigbuffet-rw/app/styles/basics.scss

34 lines
714 B
SCSS
Raw Normal View History

2022-03-21 11:09:01 -07:00
body {
@apply antialiased;
-webkit-overflow-scrolling: touch;
-ms-overflow-style: -ms-autohiding-scrollbar;
2020-03-27 13:59:38 -07:00
}
2022-03-21 11:09:01 -07:00
body.with-modals {
@apply overflow-hidden;
2020-03-27 13:59:38 -07:00
}
2022-03-21 11:09:01 -07:00
// Note: this is needed for React HotKeys performance. Removing this
// will cause severe performance degradation on Safari.
div[tabindex='-1']:focus {
2022-03-21 11:09:01 -07:00
outline: 0;
2020-03-27 13:59:38 -07:00
}
::selection {
2022-03-21 11:09:01 -07:00
@apply bg-primary-600 text-white;
2020-03-27 13:59:38 -07:00
}
2020-06-02 19:11:01 -07:00
noscript {
text-align: center;
}
2022-09-30 11:35:26 -07:00
.emojione {
2022-12-02 12:15:59 -08:00
@apply w-4 h-4 -mt-[0.2ex] mb-[0.2ex] inline-block align-middle object-contain;
2022-09-30 11:35:26 -07:00
}
// Virtuoso empty placeholder fix.
// https://gitlab.com/petyosi/soapbox-fe/-/commit/1e22c39934b60e5e186de804060ecfdf1955b506
div[data-viewport-type='window'] {
position: static !important;
}