1
0
mirror of https://github.com/Chalarangelo/mini.css.git synced 2025-09-02 10:23:39 +02:00

🐛 fix - Resolved #107

Fixes problems with checkbox and radio elements.
This commit is contained in:
Angelos Chalaris
2017-10-23 14:02:44 +03:00
parent 532608e16e
commit 10b70885d9
24 changed files with 125 additions and 56 deletions

11
dist/mini-default.css vendored
View File

@@ -959,6 +959,7 @@ input[type="file"] {
.input-group [type="checkbox"] + label, .input-group [type="radio"] + label {
position: relative;
display: inline-block;
margin-left: 1.25rem;
cursor: pointer;
}
@@ -966,7 +967,7 @@ input[type="file"] {
.input-group [type="checkbox"] + label:before, .input-group [type="radio"] + label:before {
display: inline-block;
position: absolute;
bottom: 0.375rem;
top: 0.375rem;
left: 0;
width: 1rem;
height: 1rem;
@@ -1006,14 +1007,14 @@ input[type="file"] {
background: #212121;
content: '';
margin-left: -1.25rem;
bottom: 0.625rem;
top: 0.625rem;
left: 0.25rem;
width: 0.625rem;
height: 0.625rem;
}
.input-group [type="checkbox"] + label.switch:before, .input-group [type="radio"] + label.switch:before {
bottom: 0.5rem;
top: 0.5rem;
width: 1.75rem;
height: 0.875rem;
border: 0;
@@ -1031,7 +1032,7 @@ input[type="file"] {
height: 1.25rem;
background: #e0e0e0;
border-radius: 100%;
bottom: 0.3125rem;
top: 0.3125rem;
margin-left: -3rem;
transition: left 0.3s;
}
@@ -1044,7 +1045,7 @@ input[type="file"] {
left: 1.75rem;
width: 1.25rem;
height: 1.25rem;
bottom: 0.3125rem;
top: 0.3125rem;
margin-left: -3rem;
background: #0277bd;
}