mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-21 05:09:15 +00:00
Move files from darkswarm to shared
- As this directive is now used by Darkswarm and admin, move files in shared/ folders - Needs some css variable in admin part : as question-mark-with-tooltip is used in admin part, it needs some css variable - Add own scss variables file with all needed variables for question-mark-icon. Some duplication, but now really independant and shared between both darkswarm and admin. - Remove strange border around the button, rendered by chrome when button is focused.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
.joyride-tip-guide.question-mark-tooltip{class: "{{ context }}", ng: {class: "{ in: tt_isOpen, fade: tt_animation }", show: "tt_isOpen"}}
|
||||
.background{ng: {click: "tt_isOpen = false"}}
|
||||
.joyride-content-wrapper
|
||||
{{ "js.shopfront.unit_price_tooltip" | t }}
|
||||
%span.joyride-nub.bottom
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
%button.question-mark-icon{"ng-class" => "{open: tt_isOpen}", type: 'button'}
|
||||
Reference in New Issue
Block a user