mirror of
https://github.com/Steffo99/bluelib.git
synced 2024-12-22 03:24:20 +00:00
🔧 Properly display underline in .element-anchor
even if they are not :link
(#14)
This commit is contained in:
parent
b40f0bad53
commit
ed75c897f1
11 changed files with 36 additions and 15 deletions
|
@ -1,6 +1,17 @@
|
|||
<component name="InspectionProjectProfileManager">
|
||||
<profile version="1.0">
|
||||
<option name="myName" value="Project Default" />
|
||||
<inspection_tool class="CssUnknownProperty" enabled="true" level="WARNING" enabled_by_default="true">
|
||||
<option name="myCustomPropertiesEnabled" value="true" />
|
||||
<option name="myIgnoreVendorSpecificProperties" value="false" />
|
||||
<option name="myCustomPropertiesList">
|
||||
<value>
|
||||
<list size="1">
|
||||
<item index="0" class="java.lang.String" itemvalue="text-decoration-thickness" />
|
||||
</list>
|
||||
</value>
|
||||
</option>
|
||||
</inspection_tool>
|
||||
<inspection_tool class="InconsistentLineSeparators" enabled="true" level="WEAK WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="JupyterPackageInspection" enabled="true" level="ERROR" enabled_by_default="true" />
|
||||
<inspection_tool class="LessResolvedByNameOnly" enabled="false" level="WARNING" enabled_by_default="false" />
|
||||
|
|
|
@ -379,7 +379,7 @@
|
|||
"not allowed" cursor if hovered.
|
||||
</p>
|
||||
<p>
|
||||
It also works with <a href="#" disabled class="status-disabled">links</a>!
|
||||
It also works with <a disabled class="status-disabled">links</a>!
|
||||
</p>
|
||||
<section class="status-disabled">
|
||||
And panels!
|
||||
|
|
6
src/rules/skeleton.less
vendored
6
src/rules/skeleton.less
vendored
|
@ -363,6 +363,10 @@
|
|||
|
||||
@{element-anchor} {
|
||||
.bluelib-color(@hex-link);
|
||||
text-decoration-line: underline;
|
||||
text-decoration-style: solid;
|
||||
text-decoration-color: currentColor;
|
||||
text-decoration-thickness: 1px;
|
||||
|
||||
&:hover {
|
||||
.bluelib-color(@hex-link-hover);
|
||||
|
@ -374,8 +378,6 @@
|
|||
|
||||
&@{status-disabled} {
|
||||
text-decoration-style: dashed;
|
||||
text-decoration-color: currentColor;
|
||||
text-decoration-width: 1px;
|
||||
|
||||
&:hover {
|
||||
.bluelib-color(@hex-link);
|
||||
|
|
|
@ -413,6 +413,10 @@
|
|||
--bluelib-color-r: 0;
|
||||
--bluelib-color-g: 147;
|
||||
--bluelib-color-b: 147;
|
||||
text-decoration-line: underline;
|
||||
text-decoration-style: solid;
|
||||
text-decoration-color: currentColor;
|
||||
text-decoration-thickness: 1px;
|
||||
}
|
||||
.bluelib .element-anchor:hover {
|
||||
--bluelib-color-r: 0;
|
||||
|
@ -426,8 +430,6 @@
|
|||
}
|
||||
.bluelib .element-anchor.status-disabled {
|
||||
text-decoration-style: dashed;
|
||||
text-decoration-color: currentColor;
|
||||
text-decoration-width: 1px;
|
||||
}
|
||||
.bluelib .element-anchor.status-disabled:hover {
|
||||
--bluelib-color-r: 0;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1718,6 +1718,10 @@ body a {
|
|||
--bluelib-color-r: 0;
|
||||
--bluelib-color-g: 147;
|
||||
--bluelib-color-b: 147;
|
||||
text-decoration-line: underline;
|
||||
text-decoration-style: solid;
|
||||
text-decoration-color: currentColor;
|
||||
text-decoration-thickness: 1px;
|
||||
}
|
||||
.base-skeleton .element-anchor:hover,
|
||||
body .element-anchor:hover,
|
||||
|
@ -1744,8 +1748,6 @@ body .element-anchor .status-disabled,
|
|||
.base-skeleton a .status-disabled,
|
||||
body a .status-disabled {
|
||||
text-decoration-style: dashed;
|
||||
text-decoration-color: currentColor;
|
||||
text-decoration-width: 1px;
|
||||
}
|
||||
.base-skeleton .element-anchor[disabled]:hover,
|
||||
body .element-anchor[disabled]:hover,
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -413,6 +413,10 @@
|
|||
--bluelib-color-r: 0;
|
||||
--bluelib-color-g: 202;
|
||||
--bluelib-color-b: 202;
|
||||
text-decoration-line: underline;
|
||||
text-decoration-style: solid;
|
||||
text-decoration-color: currentColor;
|
||||
text-decoration-thickness: 1px;
|
||||
}
|
||||
.bluelib .element-anchor:hover {
|
||||
--bluelib-color-r: 0;
|
||||
|
@ -426,8 +430,6 @@
|
|||
}
|
||||
.bluelib .element-anchor.status-disabled {
|
||||
text-decoration-style: dashed;
|
||||
text-decoration-color: currentColor;
|
||||
text-decoration-width: 1px;
|
||||
}
|
||||
.bluelib .element-anchor.status-disabled:hover {
|
||||
--bluelib-color-r: 0;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1718,6 +1718,10 @@ body a {
|
|||
--bluelib-color-r: 0;
|
||||
--bluelib-color-g: 202;
|
||||
--bluelib-color-b: 202;
|
||||
text-decoration-line: underline;
|
||||
text-decoration-style: solid;
|
||||
text-decoration-color: currentColor;
|
||||
text-decoration-thickness: 1px;
|
||||
}
|
||||
.base-skeleton .element-anchor:hover,
|
||||
body .element-anchor:hover,
|
||||
|
@ -1744,8 +1748,6 @@ body .element-anchor .status-disabled,
|
|||
.base-skeleton a .status-disabled,
|
||||
body a .status-disabled {
|
||||
text-decoration-style: dashed;
|
||||
text-decoration-color: currentColor;
|
||||
text-decoration-width: 1px;
|
||||
}
|
||||
.base-skeleton .element-anchor[disabled]:hover,
|
||||
body .element-anchor[disabled]:hover,
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue