Files
xll-mini-program/src/common/side-menu/style.css
王冕 a619938e0c Initial commit: 小羚羚小程序 Axhub Make workspace.
Include xll-miniapp prototype, PRD resources, annotation directory sync, agent skills, and cloud publishing setup.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 15:32:30 +08:00

132 lines
2.2 KiB
CSS

.axhub-side-menu {
box-sizing: border-box;
min-height: 100vh;
flex: 0 0 auto;
overflow: hidden;
color: #1f2937;
background: #ffffff;
border-right: 1px solid #e5e7eb;
transition: width 180ms ease;
}
.axhub-side-menu__header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 12px;
height: 48px;
box-sizing: border-box;
border-bottom: 1px solid #f1f5f9;
}
.axhub-side-menu__header--collapsed {
justify-content: center;
padding: 0;
}
.axhub-side-menu__title {
font-size: 14px;
font-weight: 600;
color: #111827;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.axhub-side-menu__collapse {
appearance: none;
display: inline-flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
padding: 0;
color: #475569;
background: transparent;
border: 0;
border-radius: 6px;
cursor: pointer;
}
.axhub-side-menu__collapse:hover {
background: #f1f5f9;
}
.axhub-side-menu__nav {
padding: 8px;
}
.axhub-side-menu__list,
.axhub-side-menu__sublist {
padding: 0;
margin: 0;
list-style: none;
}
.axhub-side-menu__sublist {
padding-left: 12px;
margin-top: 2px;
}
.axhub-side-menu__item {
margin: 2px 0;
}
.axhub-side-menu__item-button {
appearance: none;
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
height: 36px;
gap: 8px;
padding: 0 10px;
color: #334155;
font: inherit;
text-align: left;
background: transparent;
border: 0;
border-radius: 6px;
cursor: pointer;
}
.axhub-side-menu__item-button:hover {
background: #f8fafc;
}
.axhub-side-menu__item--selected > .axhub-side-menu__item-button {
color: #0f172a;
background: #e8f0ff;
}
.axhub-side-menu__item--disabled > .axhub-side-menu__item-button {
color: #94a3b8;
cursor: not-allowed;
}
.axhub-side-menu__item--disabled > .axhub-side-menu__item-button:hover {
background: transparent;
}
.axhub-side-menu__item-main {
display: inline-flex;
align-items: center;
min-width: 0;
gap: 10px;
}
.axhub-side-menu__icon {
flex: 0 0 auto;
}
.axhub-side-menu__label {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.axhub-side-menu__chevron {
flex: 0 0 auto;
color: #64748b;
}