Download src/index.css from algorembrant/rem-notepad: direct link, hf CLI and curl.
- Browser
- Download file 5.25 kB
-
https://huggingface.co/algorembrant/rem-notepad/resolve/main/src/index.css
- Command line
-
hf download hf://algorembrant/rem-notepad/src/index.css
-
curl -L -o index.css https://huggingface.co/algorembrant/rem-notepad/resolve/main/src/index.css
5.25 kB
| * { | |
| box-sizing: border-box; | |
| margin: 0; | |
| padding: 0; | |
| border-radius: 2px ; /* Specification: Extremely-less-curved edges */ | |
| } | |
| :root { | |
| --bg-color: #f7f7f7; | |
| --bg-panel: #ffffff; | |
| --text-primary: #111111; | |
| --text-secondary: #666666; | |
| --border-color: #eeeeee; | |
| --accent-color: #2e6ff2; | |
| --font-ibm-plex: 'IBM Plex Mono', monospace; | |
| --font-claude-sans: 'Inter', system-ui, sans-serif; | |
| --font-wix-display: 'Wix Madefor Display', sans-serif; | |
| --font-courier-new: 'Courier New', Courier, monospace; | |
| --radius-sm: 2px; | |
| --radius-md: 2px; | |
| --bg-opacity: 0.15; | |
| --fg-opacity: 1; | |
| --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); | |
| } | |
| html, body { | |
| height: 100%; | |
| width: 100%; | |
| } | |
| body { | |
| background-color: var(--bg-color); | |
| color: var(--text-primary); | |
| font-family: var(--font-ibm-plex); | |
| overflow: hidden; /* App takes full screen */ | |
| } | |
| /* Typography Classes */ | |
| .font-ibm-plex-mono { font-family: var(--font-ibm-plex); } | |
| .font-claudesans { font-family: var(--font-claude-sans); } | |
| .font-wixmadefordisplay { font-family: var(--font-wix-display); } | |
| .font-couriernew { font-family: var(--font-courier-new); } | |
| /* Layout Shell */ | |
| .app-container { | |
| display: flex; | |
| height: 100vh; | |
| width: 100vw; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .app-background { | |
| position: absolute; | |
| top: 0; left: 0; right: 0; bottom: 0; | |
| background-size: cover; | |
| background-position: center; | |
| z-index: -1; | |
| opacity: var(--bg-opacity); | |
| } | |
| .mini-sidebar { | |
| width: 48px; | |
| background-color: var(--bg-panel); | |
| border-right: 1px solid var(--border-color); | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| padding: 12px 0; | |
| gap: 16px; | |
| z-index: 10; | |
| } | |
| .sidebar-panel { | |
| width: 260px; | |
| background-color: rgba(255, 255, 255, 0.85); /* Glassmorphism leaning */ | |
| backdrop-filter: blur(10px); | |
| border-right: 1px solid var(--border-color); | |
| display: flex; | |
| flex-direction: column; | |
| z-index: 10; | |
| transition: width 0.3s ease; | |
| } | |
| .sidebar-header { | |
| height: 48px; | |
| padding: 0 16px; | |
| display: flex; | |
| align-items: center; | |
| border-bottom: 1px solid var(--border-color); | |
| font-weight: 500; | |
| font-size: 14px; | |
| } | |
| .editor-main { | |
| flex: 1; | |
| background-color: transparent; | |
| position: relative; | |
| display: flex; | |
| flex-direction: column; | |
| overflow: hidden; | |
| } | |
| .editor-placeholder { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| height: 100%; | |
| color: var(--text-secondary); | |
| } | |
| /* Reusable buttons component logic will be added here */ | |
| button { | |
| all: unset; | |
| cursor: pointer; | |
| border-radius: var(--radius-sm); | |
| transition: var(--transition-smooth); | |
| } | |
| /* Tree View Styling UPDATED */ | |
| .tree-view { | |
| padding-bottom: 20px; | |
| } | |
| .tree-children { | |
| position: relative; | |
| transition: all 0.3s ease; | |
| } | |
| /* Vertical line for the branch refine */ | |
| .tree-children::before { | |
| content: ""; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| bottom: 0; | |
| width: 1px; | |
| background-color: rgba(0,0,0,0.03); | |
| } | |
| .tree-item-wrapper { | |
| position: relative; | |
| } | |
| .tree-item { | |
| transition: background-color 0.15s ease, border-left 0.1s ease; | |
| } | |
| .tree-item:hover { | |
| background-color: rgba(0, 0, 0, 0.02); | |
| } | |
| .tree-item:hover .more-btn { | |
| opacity: 0.6 ; | |
| } | |
| .tree-item .more-btn:hover { | |
| opacity: 1 ; | |
| background-color: rgba(0, 0, 0, 0.05); | |
| } | |
| .tree-item.active { | |
| background-color: rgba(0, 0, 0, 0.04) ; | |
| font-weight: 500; | |
| } | |
| .btn-icon-sm { | |
| all: unset; | |
| cursor: pointer; | |
| padding: 4px; | |
| border-radius: 4px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| transition: all 0.2s ease; | |
| color: var(--text-secondary); | |
| opacity: 0.6; | |
| } | |
| .btn-icon-sm:hover { | |
| background-color: rgba(0, 0, 0, 0.05); | |
| opacity: 1; | |
| color: var(--text-primary); | |
| } | |
| .context-menu button { | |
| all: unset; | |
| cursor: pointer; | |
| font-family: var(--font-ibm-plex); | |
| } | |
| @keyframes spin { | |
| from { transform: rotate(0deg); } | |
| to { transform: rotate(360deg); } | |
| } | |
| .spin { | |
| animation: spin 1s linear infinite; | |
| } | |
| .pixilize { | |
| filter: blur(5px) grayscale(0.5); | |
| transition: filter 0.3s ease; | |
| user-select: none; | |
| } | |
| .pixilize:hover { | |
| filter: none; | |
| } | |
| .ContentEditable { | |
| flex: 1; | |
| outline: none; | |
| padding: 0px 24px 100px 24px; | |
| font-size: 14px; | |
| line-height: 1.5; | |
| color: var(--text-primary); | |
| tab-size: 4; | |
| white-space: pre-wrap; | |
| word-break: break-word; | |
| overflow-wrap: break-word; | |
| } | |
| .editor-paragraph { | |
| margin: 0; | |
| position: relative; | |
| } | |
| .comment-bubble { | |
| background: var(--bg-panel); | |
| border: 1px solid var(--border-color); | |
| border-radius: 4px; | |
| padding: 8px 12px; | |
| font-size: 11px; | |
| box-shadow: 0 4px 12px rgba(0,0,0,0.05); | |
| margin-bottom: 8px; | |
| color: var(--text-primary); | |
| max-width: 250px; | |
| line-height: 1.4; | |
| } | |
| .comment-toggle { | |
| opacity: 0.1; | |
| transition: opacity 0.2s ease; | |
| } | |
| .tree-item-wrapper:hover .comment-toggle, | |
| .line-numbers-container:hover .comment-toggle, | |
| .comment-toggle.active { | |
| opacity: 1; | |
| } | |
| .editor-text-bold { font-weight: bold; } | |
| .editor-text-italic { font-style: italic; } | |
| .editor-text-strikethrough { text-decoration: line-through; } | |
| .editor-text-underline { text-decoration: underline; } | |
| @keyframes fadeInSlide { | |
| from { opacity: 0; transform: translateY(-5px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } |