File tree Expand file tree Collapse file tree 4 files changed +25
-6
lines changed
Expand file tree Collapse file tree 4 files changed +25
-6
lines changed Original file line number Diff line number Diff line change @@ -88,8 +88,10 @@ export class Checkbox extends DisplayComponent<CheckboxProps> {
8888 < InterfaceNavbarItemV2
8989 content = { "" }
9090 active = { this . isActive }
91- class = { `h-full flex-grow bg-white text-black flex items-center justify-center ${ this . props . class ?? "" } ` }
92- activeClass = "!bg-green-400 !text-white"
91+ class = { `h-full flex-grow bg-white text-black flex items-center justify-center hover:bg-gray-400 ${
92+ this . props . class ?? ""
93+ } `}
94+ activeClass = "hover:!bg-green-700 !bg-green-500 !text-white"
9395 setActive = { ( ) => this . onClick ( ) }
9496 >
9597 < span class = "text-4xl" > { this . isActive . map ( val => ( val ? "✔" : "X" ) ) } </ span >
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export class Dashboard extends DisplayComponent<DashboardProps> {
3737 private displayItems ( data : PackageInfo , index : number ) : VNode {
3838 return (
3939 < InterfaceNavbarItemV2
40- class = "w-full p-4 flex items-center"
40+ class = "w-full p-4 flex items-center hover:bg-blue-800 "
4141 activeClass = "bg-blue-400"
4242 content = { "" }
4343 active = { this . props . selectedDatabaseIndex . map ( val => val === index ) }
@@ -78,7 +78,7 @@ export class Dashboard extends DisplayComponent<DashboardProps> {
7878 />
7979 </ div >
8080 </ div >
81- < Button onClick = { ( ) => this . setDatabase ( ) } class = "p-4 bg-blue-400" >
81+ < Button onClick = { ( ) => this . setDatabase ( ) } class = "p-4 bg-blue-400 hover:bg-blue-800 " >
8282 < p class = "text-2xl" > Select Database</ p >
8383 </ Button >
8484 </ div >
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ export class TestPage extends DisplayComponent<TestPageProps> {
162162 { this . functionList . map ( obj => (
163163 < InterfaceNavbarItemV2
164164 content = { "" }
165- class = "w-full p-2 flex flex-col items-start"
165+ class = "w-full p-2 flex flex-col items-start hover:bg-blue-800 "
166166 activeClass = "bg-blue-400"
167167 active = { this . selectedFunction . map ( index => index === obj . index ) }
168168 setActive = { ( ) => this . selectedFunction . set ( obj . index ) }
@@ -237,7 +237,7 @@ export class TestPage extends DisplayComponent<TestPageProps> {
237237 < p class = "text-xl whitespace-pre" > { this . output } </ p >
238238 </ div >
239239 < Button
240- class = "h-16 flex flex-row items-center pl-4 bg-blue-400 overflow-auto"
240+ class = "h-16 flex flex-row items-center pl-4 bg-blue-400 overflow-auto hover:bg-blue-800 "
241241 onClick = { ( ) => this . handleFunction ( ) }
242242 >
243243 < span class = "text-3xl" > Try:</ span >
Original file line number Diff line number Diff line change 66 width : 100% ;
77 height : 100% ;
88}
9+
10+ ::-webkit-scrollbar {
11+ width : 10px ;
12+ }
13+
14+ ::-webkit-scrollbar-track {
15+ background : # 1d2838 ;
16+ }
17+
18+ ::-webkit-scrollbar-thumb {
19+ background : # 7f868f ;
20+ border-radius : 2rem ;
21+ }
22+
23+ ::-webkit-scrollbar-corner {
24+ background : # 1d2838 ;
25+ }
You can’t perform that action at this time.
0 commit comments