1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 04:40:09 +01:00

1140, update tooltip color class names

This commit is contained in:
Ahmed Ejaz 2023-08-31 13:06:26 +05:00
parent 591dd6a388
commit c71d2749ba
2 changed files with 7 additions and 6 deletions

View File

@ -472,19 +472,20 @@ strong {
font-weight: lighter;
}
.hint--success:after{
// Tooltips
.tooltip--permissions:after{
background-color: #d8f4d7;
color: #298625;
border-color: #3dc637;
}
.hint--info:after{
.tooltip--conditions:after{
background-color: #d0ebf6;
border-color: #149ad4;
color: #0d648a;
}
.hint--error:after{
.tooltip--limitations:after{
background-color: #f4d9d8;
border-color: #c6403d;
color: #812a28;

View File

@ -19,13 +19,13 @@ class Choosealicense
tooltipAttributesMapperByRuleType:
permissions:
heading: 'Permission'
color: 'hint--success'
color: 'tooltip--permissions'
conditions:
heading: 'Condition'
color: 'hint--info'
color: 'tooltip--conditions'
limitations:
heading: 'Limitation'
color: 'hint--error'
color: 'tooltip--limitations'
# fire on document.ready