label{ cursor: pointer; margin-right: 16px; font-size: 16px; &[disabled] { color: $very-dark-gray; pointer-events: none; } &.empty { margin: 0; font-size: 0; } } input { &[type="text"], &[type="email"], &[type="password"], &[type="number"] { border: 1px solid $dark-gray; box-sizing: border-box; border-radius: 2px; width: 245px; margin-top: 4px; font-family: $font_family; &.w200 { width: 200px; } &.w300 { width: 300px; } &.w400 { width: 400px; } &.wauto { width: auto; } &.large { height: 40px; font-size: 16px; padding: 9px 7px; } &.medium { height: 32px; font-size: 14px; padding: 6px 7px; } &.small { height: 26px; font-size: 14px; padding: 3px 7px; } &:focus { outline-style: none; box-shadow: none; border-color: transparent; border-color: $blue; } &[readonly="true"] { cursor: pointer; } } // Radio button and checkbox &[type=radio], &[type=checkbox]{ border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; } &[type=radio] + label:before, &[type=checkbox] + label:before { cursor: pointer; font-family: $fontawesome; font-weight: 400; display: inline-block; color: $very-dark-gray; letter-spacing: 8px; font-size: 18px; vertical-align: -1px; } //Za prazne labele &[type=radio] + label.empty:before, &[type=checkbox] + label.empty:before { letter-spacing: 0; } &[type=radio]:checked + label:before, &[type=checkbox]:checked + label:before { color: $blue; } &[type=checkbox] + label:before { content: "\f0c8"; } &[type=checkbox]:checked + label:before { content: "\f14a"; font-weight: bold; } &[type=radio] + label:before { content: "\f111"; } &[type=radio]:checked + label:before { content: "\f192"; } // Disabled polja &[type=checkbox][disabled] + label:before { color: $dark-gray; pointer-events: none; } &[type=radio][disabled] + label:before { color: $dark-gray; pointer-events: none; } &.disabled { border-color: $dark-gray; background-color: $gray; color: $very-dark-gray; pointer-events: none; } }