Skip to content

Commit

Permalink
feat!: Dropping Sass support from builtin word cloud block, replacing…
Browse files Browse the repository at this point in the history
… with vanilla CSS
  • Loading branch information
farhan committed Oct 24, 2024
1 parent 0c91b62 commit 8b5ba65
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions xmodule/static/css-builtin-blocks/WordCloudBlockDisplay.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,600,700");
.xmodule_display.xmodule_WordCloudBlock {
/* stylelint-disable-line */
/* stylelint-disable-line */ }
.xmodule_display.xmodule_WordCloudBlock .input-cloud {
margin: calc((var(--baseline)/4)); }
.xmodule_display.xmodule_WordCloudBlock .result_cloud_section {
display: none;
width: 0px;
height: 0px; }
.xmodule_display.xmodule_WordCloudBlock .result_cloud_section.active {
display: block;
width: 100%;
height: auto;
margin-top: 1em; }
.xmodule_display.xmodule_WordCloudBlock .result_cloud_section.active h3 {
font-size: 100%; }
.xmodule_display.xmodule_WordCloudBlock .your_words {
font-size: 0.85em;
display: block; }

0 comments on commit 8b5ba65

Please sign in to comment.