feat: chevron on right + tabbed settings + display customization
View: - Chevron moved from left side to right side of bookmark rows - Display settings applied as CSS variables on the view element Settings: - Tabbed UI with 4 tabs: Calendar, Periodic Notes, Recent Files, Display - Display tab: row size, row spacing, indent size, font size, icon size, calendar cell size - All settings use sliders with live preview and dynamic tooltips - Reset to defaults button CSS: - Bookmark items use CSS variables (--wp-row-size, --wp-row-spacing, etc.) - Calendar cells use --wp-cal-cell-size for configurable height - Settings tab styling with active indicator
This commit is contained in:
+46
-5
@@ -154,10 +154,14 @@
|
||||
|
||||
.waypoint-calendar .waypoint-day {
|
||||
cursor: var(--cursor);
|
||||
padding: 6px 0;
|
||||
min-height: var(--wp-cal-cell-size, 32px);
|
||||
padding: 2px 0;
|
||||
border-radius: 6px;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.waypoint-calendar .waypoint-day:hover {
|
||||
@@ -256,9 +260,10 @@
|
||||
.waypoint-favorites .waypoint-bookmark-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
gap: var(--wp-row-spacing, 4px);
|
||||
padding: 2px 8px 2px 4px;
|
||||
font-size: var(--font-ui-small);
|
||||
font-size: var(--wp-font-size, 13px);
|
||||
min-height: var(--wp-row-size, 26px);
|
||||
cursor: var(--cursor);
|
||||
border-radius: 4px;
|
||||
user-select: none;
|
||||
@@ -273,6 +278,8 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-shrink: 0;
|
||||
width: var(--wp-icon-size, 16px);
|
||||
height: var(--wp-icon-size, 16px);
|
||||
}
|
||||
|
||||
.waypoint-favorites .waypoint-bookmark-item .waypoint-bm-label {
|
||||
@@ -297,7 +304,7 @@
|
||||
}
|
||||
|
||||
.waypoint-favorites .waypoint-bookmark-children {
|
||||
padding-left: 16px;
|
||||
padding-left: var(--wp-indent-size, 16px);
|
||||
}
|
||||
|
||||
.waypoint-favorites .waypoint-bookmark-children.collapsed {
|
||||
@@ -350,4 +357,38 @@
|
||||
border: none;
|
||||
cursor: grab;
|
||||
background: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
/* ── Settings Tabs ── */
|
||||
|
||||
.waypoint-settings-tabs {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
margin-bottom: 20px;
|
||||
border-bottom: 1px solid var(--background-modifier-border);
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
||||
.waypoint-settings-tab {
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: var(--cursor);
|
||||
color: var(--text-muted);
|
||||
padding: 6px 14px;
|
||||
border-radius: 6px 6px 0 0;
|
||||
font-size: var(--font-ui-small);
|
||||
font-weight: var(--font-medium);
|
||||
transition: color 100ms, background 100ms;
|
||||
}
|
||||
|
||||
.waypoint-settings-tab:hover {
|
||||
color: var(--text-normal);
|
||||
background: var(--background-modifier-hover);
|
||||
}
|
||||
|
||||
.waypoint-settings-tab.is-active {
|
||||
color: var(--text-accent);
|
||||
background: var(--background-modifier-active-hover);
|
||||
border-bottom: 2px solid var(--text-accent);
|
||||
margin-bottom: -9px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user