PHP Classes

File: public/assets/less/material/components/_radio_css.less

Recommend this page to a friend!
  Classes of Wang   Tagydes   public/assets/less/material/components/_radio_css.less   Download  
File: public/assets/less/material/components/_radio_css.less
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Tagydes
E-commerce Web administration panel and API
Author: By
Last change:
Date: 1 year ago
Size: 2,163 bytes
 

Contents

Class file image Download
/* Component - CSS Radio Button */ .radio.radio-css { position: relative; line-height: 16px; padding-top: 7px; } .radio.radio-css.radio-inline { padding-left: 0; display: inline-block; } .radio.radio-css.radio-inline + .radio.radio-css.radio-inline { margin-left: 15px; } .radio.radio-css label { padding-left: 24px; margin: 0; } .radio.radio-css label:before { content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 16px; background: @grey_lighter; } .has-success .radio.radio-css label:before, .has-success.radio.radio-css label:before, .is-valid .radio.radio-css label:before, .is-valid.radio.radio-css label:before { background: #bfe5e1; } .has-success .radio.radio-css label, .has-success.radio.radio-css label, .is-valid .radio.radio-css label, .is-valid.radio.radio-css label { color: @teal; } .has-error .radio.radio-css label:before, .has-error.radio.radio-css label:before, .is-invalid .radio.radio-css label:before, .is-invalid.radio.radio-css label:before { background: #fcd0cd; } .has-error .radio.radio-css label, .has-error.radio.radio-css label, .is-invalid .radio.radio-css label, .is-invalid.radio.radio-css label { color: #cc4946; } .has-warning .radio.radio-css label:before, .has-warning.radio.radio-css label:before { background: #fce1ba; } .radio.radio-css input { display: none; } .radio.radio-css input:checked + label:after { content: ''; position: absolute; top: 12px; left: 5px; width: 6px; height: 6px; border-radius: 6px; background: #fff; } .radio.radio-css input:checked + label:before { background: @blue; border-color: @blue; } .radio.radio-css.radio-success input:checked + label:before { background: @aqua; border-color: @aqua; } .radio.radio-css.radio-info input:checked + label:before { background: @aqua; border-color: @aqua; } .radio.radio-css.radio-danger input:checked + label:before { background: @red; border-color: @red; } .radio.radio-css.radio-warning input:checked + label:before { background: @orange; border-color: @orange; } .radio.radio-css.radio-inverse input:checked + label:before { background: @black; border-color: @black; }