sync
[roojs1] / less / roojs-bootstrap / checkbox.less
index 6ca60ea..7737fc2 100644 (file)
@@ -22,9 +22,9 @@
     height: 17px;
     left: 0;
     margin-left: -20px;
-    border: 1px solid @gray-lighter;
+    border: 1px solid @gray-light;
     border-radius: 3px;
-    background-color: @white;
+    background-color: @body-bg;
     -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
     -o-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
     transition: border 0.15s ease-in-out, color 0.15s ease-in-out; }
@@ -43,7 +43,8 @@
 .checkbox input[type="checkbox"] {
     display: none; }
 .checkbox input[type="checkbox"]:checked + label::after {
-    font-family: 'FontAwesome';
+    font-family: 'Font Awesome 5 Free';
+    font-weight: 900; 
     content: "\f00c"; }
 .checkbox input[type="checkbox"]:disabled + label {
     opacity: 0.65; }
     background-color: @brand-primary;
     border-color: @brand-primary; }
 .checkbox-primary input[type="checkbox"]:checked + label::after {
-    color: @white; }
+    color: @body-bg; }
 
 .checkbox-danger input[type="checkbox"]:checked + label::before {
     background-color: @brand-danger;
     border-color: @brand-danger; }
 .checkbox-danger input[type="checkbox"]:checked + label::after {
-    color: @white; }
+    color: @body-bg; }
 
 .checkbox-info input[type="checkbox"]:checked + label::before {
     background-color: @brand-info;
     border-color: @brand-info; }
 .checkbox-info input[type="checkbox"]:checked + label::after {
-    color: @white; }
+    color: @body-bg; }
 
 .checkbox-warning input[type="checkbox"]:checked + label::before {
     background-color: @brand-warning;
     border-color: @brand-warning; }
 .checkbox-warning input[type="checkbox"]:checked + label::after {
-    color: @white; }
+    color: @body-bg; }
 
 .checkbox-success input[type="checkbox"]:checked + label::before {
     background-color: @brand-success;
     border-color: @brand-success; }
 .checkbox-success input[type="checkbox"]:checked + label::after {
-    color: @white; }
+    color: @body-bg; }
 
 /* before is the outer cicle */    
 /* after is the inner circle.. */
     height: 17px;
     left: 0;
     margin-left: -20px;
-    border: 1px solid @gray-lighter;
+    border: 1px solid @gray-light;
     border-radius: 50%;
-    background-color: @white;
+    background-color: @body-bg;
     -webkit-transition: border 0.15s ease-in-out;
     -o-transition: border 0.15s ease-in-out;
     transition: border 0.15s ease-in-out; }
     top: 3px;
     margin-left: -20px;
     border-radius: 50%;
-    background-color: @white
+    background-color: @body-bg
     -webkit-transform: scale(0, 0);
     -ms-transform: scale(0, 0);
     -o-transform: scale(0, 0);
     cursor: not-allowed; }
 
 .radio-primary input[type="radio"] + label::after {
-    background-color: @white; }
+    background-color: @body-bg; }
 .radio-primary input[type="radio"]:checked + label::before {
     border-color: @brand-primary; }
 .radio-primary input[type="radio"]:checked + label::after {
 
 
 .radio-info input[type="radio"] + label::after {
-    background-color: @white;
+    background-color: @body-bg;
 }
 .radio-info input[type="radio"]:checked + label::before {
     border-color: @brand-info; }
     background-color: @brand-info; }
 
 .radio-warning input[type="radio"] + label::after {
-    background-color: @white; }
+    background-color: @body-bg; }
 .radio-warning input[type="radio"]:checked + label::before {
     border-color: @brand-warning; }
 .radio-warning input[type="radio"]:checked + label::after {
     background-color: @brand-warning; }
 
 .radio-success input[type="radio"] + label::after {
-    background-color: @white; }
+    background-color: @body-bg; }
 .radio-success input[type="radio"]:checked + label::before {
-    border-color: #5cb85c; }
+    border-color: @brand-success; }
 .radio-success input[type="radio"]:checked + label::after {
-    background-color: #5cb85c; }
+    background-color: @brand-success; }
 
 .checkbox.checkbox-inline,
 .radio.radio-inline {