File tree Expand file tree Collapse file tree 2 files changed +35
-4
lines changed
Expand file tree Collapse file tree 2 files changed +35
-4
lines changed Original file line number Diff line number Diff line change 444444 [:.invisible
445445 {:visibility :hidden }]
446446
447+ [:.tooltip
448+ {:position " relative"
449+ :display " inline-block"
450+ :border-bottom " 1px dotted black" }]
451+
452+ [:.tooltip [:.tooltiptext
453+ {:visibility " hidden"
454+ :width " 130px"
455+ :bottom " 100%"
456+ :left " 50%"
457+ :margin-left " -60px"
458+ :background-color " black"
459+ :font-family " Open Sans, sans-serif"
460+ :color " #fff"
461+ :text-align " center"
462+ :padding " 10px 10px"
463+ :border-radius " 6px"
464+ :position " absolute"
465+ :z-index " 1" }
466+ ]]
467+
468+ [:.tooltip:hover [:.tooltiptext
469+ {:visibility " visible" }]]
470+
447471 (at-keyframes
448472 :fade-out
449473 [:from {:opacity 1
Original file line number Diff line number Diff line change 603603 (if (and path help)
604604 [show-info-button expanded?])
605605 (if (not hide-lock?)
606- [:i.fa.f-s-16.m-l-10.m-r-5.pointer
607- {:class-name (if locked? " fa-lock" " fa-unlock-alt opacity-5 hover-opacity-full" )
608- :on-click (toggle-locked path)}])
606+ [:div.tooltip
607+ [:i.fa.f-s-16.m-l-10.m-r-5.pointer
608+ {:class-name (if locked? " fa-lock" " fa-unlock-alt opacity-5 hover-opacity-full" )
609+ :on-click (toggle-locked path)}]
610+ (if locked? [:span.tooltiptext " Locked to prevent changes - click to unlock" ]
611+ [:span.tooltiptext " Unlocked - click to lock the section to prevent changes" ])
612+ ])
609613 (if (not hide-homebrew?)
610614 [:span.pointer
611615 {:class-name (if (not homebrew?) " opacity-5 hover-opacity-full" )
612616 :on-click (toggle-homebrew path)}
613- (views5e/svg-icon " beer-stein" 18 )])]
617+ [:div.tooltip
618+ (views5e/svg-icon " beer-stein" 18 )
619+ (if (not homebrew?) [:span.tooltiptext " Homebrew is off for " title " - enabling this option allows you select options you would not normally have (turns on homebrew rules)" ]
620+ [:span.tooltiptext " Homebrew is on for " title " - you can select anything and make it homebrew" ] )]])]
614621 (if (and help path @expanded?)
615622 [help-section help])
616623 (if (int? min)
You can’t perform that action at this time.
0 commit comments