0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
wagtail/client/scss/elements/_elements.scss
Thibaud Colas af942a27e4
Reformat codebase with Prettier (#7912)
- Automated reformatting
- Manually change code where Prettier reformatting causes issues
- Revert "Disable Prettier formatting in CI for now"
2022-02-04 11:57:55 +00:00

36 lines
539 B
SCSS

html {
background: $color-grey-4;
height: 100%;
}
body {
overflow-x: hidden;
position: relative;
&:after {
content: '';
position: fixed;
transition: visibility 0s linear 0s, opacity 0.2s ease-out;
background: rgba(255, 255, 255, 0.5);
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 5;
opacity: 0;
visibility: hidden;
}
}
hr {
border: 1px solid $color-grey-4;
border-width: 1px 0 0;
margin: 1.5em 0;
}
// general image style
img {
max-width: 100%;
height: auto;
}