Open immortal25ir opened 5 years ago
[class*="icheck-material"][dir="rtl"] { float: right; width: 100%; position: relative; margin: 12px 0 0 0px!important; padding: 0 0 0 2px; } [class*="icheck-material"][dir="rtl"]>input { top: 0; } [class*="icheck-material"][dir="rtl"]>label { padding-left: 0 !important; padding-right: 29px !important; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } [class*="icheck-material"][dir="rtl"]>input:first-child+label::before, [class*="icheck-material"][dir="rtl"]>input:first-child+input[type="hidden"]+label::before { margin-left: 0; margin-right: -29px; } [class*="icheck-material"][dir="rtl"]>input:first-child:checked+label::after, [class*="icheck-material"][dir="rtl"]>input:first-child:checked+input[type="hidden"]+label::after { left: inherit; right: 14px; } [class*="icheck-material"][dir="rtl"]>input[type="radio"]:first-child:checked+label::after { right: 6px; }
Interesting issue (I kind of get the point) but I think it lacks some proper description.
Would you mind elaborate?
[class*="icheck-material"][dir="rtl"] { float: right; width: 100%; position: relative; margin: 12px 0 0 0px!important; padding: 0 0 0 2px; } [class*="icheck-material"][dir="rtl"]>input { top: 0; } [class*="icheck-material"][dir="rtl"]>label { padding-left: 0 !important; padding-right: 29px !important; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } [class*="icheck-material"][dir="rtl"]>input:first-child+label::before, [class*="icheck-material"][dir="rtl"]>input:first-child+input[type="hidden"]+label::before { margin-left: 0; margin-right: -29px; } [class*="icheck-material"][dir="rtl"]>input:first-child:checked+label::after, [class*="icheck-material"][dir="rtl"]>input:first-child:checked+input[type="hidden"]+label::after { left: inherit; right: 14px; } [class*="icheck-material"][dir="rtl"]>input[type="radio"]:first-child:checked+label::after { right: 6px; }