Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion client/src/assets/stylesheets/components/HintBox.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 14 additions & 18 deletions client/src/assets/stylesheets/components/HintBox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,22 @@
&--open {
height: 5rem;
}
&__background {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 0;

&__background {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
position: absolute;
background-color: #ddd !important;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 0;

&:hover {
cursor: pointer;
background-color: #d0d0d0 !important;
}
&:hover {
cursor: pointer;
}

}
&__warning {
display: block;
font-size: 1.5rem;
Expand Down
2 changes: 0 additions & 2 deletions client/src/assets/stylesheets/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion client/src/components/exercise/lab1/components/HintBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ class HintBox extends Component {
const backgroundColor = boxRevealed
? availableBackgroundColor
: unavailableBackgroundColor;

if (!visible) return null;

return (
Expand Down
4 changes: 2 additions & 2 deletions client/src/reducers/lab1/RepairReducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ export const types = {
export const initialState = {
availableMessage: "",
unavailableMessage: "",
availableBackgroundColor: "#FFFFFF",
unavailableBackgroundColor: "#FFFFFF",
availableBackgroundColor: "#ddd",
unavailableBackgroundColor: "#ddd",
currentTab: 1,
repairVisible: false,
changesApplied: false,
Expand Down
Loading