MacBookPro.lan 2026-7-5:20:1:24
This commit is contained in:
+232
-232
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "notebook-navigator",
|
||||
"name": "Notebook Navigator",
|
||||
"version": "3.1.2",
|
||||
"version": "3.2.2",
|
||||
"minAppVersion": "1.11.0",
|
||||
"description": "Replace the default file explorer with a clean two-pane interface featuring folder tree, tag browsing, file previews, keyboard navigation, drag-and-drop, pinned notes, and customizable display options.",
|
||||
"author": "Johan Sanneblad",
|
||||
|
||||
+625
-118
@@ -201,8 +201,8 @@ body {
|
||||
--nn-theme-calendar-feature-image-overlay-color: rgb(0 0 0 / 0.05);
|
||||
--nn-theme-calendar-day-today-color: var(--nn-theme-calendar-day-in-month-color);
|
||||
--nn-theme-calendar-day-today-bg: var(--text-selection);
|
||||
--nn-theme-calendar-day-active-border-color: #f94040;
|
||||
--nn-theme-calendar-day-active-border-width: 3px;
|
||||
--nn-theme-calendar-day-active-border-color: var(--interactive-accent);
|
||||
--nn-theme-calendar-day-active-border-width: 2px;
|
||||
|
||||
/* -- Folder & Tag Items -- */
|
||||
--nn-theme-navitem-chevron-color: var(--nn-theme-foreground-muted);
|
||||
@@ -2980,6 +2980,11 @@ button.nn-navigation-calendar-year-month {
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.nn-navigation-calendar-day.has-feature-image.is-active-editor-file .nn-navigation-calendar-active-outline,
|
||||
.nn-navigation-calendar-year-month.has-feature-image.is-selected-month .nn-navigation-calendar-active-outline {
|
||||
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
|
||||
}
|
||||
|
||||
.nn-navigation-calendar-year-month-label {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
@@ -3711,16 +3716,13 @@ button.nn-navigation-calendar-day {
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.nn-virtual-file-item-has-custom-background::after,
|
||||
.nn-virtual-file-item-has-custom-background-next::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.nn-virtual-file-item-has-filled-background-previous > .nn-file,
|
||||
.nn-virtual-file-item-has-custom-background-previous > .nn-file.nn-has-custom-background {
|
||||
--nn-file-top-left-radius: 0;
|
||||
--nn-file-top-right-radius: 0;
|
||||
}
|
||||
|
||||
.nn-virtual-file-item-has-filled-background-next > .nn-file,
|
||||
.nn-virtual-file-item-has-custom-background-next > .nn-file.nn-has-custom-background {
|
||||
--nn-file-bottom-left-radius: 0;
|
||||
--nn-file-bottom-right-radius: 0;
|
||||
@@ -3788,7 +3790,11 @@ button.nn-navigation-calendar-day {
|
||||
|
||||
/* Hide separator when flagged by renderer (selection) or context menu */
|
||||
.nn-virtual-file-item.nn-hide-separator-selection::after,
|
||||
.nn-virtual-file-item.nn-hide-separator-context-menu::after {
|
||||
.nn-virtual-file-item.nn-hide-separator-context-menu::after,
|
||||
.nn-virtual-file-item.nn-virtual-file-item-has-filled-background::after,
|
||||
.nn-virtual-file-item.nn-virtual-file-item-has-filled-background-next::after,
|
||||
.nn-virtual-file-item.nn-virtual-file-item-has-custom-background::after,
|
||||
.nn-virtual-file-item.nn-virtual-file-item-has-custom-background-next::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -3916,17 +3922,13 @@ button.nn-navigation-calendar-day {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.nn-manual-sort-row-hide-separator::after,
|
||||
.nn-manual-sort-row-has-custom-background::after,
|
||||
.nn-manual-sort-row-has-custom-background-next::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.nn-manual-sort-row-has-filled-background-previous .nn-file,
|
||||
.nn-manual-sort-row-has-custom-background-previous .nn-file.nn-has-custom-background {
|
||||
--nn-file-top-left-radius: 0;
|
||||
--nn-file-top-right-radius: 0;
|
||||
}
|
||||
|
||||
.nn-manual-sort-row-has-filled-background-next .nn-file,
|
||||
.nn-manual-sort-row-has-custom-background-next .nn-file.nn-has-custom-background {
|
||||
--nn-file-bottom-left-radius: 0;
|
||||
--nn-file-bottom-right-radius: 0;
|
||||
@@ -3955,6 +3957,14 @@ button.nn-navigation-calendar-day {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.nn-manual-sort-row.nn-manual-sort-row-hide-separator::after,
|
||||
.nn-manual-sort-row.nn-manual-sort-row-has-filled-background::after,
|
||||
.nn-manual-sort-row.nn-manual-sort-row-has-filled-background-next::after,
|
||||
.nn-manual-sort-row.nn-manual-sort-row-has-custom-background::after,
|
||||
.nn-manual-sort-row.nn-manual-sort-row-has-custom-background-next::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.nn-manual-sort-file {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
@@ -4813,11 +4823,20 @@ button.nn-navigation-calendar-day {
|
||||
}
|
||||
|
||||
.nn-list-group-header-folder-segment {
|
||||
flex: 0 1 auto;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.nn-list-group-header-folder-segment:not(:last-child) {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.nn-list-group-header-folder-segment:last-child {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
.nn-list-group-header-path-separator {
|
||||
flex: 0 0 auto;
|
||||
padding-inline: 4px;
|
||||
@@ -4944,6 +4963,64 @@ button.nn-list-group-header-collapse-button .nn-list-group-header-icon {
|
||||
border-right: none;
|
||||
border-bottom: 1px solid var(--nn-theme-divider-border-color);
|
||||
}
|
||||
/* Source: src/styles/sections/inline-rename.css */
|
||||
|
||||
/* ========================================================================
|
||||
Inline Rename Styles
|
||||
======================================================================== */
|
||||
|
||||
.nn-inline-rename-input {
|
||||
flex: 1 1 auto;
|
||||
min-width: 0;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 0 6px;
|
||||
border: 1px solid var(--interactive-accent);
|
||||
border-radius: 4px;
|
||||
background-color: var(--background-primary);
|
||||
color: var(--text-normal);
|
||||
font: inherit;
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
.nn-inline-rename-input:focus {
|
||||
outline: 2px solid var(--interactive-accent);
|
||||
outline-offset: -2px;
|
||||
}
|
||||
|
||||
.nn-inline-rename-input:disabled {
|
||||
opacity: 0.75;
|
||||
}
|
||||
|
||||
.nn-navitem-inline-rename {
|
||||
height: calc(var(--nn-setting-nav-item-height) - 8px);
|
||||
font-size: var(--nn-setting-nav-font-size);
|
||||
font-weight: var(--nn-theme-navitem-name-font-weight);
|
||||
}
|
||||
|
||||
.notebook-navigator-mobile .nn-navitem-inline-rename {
|
||||
height: calc(var(--nn-setting-nav-item-height-mobile) - 10px);
|
||||
}
|
||||
|
||||
.nn-file-name--inline-renaming {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0;
|
||||
max-height: none;
|
||||
overflow: visible;
|
||||
white-space: nowrap;
|
||||
word-break: normal;
|
||||
}
|
||||
|
||||
.nn-file-name--inline-renaming .nn-file-ext-suffix {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.nn-file-inline-rename {
|
||||
height: var(--nn-file-title-line-height);
|
||||
font-size: var(--nn-file-name-size-mobile, var(--nn-file-name-size));
|
||||
font-weight: var(--nn-theme-file-name-font-weight);
|
||||
}
|
||||
/* Source: src/styles/sections/ui-empty-state.css */
|
||||
|
||||
/* ========================================================================
|
||||
@@ -4983,7 +5060,10 @@ button.nn-list-group-header-collapse-button .nn-list-group-header-icon {
|
||||
bottom: -0.5px;
|
||||
/* Pre-composited solid color prevents hairlines by blending alpha with pane background */
|
||||
background-color: var(--nn-selected-file-bg-color);
|
||||
border-radius: var(--nn-file-item-border-radius);
|
||||
border-top-left-radius: var(--nn-file-top-left-radius, var(--nn-file-item-border-radius));
|
||||
border-top-right-radius: var(--nn-file-top-right-radius, var(--nn-file-item-border-radius));
|
||||
border-bottom-left-radius: var(--nn-file-bottom-left-radius, var(--nn-file-item-border-radius));
|
||||
border-bottom-right-radius: var(--nn-file-bottom-right-radius, var(--nn-file-item-border-radius));
|
||||
box-shadow: inset 0 0 0 var(--nn-theme-file-border-width) var(--nn-selected-file-border-color);
|
||||
z-index: 0; /* Below separator lines */
|
||||
}
|
||||
@@ -5126,30 +5206,20 @@ body.nn-resizing {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* Empty placeholder to hide browser's default drag preview */
|
||||
.nn-drag-empty-placeholder {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
left: -9999px;
|
||||
top: -9999px;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
/* Drag ghost element - follows the cursor during drag */
|
||||
.nn-drag-ghost {
|
||||
/* Offscreen element used as the browser-native drag image */
|
||||
.nn-drag-native-preview {
|
||||
position: fixed;
|
||||
left: -1000px;
|
||||
top: -1000px;
|
||||
display: inline-flex;
|
||||
padding: 10px 0 0 12px;
|
||||
pointer-events: none;
|
||||
z-index: 999999;
|
||||
opacity: 0.9;
|
||||
will-change: transform;
|
||||
left: 0;
|
||||
top: 0;
|
||||
transform: translate(var(--nn-drag-ghost-x, -1000px), var(--nn-drag-ghost-y, -1000px));
|
||||
}
|
||||
|
||||
/* Badge shown on drag ghost for multiple files - Apple-style red badge */
|
||||
.nn-drag-ghost-badge {
|
||||
/* Badge shown in the native drag image for multiple files */
|
||||
.nn-drag-preview-badge {
|
||||
background-color: #dc3545;
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
@@ -5164,8 +5234,8 @@ body.nn-resizing {
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
/* Icon shown on drag ghost for single file/folder - dark circular background */
|
||||
.nn-drag-ghost-icon {
|
||||
/* Icon shown in the native drag image for single items */
|
||||
.nn-drag-preview-icon {
|
||||
background-color: #000000; /* Default black for light mode */
|
||||
border-radius: 50%;
|
||||
display: inline-flex;
|
||||
@@ -5177,12 +5247,12 @@ body.nn-resizing {
|
||||
}
|
||||
|
||||
/* Dark mode: use dark gray background */
|
||||
.theme-dark .nn-drag-ghost-icon {
|
||||
.theme-dark .nn-drag-preview-icon {
|
||||
background-color: var(--background-modifier-border-hover);
|
||||
}
|
||||
|
||||
/* Style the Lucide icon inside drag ghost - white icon */
|
||||
.nn-drag-ghost-icon svg {
|
||||
/* Style the Lucide icon inside the drag preview */
|
||||
.nn-drag-preview-icon svg {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
color: #ffffff;
|
||||
@@ -5953,6 +6023,61 @@ body.nn-resizing {
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
/* Release video */
|
||||
.nn-whats-new-video-frame {
|
||||
position: relative;
|
||||
display: block;
|
||||
width: 100%;
|
||||
aspect-ratio: 16 / 9;
|
||||
overflow: hidden;
|
||||
border-radius: 8px;
|
||||
background: var(--background-secondary);
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.nn-whats-new-video {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
background: #000000;
|
||||
}
|
||||
|
||||
.nn-whats-new-video-open {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
right: 8px;
|
||||
z-index: 2;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
color: var(--text-normal);
|
||||
background: var(--background-primary);
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
border-radius: 6px;
|
||||
opacity: 0.9;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.nn-whats-new-video-open:hover {
|
||||
color: var(--text-normal);
|
||||
background: var(--background-secondary);
|
||||
}
|
||||
|
||||
.nn-whats-new-video-open:focus-visible {
|
||||
outline: 2px solid var(--interactive-accent);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.nn-whats-new-video-open svg {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
/* YouTube link preview */
|
||||
.nn-whats-new-youtube-link {
|
||||
display: block;
|
||||
@@ -6048,6 +6173,15 @@ body.nn-resizing {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.nn-whats-new-info code,
|
||||
.nn-whats-new-version li code {
|
||||
color: var(--code-normal);
|
||||
background-color: var(--code-background);
|
||||
padding: 0.1em 0.35em;
|
||||
border-radius: 4px;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
/* Support container */
|
||||
.nn-whats-new-support {
|
||||
margin-top: 0;
|
||||
@@ -7259,8 +7393,6 @@ button.nn-youtube-button svg {
|
||||
}
|
||||
|
||||
.nn-preview-label,
|
||||
.nn-rgb-label,
|
||||
.nn-rgb-title,
|
||||
.nn-hex-title {
|
||||
font-size: 11px;
|
||||
color: var(--nn-theme-foreground-muted);
|
||||
@@ -7321,99 +7453,121 @@ button.nn-youtube-button svg {
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
/* RGB sliders section */
|
||||
.nn-rgb-section,
|
||||
/* Visual color picker section */
|
||||
.nn-color-area-section,
|
||||
.nn-color-preview-section {
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
|
||||
.nn-rgb-section {
|
||||
.nn-color-area-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 14px;
|
||||
margin-bottom: auto; /* Push everything below to the bottom */
|
||||
}
|
||||
|
||||
.nn-rgb-title {
|
||||
margin-bottom: 6px;
|
||||
.nn-color-controls {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.nn-rgb-row {
|
||||
/* Header above the saturation/value area; matches the preset header height so the picker
|
||||
lines up with the swatch grid in the left column. Hidden on mobile where the area sits
|
||||
beside the sliders. */
|
||||
.nn-sv-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
min-height: 20px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.nn-rgb-row:last-child {
|
||||
.nn-sv-area {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 150px;
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
border-radius: var(--radius-m);
|
||||
background-color: var(--nn-sv-hue, #ff0000);
|
||||
background-image: linear-gradient(to top, #000000, rgba(0, 0, 0, 0)), linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
|
||||
cursor: crosshair;
|
||||
touch-action: none;
|
||||
}
|
||||
|
||||
.nn-sv-thumb {
|
||||
position: absolute;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
border: 2px solid #ffffff;
|
||||
border-radius: 50%;
|
||||
background: var(--nn-thumb-color, #ffffff);
|
||||
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
|
||||
pointer-events: none;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.nn-color-slider {
|
||||
position: relative;
|
||||
width: calc(100% - 16px);
|
||||
height: 14px;
|
||||
margin: 0 8px;
|
||||
border-radius: 7px;
|
||||
cursor: pointer;
|
||||
touch-action: none;
|
||||
}
|
||||
|
||||
.nn-hue-slider {
|
||||
background: linear-gradient(
|
||||
to right,
|
||||
#ff0000 0%,
|
||||
#ffff00 16.66%,
|
||||
#00ff00 33.33%,
|
||||
#00ffff 50%,
|
||||
#0000ff 66.66%,
|
||||
#ff00ff 83.33%,
|
||||
#ff0000 100%
|
||||
);
|
||||
}
|
||||
|
||||
.nn-alpha-gradient {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
border-radius: inherit;
|
||||
background: linear-gradient(to right, rgba(0, 0, 0, 0), var(--nn-alpha-color, #000000));
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.nn-color-slider .nn-slider-thumb {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
z-index: 1;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
border: 2px solid #ffffff;
|
||||
border-radius: 50%;
|
||||
background: transparent;
|
||||
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
|
||||
pointer-events: none;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
/* Hex input section - sits at the bottom of the picker, below the alpha slider */
|
||||
.nn-hex-section {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.nn-rgb-label {
|
||||
width: 16px;
|
||||
}
|
||||
|
||||
.nn-rgb-slider {
|
||||
flex: 1;
|
||||
height: 4px;
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
background: var(--background-modifier-border);
|
||||
border-radius: 2px;
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Slider thumb */
|
||||
.nn-rgb-slider::-webkit-slider-thumb {
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
border-radius: 50%;
|
||||
background: var(--interactive-accent);
|
||||
cursor: pointer;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.nn-rgb-slider::-moz-range-thumb {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
border-radius: 50%;
|
||||
background: var(--interactive-accent);
|
||||
cursor: pointer;
|
||||
border: none;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
/* RGB value display */
|
||||
.nn-rgb-value {
|
||||
width: 32px;
|
||||
text-align: right;
|
||||
font-size: 11px;
|
||||
color: var(--nn-theme-foreground-muted);
|
||||
font-family: var(--font-monospace);
|
||||
}
|
||||
|
||||
/* Color gradients for sliders */
|
||||
.nn-rgb-slider-r {
|
||||
background: linear-gradient(to right, #000000, #ff0000);
|
||||
}
|
||||
|
||||
.nn-rgb-slider-g {
|
||||
background: linear-gradient(to right, #000000, #00ff00);
|
||||
}
|
||||
|
||||
.nn-rgb-slider-b {
|
||||
background: linear-gradient(to right, #000000, #0000ff);
|
||||
}
|
||||
|
||||
/* Hex input section */
|
||||
.nn-hex-section {
|
||||
margin-bottom: 20px;
|
||||
.nn-hex-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.nn-hex-title {
|
||||
display: block;
|
||||
margin-bottom: 6px;
|
||||
height: 17px; /* Match the preview label height for alignment */
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.nn-hex-container {
|
||||
@@ -7531,11 +7685,14 @@ button.nn-youtube-button svg {
|
||||
}
|
||||
|
||||
/* Preset and Recent colors sections */
|
||||
.nn-preset-section,
|
||||
.nn-recent-section {
|
||||
.nn-preset-section {
|
||||
margin-top: auto; /* Align to bottom */
|
||||
}
|
||||
|
||||
.nn-recent-section {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.nn-preset-colors,
|
||||
.nn-recent-colors {
|
||||
display: grid;
|
||||
@@ -7544,6 +7701,16 @@ button.nn-youtube-button svg {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.nn-recent-colors {
|
||||
grid-template-columns: repeat(10, 36px);
|
||||
}
|
||||
|
||||
.nn-recent-colors .nn-color-dot {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
aspect-ratio: auto;
|
||||
}
|
||||
|
||||
.nn-preset-colors {
|
||||
margin-top: 8px;
|
||||
}
|
||||
@@ -7689,6 +7856,29 @@ button.nn-youtube-button svg {
|
||||
grid-template-columns: repeat(8, 1fr);
|
||||
}
|
||||
|
||||
.nn-sv-header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Saturation/value area on the left, hue + transparency + hex stacked on the right.
|
||||
The SV area stretches to match the height of that stack. */
|
||||
.nn-color-area-section {
|
||||
flex-direction: row;
|
||||
align-items: stretch;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.nn-sv-area {
|
||||
flex: 1 1 0;
|
||||
width: auto;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.nn-color-controls {
|
||||
flex: 1 1 0;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.modal.nn-color-picker-modal .modal-content {
|
||||
padding: 16px 16px 12px;
|
||||
gap: 12px;
|
||||
@@ -7699,6 +7889,311 @@ button.nn-youtube-button svg {
|
||||
padding-top: 12px;
|
||||
}
|
||||
}
|
||||
/* Source: src/styles/sections/modal-appearance.css */
|
||||
|
||||
/* ========================================================================
|
||||
Appearance Modal - icon, foreground color, and background color editor
|
||||
======================================================================== */
|
||||
|
||||
.modal.nn-appearance-modal {
|
||||
width: 620px;
|
||||
max-width: calc(100vw - 40px);
|
||||
max-height: 86vh;
|
||||
}
|
||||
|
||||
.modal.nn-appearance-modal .modal-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
padding: 16px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.modal.nn-appearance-modal .modal-close-button {
|
||||
z-index: 10;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.nn-appearance-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 0;
|
||||
padding: 14px 16px;
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
border-radius: var(--radius-m);
|
||||
background: var(--background-secondary);
|
||||
}
|
||||
|
||||
@media (hover: hover) and (pointer: fine) {
|
||||
.nn-appearance-preview-item:hover .nn-appearance-clear-button,
|
||||
.nn-appearance-preview-item:focus-within .nn-appearance-clear-button {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
pointer-events: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.nn-appearance-clear-button.nn-appearance-clear-hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.nn-appearance-preview-item {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
max-width: 100%;
|
||||
gap: 8px;
|
||||
padding: 6px 14px;
|
||||
border-radius: var(--radius-s);
|
||||
background: var(--nn-preview-bg, var(--background-secondary));
|
||||
color: var(--nn-preview-fg, var(--nn-theme-foreground));
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.nn-appearance-preview-icon {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.nn-appearance-preview-icon svg {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
|
||||
.nn-appearance-preview-icon-empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.nn-appearance-preview-name {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.nn-appearance-tabs {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
border-bottom: 1px solid var(--background-modifier-border);
|
||||
}
|
||||
|
||||
.nn-appearance-tab {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
min-width: 0;
|
||||
padding: 7px 12px;
|
||||
margin: 0 0 -1px;
|
||||
border: 0;
|
||||
border-bottom: 2px solid transparent;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
color: var(--nn-theme-foreground-muted);
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.nn-appearance-tab:hover {
|
||||
color: var(--nn-theme-foreground);
|
||||
}
|
||||
|
||||
.nn-appearance-tab.nn-active {
|
||||
border-bottom-color: var(--interactive-accent);
|
||||
color: var(--nn-theme-foreground);
|
||||
}
|
||||
|
||||
.nn-appearance-tab-chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex: 0 0 auto;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
}
|
||||
|
||||
.nn-appearance-tab-icon-chip {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border-radius: var(--radius-s);
|
||||
color: var(--nn-theme-foreground);
|
||||
}
|
||||
|
||||
.nn-appearance-tab-icon-chip svg {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.nn-appearance-tab-color-chip {
|
||||
width: 32px;
|
||||
height: 18px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.nn-appearance-tab-chip-empty {
|
||||
opacity: 0.55;
|
||||
}
|
||||
|
||||
.nn-appearance-tab-label {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.nn-appearance-body {
|
||||
flex: 1 1 auto;
|
||||
height: 360px;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.nn-appearance-panel {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.nn-appearance-panel-hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.nn-appearance-reset-button {
|
||||
padding: 4px 10px;
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
border-radius: var(--radius-s);
|
||||
background: transparent;
|
||||
color: var(--nn-theme-foreground-muted);
|
||||
font-size: 12px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.nn-appearance-reset-button:hover {
|
||||
border-color: var(--background-modifier-border-hover);
|
||||
color: var(--nn-theme-foreground);
|
||||
}
|
||||
|
||||
.nn-appearance-reset-button.nn-appearance-reset-active {
|
||||
border-color: var(--interactive-accent);
|
||||
color: var(--interactive-accent);
|
||||
}
|
||||
|
||||
.nn-appearance-picker-host {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
flex: 1 1 auto;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.nn-appearance-picker-host .nn-icon-provider-tabs {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.nn-appearance-picker-host .nn-icon-search-container {
|
||||
padding: 0 8px;
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.nn-appearance-picker-host .nn-icon-results-container {
|
||||
flex: 1 1 auto;
|
||||
height: auto;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.nn-appearance-picker-host .nn-color-picker-content {
|
||||
gap: 16px;
|
||||
padding-bottom: 0;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.nn-appearance-picker-host .nn-color-picker-left {
|
||||
flex-basis: 220px;
|
||||
}
|
||||
|
||||
.nn-appearance-picker-host .nn-color-picker-left-no-preview .nn-preset-section {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.nn-appearance-picker-host .nn-recent-section {
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.nn-appearance-picker-host .nn-preset-header,
|
||||
.nn-appearance-picker-host .nn-hex-header,
|
||||
.nn-appearance-picker-host .nn-recent-header {
|
||||
justify-content: flex-start;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.nn-appearance-picker-host .nn-recent-colors {
|
||||
grid-template-columns: repeat(5, 1fr);
|
||||
}
|
||||
|
||||
.nn-appearance-picker-host .nn-recent-colors .nn-color-dot {
|
||||
width: auto;
|
||||
height: auto;
|
||||
aspect-ratio: 1;
|
||||
}
|
||||
|
||||
.nn-icon-item.nn-icon-item-selected {
|
||||
outline: 2px solid var(--interactive-accent);
|
||||
outline-offset: -2px;
|
||||
}
|
||||
|
||||
.nn-appearance-footer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
padding-top: 12px;
|
||||
border-top: 1px solid var(--background-modifier-border);
|
||||
}
|
||||
|
||||
.nn-appearance-footer-actions {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.modal.nn-appearance-modal {
|
||||
width: 100%;
|
||||
max-width: calc(100vw - 20px);
|
||||
}
|
||||
|
||||
.nn-appearance-tabs {
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.nn-appearance-tab {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
/* Size the body to its content rather than a fixed height so the modal adapts to large
|
||||
fonts and display scaling. The base max-height caps it to the viewport and the body
|
||||
scrolls instead of clipping. The modal resizes between tabs because each tab fits its
|
||||
own content. */
|
||||
.nn-appearance-body {
|
||||
height: auto;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.nn-appearance-picker-host .nn-icon-results-container {
|
||||
flex: 0 0 auto;
|
||||
height: 240px;
|
||||
min-height: 240px;
|
||||
}
|
||||
|
||||
.nn-appearance-picker-host .nn-recent-colors {
|
||||
grid-template-columns: repeat(8, 1fr);
|
||||
}
|
||||
}
|
||||
/* Source: src/styles/sections/theme-folder-colors.css */
|
||||
|
||||
/* ========================================================================
|
||||
@@ -8114,6 +8609,18 @@ button.nn-mobile-toolbar-button {
|
||||
.notebook-navigator-ios .nn-list-pane .nn-virtual-item {
|
||||
transform: translateZ(0);
|
||||
}
|
||||
|
||||
/*
|
||||
* iOS/iPadOS: WebKit paint workaround for pinned navigation shortcuts.
|
||||
*
|
||||
* Pinned shortcuts can remain mounted and measurable while their row contents stop repainting after the mobile
|
||||
* single-pane transform finishes. Keep the pinned shortcut surface and its rows on composited layers.
|
||||
*/
|
||||
.notebook-navigator-ios .nn-shortcut-pinned,
|
||||
.notebook-navigator-ios .nn-shortcut-pinned-scroll,
|
||||
.notebook-navigator-ios .nn-shortcut-pinned .nn-navitem {
|
||||
transform: translateZ(0);
|
||||
}
|
||||
/* Source: src/styles/sections/platform-android.css */
|
||||
|
||||
/* ========================================================================
|
||||
@@ -8855,8 +9362,8 @@ settings:
|
||||
default-dark: '#'
|
||||
-
|
||||
id: nn-theme-calendar-day-active-border-color
|
||||
title: Active day outline color
|
||||
description: Border color for the outline shown on the active day in the calendar.
|
||||
title: Selection outline color
|
||||
description: Border color for active calendar outlines.
|
||||
type: variable-themed-color
|
||||
opacity: true
|
||||
format: rgb
|
||||
@@ -8864,10 +9371,10 @@ settings:
|
||||
default-dark: '#'
|
||||
-
|
||||
id: nn-theme-calendar-day-active-border-width
|
||||
title: Active day outline thickness
|
||||
description: Border width for the outline shown on the active day in the calendar.
|
||||
title: Selection outline thickness
|
||||
description: Border width for active calendar outlines.
|
||||
type: variable-number-slider
|
||||
default: 3
|
||||
default: 2
|
||||
format: px
|
||||
min: 1
|
||||
max: 4
|
||||
|
||||
Reference in New Issue
Block a user