Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
95 lines (82 loc) · 2.5 KB
/
Copy pathstyle.css
File metadata and controls
95 lines (82 loc) · 2.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
/* Hide the AI assistant button next to the search bar (keep the rest of the assistant enabled) */
#assistant-entry,
#assistant-entry-mobile {
display: none;
}
/* Hide the "Ask Assistant" CTA that appears inside the search modal once a query is typed */
[data-component-part="search-ask-ai-button"] {
display: none;
}
/* Move MCP Server tab to the right side of the nav bar */
.nav-tabs {
width: 100%;
}
.nav-tabs a:nth-last-child(1) {
margin-left: auto;
}
/* Support navbar button — outlined style */
topbar-right-container a {
background: transparent !important;
border: 1.5px solid #5b52ff !important;
color: #5b52ff !important;
box-shadow: none !important;
}
topbar-right-container a:hover {
background: rgba(91, 82, 255, 0.06) !important;
}
/* 1. The Tabs Container (Navigation) */
div[role="tablist"] {
background-color: #f8fafc; /* Your header color */
border: 1px solid #e2e8f0;
border-bottom: none;
border-radius: 8px 8px 0 0;
padding: 8px 16px 0 16px;
display: flex;
gap: 8px;
overflow-x: auto;
}
/* 2. The Tab Button (Tab Item) */
div[role="tablist"] button[role="tab"] {
font-size: 0.875rem !important;
font-weight: 500 !important;
color: #64748b !important; /* Muted text */
padding: 10px 16px !important;
border-bottom: 2px solid transparent !important;
transition: all 0.2s ease-in-out;
background: transparent !important;
}
/* Hover effect */
div[role="tablist"] button[role="tab"]:hover {
color: #6366f1 !important;
background-color: rgba(99, 102, 241, 0.05) !important;
}
/* 3. ACTIVE State (Selected Tab) */
div[role="tablist"] button[role="tab"][aria-selected="true"] {
color: #6366f1 !important; /* Brand color */
border-bottom-color: #6366f1 !important;
font-weight: 600 !important;
}
/* 4. The Content Panel (Tab Panel) */
div[role="tabpanel"] {
border: 1px solid #e2e8f0 !important;
border-top: none !important; /* Connects with the header */
border-radius: 0 0 8px 8px;
padding: 24px !important;
background-color: #ffffff;
margin-top: 0 !important; /* Removes gaps from Mintlify */
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
/* Adjustment for Dark Mode (Mintlify injects the .dark class into the body) */
.dark div[role="tablist"] {
background-color: #1e293b;
border-color: #334155;
}
.dark div[role="tabpanel"] {
background-color: #0f172a;
border-color: #334155 !important;
color: #f1f5f9;
}
.dark div[role="tablist"] button[role="tab"][aria-selected="true"] {
color: #818cf8 !important;
border-bottom-color: #818cf8 !important;
}