2022-07-25 02:33:09 +00:00
|
|
|
|
*,
|
|
|
|
|
::before,
|
|
|
|
|
::after {
|
|
|
|
|
// Reset border styles so tailwinds default border class works as expected
|
|
|
|
|
// https://tailwindcss.com/docs/preflight#border-styles-are-reset-globally
|
|
|
|
|
border-width: 0;
|
|
|
|
|
border-style: solid;
|
|
|
|
|
// Set all elements to inherit their parent’s (border-box) box-sizing.
|
|
|
|
|
box-sizing: inherit;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::before,
|
|
|
|
|
::after {
|
|
|
|
|
--tw-content: '';
|
|
|
|
|
}
|
|
|
|
|
|
2023-01-19 12:06:43 +00:00
|
|
|
|
// Default to LTR if `dir` is not set.
|
|
|
|
|
:root,
|
|
|
|
|
:host,
|
|
|
|
|
[dir='ltr'] {
|
|
|
|
|
// Flips the direction of `transform` declarations, based on whether the UI is LTR or RTL.
|
|
|
|
|
--w-direction-factor: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[dir='rtl'] {
|
|
|
|
|
--w-direction-factor: -1;
|
|
|
|
|
}
|
|
|
|
|
|
2019-01-01 23:11:47 +00:00
|
|
|
|
html {
|
2022-02-04 11:57:55 +00:00
|
|
|
|
height: 100%;
|
2022-07-25 02:33:09 +00:00
|
|
|
|
// Set the whole admin to border-box by default.
|
|
|
|
|
box-sizing: border-box;
|
2023-04-19 05:58:14 +00:00
|
|
|
|
// Display viewport overscroll areas in a theme-appropriate color.
|
|
|
|
|
background-color: theme('colors.surface-page');
|
2019-01-01 23:11:47 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
2022-02-04 11:57:55 +00:00
|
|
|
|
overflow-x: hidden;
|
|
|
|
|
position: relative;
|
2019-01-01 23:11:47 +00:00
|
|
|
|
|
2022-02-04 11:57:55 +00:00
|
|
|
|
&:after {
|
|
|
|
|
content: '';
|
|
|
|
|
position: fixed;
|
|
|
|
|
transition: visibility 0s linear 0s, opacity 0.2s ease-out;
|
2022-07-09 06:32:51 +00:00
|
|
|
|
background: theme('colors.white-50');
|
2022-02-04 11:57:55 +00:00
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
top: 0;
|
2022-03-15 13:21:06 +00:00
|
|
|
|
inset-inline-start: 0;
|
2022-02-04 11:57:55 +00:00
|
|
|
|
z-index: 5;
|
|
|
|
|
opacity: 0;
|
|
|
|
|
visibility: hidden;
|
|
|
|
|
}
|
2019-01-01 23:11:47 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
hr {
|
2023-04-19 05:58:14 +00:00
|
|
|
|
border: 1px solid theme('colors.border-furniture');
|
2022-02-04 11:57:55 +00:00
|
|
|
|
border-width: 1px 0 0;
|
|
|
|
|
margin: 1.5em 0;
|
2019-01-01 23:11:47 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// general image style
|
|
|
|
|
img {
|
2022-02-04 11:57:55 +00:00
|
|
|
|
max-width: 100%;
|
|
|
|
|
height: auto;
|
2019-01-01 23:11:47 +00:00
|
|
|
|
}
|