+p-tablecheckbox:hover div .ui-chkbox-box {
+ box-shadow: 0 0 0 .1rem rgba(87, 85, 217, .2);
+}
+
+.ui-chkbox {
+
+ &, .ui-chkbox-box {
+ width: 18px !important;
+ height: 18px !important;
+ }
+
+ .ui-chkbox-box {
+ &.ui-state-active {
+ border-color: pvar(--mainColor) !important;
+ background-color: pvar(--mainColor) !important;
+ }
+
+ .ui-chkbox-icon {
+ position: relative;
+ overflow: visible !important;
+
+ &:after {
+ content: '';
+ position: absolute;
+ top: 1px;
+ left: 6px;
+ width: 5px;
+ height: 12px;
+ opacity: 0;
+ transform: rotate(45deg) scale(0);
+ border-right: 2px solid pvar(--mainBackgroundColor);
+ border-bottom: 2px solid pvar(--mainBackgroundColor);
+ }
+
+ &.pi-check:after {
+ opacity: 1;
+ transform: rotate(45deg) scale(1);
+ }
+ }
+ }
+}
+
+p-inputswitch {
+ height: 26px;
+
+ .ui-inputswitch-checked .ui-inputswitch-slider {
+ background-color: pvar(--mainColor) !important;
+ }
+
+ &.small {
+ height: 20px;
+
+ .ui-inputswitch {
+ width: 2.5em !important;
+ height: 1.45em !important;
+
+ .ui-inputswitch-slider::before {
+ height: 1em !important;
+ width: 1em !important;
+ }
+ }
+
+ .ui-inputswitch-checked .ui-inputswitch-slider::before {
+ transform: translateX(1em) !important;
+ }