Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: potential dead CSS code in learnocaml_student_view.css #556

Open
erikmd opened this issue Jun 20, 2023 · 0 comments
Open

Bug: potential dead CSS code in learnocaml_student_view.css #556

erikmd opened this issue Jun 20, 2023 · 0 comments

Comments

@erikmd
Copy link
Member

erikmd commented Jun 20, 2023

Related user(s):

No response

Related issue(s) or PR(s):

No response

Related project scope(s):

teacher dashboard

Bug description:

This section looks like dead CSS code:

/* -------------------- ACE overriding ---------------------------- */
#learnocaml-exo-editor-pane {
font-size: 16px;
font-family: 'Inconsolata', monospace;
}
#learnocaml-exo-editor-pane .ace_gutter {
background: linear-gradient(to left, transparent 0, #444 8px, #ccc 8px, #ccc 9px, #444 9px) ;
color: #ccc;
}
#learnocaml-exo-editor-pane .ace_gutter-active-line {
background: linear-gradient(to left, #777 0, #456 8px, #ccc 8px, #ccc 9px, #678 9px) ;
color: #888;
}
#learnocaml-exo-editor-pane .ace_gutter-cell {
padding: 0 14px 0 0;
}
#learnocaml-exo-editor-pane .ace_gutter-cell.ace_warning {
background: linear-gradient(to right, #980 0, #980 4px, transparent 80%) ;
}
#learnocaml-exo-editor-pane .ace_gutter-cell.ace_error {
background: linear-gradient(to right, #900 0, #900 4px, transparent 80%) ;
}
#learnocaml-exo-editor-pane .ace_comment { color: #aaa; font-style: italic; }
#learnocaml-exo-editor-pane .ace_keyword { color: #e80; font-weight:bold; }
#learnocaml-exo-editor-pane .ace_constant { color: #acf; }
#learnocaml-exo-editor-pane .ace_string { color: #acf; }
#learnocaml-exo-editor-pane .ace_function { color: #fff; }
#learnocaml-exo-editor-pane .ace_type { color: #fff; }
#learnocaml-exo-editor-pane .ace_operator { color: #fff; }
#learnocaml-exo-editor-pane .ace_meta { color: #fff; }
#learnocaml-exo-editor-pane .ace_variable { color: #fff; }
#learnocaml-exo-editor-pane .ace_text { color: #fff; }
#learnocaml-exo-editor-pane .error {
border-bottom: 2px #b00 solid;
position: absolute;
}
#learnocaml-exo-editor-pane .warning {
border-bottom: 2px #ca0 solid;
position: absolute;
}
#learnocaml-exo-editor-pane .ace_selection { background: #e80; opacity: 0.4; }
#learnocaml-exo-editor-pane .ace_active-line { background: #acf; opacity: 0.2; }
#learnocaml-exo-editor-pane .ace_selected-word { background: #e80; opacity: 0.2; }

given the id "learnocaml-exo-editor-pane" does not exist anymore after dynamic (js_of_ocaml) rendering…

To reproduce:

No response

Expected behavior:

No response

learn-ocaml --version

No response

git describe --long --always --abbrev=40 --tags

No response

What OS do you use?

GNU/Linux

What OS version/distribution do you use?

Debian

What browser(s) do you use with learn-ocaml?

Firefox

What browser(s) version did you used to reproduce the issue?

No response

Screenshots (if need be):

No response

Additional context:

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant