Skip to content

Commit

Permalink
Merge pull request #46 from picturepan2/hotfix/fix-issues
Browse files Browse the repository at this point in the history
Hotfix/fix issues
  • Loading branch information
picturepan2 committed May 18, 2016
2 parents 8dd9635 + 15746d9 commit 1cdb4c8
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 3 deletions.
10 changes: 9 additions & 1 deletion dist/spectre.css
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ a:focus {
[disabled],
.disabled {
cursor: default;
opacity: .5;
opacity: .75;
pointer-events: none;
}
.btn .icon,
Expand Down Expand Up @@ -777,6 +777,8 @@ textarea.form-input {
appearance: none;
border: .1rem solid #c5c5c5;
border-radius: .3rem;
font-size: 1.4rem;
line-height: 1.6rem;
outline: 0;
padding: .5rem .8rem;
vertical-align: middle;
Expand All @@ -799,7 +801,9 @@ textarea.form-input {
padding: .4rem 2rem .4rem .6rem;
}
.form-select.select-lg {
font-size: 1.6rem;
height: 4.2rem;
line-height: 2rem;
padding: 1rem 2.4rem 1rem .8rem;
}
.form-checkbox input,
Expand Down Expand Up @@ -1910,6 +1914,10 @@ textarea.form-input {
-webkit-transform: translate(-50%, -.5rem);
transform: translate(-50%, -.5rem);
}
.tooltip[disabled],
.tooltip.disabled {
pointer-events: auto;
}
.tooltip.tooltip-right::after {
bottom: 50%;
left: 100%;
Expand Down
2 changes: 1 addition & 1 deletion dist/spectre.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/base.less
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ a {
&[disabled],
.disabled {
cursor: default;
opacity: .5;
opacity: .75;
pointer-events: none;
}

Expand Down
4 changes: 4 additions & 0 deletions src/forms.less
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@
appearance: none;
border: .1rem solid @control-color;
border-radius: .3rem;
font-size: 1.4rem;
line-height: 1.6rem;
outline: 0;
padding: .5rem .8rem;
vertical-align: middle;
Expand All @@ -102,7 +104,9 @@
padding: .4rem 2rem .4rem .6rem;
}
&.select-lg {
font-size: 1.6rem;
height: 4.2rem;
line-height: 2rem;
padding: 1rem 2.4rem 1rem .8rem;
}
}
Expand Down
5 changes: 5 additions & 0 deletions src/tooltips.less
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
}
}

&[disabled],
&.disabled {
pointer-events: auto;
}

&.tooltip-right {
&::after {
bottom: 50%;
Expand Down

0 comments on commit 1cdb4c8

Please sign in to comment.