alberti42_obsidian-plugins-.../styles/styles.css
2024-06-29 12:32:11 +02:00

40 lines
817 B
CSS

/* styles.css */
/* @settings
name: Plugins Annotations stylesheet
id: plugins-annotations-stylesheet
settings:
*/
/* Make sure the input field takes the full width of its parent */
.plugin-comment {
width: 100%;
box-sizing: border-box; /* Ensure padding is included in the element's total width and height */
}
.plugin-comment-annotation.plugin-comment-placeholder {
color: #CCCCCC; /* Standard placeholder color */
font-style: italic;
font-size: 20px;
}
.plugin-comment.plugin-comment-placeholder {
display: none;
}
/* Show comment container when hovering over the plugin container */
.setting-item:hover .plugin-comment.plugin-comment-placeholder {
display: block;
}
/* Additional styles for consistency */
.plugin-comment-label {
padding-top: 5px;
}
.plugin-comment-annotation {
width: 100%;
}