lostpaul_obsidian-folder-notes/styles.css

240 lines
4.9 KiB
CSS
Raw Normal View History

2023-03-31 07:19:32 +00:00
.fn-whitespace-stop-collapsing .nav-folder-title-content {
2023-07-06 11:50:28 +00:00
flex-grow: 1 !important;
padding-bottom: 4px !important;
padding-top: 4px !important;
2023-03-12 16:11:05 +00:00
}
2023-03-20 21:41:24 +00:00
2023-05-11 16:57:59 +00:00
.fn-whitespace-stop-collapsing .nav-folder-title {
2023-07-06 11:50:28 +00:00
padding-bottom: 0 !important;
padding-top: 0 !important;
padding-right: 0 !important;
2023-05-11 16:57:59 +00:00
}
2023-05-22 08:14:37 +00:00
.fn-whitespace-stop-collapsing .nav-folder-collapse-indicator {
2023-07-06 11:50:28 +00:00
margin-top: 4px !important;
2023-04-09 15:07:37 +00:00
}
body:not(.is-grabbing) .tree-item-self.fn-is-active:hover,
.tree-item-self.fn-is-active {
2024-01-13 20:59:05 +00:00
color: var(--nav-item-color-active);
background-color: var(--nav-item-background-active);
font-weight: var(--nav-item-weight-active);
}
2023-05-11 16:57:59 +00:00
2023-04-22 10:44:59 +00:00
.has-folder-note .nav-folder-title-content:hover,
.has-folder-note.view-header-breadcrumb:hover {
2023-04-09 15:07:37 +00:00
cursor: pointer;
}
2023-03-12 16:11:05 +00:00
.hide-folder-note .is-folder-note {
display: none;
2023-03-19 20:05:16 +00:00
}
2023-06-28 21:01:13 +00:00
.hide-folder .folder-name {
display: none;
}
2023-03-19 20:05:16 +00:00
.nav-folder-collapse-indicator:hover {
cursor: pointer;
}
2023-07-26 20:16:54 +00:00
.fn-excluded-folder-heading {
margin-top: 0 !important;
border-top: 1px solid var(--background-modifier-border);
}
.add-exclude-folder-item {
padding-bottom: 0 !important;
2023-03-18 21:56:11 +00:00
}
.fn-exclude-folder-list {
padding-bottom: 0 !important;
2023-03-17 21:58:27 +00:00
}
.fn-exclude-folder-list.setting-item {
border-top: 0 !important;
border-bottom: 0 !important;
}
.fn-exclude-folder-list .setting-item-control {
2023-03-18 21:56:11 +00:00
display: flex;
justify-content: flex-start !important;
2023-03-17 21:58:27 +00:00
}
.fn-exclude-folder-list .setting-item-info {
display: none !important;
2023-03-19 12:35:04 +00:00
}
.fn-exclude-folder-list .search-input-container {
width: 100%;
}
2023-03-19 12:35:04 +00:00
.fn-confirmation-modal {
padding-bottom: 0;
}
:not(.is-phone) .fn-confirmation-modal-button {
2023-03-19 12:35:04 +00:00
margin-right: 0.7rem;
2023-03-20 21:41:24 +00:00
}
:not(.is-phone) .fn-delete-confirmation-modal-buttons {
2023-03-20 21:41:24 +00:00
display: flex;
align-items: center;
margin-top: 10px;
}
.fn-delete-confirmation-modal-buttons span:hover,
.fn-delete-confirmation-modal-buttons input:hover {
cursor: pointer;
}
:not(.is-phone) .fn-delete-confirmation-modal-buttons .fn-confirmation-modal-button {
2023-03-20 21:41:24 +00:00
margin-left: auto;
}
2023-03-20 21:41:24 +00:00
:not(.is-phone) .fn-delete-confirmation-modal-buttons input[type="checkbox"] {
2023-03-20 21:41:24 +00:00
margin-right: 5px;
2023-03-23 07:56:11 +00:00
}
.is-phone .fn-delete-confirmation-modal-buttons {
display: flex;
flex-direction: column;
align-items: center;
}
2023-03-23 07:56:11 +00:00
.is-phone .fn-delete-confirmation-modal-buttons .fn-confirmation-modal-button {
margin-top: 10px;
2023-06-26 11:14:31 +00:00
}
2023-12-28 17:33:12 +00:00
/* Folder overview */
.fn-folder-overview-collapse-icon {
display: block !important;
}
2023-12-28 17:33:12 +00:00
.fn-has-no-files .collapse-icon {
display: none !important;
}
2023-06-26 11:14:31 +00:00
.folder-overview-list {
2023-07-26 14:11:37 +00:00
margin-top: 0 !important;
2023-06-28 21:01:13 +00:00
margin-bottom: 0 !important;
padding-bottom: 1.200 !important;
2023-07-26 14:11:37 +00:00
padding-top: 1.200 !important;
2023-06-26 11:14:31 +00:00
}
2023-06-28 21:01:13 +00:00
.folder-overview-list-item {
display: flex;
}
2023-06-26 11:14:31 +00:00
.folder-overview-list::marker {
color: var(--text-faint);
}
.folder-list::marker {
color: var(--text-normal) !important;
}
2023-07-04 20:03:39 +00:00
.folder-overview-grid {
display: grid;
grid-gap: 20px;
grid-template-columns: repeat(3, 1fr);
}
.folder-overview-grid-item-article article {
padding: 15px;
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
}
2023-07-26 14:11:37 +00:00
2023-07-04 20:03:39 +00:00
.folder-overview-grid-item-article a {
text-decoration: none !important;
}
2023-07-26 14:11:37 +00:00
2023-07-04 20:03:39 +00:00
.folder-overview-grid-item-article h1 {
font-size: 1.2rem;
}
.folder-overview-grid-item {
flex: 1 1 auto;
margin-right: 1.200rem;
margin-bottom: 1.200rem;
}
.fn-confirmation-modal .setting-item {
border-top: 0 !important;
padding-top: 0 !important;
}
.pointer-cursor {
cursor: pointer !important;
2023-09-19 19:31:58 +00:00
}
/* Setting tab style */
.fn-settings-tab-bar {
2024-01-13 20:59:05 +00:00
display: flex;
flex-direction: row;
2023-09-19 19:31:58 +00:00
}
.fn-settings-tab {
2024-01-13 20:59:05 +00:00
display: flex;
flex-direction: row;
align-items: center;
gap: var(--size-4-2);
padding: 10px;
border: 1px solid var(--background-modifier-border)
2023-09-19 19:31:58 +00:00
}
.fn-settings-tab-active {
2024-01-13 20:59:05 +00:00
background-color: var(--color-accent);
color: var(--text-on-accent);
2023-09-19 19:31:58 +00:00
}
.fn-settings-tab-name {
2024-01-13 20:59:05 +00:00
font-weight: bold;
2023-09-19 19:31:58 +00:00
}
.fn-settings-tab-icon {
2024-01-13 20:59:05 +00:00
display: flex;
2023-10-28 15:46:06 +00:00
}
/* File explorer & path styles */
.folder-note-underline .has-folder-note .nav-folder-title-content {
text-decoration-line: underline;
text-decoration-color: var(--text-faint);
text-decoration-thickness: 2px;
text-underline-offset: 1px;
}
.folder-note-underline-path .has-folder-note.view-header-breadcrumb {
text-decoration-line: underline;
text-decoration-color: var(--text-faint);
text-decoration-thickness: 1px;
text-underline-offset: 2px;
}
2024-01-13 20:59:05 +00:00
.folder-note-bold .has-folder-note .nav-folder-title-content,
2023-10-28 15:46:06 +00:00
.folder-note-bold-path .has-folder-note.view-header-breadcrumb {
font-weight: bold;
}
.folder-note-cursive .has-folder-note .nav-folder-title-content,
2023-10-28 15:46:06 +00:00
.folder-note-cursive-path .has-folder-note.view-header-breadcrumb {
font-style: italic;
2024-01-13 20:59:05 +00:00
}
2024-01-21 21:08:16 +00:00
.fn-hide-collapse-icon .has-folder-note.only-has-folder-note .tree-item-icon {
2024-01-13 20:59:05 +00:00
display: none;
}