-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds word cloud xblock extracting from edx-platform repo (#4)
feat: Adds word cloud xblock extracting from edx-platform repo
- Loading branch information
Showing
12 changed files
with
1,185 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,9 @@ | |
__pycache__ | ||
.pytest_cache | ||
|
||
### Editor and IDE artifacts | ||
.idea/ | ||
|
||
# C extensions | ||
*.so | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
""" | ||
Init for the WordCloudBlock. | ||
"""Word cloud is ungraded xblock used by students to generate and view word cloud. | ||
""" | ||
|
||
from .word_cloud import WordCloudBlock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,29 @@ | ||
/* CSS for WordCloudBlock */ | ||
|
||
.word_cloud .count { | ||
font-weight: bold; | ||
@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,600,700"); | ||
|
||
.input-cloud { | ||
margin: calc((var(--baseline, 20px) / 4)); | ||
} | ||
|
||
.result_cloud_section { | ||
display: none; | ||
width: 0; | ||
height: 0; | ||
} | ||
|
||
.result_cloud_section.active { | ||
display: block; | ||
width: 100%; | ||
height: auto; | ||
margin-top: 1em; | ||
} | ||
|
||
.result_cloud_section.active h3 { | ||
font-size: 100%; | ||
} | ||
|
||
.word_cloud p { | ||
cursor: pointer; | ||
.your_words { | ||
font-size: 0.85em; | ||
display: block; | ||
} |
Oops, something went wrong.