Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jgthms/bulma.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author@CAYdenberg <ydenberg@gmail.com>2021-10-08 20:24:00 +0300
committerJeremy Thomas <bbxdesign@gmail.com>2021-10-08 20:48:18 +0300
commita28bf751b10d47d59f83a979748b32c3e7f85a62 (patch)
tree78c1be50631e6717815a6f221ec6102c9d1aae5b
parent4508573d932670ff922280a2f6fbf2a3851c20b1 (diff)
Replace disabled attr on pagination anchor elements with is-disabled class (#3296)
-rw-r--r--docs/documentation/components/pagination.html2
-rw-r--r--sass/components/pagination.sass3
2 files changed, 3 insertions, 2 deletions
diff --git a/docs/documentation/components/pagination.html b/docs/documentation/components/pagination.html
index a285234f..d297e08b 100644
--- a/docs/documentation/components/pagination.html
+++ b/docs/documentation/components/pagination.html
@@ -46,7 +46,7 @@ meta:
{% capture pagination_options_example %}
<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>
<ul class="pagination-list">
<li>
diff --git a/sass/components/pagination.sass b/sass/components/pagination.sass
index ee5bb1b8..950949d9 100644
--- a/sass/components/pagination.sass
+++ b/sass/components/pagination.sass
@@ -88,7 +88,8 @@ $pagination-shadow-inset: inset 0 1px 2px rgba($scheme-invert, 0.2) !default
border-color: $pagination-focus-border-color
&:active
box-shadow: $pagination-shadow-inset
- &[disabled]
+ &[disabled],
+ &.is-disabled
background-color: $pagination-disabled-background-color
border-color: $pagination-disabled-border-color
box-shadow: none