More UX improvements
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
@brand-primary: #215f1e;
|
||||
@brand-success: #457E86;
|
||||
@brand-info: #5bc0de;
|
||||
@brand-info: #4A2B0F;
|
||||
@brand-warning: #f0ad4e;
|
||||
@brand-danger: #d9534f;
|
||||
|
||||
|
@@ -543,6 +543,17 @@ thead {
|
||||
padding-left: 50px;
|
||||
}
|
||||
|
||||
.all-list-header {
|
||||
background-color: #4A2B0F;
|
||||
color: #eee;
|
||||
font-size: 36px;
|
||||
text-align: center;
|
||||
margin-bottom: -30px;
|
||||
border-radius: 5px 5px 0px 0px;
|
||||
padding-left: 50px;
|
||||
|
||||
}
|
||||
|
||||
.closing-x {
|
||||
color: #eee;
|
||||
font-size: 50px;
|
||||
|
@@ -74,6 +74,11 @@ $(document).ready(function() {
|
||||
editor.focus();
|
||||
});
|
||||
|
||||
$('#all-bonfires-dialog').on('hidden.bs.modal', function() {
|
||||
editor.focus();
|
||||
});
|
||||
|
||||
|
||||
$('#complete-courseware-dialog').on('hidden.bs.modal', function() {
|
||||
editor.focus();
|
||||
});
|
||||
@@ -92,13 +97,14 @@ $(document).ready(function() {
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
});
|
||||
|
||||
|
||||
$('.all-challenges').on('click', function() {
|
||||
$('#all-challenges-dialog').modal('show');
|
||||
});
|
||||
|
||||
$('.all-bonfires').on('click', function() {
|
||||
$('#showAllButton').on('click', function() {
|
||||
$('#all-bonfires-dialog').modal('show');
|
||||
});
|
||||
|
||||
|
@@ -79,6 +79,7 @@ block content
|
||||
span.ion-help-circled
|
||||
| Less information
|
||||
#submitButton.btn.btn-primary.btn-big.btn-block Run code (ctrl + enter)
|
||||
#showAllButton.btn.btn-info.btn-big.btn-block Show all coding challenges
|
||||
br
|
||||
form.code
|
||||
.form-group.codeMirrorView
|
||||
@@ -133,11 +134,11 @@ block content
|
||||
- else
|
||||
a.animated.fadeIn.btn.btn-lg.signup-btn.btn-block(href='/login') Sign in so you can save your progress
|
||||
|
||||
//#all-bonfires-dialog.modal(tabindex='-1')
|
||||
// .modal-dialog.animated.fadeInUp.fast-animation
|
||||
// .modal-content
|
||||
// .modal-header.challenge-list-header Bonfires
|
||||
// a.close.closing-x(href='#', data-dismiss='modal', aria-hidden='true') ×
|
||||
// .modal-body
|
||||
// include ../partials/bonfires
|
||||
#all-bonfires-dialog.modal(tabindex='-1')
|
||||
.modal-dialog.animated.fadeInUp.fast-animation
|
||||
.modal-content
|
||||
.modal-header.all-list-header Bonfires
|
||||
a.close.closing-x(href='#', data-dismiss='modal', aria-hidden='true') ×
|
||||
.modal-body
|
||||
include ../partials/bonfires
|
||||
|
||||
|
Reference in New Issue
Block a user