BVendeville commited on
Commit
d98d585
·
verified ·
1 Parent(s): 0badfc1

annotation app code-30341ec6110a+git-68e04be-dirty

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -40,6 +40,13 @@ CSS = """
40
  .ann-card-source .ann-text { max-height: 45vh; }
41
  .ann-vertical { gap: 2rem !important; } /* clear space between stacked cards */
42
  .ann-vertical .ann-card:not(.ann-card-source) .ann-text { max-height: none; } /* stacked texts grow to full length */
 
 
 
 
 
 
 
43
  /* instructions panel: real titles, not body-size bold lines */
44
  #guide h3 { font-size: 1.45rem !important; font-weight: 700; margin: 1.4rem 0 0.5rem;
45
  padding-bottom: 0.2rem; border-bottom: 1px solid var(--border-color-primary); }
 
40
  .ann-card-source .ann-text { max-height: 45vh; }
41
  .ann-vertical { gap: 2rem !important; } /* clear space between stacked cards */
42
  .ann-vertical .ann-card:not(.ann-card-source) .ann-text { max-height: none; } /* stacked texts grow to full length */
43
+ /* instructions panel: its own tinted background and a coloured header bar, so it stands apart from the task */
44
+ #guide { background: #eef4fb !important; border: 2px solid #2f6db5 !important; border-radius: 10px !important; }
45
+ #guide > button.label-wrap { background: #2f6db5; color: #fff; font-weight: 700; font-size: 1.05rem;
46
+ padding: 0.65rem 1rem; margin: -1px; width: calc(100% + 2px);
47
+ border-radius: 8px 8px 0 0; }
48
+ #guide > button.label-wrap span { color: #fff; }
49
+ #guide .prose, #guide .md { background: transparent !important; }
50
  /* instructions panel: real titles, not body-size bold lines */
51
  #guide h3 { font-size: 1.45rem !important; font-weight: 700; margin: 1.4rem 0 0.5rem;
52
  padding-bottom: 0.2rem; border-bottom: 1px solid var(--border-color-primary); }