cordis/client/webapp/styles/general.scss
2021-11-07 19:38:52 -07:00

35 lines
694 B
SCSS

@import "theme.scss";
/* disable draggable "ghost" image elements */
img {
-webkit-user-drag: none;
user-drag: none;
}
/* get rid of extra 2 pixels that magically gets added normally */
svg {
display: block;
}
* {
text-rendering: optimizeLegibility;
}
body {
margin: 0;
font-family: Whitney, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
user-select: none;
overflow: hidden; /**/
display: flex;
flex-direction: column;
}
:root {
background-color: $background-tertiary;
}
// https://stackoverflow.com/questions/16941360/how-to-create-a-placeholder-for-div-that-act-like-textfield
[contenteditable=true]:empty:before{
content:attr(data-placeholder)
}