1- # buttons {
1+ body {
2+ font-family : -apple-system, BlinkMacSystemFont, 'Segoe UI' , Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans' , 'Helvetica Neue' , sans-serif;
3+ margin : 0 ;
4+ padding : 10px 0 ; /* Added top and bottom padding */
5+ color : var (--vscode-foreground );
6+ background-color : var (--vscode-sideBar-background );
7+ }
8+
9+ # sidebar-container {
210 display : flex;
311 flex-direction : column;
4- gap : 10px ;
5- padding : 10px ;
6- }
7-
8- .webview-button {
9- width : 100% ;
10- padding : 8px 12px ;
11- text-align : left;
12+ height : 100vh ;
13+ }
14+
15+ # collections-header {
16+ display : flex;
17+ justify-content : space-between;
18+ align-items : center;
19+ padding : 10px 16px ;
20+ background-color : var (--vscode-sideBarSectionHeader-background );
21+ border-bottom : 1px solid var (--vscode-sideBarSectionHeader-border );
22+ }
23+
24+ # collections-header h3 {
25+ margin : 0 ;
26+ font-size : 11px ;
27+ text-transform : uppercase;
28+ font-weight : 600 ;
29+ color : var (--vscode-sideBarSectionHeader-foreground );
30+ }
31+
32+ # new-request-btn {
1233 background-color : var (--vscode-button-background );
1334 color : var (--vscode-button-foreground );
1435 border : none;
15- border-radius : 2px ;
36+ border-radius : 3px ;
37+ padding : 6px 10px ;
38+ font-size : 12px ;
39+ font-weight : 500 ;
1640 cursor : pointer;
17- font-size : 14px ;
41+ display : flex;
42+ align-items : center;
1843 transition : background-color 0.2s ease;
19- }
20-
21- . webview-button : hover {
44+ }
45+
46+ # new-request-btn : hover {
2247 background-color : var (--vscode-button-hoverBackground );
23- }
24-
25- .webview-button : active {
26- background-color : var (--vscode-button-activeBackground );
27- }
48+ }
49+
50+ # new-request-btn ::before {
51+ content : '+' ;
52+ margin-right : 5px ;
53+ font-size : 14px ;
54+ font-weight : bold;
55+ }
56+
57+ # filter-collections {
58+ margin : 10px 16px ; /* Increased margin */
59+ padding : 6px 10px ; /* Increased padding */
60+ background-color : var (--vscode-input-background );
61+ color : var (--vscode-input-foreground );
62+ border : 1px solid var (--vscode-input-border );
63+ font-size : 12px ;
64+ width : calc (100% - 32px ); /* Adjusted for increased margin */
65+ box-sizing : border-box;
66+ }
67+
68+ # api-endpoints {
69+ list-style-type : none;
70+ padding : 0 ;
71+ margin : 0 ;
72+ overflow-y : auto;
73+ }
74+
75+ .api-endpoint {
76+ display : flex;
77+ align-items : center;
78+ padding : 8px 16px ; /* Increased padding */
79+ cursor : pointer;
80+ }
81+
82+ .api-endpoint : hover {
83+ background-color : var (--vscode-list-hoverBackground );
84+ }
85+
86+ .api-endpoint .method {
87+ font-weight : bold;
88+ margin-right : 10px ; /* Increased margin */
89+ font-size : 11px ;
90+ padding : 2px 6px ; /* Increased padding */
91+ border-radius : 3px ;
92+ }
93+
94+ .api-endpoint .get .method { background-color : # 61affe ; color : # fff ; }
95+ .api-endpoint .post .method { background-color : # 49cc90 ; color : # fff ; }
96+ .api-endpoint .put .method { background-color : # fca130 ; color : # fff ; }
97+ .api-endpoint .delete .method { background-color : # f93e3e ; color : # fff ; }
98+ .api-endpoint .patch .method { background-color : # 50e3c2 ; color : # fff ; }
99+
100+ .api-endpoint .name {
101+ flex-grow : 1 ;
102+ font-size : 13px ;
103+ font-weight : 500 ; /* Made text slightly bolder */
104+ }
105+
106+ .api-endpoint .last-used {
107+ font-size : 11px ;
108+ color : var (--vscode-descriptionForeground );
109+ }
110+
111+ # buttons {
112+ display : flex;
113+ flex-direction : column;
114+ }
115+
116+ .webview-button , # back-button {
117+ background-color : transparent;
118+ color : var (--vscode-sideBarTitle-foreground );
119+ border : none;
120+ padding : 10px 16px ; /* Increased padding */
121+ font-size : 13px ;
122+ font-weight : 500 ; /* Made text slightly bolder */
123+ cursor : pointer;
124+ text-align : left;
125+ display : flex;
126+ align-items : center;
127+ justify-content : space-between;
128+ transition : background-color 0.2s ease;
129+ }
130+
131+ .webview-button : hover , # back-button : hover {
132+ background-color : var (--vscode-list-hoverBackground );
133+ }
134+
135+ .webview-button : focus , # back-button : focus {
136+ outline : none;
137+ background-color : var (--vscode-list-focusBackground );
138+ }
139+
140+ .webview-button .active {
141+ background-color : var (--vscode-list-activeSelectionBackground );
142+ color : var (--vscode-list-activeSelectionForeground );
143+ font-weight : 600 ; /* Made active button text even bolder */
144+ }
145+
146+ # back-button {
147+ font-weight : 600 ; /* Made back button text bolder */
148+ margin-bottom : 8px ;
149+ /* Removed border-bottom */
150+ }
151+
152+ # back-button ::before {
153+ content : '←' ;
154+ margin-right : 8px ;
155+ }
0 commit comments