11<template >
22 <div class =" bottomStatusIcons" :class =" { 'bottomStatusIcons--compact': compact }" >
33 <UTooltip :text =" $t('mainHelpArmed')" >
4- <div class =" armedicon" :class =" { active: setActiveArmed }" />
4+ <UIcon
5+ name =" i-lucide-triangle-alert"
6+ class =" size-4"
7+ :class =" setActiveArmed ? 'text-primary' : 'text-muted'"
8+ />
59 </UTooltip >
610 <UTooltip :text =" $t('mainHelpFailsafe')" >
7- <div class =" failsafeicon" :class =" { active: setFailsafeActive }" />
11+ <UIcon
12+ name =" i-lucide-shield-alert"
13+ class =" size-4"
14+ :class =" setFailsafeActive ? 'text-primary' : 'text-muted'"
15+ />
816 </UTooltip >
917 <UTooltip :text =" $t('mainHelpLink')" >
10- <div class =" linkicon " :class =" { active: setActiveLink } " />
18+ <UIcon name = " i-lucide-link " class =" size-4 " :class =" setActiveLink ? 'text-primary' : 'text-muted' " />
1119 </UTooltip >
1220 </div >
1321</template >
@@ -51,66 +59,6 @@ const setActiveLink = computed(() => performance.now() - props.lastReceivedTimes
5159 border- bottom- left- radius: 5px ;
5260 border- bottom- right- radius: 5px ;
5361}
54- button {
55- padding: 0 .5em 0 .75em ;
56- border- radius: 4px ;
57- background- color: #ccc;
58- color: #666 ;
59- border: 1px solid var (-- surface- 500 );
60- font- weight: 600 ;
61- font- size: 10pt ;
62- cursor: pointer;
63- }
64- button .active {
65- background- color: var (-- primary- 500 );
66- border: 1px solid #dba718;
67- color: #000 ;
68- }
69- .armedicon {
70- margin- left: 8px ;
71- margin- right: 8px ;
72- margin- top: 6px ;
73- height: 18px ;
74- width: 18px ;
75- opacity: 0.8 ;
76- background- size: contain;
77- background- position: center;
78- transition: none;
79- background- image: url (../ ../ images/ icons/ cf_icon_armed_grey .svg );
80- }
81- .failsafeicon {
82- margin- left: 8px ;
83- margin- right: 8px ;
84- margin- top: 6px ;
85- height: 18px ;
86- width: 18px ;
87- opacity: 0.8 ;
88- background- size: contain;
89- background- position: center;
90- transition: none;
91- background- image: url (../ ../ images/ icons/ cf_icon_failsafe_grey .svg );
92- }
93- .linkicon {
94- margin- left: 8px ;
95- margin- right: 8px ;
96- margin- top: 6px ;
97- height: 18px ;
98- width: 18px ;
99- opacity: 0.8 ;
100- background- size: contain;
101- background- position: center;
102- transition: none;
103- background- image: url (../ ../ images/ icons/ cf_icon_link_grey .svg );
104- }
105- .armedicon .active {
106- background- image: url (../ ../ images/ icons/ cf_icon_armed_active .svg );
107- }
108- .failsafeicon .active {
109- background- image: url (../ ../ images/ icons/ cf_icon_failsafe_active .svg );
110- }
111- .linkicon .active {
112- background- image: url (../ ../ images/ icons/ cf_icon_link_active .svg );
113- }
11462
11563.bottomStatusIcons -- compact {
11664 height: auto;
@@ -123,12 +71,4 @@ button.active {
12371 align- items: center;
12472 gap: 0 .5rem ;
12573}
126-
127- .bottomStatusIcons -- compact .armedicon ,
128- .bottomStatusIcons -- compact .failsafeicon ,
129- .bottomStatusIcons -- compact .linkicon {
130- margin: 0 ;
131- height: 16px ;
132- width: 16px ;
133- }
13474< / style>
0 commit comments