Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ repos:
rev: v6.0.0
hooks:
- id: trailing-whitespace
exclude: '\.(yaml|yml|json|md|sh|go|conf)$|^(launch/|infra/|docker/|\.github/)'
- id: end-of-file-fixer
exclude: '\.(yaml|yml|json|md)$'
exclude: '\.(yaml|yml|json|md|sh|go|conf)$|^(launch/|infra/|docker/)'
- id: check-yaml
- id: check-added-large-files
22 changes: 22 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools-scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"

[project]
name = "studio"
version = "0.1.0"
description = "Studio - Interactive laboratory visualization and management system"
readme = "README.md"
requires-python = ">=3.8"
license = {text = "MIT"}
authors = [
{name = "ScienceOL", email = "contact@sciol.ac.cn"}
]

dependencies = []

[project.optional-dependencies]
dev = []

[tool.setuptools]
packages = ["service"]
18 changes: 18 additions & 0 deletions service/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools-scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"

[project]
name = "studio-service"
version = "0.1.0"
description = "Studio Service - Go-based backend service"
readme = "README.md"
requires-python = ">=3.8"

dependencies = []

[project.optional-dependencies]
dev = ["pre-commit>=3.5.0"]

[tool.setuptools]
packages = []
2 changes: 2 additions & 0 deletions service/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions web/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,36 @@
scrollbar-color: rgba(156, 163, 175, 0.4) transparent;
}

/* Webkit 浏览器滚动条样式补充 */
.custom-scrollbar::-webkit-scrollbar {
width: 8px;
height: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
background: transparent;
border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
background-color: rgba(156, 163, 175, 0.4);
border-radius: 4px;
border: 2px solid transparent;
background-clip: padding-box;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
background-color: rgba(156, 163, 175, 0.6);
}

.dark .custom-scrollbar::-webkit-scrollbar-thumb {
background-color: rgba(156, 163, 175, 0.5);
}

.dark .custom-scrollbar::-webkit-scrollbar-thumb:hover {
background-color: rgba(156, 163, 175, 0.7);
}

/* 全局背景色设置,防止滚动时出现白色 */
html,
body {
Expand Down
Loading
Loading