diff --git a/public_html/css/core.css b/public_html/css/core.css
index b0c9ec18..88c63a46 100644
--- a/public_html/css/core.css
+++ b/public_html/css/core.css
@@ -42,7 +42,9 @@ a {
text-decoration: none;
cursor: pointer; /* for links without [href] */
}
-
+a:focus {
+ outline: 2px solid #64C2ED;
+}
a:hover {
color: #34B2ED;
}
diff --git a/public_html/css/forms.css b/public_html/css/forms.css
index 5da82604..97c5cfff 100644
--- a/public_html/css/forms.css
+++ b/public_html/css/forms.css
@@ -129,7 +129,8 @@ input:not([type=button]):not(.tag-real-input):focus {
input[type=radio],
input[type=checkbox] {
- display:none;
+ opacity: 0;
+ position: absolute;
}
input[type=radio] + label,
input[type=checkbox] + label {
@@ -158,10 +159,18 @@ input[type=checkbox] + label::before {
input[type=checkbox]:checked + label::before {
content: "\f046";
}
+input[type=radio]:focus + label,
+input[type=checkbox]:focus + label {
+ color: #64C2ED;
+}
+.file-handler::before {
+ background: none;
+}
.file-handler {
+ box-shadow: none;
border: 3px dashed #eee;
padding: 0.3em 0.5em;
line-height: 140% !important;
@@ -169,7 +178,7 @@ input[type=checkbox]:checked + label::before {
cursor: pointer;
}
.file-handler.active {
- border-color: #6a2;
+ border-color: #64C2ED;
background-color: #eeffcc;
}
diff --git a/public_html/css/post-upload.css b/public_html/css/post-upload.css
index 55779871..c06146c9 100644
--- a/public_html/css/post-upload.css
+++ b/public_html/css/post-upload.css
@@ -6,6 +6,7 @@
#post-upload-step1 .file-handler {
padding: 3.5em;
+ width: 100%;
}
#post-upload-step1 .url-handler {
diff --git a/public_html/js/Controls/FileDropper.js b/public_html/js/Controls/FileDropper.js
index 007b02b6..b46b93b6 100644
--- a/public_html/js/Controls/FileDropper.js
+++ b/public_html/js/Controls/FileDropper.js
@@ -10,7 +10,7 @@ App.Controls.FileDropper = function($fileInput) {
setNames: false,
};
- var $dropDiv = jQuery('
');
+ var $dropDiv = jQuery('');
var allowMultiple = $fileInput.attr('multiple');
$dropDiv.html((allowMultiple ? 'Drop files here!' : 'Drop file here!') + '
Or just click on this box.');
$dropDiv.insertBefore($fileInput);
diff --git a/public_html/js/Presenters/PagerPresenter.js b/public_html/js/Presenters/PagerPresenter.js
index 88296723..891fcf7d 100644
--- a/public_html/js/Presenters/PagerPresenter.js
+++ b/public_html/js/Presenters/PagerPresenter.js
@@ -180,8 +180,9 @@ App.Presenters.PagerPresenter = function(
}
lastPage = page;
- var $a = jQuery('');
- $a.click(function() {
+ var $a = jQuery('');
+ $a.click(function(e) {
+ e.preventDefault();
pager.setPage(page);
syncUrl();
});
diff --git a/public_html/js/Presenters/TagListPresenter.js b/public_html/js/Presenters/TagListPresenter.js
index 65b1fbcf..f7e928e9 100644
--- a/public_html/js/Presenters/TagListPresenter.js
+++ b/public_html/js/Presenters/TagListPresenter.js
@@ -67,7 +67,7 @@ App.Presenters.TagListPresenter = function(
}
function updateActiveOrder(activeOrder) {
- $el.find('.order li a').removeClass('active');
+ $el.find('.order li a.active').removeClass('active');
$el.find('.order [href*="' + activeOrder + '"]').addClass('active');
}
diff --git a/public_html/js/Presenters/UserListPresenter.js b/public_html/js/Presenters/UserListPresenter.js
index b7e213be..7ee8d869 100644
--- a/public_html/js/Presenters/UserListPresenter.js
+++ b/public_html/js/Presenters/UserListPresenter.js
@@ -61,12 +61,11 @@ App.Presenters.UserListPresenter = function(
function render() {
$el.html(templates.list());
- $el.find('.order a').click(orderLinkClicked);
}
function updateActiveOrder(activeOrder) {
- $el.find('.order li a').removeClass('active');
- $el.find('.order [data-order="' + activeOrder + '"]').addClass('active');
+ $el.find('.order li a.active').removeClass('active');
+ $el.find('.order [href*="' + activeOrder + '"]').addClass('active');
}
function renderUsers(users, clear) {
@@ -86,14 +85,6 @@ App.Presenters.UserListPresenter = function(
});
}
- function orderLinkClicked(e) {
- e.preventDefault();
- var $orderLink = jQuery(this);
- var activeSearchOrder = $orderLink.attr('data-order');
- params.query.order = activeSearchOrder;
- pagerPresenter.setQuery(params.query);
- }
-
return {
init: init,
reinit: reinit,
diff --git a/public_html/templates/comment-list-item.tpl b/public_html/templates/comment-list-item.tpl
index 14e45eb2..f1fa6753 100644
--- a/public_html/templates/comment-list-item.tpl
+++ b/public_html/templates/comment-list-item.tpl
@@ -37,22 +37,22 @@
<% if (canVote) { %><% } %><% if (canEditComment) { %>edit<% } %><% if (canDeleteComment) { %>delete<% } %>