summaryrefslogtreecommitdiff
path: root/paper/_bootswatch.scss
diff options
context:
space:
mode:
authorThomas Park <thomas@thomaspark.me>2015-01-29 03:51:56 -0500
committerThomas Park <thomas@thomaspark.me>2015-01-29 03:51:56 -0500
commit3436cc77d416ffc407f846206f93c7b0794723d9 (patch)
tree650a355fc16f2ddb8a1b30d5ea1d55e63c5602ed /paper/_bootswatch.scss
parent28bc2b5d3b1b4558f7bb180dbd702db93419bf73 (diff)
paper: pointer cursor for checkboxes and radio buttons
Diffstat (limited to 'paper/_bootswatch.scss')
-rw-r--r--paper/_bootswatch.scss29
1 files changed, 17 insertions, 12 deletions
diff --git a/paper/_bootswatch.scss b/paper/_bootswatch.scss
index 379df350..e4bcae28 100644
--- a/paper/_bootswatch.scss
+++ b/paper/_bootswatch.scss
@@ -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 {