Commit 8755cc51 by Saliya Randunu

S12518726 # Client - Incoming Issues (raised by Client) #Bad tab sequence after…

S12518726 # Client - Incoming Issues (raised by Client) #Bad tab sequence after Job Title - Fixed the checkbox focusing
parent c2fdd9da
...@@ -780,11 +780,12 @@ span.checkbox.checked + .slider:before {-webkit-transform: translateX(18px);-ms- ...@@ -780,11 +780,12 @@ span.checkbox.checked + .slider:before {-webkit-transform: translateX(18px);-ms-
.checkbox input[type="checkbox"]:disabled + label::before { .checkbox input[type="checkbox"]:disabled + label::before {
background-color: #eeeeee; background-color: #eeeeee;
cursor: not-allowed; } cursor: not-allowed; }
.checkbox.checkbox-circle label::before { .checkbox.checkbox-circle label::before { border-radius: 50%; }
border-radius: 50%; }
.checkbox.checkbox-inline {margin-top: 0; } .checkbox.checkbox-inline {margin-top: 0; }
.checkbox-primary input[type="checkbox"]:checked + label::before , .styled_checkboxes span.checked label:before {background-color: #03a0e7;border-color: #03a0e7; } .checkbox-primary input[type="checkbox"]:checked + label::before , .styled_checkboxes span.checked label:before {background-color: #03a0e7;border-color: #03a0e7; }
.checkbox-primary input[type="checkbox"]:checked + label::after {color: #fff; } .checkbox-primary input[type="checkbox"]:checked + label::after {color: #fff; }
.styled_checkboxes span.focused label:before {outline: thin dotted;outline: 5px auto -webkit-focus-ring-color;outline-offset: -2px; }
/*InputBox with btn*/ /*InputBox with btn*/
.input-group-btn .btn.btn-primary{ .input-group-btn .btn.btn-primary{
......
...@@ -32,6 +32,14 @@ $(document).ready(function () { ...@@ -32,6 +32,14 @@ $(document).ready(function () {
$('.errorField input, .errorField select, .errorField textarea, .errorField .assocObjDesc').eq(0).focus(); $('.errorField input, .errorField select, .errorField textarea, .errorField .assocObjDesc').eq(0).focus();
$(".styled_checkboxes .checkbox input").focus(function(){
$(this).parent('span').siblings('span').addClass('focused');
});
$(".styled_checkboxes .checkbox input").blur(function(){
$(this).parent('span').siblings('span').removeClass('focused');
});
/*Set sidebar height*/ /*Set sidebar height*/
// $(window).load(function() { // $(window).load(function() {
// var sdh = $('.company-content-area').outerHeight(); // var sdh = $('.company-content-area').outerHeight();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment