/* Base Panel Layout */ .panel-root { position: absolute; left: 0; background: var(--color-panel); border-right: 1px solid var(--color-divider); display: flex; flex-direction: column; box-shadow: var(--shadow-1); } .panel-handle { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 24px; height: 48px; background: var(--color-panel); border: 1px solid var(--color-divider); border-left: none; border-radius: 0 4px 4px 0; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 20px; color: var(--color-text); z-index: var(--layer-panels); box-shadow: var(--shadow-1); } .panel-handle:hover { background: var(--color-hover); } .panel-header { padding: 8px; border-bottom: 1px solid var(--color-divider); display: flex; align-items: center; gap: 8px; } .panel-header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; } .panel-type-select { flex: 1; min-width: 0; padding: 4px 8px; border-radius: 4px; background: var(--color-background); border: 1px solid var(--color-divider); color: var(--color-text); font: inherit; } .panel-content { flex: 1; height: 100%; overflow-y: auto; padding: 8px; -ms-overflow-style: none; scrollbar-width: none; } .panel-content::-webkit-scrollbar { display: none; } .pin-button { color: var(--color-text-2); } .pin-button:hover { color: var(--color-text); } .pin-button.pinned { color: var(--color-primary); } /* Common Panel Styles */ .panel-container { padding: 8px; display: flex; flex-direction: column; gap: 8px; height: 100%; overflow-y: auto; -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */ scrollbar-width: none; /* Hide scrollbar for Firefox */ } /* Hide scrollbar for Chrome, Safari and Opera */ .panel-container::-webkit-scrollbar { display: none; } /* Input Styles */ .panel-input { padding: 8px; border-radius: 4px; border: 1px solid var(--color-muted-1); font-size: 14px; background-color: var(--color-background); color: var(--color-text); width: 100%; transition: border-color 0.2s ease; } .panel-input:focus { outline: none; border-color: var(--color-selected); } .panel-input::placeholder { color: var(--color-text-2); } /* Button Styles */ .shape-button { padding: 8px 12px; width: 100%; text-align: left; background-color: var(--color-panel); border: 1px solid var(--color-divider); border-radius: 4px; color: var(--color-text); cursor: pointer; font-size: 12px; transition: background-color 0.2s ease; } .shape-button:hover { background-color: var(--color-hover); } /* Section Styles */ .panel-section { display: flex; flex-direction: column; gap: 8px; } .panel-section-title { font-size: 14px; color: var(--color-text); margin-bottom: 4px; } .panel-divider { border-top: 1px solid var(--color-divider); margin: 8px 0; } /* Dropdown/Flyout Menu */ .panel-dropdown { position: absolute; left: 100%; top: 0; background-color: var(--color-panel); border: 1px solid var(--color-divider); border-radius: 4px; padding: 4px; z-index: 1000; max-height: 400px; overflow-y: auto; width: 200px; } /* Slides Panel Specific */ .slides-panel-tools { flex-shrink: 0; /* Prevent tools from shrinking */ display: flex; justify-content: flex-start; padding: 0 0 8px 0; border-bottom: 1px solid var(--color-divider); } .slideshow-container { border: 1px solid var(--color-divider); border-radius: 4px; overflow: visible; margin-bottom: 16px; display: flex; flex-direction: column; flex-shrink: 0; /* Prevent container from shrinking */ } .slideshow-header { background: var(--color-muted); padding: 8px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--color-divider); } .slideshow-title { display: flex; flex-direction: column; gap: 4px; } .slideshow-title h3 { margin: 0; font-size: 14px; font-weight: 500; } .slide-count { font-size: 12px; color: var(--color-text-2); } .slides-list { display: flex; flex-direction: column; flex: 1; } .slide-item { display: flex; align-items: center; gap: 8px; padding: 8px; cursor: pointer; border-bottom: 1px solid var(--color-divider); transition: background-color 0.2s; min-height: 36px; } .slide-item:last-child { border-bottom: none; } .slide-number { min-width: 20px; font-size: 12px; color: var(--color-text-2); } .slide-title { flex: 1; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .slide-item:hover { background-color: var(--color-hover); } .slide-item.selected { background-color: var(--color-selected); color: var(--color-selected-contrast); } /* Empty State */ .panel-empty-state { text-align: center; color: var(--color-text-2); padding: 16px; } /* CC Base Shape Styles */ .cc-shape-container { overflow: hidden; position: relative; border-radius: 4px; box-shadow: 0 2px 4px var(--color-muted-1); } .cc-shape-header { display: flex; justify-content: space-between; align-items: center; cursor: not-allowed; position: relative; z-index: 1; background: var(--shape-header-color, var(--color-muted)); padding: 8px; height: 32px; } .cc-shape-header .shape-title { color: white; font-weight: bold; } .cc-shape-toolbar { display: flex; gap: 4px; align-items: center; } .cc-shape-toolbar button { background: transparent; border: none; padding: 4px; cursor: pointer; color: white; opacity: 0.7; display: flex; align-items: center; justify-content: center; font-size: 16px; width: 24px; height: 24px; z-index: 100; user-select: none; position: relative; touch-action: none; } .cc-shape-content { position: absolute; top: 32px; left: 0; right: 0; bottom: 0; overflow: auto; padding: 8px; }