File size: 2,637 Bytes
6e38ce1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
/* McpServerSelector specific styles */
.mcp-selector {
  cursor: pointer;
  align-items: center;
}

/* Make the root selector transparent */
.mcp-selector .ant-select-selector {
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  align-items: center;
}

.mcp-selector .ant-select-selection-wrap {
  align-items: center;
  padding: 0px;
}

/* Style the prefix with semi-transparent border */
.mcp-selector-prefix {
  border-style: solid;
  border-color: transparent !important;
  transition: border-color 0.2s ease;
  display: inline-flex;
}

/* Make border fully opaque on hover of the entire selector */
.mcp-selector-prefix:hover:not(.disabled) {
  border-color: var(--color-text-primary) !important;
  transition: border-color 0.2s ease !important;
}

/* Style the selected tags with magenta-900 */
.mcp-selector .ant-select-selection-item {
  background-color: var(--color-magenta-900) !important;
  transition: background-color 0.2s ease !important;
  color: white !important;
}

.mcp-selector:not(.ant-select-disabled) .ant-select-selection-item:hover {
  background-color: var(--color-magenta-800) !important;
}

/* Style the remove icon on tags */
.mcp-selector .ant-select-selection-item-remove {
  color: white !important;
}

/* Style the dropdown selected items */
.mcp-selector-dropdown .ant-select-item-option {
  background-color: transparent !important;
  transition: background-color 0.2s ease !important;
}

.mcp-selector-dropdown .ant-select-item-option:hover {
  background-color: color-mix(in srgb, var(--color-text-primary) 10%, transparent) !important;
}

.mcp-selector-dropdown .ant-select-item-option-selected {
  background-color: var(--color-magenta-900) !important;
  transition: background-color 0.2s ease !important;
  color: white !important;
}

.mcp-selector-dropdown .ant-select-item-option-selected:hover {
  background-color: var(--color-magenta-800) !important;
}

/* Make the checkmark icon white */
.mcp-selector-dropdown .anticon-check {
  color: white !important;
  margin-left: 15px;
}

/* Style the Add MCP Server button */
.mcp-selector-dropdown .mcp-selector-add-mcp-server-button {
  color: var(--color-text-primary);
  justify-content: flex-start;
  background-color: transparent !important;
}

.mcp-selector-dropdown .mcp-selector-add-mcp-server-button:hover {
  background-color: color-mix(in srgb, var(--color-text-primary) 10%, transparent) !important;
}

/* Override Ant Design's inline min-width calculation */
.mcp-selector-dropdown.ant-select-dropdown {
  min-width: fit-content !important;
  width: auto !important;
}