Fixed btn[disabled] selector in css.
This commit is contained in:
parent
2e53965782
commit
73c6533d08
|
@ -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>
|
||||
|
|
|
@ -303,7 +303,7 @@ span[data-tooltip]:hover:before {
|
|||
}
|
||||
|
||||
&.is-disabled,
|
||||
[disabled] {
|
||||
&[disabled] {
|
||||
pointer-events: none;
|
||||
cursor: not-allowed;
|
||||
opacity: .33;
|
||||
|
|
Loading…
Reference in a new issue