Sean MacAvaney commited on
Commit
232edb2
β€’
1 Parent(s): 0071fbe
Files changed (2) hide show
  1. README.md +19 -0
  2. app.py +1 -1
README.md CHANGED
@@ -21,6 +21,7 @@ models:
21
  padding: 0 24px;
22
  margin: 0 18px;
23
  color: #333;
 
24
  }
25
  .transformer::before {
26
  content: "";
@@ -42,6 +43,16 @@ models:
42
  border-bottom: 30px solid transparent;
43
  border-left: 15px solid #8facdb;
44
  }
 
 
 
 
 
 
 
 
 
 
45
  .df {
46
  width: 24px;
47
  line-height: 24px;
@@ -52,6 +63,14 @@ models:
52
  border-radius: 4px;
53
  display: inline-block;
54
  box-sizing: content-box;
 
 
 
 
 
 
 
 
55
  }
56
  .pipeline {
57
  text-align: center;
 
21
  padding: 0 24px;
22
  margin: 0 18px;
23
  color: #333;
24
+ cursor: help;
25
  }
26
  .transformer::before {
27
  content: "";
 
43
  border-bottom: 30px solid transparent;
44
  border-left: 15px solid #8facdb;
45
  }
46
+ .transformer.boring {
47
+ background: #ddd;
48
+ }
49
+ .transformer.boring::before {
50
+ border-top-color: #ddd;
51
+ border-bottom-color: #ddd;
52
+ }
53
+ .transformer.boring::after {
54
+ border-left-color: #ddd;
55
+ }
56
  .df {
57
  width: 24px;
58
  line-height: 24px;
 
63
  border-radius: 4px;
64
  display: inline-block;
65
  box-sizing: content-box;
66
+ cursor: help;
67
+ margin: 0 -25px;
68
+ opacity: 0.5;
69
+ z-index: 1;
70
+ position: relative;
71
+ }
72
+ .df:hover {
73
+ opacity: 1;
74
  }
75
  .pipeline {
76
  text-align: center;
app.py CHANGED
@@ -76,5 +76,5 @@ gr.Interface(
76
  title="πŸ• PyTerrier: Doc2Query",
77
  description=open('README.md', 'rt').read().split('\n---\n')[-1],
78
  allow_flagging='never',
79
- css="table.font-mono td { white-space: pre-line; font-size: 11px; line-height: 16px; } table.font-mono td input { width: 95%; }",
80
  ).launch(share=False)
 
76
  title="πŸ• PyTerrier: Doc2Query",
77
  description=open('README.md', 'rt').read().split('\n---\n')[-1],
78
  allow_flagging='never',
79
+ css="table.font-mono td, table.font-mono th { white-space: pre-line; font-size: 11px; line-height: 16px; } table.font-mono td input { width: 95%; } th .cursor-pointer {display: none;} th .min-h-\[2\.3rem\] {min-height: inherit;}",
80
  ).launch(share=False)