mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
Replace disabled attr on pagination anchor elements with is-disabled class (#3296)
This commit is contained in:
parent
4508573d93
commit
a28bf751b1
@ -46,7 +46,7 @@ meta:
|
|||||||
|
|
||||||
{% capture pagination_options_example %}
|
{% capture pagination_options_example %}
|
||||||
<nav class="pagination" role="navigation" aria-label="pagination">
|
<nav class="pagination" role="navigation" aria-label="pagination">
|
||||||
<a class="pagination-previous" title="This is the first page" disabled>Previous</a>
|
<a class="pagination-previous is-disabled" title="This is the first page">Previous</a>
|
||||||
<a class="pagination-next">Next page</a>
|
<a class="pagination-next">Next page</a>
|
||||||
<ul class="pagination-list">
|
<ul class="pagination-list">
|
||||||
<li>
|
<li>
|
||||||
|
@ -88,7 +88,8 @@ $pagination-shadow-inset: inset 0 1px 2px rgba($scheme-invert, 0.2) !default
|
|||||||
border-color: $pagination-focus-border-color
|
border-color: $pagination-focus-border-color
|
||||||
&:active
|
&:active
|
||||||
box-shadow: $pagination-shadow-inset
|
box-shadow: $pagination-shadow-inset
|
||||||
&[disabled]
|
&[disabled],
|
||||||
|
&.is-disabled
|
||||||
background-color: $pagination-disabled-background-color
|
background-color: $pagination-disabled-background-color
|
||||||
border-color: $pagination-disabled-border-color
|
border-color: $pagination-disabled-border-color
|
||||||
box-shadow: none
|
box-shadow: none
|
||||||
|
Loading…
Reference in New Issue
Block a user