alberti42_obsidian-plugins-.../styles/styles.css

144 lines
2.8 KiB
CSS
Raw Normal View History

2024-06-01 17:35:27 +00:00
/* styles.css */
2024-06-01 18:37:38 +00:00
/* Make sure the input field takes the full width of its parent */
.plugin-comment {
2024-09-14 19:49:36 +00:00
margin-top: var(--size-4-1);
2024-06-01 18:37:38 +00:00
width: 100%;
box-sizing: border-box; /* Ensure padding is included in the element's total width and height */
}
2024-07-02 18:41:54 +00:00
.plugin-comment.plugin-comment-hidden,
2024-06-28 20:39:38 +00:00
.plugin-comment.plugin-comment-placeholder {
2024-08-18 12:01:53 +00:00
display: none;
}
.plugin-comment-annotation:focus:empty:before {
content: "\00a0"; /* Non-breaking space to maintain height when focused */
}
.plugin-comment-annotation.plugin-comment-placeholder {
color: #CCCCCC; /* Standard placeholder color */
2024-06-28 20:39:38 +00:00
}
2024-06-30 09:58:57 +00:00
.plugin-comment-annotation > p:first-child {
margin-top: 0;
}
.plugin-comment-annotation > p:last-child {
margin-bottom: 0;
}
2024-07-05 16:03:39 +00:00
/* Mobile specific styles */
.is-mobile .plugin-comment-annotation::after {
content: "" !important;
2024-06-01 20:51:47 +00:00
}
2024-06-01 18:37:38 +00:00
.plugin-comment-annotation {
2024-06-01 17:57:28 +00:00
width: 100%;
}
2024-06-30 09:58:57 +00:00
2024-08-14 17:53:21 +00:00
.plugin-comment-annotation-editable {
cursor: text;
}
2024-06-30 10:22:45 +00:00
/* Show comment container when hovering over the plugin container */
.setting-item:hover .plugin-comment.plugin-comment-placeholder {
display: block;
}
2024-06-30 11:08:56 +00:00
/* Setting pane */
2024-10-20 14:15:06 +00:00
.plugin-comment-settings code {
padding: 0;
}
2024-06-30 11:08:56 +00:00
.plugin-comment-instructions {
2024-10-20 14:15:06 +00:00
margin: 0;
padding: 0;
2024-06-30 11:08:56 +00:00
}
div.plugin-comment-instructions em {
font-weight: 500;
}
div.plugin-comment-instructions strong {
font-weight: 500;
}
.plugin-comment-instructions > p:first-child {
margin-top: 0;
}
.plugin-comment-instructions > p:last-child {
margin-bottom: 0;
}
2024-06-30 10:22:45 +00:00
2024-08-14 17:53:21 +00:00
.plugin-comment-backup-table,
.plugin-comment-uninstalled {
2024-08-22 16:59:25 +00:00
margin-left:var(--size-4-10);
2024-08-14 14:49:40 +00:00
}
2024-08-15 10:29:02 +00:00
.is-mobile .plugin-comment-backup-table,
.is-mobile .plugin-comment-uninstalled {
2024-08-15 10:35:12 +00:00
margin-left:0;
2024-08-15 10:29:02 +00:00
}
2024-08-14 14:49:40 +00:00
.plugin-comment-backup-table {
display: table;
width: 100%;
border-collapse: collapse;
}
2024-08-14 17:53:21 +00:00
.plugin-comment-backup-table-row {
2024-08-14 14:49:40 +00:00
display: table-row;
}
2024-08-14 17:53:21 +00:00
.plugin-comment-backup-table-cell {
2024-08-14 14:49:40 +00:00
display: table-cell;
padding: var(--size-4-2) 0 var(--size-4-2) 0;
2024-08-14 14:49:40 +00:00
border-bottom: 1px solid var(--background-modifier-border);
vertical-align: middle;
}
2024-08-14 17:53:21 +00:00
.plugin-comment-backup-table-row.header .plugin-comment-backup-table-cell {
font-weight: var(--font-semibold);
2024-08-14 14:49:40 +00:00
}
2024-08-14 17:53:21 +00:00
.plugin-comment-backup-name {
2024-08-14 14:49:40 +00:00
cursor: text;
}
2024-08-15 10:29:02 +00:00
.plugin-comment-export-buttons {
flex-direction: column;
justify-content: flex-start;
align-items: normal;
}
2024-08-14 17:53:21 +00:00
.plugin-comment-backup-buttons {
2024-08-14 14:49:40 +00:00
display: flex;
gap: var(--size-4-2);
2024-08-14 23:21:30 +00:00
justify-content: flex-end;
2024-08-15 10:29:02 +00:00
}
.is-mobile .plugin-comment-backup-buttons {
2024-08-15 10:35:12 +00:00
flex-direction: column;
2024-08-15 10:29:02 +00:00
}
2024-08-18 14:10:24 +00:00
.plugin-comment-selectable {
user-select: text;
}
.plugin-comment-icon-container {
display: flex;
2024-08-18 21:11:38 +00:00
gap: 0px;
justify-content: center;
2024-08-18 21:11:38 +00:00
margin-top: var(--size-4-2);
margin-bottom: var(--size-4-1);
font-size: 16px;
}
2024-08-18 21:11:38 +00:00
.plugin-comment-icon-container div {
position: relative;
bottom: 2px;
}