Merge "Fix disabled buttons" into stable-2.15
This commit is contained in:
@@ -60,6 +60,10 @@ limitations under the License.
|
|||||||
background-color: var(--color-link);
|
background-color: var(--color-link);
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
:host([primary][disabled]) paper-button[raised],
|
||||||
|
:host([disabled]) paper-button {
|
||||||
|
opacity: .5;
|
||||||
|
}
|
||||||
:host([link]) paper-button:hover,
|
:host([link]) paper-button:hover,
|
||||||
:host([link]) paper-button:focus,
|
:host([link]) paper-button:focus,
|
||||||
paper-button[raised]:hover,
|
paper-button[raised]:hover,
|
||||||
@@ -112,7 +116,7 @@ limitations under the License.
|
|||||||
color: #aaa;
|
color: #aaa;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<paper-button raised="[[!link]]">
|
<paper-button raised="[[!link]]" disabled="[[disabled]]">
|
||||||
<content></content>
|
<content></content>
|
||||||
<i class="downArrow"></i>
|
<i class="downArrow"></i>
|
||||||
</paper-button>
|
</paper-button>
|
||||||
|
|||||||
Reference in New Issue
Block a user