1
0
mirror of https://github.com/github/choosealicense.com synced 2024-06-16 16:09:50 +02: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; font-weight: lighter;
} }
.hint--success:after{ // Tooltips
.tooltip--permissions:after{
background-color: #d8f4d7; background-color: #d8f4d7;
color: #298625; color: #298625;
border-color: #3dc637; border-color: #3dc637;
} }
.hint--info:after{ .tooltip--conditions:after{
background-color: #d0ebf6; background-color: #d0ebf6;
border-color: #149ad4; border-color: #149ad4;
color: #0d648a; color: #0d648a;
} }
.hint--error:after{ .tooltip--limitations:after{
background-color: #f4d9d8; background-color: #f4d9d8;
border-color: #c6403d; border-color: #c6403d;
color: #812a28; color: #812a28;

View File

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