Mike0021 commited on
Commit
ccfb8c1
·
verified ·
1 Parent(s): 21e769e

Refine dark sidebar styling

Browse files
Files changed (1) hide show
  1. app.py +44 -0
app.py CHANGED
@@ -688,6 +688,24 @@ html, body, .gradio-container {
688
  font-family: var(--ct-mono) !important;
689
  }
690
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
691
  .ct-sidebar label,
692
  .ct-sidebar .block span {
693
  color: var(--ct-muted) !important;
@@ -702,6 +720,27 @@ html, body, .gradio-container {
702
  border-color: var(--ct-line) !important;
703
  }
704
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
705
  .ct-main {
706
  padding: 22px;
707
  min-width: 0;
@@ -1023,6 +1062,11 @@ html, body, .gradio-container {
1023
  margin: 8px 0 12px;
1024
  }
1025
 
 
 
 
 
 
1026
  .ct-pager {
1027
  display: grid;
1028
  grid-template-columns: 1fr 1fr;
 
688
  font-family: var(--ct-mono) !important;
689
  }
690
 
691
+ .ct-sidebar .block,
692
+ .ct-sidebar .form,
693
+ .ct-sidebar .wrap,
694
+ .ct-sidebar .container,
695
+ .ct-sidebar .secondary-wrap,
696
+ .ct-sidebar .input-container,
697
+ .ct-sidebar .block > div {
698
+ background: transparent !important;
699
+ border-color: var(--ct-line) !important;
700
+ box-shadow: none !important;
701
+ }
702
+
703
+ .ct-sidebar .block {
704
+ background: var(--ct-panel) !important;
705
+ border: 1px solid var(--ct-line) !important;
706
+ border-radius: 8px !important;
707
+ }
708
+
709
  .ct-sidebar label,
710
  .ct-sidebar .block span {
711
  color: var(--ct-muted) !important;
 
720
  border-color: var(--ct-line) !important;
721
  }
722
 
723
+ .ct-sidebar button {
724
+ background: var(--ct-panel-2) !important;
725
+ border: 1px solid var(--ct-line) !important;
726
+ border-radius: 8px !important;
727
+ color: var(--ct-text) !important;
728
+ font-family: var(--ct-mono) !important;
729
+ min-height: 42px;
730
+ }
731
+
732
+ .ct-sidebar button:hover {
733
+ border-color: var(--ct-blue) !important;
734
+ color: #ffffff !important;
735
+ }
736
+
737
+ .ct-sidebar button.primary,
738
+ .ct-sidebar .primary button {
739
+ background: #1f6feb !important;
740
+ border-color: #388bfd !important;
741
+ color: #ffffff !important;
742
+ }
743
+
744
  .ct-main {
745
  padding: 22px;
746
  min-width: 0;
 
1062
  margin: 8px 0 12px;
1063
  }
1064
 
1065
+ .ct-page-info,
1066
+ .ct-page-info * {
1067
+ color: var(--ct-muted) !important;
1068
+ }
1069
+
1070
  .ct-pager {
1071
  display: grid;
1072
  grid-template-columns: 1fr 1fr;