vagabond-rpg-foundryvtt/styles/scss/components/_tabs.scss
Cal Corum 37300ccf90 Initial project setup for Vagabond RPG Foundry VTT system
- System manifest (system.json) for Foundry v13
- Project structure with module/, templates/, styles/, lang/, packs/
- Docker Compose for local Foundry development environment
- SCSS architecture with parchment theme and accessibility colors
- Base system entry point with CONFIG and Handlebars helpers
- English localization file with all game terms
- Project roadmap with 98 tasks across 11 phases

Phase 0 (Foundation) complete. Ready for Phase 1 (Data Models).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-12 14:32:15 -06:00

112 lines
2.3 KiB
SCSS

// Vagabond RPG - Tab Styles
// ==========================
.vagabond {
// Tab navigation
.sheet-tabs {
display: flex;
gap: 0;
margin: 0;
padding: 0;
list-style: none;
border-bottom: 2px solid $color-border;
background-color: $color-parchment-dark;
.item {
margin: 0;
padding: $spacing-2 $spacing-4;
font-family: $font-family-header;
font-size: $font-size-base;
font-weight: $font-weight-medium;
color: $color-text-secondary;
background-color: transparent;
border: none;
border-bottom: 2px solid transparent;
margin-bottom: -2px;
cursor: pointer;
transition: all $transition-fast;
&:hover {
color: $color-text-primary;
background-color: $color-parchment;
}
&.active {
color: $color-text-primary;
background-color: $color-parchment;
border-bottom-color: $color-accent-primary;
}
@include focus-visible;
i {
margin-right: $spacing-2;
}
}
}
// Tab content area
.sheet-body {
@include custom-scrollbar;
overflow-y: auto;
padding: $spacing-4;
.tab {
display: none;
&.active {
display: block;
}
}
}
// Vertical tabs variant
.sheet-tabs.vertical {
flex-direction: column;
border-bottom: none;
border-right: 2px solid $color-border;
.item {
border-bottom: none;
border-right: 2px solid transparent;
margin-bottom: 0;
margin-right: -2px;
&.active {
border-right-color: $color-accent-primary;
}
}
}
// Sub-tabs (within a tab)
.sub-tabs {
display: flex;
gap: $spacing-2;
margin-bottom: $spacing-4;
padding-bottom: $spacing-2;
border-bottom: 1px solid $color-border-light;
.sub-tab {
padding: $spacing-1 $spacing-3;
font-size: $font-size-sm;
color: $color-text-muted;
background-color: transparent;
border: 1px solid transparent;
border-radius: $radius-md;
cursor: pointer;
transition: all $transition-fast;
&:hover {
color: $color-text-primary;
background-color: $color-parchment-dark;
}
&.active {
color: $color-text-primary;
background-color: $color-parchment-dark;
border-color: $color-border;
}
}
}
}