Sha256: 4bb855563ec024d236810f942673fa134cb1d322ba9a67597391816dcc2e1bfe
Contents?: true
Size: 1.5 KB
Versions: 40
Compression:
Stored size: 1.5 KB
Contents
/*------------------------------------ Checkboxes v6 ------------------------------------*/ .u-check { &-icon { &-checkbox, &-radio { // v6 &-v6 { width: 18px; height: 18px; font-size: 12px; i { position: absolute; top: 50%; left: 50%; display: block; width: 100%; height: 100%; border: solid 1px $g-color-gray-light-v2; transform: translate(-50%, -50%); &::before { content: attr(data-uncheck-icon); position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } } } // End v6 } &-checkbox { // v6 // &-v6 { // border-radius: 1px; // i { // border-radius: 1px; // } // } // End v6 } &-radio { // v6 &-v6 { border-radius: 50%; i { border-radius: 50%; } } // End v6 } } // Control input[type="checkbox"], input[type="radio"] { &:checked { & +, & + * { // v6 .u-check-icon-checkbox-v6, .u-check-icon-radio-v6 { i { color: $g-color-white; background-color: $g-color-primary; border-color: $g-color-primary; &::before { content: attr(data-check-icon); } } } // End v6 } } } }
Version data entries
40 entries across 40 versions & 1 rubygems