mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-26 08:13:34 +08:00
refactor(button): added some primary attributes to the tests to make sure the styling is right
Fixed the button primary clear, closes #354
This commit is contained in:
@ -10,6 +10,7 @@ button[clear],
|
||||
|
||||
&.activated {
|
||||
opacity: 0.4;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
&:hover:not(.disable-hover) {
|
||||
|
@ -10,6 +10,11 @@
|
||||
<button class="activated">Default.activated</button>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<button primary>Primary</button>
|
||||
<button primary class="activated">Primary.activated</button>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<button secondary>Secondary</button>
|
||||
<button secondary class="activated">Secondary.activated</button>
|
||||
|
@ -10,6 +10,11 @@
|
||||
<button clear class="activated">Default.activated</button>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<button clear primary>Primary</button>
|
||||
<button clear primary class="activated">Primary.activated</button>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<button clear secondary>Secondary</button>
|
||||
<button clear secondary class="activated">Secondary.activated</button>
|
||||
|
@ -15,7 +15,7 @@
|
||||
<icon add></icon>
|
||||
</button>
|
||||
|
||||
<button fab fab-center fab-bottom>
|
||||
<button fab fab-center fab-bottom primary>
|
||||
<icon add></icon>
|
||||
</button>
|
||||
|
||||
|
@ -10,6 +10,11 @@
|
||||
<button outline class="activated">Default.activated</button>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<button outline primary>Primary</button>
|
||||
<button outline primary class="activated">Primary.activated</button>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<button outline secondary>Secondary</button>
|
||||
<button outline secondary class="activated">Secondary.activated</button>
|
||||
|
Reference in New Issue
Block a user