Fixed btn[disabled] selector in css.

This commit is contained in:
Martin Edenhofer 2015-06-30 09:44:45 +02:00
parent 2e53965782
commit 73c6533d08
2 changed files with 3 additions and 3 deletions

View file

@ -5,8 +5,8 @@
<h3>Default</h3>
<div class="btn">Default Button</div>
<div class="btn btn--slim">Slim Button</div>
<div class="btn is-disabled">Disabled Button</div>
<div class="btn" disabled>Disabled Button</div>
<div class="btn is-disabled">Disabled Button (via .is-disabled)</div>
<div class="btn" disabled>Disabled Button (via [disabled])</div>
<h3>Primary</h3>
<div class="btn btn--primary">Primary Button</div>

View file

@ -303,7 +303,7 @@ span[data-tooltip]:hover:before {
}
&.is-disabled,
[disabled] {
&[disabled] {
pointer-events: none;
cursor: not-allowed;
opacity: .33;