cordis/client/webapp/styles/general.scss

35 lines
694 B
SCSS
Raw Normal View History

2021-10-31 19:02:26 +00:00
@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;
}
2021-11-08 02:38:52 +00:00
// https://stackoverflow.com/questions/16941360/how-to-create-a-placeholder-for-div-that-act-like-textfield
[contenteditable=true]:empty:before{
content:attr(data-placeholder)
}