-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Open
Description
The generated CSS file has 66 lines beginning with these kinds of tags (has-*
)
Lines 16452 to 16455 in 82c5f33
has-text-text.is-hoverable:hover, | |
has-text-text.is-hoverable:focus-visible { | |
color: hsl(var(--bulma-text-h), var(--bulma-text-s), calc(var(--bulma-text-l) + var(--bulma-hover-color-l-delta))) !important; | |
} |
All in all, there are styles for :active
, :focus-visible
, :hover
for each of the following elements.
<has-background-black class="is-hoverable" />
<has-background-danger class="is-hoverable" />
<has-background-dark class="is-hoverable" />
<has-background-info class="is-hoverable" />
<has-background-light class="is-hoverable" />
<has-background-link class="is-hoverable" />
<has-background-primary class="is-hoverable" />
<has-background-success class="is-hoverable" />
<has-background-text class="is-hoverable" />
<has-background-warning class="is-hoverable" />
<has-background-white class="is-hoverable" />
<has-text-black class="is-hoverable" />
<has-text-danger class="is-hoverable" />
<has-text-dark class="is-hoverable" />
<has-text-info class="is-hoverable" />
<has-text-light class="is-hoverable" />
<has-text-link class="is-hoverable" />
<has-text-primary class="is-hoverable" />
<has-text-success class="is-hoverable" />
<has-text-text class="is-hoverable" />
<has-text-warning class="is-hoverable" />
<has-text-white class="is-hoverable" />
Here's where they are generated:
Lines 254 to 256 in 82c5f33
a.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name}, | |
button.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name}, | |
#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name}.is-hoverable { |
and
Lines 279 to 281 in 82c5f33
a.#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name}, | |
button.#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name}, | |
#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name}.is-hoverable { |
- Are these elements used somewhere? I think that some browsers might not allow them to be active or focused.
- Or are they obsolete?
- Or were they supposed to have been class names? In that case, can they be removed since they haven't been missed?
While the documentation refers to most of these as classes, this doesn't seem to be the case with has-background-text
and has-text-text
.
Metadata
Metadata
Assignees
Labels
No labels