scottsuk0306 commited on
Commit
5c39768
1 Parent(s): df17e3a
Files changed (1) hide show
  1. src/assets.py +73 -4
src/assets.py CHANGED
@@ -1,7 +1,4 @@
1
  custom_css = """
2
- .gradio-container {
3
- max-width: 95%!important;
4
- }
5
 
6
  .logo {
7
  width: 300px;
@@ -58,8 +55,80 @@ custom_css = """
58
 
59
  #leaderboard-table td:first-child,
60
  #leaderboard-table th:first-child {
61
- max-width: 300px;
 
 
 
 
 
 
 
62
  overflow: auto;
63
  white-space: nowrap;
64
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  """
 
1
  custom_css = """
 
 
 
2
 
3
  .logo {
4
  width: 300px;
 
55
 
56
  #leaderboard-table td:first-child,
57
  #leaderboard-table th:first-child {
58
+ max-width: 600px;
59
+ overflow: auto;
60
+ white-space: nowrap;
61
+ }
62
+
63
+ table td:first-child,
64
+ table th:first-child {
65
+ max-width: 400px;
66
  overflow: auto;
67
  white-space: nowrap;
68
  }
69
+ /* Full width space */
70
+ .gradio-container {
71
+ max-width: 95%!important;
72
+ }
73
+ /* Text style and margins */
74
+ .markdown-text {
75
+ font-size: 16px !important;
76
+ }
77
+ #models-to-add-text {
78
+ font-size: 18px !important;
79
+ }
80
+ #citation-button span {
81
+ font-size: 16px !important;
82
+ }
83
+ #citation-button textarea {
84
+ font-size: 16px !important;
85
+ }
86
+ #citation-button > label > button {
87
+ margin: 6px;
88
+ transform: scale(1.3);
89
+ }
90
+ #search-bar-table-box > div:first-child {
91
+ background: none;
92
+ border: none;
93
+ }
94
+ #search-bar {
95
+ padding: 0px;
96
+ }
97
+ .tab-buttons button {
98
+ font-size: 20px;
99
+ }
100
+ /* Filters style */
101
+ #filter_type{
102
+ border: 0;
103
+ padding-left: 0;
104
+ padding-top: 0;
105
+ }
106
+ #filter_type label {
107
+ display: flex;
108
+ }
109
+ #filter_type label > span{
110
+ margin-top: var(--spacing-lg);
111
+ margin-right: 0.5em;
112
+ }
113
+ #filter_type label > .wrap{
114
+ width: 103px;
115
+ }
116
+ #filter_type label > .wrap .wrap-inner{
117
+ padding: 2px;
118
+ }
119
+ #filter_type label > .wrap .wrap-inner input{
120
+ width: 1px
121
+ }
122
+ #filter-columns-type{
123
+ border:0;
124
+ padding:0.5;
125
+ }
126
+ #filter-columns-size{
127
+ border:0;
128
+ padding:0.5;
129
+ }
130
+ #box-filter > .form{
131
+ border: 0
132
+ }
133
+
134
  """