Commit 3436cc77 authored by Thomas Park's avatar Thomas Park
Browse files

paper: pointer cursor for checkboxes and radio buttons

parent 28bc2b5d
......@@ -226,6 +226,7 @@ input[type="radio"],
margin-top: -3px;
border-radius: 50%;
@include transition(240ms);
cursor: pointer;
}
&:before {
......@@ -270,8 +271,13 @@ input[type="checkbox"],
outline: none;
}
&:before,
&:after {
content: "";
cursor: pointer;
}
&:after {
display: block;
width: 18px;
height: 18px;
......@@ -283,7 +289,6 @@ input[type="checkbox"],
}
&:checked:before {
content: "";
position: absolute;
top: 0;
left: 6px;
......@@ -446,17 +451,17 @@ input[type="checkbox"],
}
&:last-child {
&:before {
display: block;
content: 'div::before';
position: absolute;
width: 100%;
height: 100%;
left: 0;
right: 0;
z-index: -1;
background-color: lighten($progress-bar-bg, 35%);
}
&:before {
display: block;
content: 'div::before';
position: absolute;
width: 100%;
height: 100%;
left: 0;
right: 0;
z-index: -1;
background-color: lighten($progress-bar-bg, 35%);
}
}
&-success:last-child.progress-bar:before {
......
......@@ -6968,6 +6968,7 @@ input[type="radio"]:after,
-webkit-transition: 240ms;
-o-transition: 240ms;
transition: 240ms;
cursor: pointer;
}
input[type="radio"]:before,
.radio input[type="radio"]:before,
......@@ -7025,10 +7026,18 @@ input[type="checkbox"]:focus,
.checkbox-inline input[type="checkbox"]:focus {
outline: none;
}
input[type="checkbox"]:before,
.checkbox input[type="checkbox"]:before,
.checkbox-inline input[type="checkbox"]:before,
input[type="checkbox"]:after,
.checkbox input[type="checkbox"]:after,
.checkbox-inline input[type="checkbox"]:after {
content: "";
cursor: pointer;
}
input[type="checkbox"]:after,
.checkbox input[type="checkbox"]:after,
.checkbox-inline input[type="checkbox"]:after {
display: block;
width: 18px;
height: 18px;
......@@ -7043,7 +7052,6 @@ input[type="checkbox"]:after,
input[type="checkbox"]:checked:before,
.checkbox input[type="checkbox"]:checked:before,
.checkbox-inline input[type="checkbox"]:checked:before {
content: "";
position: absolute;
top: 0;
left: 6px;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -226,6 +226,7 @@ input[type="radio"],
margin-top: -3px;
border-radius: 50%;
.transition(240ms);
cursor: pointer;
}
&:before {
......@@ -270,8 +271,13 @@ input[type="checkbox"],
outline: none;
}
&:before,
&:after {
content: "";
cursor: pointer;
}
&:after {
display: block;
width: 18px;
height: 18px;
......@@ -283,7 +289,6 @@ input[type="checkbox"],
}
&:checked:before {
content: "";
position: absolute;
top: 0;
left: 6px;
......@@ -446,17 +451,17 @@ input[type="checkbox"],
}
&:last-child {
&:before {
display: block;
content: 'div::before';
position: absolute;
width: 100%;
height: 100%;
left: 0;
right: 0;
z-index: -1;
background-color: lighten(@progress-bar-bg, 35%);
}
&:before {
display: block;
content: 'div::before';
position: absolute;
width: 100%;
height: 100%;
left: 0;
right: 0;
z-index: -1;
background-color: lighten(@progress-bar-bg, 35%);
}
}
&-success:last-child.progress-bar:before {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment