+
);
diff --git a/src/styles/Academy.module.scss b/src/styles/Academy.module.scss
new file mode 100644
index 0000000000..88adf782b2
--- /dev/null
+++ b/src/styles/Academy.module.scss
@@ -0,0 +1,17 @@
+@import '_global';
+
+.Academy {
+ height: 100%;
+ width: 100%;
+ display: flex;
+ flex-direction: column;
+ flex: 1 1 100%;
+}
+
+.Academy-switching-courses {
+ height: 100%;
+ width: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
diff --git a/src/styles/AchievementCommentCard.module.scss b/src/styles/AchievementCommentCard.module.scss
new file mode 100644
index 0000000000..2dce1a13d4
--- /dev/null
+++ b/src/styles/AchievementCommentCard.module.scss
@@ -0,0 +1,46 @@
+.assessment-feedback {
+ padding-left: 2rem;
+}
+
+.feedback-list {
+ padding-left: 2rem;
+ padding-right: 2rem;
+}
+
+.assessment-comments {
+ display: flex;
+ margin-bottom: 0.5rem;
+}
+
+.question-header {
+ margin-top: 0;
+}
+
+.box-comment {
+ flex-grow: 1;
+ display: block;
+ padding-top: 0.1rem;
+ padding-left: 1rem;
+ padding-right: 1rem;
+
+ white-space: pre-wrap;
+ word-break: break-word;
+
+ .xp {
+ font-weight: 700;
+ color: orange;
+ }
+}
+
+.to-assessment-button {
+ flex: none;
+
+ height: 2rem;
+ width: 6rem;
+
+ margin-top: 0.1rem;
+ margin-bottom: 1rem;
+ border-radius: 5px;
+
+ cursor: pointer;
+}
diff --git a/src/styles/Contributors.module.scss b/src/styles/Contributors.module.scss
new file mode 100644
index 0000000000..fb49f38b01
--- /dev/null
+++ b/src/styles/Contributors.module.scss
@@ -0,0 +1,130 @@
+@import '_global';
+
+// Styling components of the ContributorsDetails
+
+.outsideDetails {
+ text-align: center;
+
+ .contributorsDetails {
+ background-color: $cadet-color-4;
+ display: inline-block;
+ margin-top: 2%;
+ margin-bottom: 2%;
+ padding: 1% 1% 1% 1%;
+
+ h3 {
+ font-weight: bold;
+ font-style: oblique;
+ }
+
+ p {
+ margin-right: 0.5%;
+ margin-left: 0.5%;
+ }
+
+ p.description {
+ text-align: justify;
+ text-align-last: center;
+ }
+
+ span.dot {
+ padding: 0 0.2rem 0 0.2rem;
+ }
+
+ div.leadership {
+ margin-top: 10px;
+ text-align: center;
+
+ p {
+ vertical-align: top;
+ display: inline-block;
+ width: 120px;
+ &.wider {
+ width: 140px;
+ }
+ &.evenWider {
+ width: 180px;
+ }
+ }
+ }
+
+ div.hallOfFame {
+ margin-top: 10px;
+ text-align: center;
+ }
+
+ div.contributors {
+ margin-top: 10px;
+ text-align: center;
+
+ h5 {
+ text-align: center;
+ }
+ }
+ }
+}
+
+// Styling components of the ContributorsList
+
+.containerPermalink {
+ background-color: $cadet-color-4;
+ margin-bottom: 2%;
+}
+
+div.inPermalink {
+ background-color: $cadet-color-4;
+ text-align: justify;
+
+ div {
+ text-align: center;
+ vertical-align: top;
+ display: inline-block;
+ width: 20%;
+ height: 20%;
+ margin-top: 1%;
+ margin-bottom: 0.5%;
+
+ @media screen and (max-width: 1000px) {
+ width: 33.3%;
+ height: 33.3%;
+ }
+ }
+
+ img {
+ width: 90%;
+ height: 90%;
+ }
+
+ p {
+ margin-bottom: 0.2rem;
+ color: $cadet-color-2;
+ }
+
+ a {
+ text-decoration: none;
+ font-weight: bold;
+ color: $cadet-color-1;
+ &:hover {
+ color: $cadet-color-3;
+ }
+ }
+}
+
+div.repoDetailsPermalink {
+ text-align: center;
+
+ h3 {
+ margin: 0% 2% 0.5% 2%;
+ color: $cadet-color-2;
+ }
+
+ h3::first-letter {
+ text-transform: uppercase;
+ }
+
+ h5 {
+ margin: 0% 2% 1% 2%;
+ font-style: italic;
+ color: $cadet-color-1;
+ }
+}
diff --git a/src/styles/_githubAssessments.scss b/src/styles/GithubAssessments.module.scss
similarity index 86%
rename from src/styles/_githubAssessments.scss
rename to src/styles/GithubAssessments.module.scss
index 7b6a11edba..99ddeea726 100644
--- a/src/styles/_githubAssessments.scss
+++ b/src/styles/GithubAssessments.module.scss
@@ -1,3 +1,5 @@
+@import '_global';
+
.missionBrowser {
background-color: $cadet-color-3;
min-width: 600px;
@@ -17,14 +19,6 @@
flex-direction: column;
flex: 1 1 100%;
- .workspace {
- .ControlBar {
- .ControlBar_editingWorkspace {
- width: 0;
- }
- }
- }
-
.SideContentMissionEditorRow {
display: flex;
flex-direction: row;
diff --git a/src/styles/NavigationBar.module.scss b/src/styles/NavigationBar.module.scss
new file mode 100644
index 0000000000..64102990b5
--- /dev/null
+++ b/src/styles/NavigationBar.module.scss
@@ -0,0 +1,7 @@
+@import '_global';
+
+.primary-navbar {
+ background: #141e30; /* fallback for old browsers */
+ background: -webkit-linear-gradient(to right, #141e30, #243b55); /* Chrome 10-25, Safari 5.1-6 */
+ background: linear-gradient(to right, $cadet-color-1, $cadet-color-2);
+}
diff --git a/src/styles/_academy.scss b/src/styles/_academy.scss
index 47038b3755..e504c33ba0 100644
--- a/src/styles/_academy.scss
+++ b/src/styles/_academy.scss
@@ -14,22 +14,6 @@
}
}
-.Academy {
- height: 100%;
- width: 100%;
- display: flex;
- flex-direction: column;
- flex: 1 1 100%;
-}
-
-.Academy-switching-courses {
- height: 100%;
- width: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
// Fixes excessive margins in hint notifications that contain
elements
.markdown-notification {
*:first-child {
diff --git a/src/styles/_achievementcontrol.scss b/src/styles/_achievementcontrol.scss
index 4fc7ba08b3..6dccc7865b 100644
--- a/src/styles/_achievementcontrol.scss
+++ b/src/styles/_achievementcontrol.scss
@@ -172,114 +172,6 @@
}
}
}
-
- .task {
- .achievement-card {
- cursor: pointer;
- display: flex;
- flex-direction: row;
- height: $card-height;
- transition: box-shadow 0.2s ease-out;
- width: $card-width;
-
- .dropdown-button {
- align-items: center;
- display: flex;
- height: $card-height;
- padding: 0 0 0 0.5em;
- width: $card-height;
- }
-
- .content {
- display: flex;
- flex-direction: column;
- height: $card-height;
- width: $card-width - $card-height;
-
- .heading {
- align-items: center;
- display: flex;
- flex-direction: row;
- height: math.div($card-height * 3, 5);
- }
-
- .details {
- display: flex;
- flex-direction: row;
- font-size: 0.8em;
-
- p {
- margin: 0;
- }
-
- .ability {
- align-items: center;
- display: flex;
- flex: 1 1 50%;
- }
-
- .deadline,
- .xp {
- align-items: center;
- display: flex;
- flex: 1 1 25%;
-
- p {
- padding: 0 0 0 0.3em;
- }
- }
- }
-
- .progress {
- height: 0.2em;
- margin: 0.2em 0 0 0;
- width: 95%;
- }
- }
- }
-
- .achievement-card:hover {
- box-shadow: 0 0 10px black;
- transition: box-shadow 0.2s ease-in;
- }
-
- .prerequisite-container {
- $shrink-factor: 0.9;
- $line-width: 1em;
- // remaining-width is the empty space between line and card
- $remaining-width: math.div((1 - $shrink-factor) * $card-width - 2 * $line-width, 2);
- $top-spacing: 0.2em;
- $line-extension: 0.1em;
-
- display: flex;
- flex-direction: column;
-
- .prerequisite {
- display: flex;
- flex-direction: row;
- max-width: $card-width;
-
- .dropdown-lines {
- height: $top-spacing + $card-height + $remaining-width + $line-extension;
- margin: -#{math.div($card-height, 1.6)} -#{$line-width + $remaining-width} 0
- $line-width;
- min-width: $line-width;
- }
-
- .achievement-card {
- margin: $top-spacing 0 0 0;
- transform: scale($shrink-factor);
- }
- }
-
- .prerequisite:first-child {
- .dropdown-lines {
- height: $top-spacing + math.div($card-height, 2) + $remaining-width;
- margin-top: 0;
- }
- }
- }
- }
}
}
diff --git a/src/styles/_assessmentComments.scss b/src/styles/_assessmentComments.scss
deleted file mode 100644
index 8793fa407f..0000000000
--- a/src/styles/_assessmentComments.scss
+++ /dev/null
@@ -1,46 +0,0 @@
-.assessment-feedback {
- padding-left: 2rem;
-}
-
-.feedback-list {
- padding-left: 2rem;
- padding-right: 2rem;
-
- .assessment-comments {
- display: flex;
- margin-bottom: 0.5rem;
-
- .question-header {
- margin-top: 0;
- }
-
- .box-comment {
- flex-grow: 1;
- display: block;
- padding-top: 0.1rem;
- padding-left: 1rem;
- padding-right: 1rem;
-
- white-space: pre-wrap;
- word-break: break-word;
-
- .xp {
- font-weight: 700;
- color: orange;
- }
- }
-
- .to-assessment-button {
- flex: none;
-
- height: 2rem;
- width: 6rem;
-
- margin-top: 0.1rem;
- margin-bottom: 1rem;
- border-radius: 5px;
-
- cursor: pointer;
- }
- }
-}
diff --git a/src/styles/_blueprint.scss b/src/styles/_blueprint.scss
deleted file mode 100644
index 3a7a52af01..0000000000
--- a/src/styles/_blueprint.scss
+++ /dev/null
@@ -1,9 +0,0 @@
-.#{$ns}-navbar.#{$ns}-dark {
- background: #141e30; /* fallback for old browsers */
- background: -webkit-linear-gradient(to right, #141e30, #243b55); /* Chrome 10-25, Safari 5.1-6 */
- background: linear-gradient(
- to right,
- $cadet-color-1,
- $cadet-color-2
- ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
-}
diff --git a/src/styles/_contributors.scss b/src/styles/_contributors.scss
index ae71e58eb7..56b7dbc4fe 100644
--- a/src/styles/_contributors.scss
+++ b/src/styles/_contributors.scss
@@ -24,131 +24,3 @@
}
}
}
-
-// Styling components of the ContributorsDetails
-
-.outsideDetails {
- text-align: center;
-
- .contributorsDetails {
- background-color: $cadet-color-4;
- display: inline-block;
- margin-top: 2%;
- margin-bottom: 2%;
- padding: 1% 1% 1% 1%;
-
- h3 {
- font-weight: bold;
- font-style: oblique;
- }
-
- p {
- margin-right: 0.5%;
- margin-left: 0.5%;
- }
-
- p.description {
- text-align: justify;
- text-align-last: center;
- }
-
- span.dot {
- padding: 0 0.2rem 0 0.2rem;
- }
-
- div.leadership {
- margin-top: 10px;
- text-align: center;
-
- p {
- vertical-align: top;
- display: inline-block;
- width: 120px;
- &.wider {
- width: 140px;
- }
- &.evenWider {
- width: 180px;
- }
- }
- }
-
- div.hallOfFame {
- margin-top: 10px;
- text-align: center;
- }
-
- div.contributors {
- margin-top: 10px;
- text-align: center;
-
- h5 {
- text-align: center;
- }
- }
- }
-}
-
-// Styling components of the ContributorsList
-
-.containerPermalink {
- background-color: $cadet-color-4;
- margin-bottom: 2%;
-}
-
-div.inPermalink {
- background-color: $cadet-color-4;
- text-align: justify;
-
- div {
- text-align: center;
- vertical-align: top;
- display: inline-block;
- width: 20%;
- height: 20%;
- margin-top: 1%;
- margin-bottom: 0.5%;
- @include mQ(1000px) {
- width: 33.3%;
- height: 33.3%;
- }
- }
-
- img {
- width: 90%;
- height: 90%;
- }
-
- p {
- margin-bottom: 0.2rem;
- color: $cadet-color-2;
- }
-
- a {
- text-decoration: none;
- font-weight: bold;
- color: $cadet-color-1;
- &:hover {
- color: $cadet-color-3;
- }
- }
-}
-
-div.repoDetailsPermalink {
- text-align: center;
-
- h3 {
- margin: 0% 2% 0.5% 2%;
- color: $cadet-color-2;
- }
-
- h3::first-letter {
- text-transform: uppercase;
- }
-
- h5 {
- margin: 0% 2% 1% 2%;
- font-style: italic;
- color: $cadet-color-1;
- }
-}
diff --git a/src/styles/_global.scss b/src/styles/_global.scss
index 5922a82b6e..d15641caaf 100644
--- a/src/styles/_global.scss
+++ b/src/styles/_global.scss
@@ -1,3 +1,5 @@
+$ns: 'bp4';
+
// Global variables
$cadet-color-1: #1a2530;
$cadet-color-2: #2c3e50;
diff --git a/src/styles/index.scss b/src/styles/index.scss
index 6e1e2a7367..7332203cf8 100755
--- a/src/styles/index.scss
+++ b/src/styles/index.scss
@@ -19,7 +19,6 @@
@import '../../node_modules/@blueprintjs/core/lib/scss/variables';
@import 'global';
-@import 'blueprint';
@import 'academy';
@import 'achievementcontrol';
@@ -36,7 +35,6 @@
@import 'fileSystemView';
@import 'game';
@import 'github';
-@import 'githubAssessments';
@import 'storysimulator';
@import 'groundcontrol';
@import 'login';
@@ -51,4 +49,3 @@
@import 'variableHighlighting';
@import 'workspaceGreen';
@import 'workspace';
-@import 'assessmentComments';