toggle-components-library 1.36.6 → 1.36.7-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/img/airship-flight-assist-icon.b6e86325.svg +1 -0
- package/dist/img/bolt-solid.445f9a14.svg +9 -0
- package/dist/toggle-components-library.common.js +1796 -1271
- package/dist/toggle-components-library.common.js.map +1 -1
- package/dist/toggle-components-library.css +1 -1
- package/dist/toggle-components-library.umd.js +1796 -1271
- package/dist/toggle-components-library.umd.js.map +1 -1
- package/dist/toggle-components-library.umd.min.js +75 -71
- package/dist/toggle-components-library.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/assets/icons/airship-flight-assist-icon.svg +1 -0
- package/src/assets/icons/bolt-solid.svg +9 -0
- package/src/components/buttons/ToggleLoginButton.vue +29 -5
- package/src/components/forms/ToggleContactSearch.vue +0 -2
- package/src/components/metrics/ToggleMetricBarChart.vue +14 -1
- package/src/components/metrics/ToggleMetricPieChart.vue +14 -1
- package/src/components/metrics/ToggleMetricSingleMetric.vue +33 -2
- package/src/components/metrics/ToggleMetricSparkLine.vue +16 -2
- package/src/components/tooltips/ToggleTooltip.vue +6 -0
- package/src/index.js +4 -1
- package/src/sass/includes/_as_badges.scss +34 -0
- package/src/sass/includes/_as_boosters.scss +2 -2
- package/src/sass/includes/_as_buttons.scss +12 -7
- package/src/sass/includes/_as_inputs.scss +19 -22
- package/src/sass/includes/_as_metrics.scss +25 -0
- package/src/sass/includes/_as_navs.scss +14 -7
- package/src/sass/includes/_as_tooltips.scss +43 -0
- package/src/sass/includes/_as_variables.scss +1 -1
- package/src/sass/main.scss +1 -0
- package/package-lock.json +0 -20279
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?><svg id="Layer_2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 121.96 118.65"><defs><style>.cls-1{fill:url(#linear-gradient);}.cls-1,.cls-2,.cls-3{stroke-width:0px;}.cls-2{fill:url(#linear-gradient-2);}.cls-3{fill:url(#linear-gradient-3);}</style><linearGradient id="linear-gradient" x1="47.1" y1="77.62" x2="121.2" y2="3.53" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#c700d4"/><stop offset=".75" stop-color="#5f1c70"/></linearGradient><linearGradient id="linear-gradient-2" x1="17.89" y1="65.91" x2="17.89" y2="30.13" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#9700bf"/><stop offset=".22" stop-color="#9401ba"/><stop offset=".45" stop-color="#8b05ae"/><stop offset=".68" stop-color="#7c0d9a"/><stop offset=".91" stop-color="#68177d"/><stop offset="1" stop-color="#5f1c70"/></linearGradient><linearGradient id="linear-gradient-3" x1="72.24" y1="113.5" x2="88.43" y2="97.32" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#9200b9"/><stop offset=".24" stop-color="#9b00c0"/><stop offset="1" stop-color="#b500d4"/></linearGradient></defs><g id="Layer_5"><path class="cls-1" d="M121.53,9.8c.64-1.77.57-3.71-.19-5.43-1.63-3.7-5.95-5.38-9.65-3.75l-33.33,24.14c-1.72.76-3.66.83-5.43.19l-18.83-6.76c-1.77-.64-3.71-.57-5.43.19-3.7,1.63-5.38,5.95-3.75,9.65l14.71,14.28c1.66,1.79.83,3.67.19,5.43l-13.43,22.89c-.79,1.91-.71,4.08.21,5.93,1.76,3.56,6.08,5.01,9.63,3.25l22.78-15.72c1.72-.76,3.61-1.96,5.43-.19l14.4,14.43c1.77.63,3.71.56,5.43-.19,3.7-1.63,5.38-5.95,3.75-9.65l-8.08-18.35c-.76-1.72-.83-3.66-.19-5.43l21.78-34.91Z"/><path class="cls-2" d="M32.03,42.74l-1.95-1.09c-1.64-.92-2.87-2.43-3.42-4.23l-.66-2.13c-.56-1.79-1.78-3.31-3.42-4.23-3.53-1.98-7.99-.72-9.97,2.81l-1.09,1.94c-.92,1.64-2.43,2.87-4.23,3.42l-2.13.66c-1.79.55-3.31,1.78-4.23,3.42-1.97,3.53-.71,7.99,2.81,9.97l1.95,1.09c1.64.92,2.87,2.43,3.42,4.23l.66,2.13c.56,1.79,1.78,3.31,3.42,4.23,3.53,1.98,7.99.72,9.97-2.81l1.09-1.95c.92-1.64,2.43-2.86,4.23-3.42l2.13-.66c1.8-.55,3.31-1.78,4.23-3.42,1.98-3.53.71-7.99-2.81-9.97Z"/><path class="cls-3" d="M89.89,101.45c-2.08-.57-3.56-2.4-3.68-4.55-.12-2.15-1.6-3.98-3.68-4.54-2.67-.73-5.43.84-6.16,3.51-.57,2.08-2.4,3.56-4.55,3.68s-3.98,1.6-4.55,3.68c-.73,2.67.84,5.43,3.51,6.16,2.08.57,3.56,2.4,3.68,4.55.13,2.14,1.61,3.98,3.68,4.54,2.67.73,5.42-.84,6.16-3.51.57-2.08,2.4-3.56,4.55-3.68,2.15-.12,3.98-1.6,4.55-3.68.73-2.67-.84-5.42-3.51-6.16Z"/></g></svg>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="6.922" height="12.381" viewBox="0 0 6.922 12.381">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="linear-gradient" x1="0.343" y1="-0.06" x2="0.923" y2="2.008" gradientUnits="objectBoundingBox">
|
|
4
|
+
<stop offset="0" stop-color="#c139e5"/>
|
|
5
|
+
<stop offset="1" stop-color="#611d73"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
</defs>
|
|
8
|
+
<path id="bolt-solid" d="M37.679,1.07a.944.944,0,0,0-.191-.931.469.469,0,0,0-.719.044L32.156,5.6a.961.961,0,0,0-.16.854.616.616,0,0,0,.541.5h2.009L33.16,11.294a.944.944,0,0,0,.191.931.469.469,0,0,0,.719-.044l4.613-5.417a.961.961,0,0,0,.16-.854.612.612,0,0,0-.541-.5H36.293Z" transform="translate(-31.959 0.009)" fill="url(#linear-gradient)"/>
|
|
9
|
+
</svg>
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="toggle-button-container toggle-button-container--login"
|
|
3
|
-
|
|
4
|
-
<button :type="type" :class="['toggle-login-button', { 'toggle-login-button--airship': platform == 'airship' }, { 'toggle-login-button--loading': platform == 'toggle' && loading }, { 'toggle-login-button--airship-loading': platform == 'airship' && loading }]" @click="click"
|
|
5
|
-
:disabled="(loading || disabled)">
|
|
2
|
+
<div class="toggle-button-container toggle-button-container--login"
|
|
3
|
+
:class="{'toggle-button-container--fluid': btnFluid}">
|
|
6
4
|
|
|
7
|
-
|
|
5
|
+
<button :type="type" :class="buttonClasses" @click="click" :disabled="(loading || disabled)">
|
|
6
|
+
|
|
7
|
+
<div :class="loaderClasses" v-if="loading"></div>
|
|
8
8
|
|
|
9
9
|
<div class="toggle-login-button-text" v-else>
|
|
10
10
|
{{ buttonText }}
|
|
@@ -77,6 +77,30 @@ export default {
|
|
|
77
77
|
*/
|
|
78
78
|
this.$emit('click');
|
|
79
79
|
}
|
|
80
|
+
},
|
|
81
|
+
computed: {
|
|
82
|
+
/**
|
|
83
|
+
* The class to apply to the button
|
|
84
|
+
* @return {Object}
|
|
85
|
+
*/
|
|
86
|
+
buttonClasses() {
|
|
87
|
+
return {
|
|
88
|
+
'toggle-login-button': true,
|
|
89
|
+
'toggle-login-button--airship': this.platform == 'airship',
|
|
90
|
+
'toggle-login-button--loading': this.platform == 'toggle' && this.loading,
|
|
91
|
+
'toggle-login-button--airship-loading': this.platform == 'airship' && this.loading
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
/**
|
|
95
|
+
* The class to apply to the loader
|
|
96
|
+
* @return {Object}
|
|
97
|
+
*/
|
|
98
|
+
loaderClasses() {
|
|
99
|
+
return {
|
|
100
|
+
'toggle-login-button-loader': true,
|
|
101
|
+
'toggle-login-button-loader--airship': this.platform == 'airship',
|
|
102
|
+
}
|
|
103
|
+
}
|
|
80
104
|
}
|
|
81
105
|
}
|
|
82
106
|
</script>
|
|
@@ -19,8 +19,6 @@
|
|
|
19
19
|
<div class="toggle-contact-search-arrow" :class="{'toggle-contact-search-arrow-active': showDropdown}"></div>
|
|
20
20
|
</div>
|
|
21
21
|
|
|
22
|
-
<div class="toggle-contact-search-divider"></div>
|
|
23
|
-
|
|
24
22
|
<input :class="{'toggle-contact-search-input': true, 'toggle-contact-search-disabled': disabled}" v-model="inputVal" :disabled="disabled || loading" type="text" :placeholder="placeholder" @keyup.enter="onEnter">
|
|
25
23
|
|
|
26
24
|
<div v-if="loading" class="toggle-contact-search-loading-container">
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<h3 class="toggle-metric metric-label">{{label}}</h3>
|
|
3
|
+
<h3 :class="['toggle-metric metric-label', {'metric-label-atmosphere': atmosphere}]">{{label}}</h3>
|
|
4
4
|
{{checkWindowSize}}
|
|
5
5
|
<apexchart type="bar" :height="height" :options="chartOptions" :series="values"></apexchart>
|
|
6
6
|
</div>
|
|
@@ -48,6 +48,16 @@ export default {
|
|
|
48
48
|
categories: {
|
|
49
49
|
type: [Array],
|
|
50
50
|
required: true
|
|
51
|
+
},
|
|
52
|
+
/*
|
|
53
|
+
* Component's style
|
|
54
|
+
*/
|
|
55
|
+
componentStyle: {
|
|
56
|
+
type: String,
|
|
57
|
+
default: "default",
|
|
58
|
+
validator: function(value) {
|
|
59
|
+
return ['default', 'atmosphere'].indexOf(value) !== -1
|
|
60
|
+
}
|
|
51
61
|
}
|
|
52
62
|
},
|
|
53
63
|
|
|
@@ -129,6 +139,9 @@ export default {
|
|
|
129
139
|
|
|
130
140
|
}
|
|
131
141
|
}
|
|
142
|
+
},
|
|
143
|
+
atmosphere() {
|
|
144
|
+
return this.componentStyle === 'atmosphere'
|
|
132
145
|
}
|
|
133
146
|
}
|
|
134
147
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<h3 class="toggle-metric metric-label">{{label}}</h3>
|
|
3
|
+
<h3 :class="['toggle-metric metric-label', {'metric-label-atmosphere': atmosphere}]">{{label}}</h3>
|
|
4
4
|
<apexchart type="pie" :height="height" :options="chartOptions" :series="values"></apexchart>
|
|
5
5
|
</div>
|
|
6
6
|
|
|
@@ -47,6 +47,16 @@ export default {
|
|
|
47
47
|
labels: {
|
|
48
48
|
type: Array,
|
|
49
49
|
required: true
|
|
50
|
+
},
|
|
51
|
+
/*
|
|
52
|
+
* Component's style
|
|
53
|
+
*/
|
|
54
|
+
componentStyle: {
|
|
55
|
+
type: String,
|
|
56
|
+
default: "default",
|
|
57
|
+
validator: function(value) {
|
|
58
|
+
return ['default', 'atmosphere'].indexOf(value) !== -1
|
|
59
|
+
}
|
|
50
60
|
}
|
|
51
61
|
},
|
|
52
62
|
computed: {
|
|
@@ -92,6 +102,9 @@ export default {
|
|
|
92
102
|
enabled: false
|
|
93
103
|
}
|
|
94
104
|
}
|
|
105
|
+
},
|
|
106
|
+
atmosphere() {
|
|
107
|
+
return this.componentStyle === 'atmosphere'
|
|
95
108
|
}
|
|
96
109
|
}
|
|
97
110
|
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<h3 class="toggle-metric metric-label">{{label}}</h3>
|
|
3
|
+
<h3 :class="['toggle-metric metric-label', {'metric-label-atmosphere': atmosphere}]">{{label}}</h3>
|
|
4
4
|
<div class="single-metric-icon" v-if="metricPending && label.length == 0"></div>
|
|
5
|
-
<h1 class="toggle-metric metric-value" v-else>{{metricValue}}
|
|
5
|
+
<h1 :class="['toggle-metric metric-value', { 'metric-value-atmosphere': atmosphere }, { 'metric-value-small': small}]" v-else>{{metricValue}}
|
|
6
6
|
<span v-if="score && value.maxScore" class="toggle-metric-score-rating">/{{value.maxScore}}</span>
|
|
7
|
+
<span v-if="atmosphere && live == true" class="toggle-metric-live-icon"></span>
|
|
7
8
|
</h1>
|
|
8
9
|
</div>
|
|
9
10
|
</template>
|
|
@@ -73,6 +74,30 @@ export default {
|
|
|
73
74
|
metricPending: {
|
|
74
75
|
type: Boolean,
|
|
75
76
|
default: false
|
|
77
|
+
},
|
|
78
|
+
/**
|
|
79
|
+
* Metric style (default or atmosphere release themed)
|
|
80
|
+
*/
|
|
81
|
+
metricStyle: {
|
|
82
|
+
type: String,
|
|
83
|
+
default: "default",
|
|
84
|
+
validator: function (value) {
|
|
85
|
+
return ['default', 'atmosphere'].indexOf(value) !== -1
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
metricSize: {
|
|
89
|
+
type: String,
|
|
90
|
+
default: "default",
|
|
91
|
+
validator: function (value) {
|
|
92
|
+
return ['default', 'small'].indexOf(value) !== -1
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
/**
|
|
96
|
+
* Show live lightening bolt
|
|
97
|
+
*/
|
|
98
|
+
live: {
|
|
99
|
+
type: Boolean,
|
|
100
|
+
default: false
|
|
76
101
|
}
|
|
77
102
|
},
|
|
78
103
|
computed: {
|
|
@@ -99,6 +124,12 @@ export default {
|
|
|
99
124
|
},
|
|
100
125
|
score() {
|
|
101
126
|
return this.type === 'score';
|
|
127
|
+
},
|
|
128
|
+
atmosphere() {
|
|
129
|
+
return this.metricStyle === 'atmosphere';
|
|
130
|
+
},
|
|
131
|
+
small() {
|
|
132
|
+
return this.metricSize === 'small';
|
|
102
133
|
}
|
|
103
134
|
}
|
|
104
135
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
{{trendImpactLabel}}
|
|
7
7
|
</ToggleBadge>
|
|
8
8
|
|
|
9
|
-
<ToggleMetricSingleMetric :value="singleMetricVal" :label="label" :type="type" :currencyCode="currencyCode" :currencyLocale="currencyLocale" :currencyDenomination="currencyDenomination"/>
|
|
9
|
+
<ToggleMetricSingleMetric :value="singleMetricVal" :label="label" :type="type" :currencyCode="currencyCode" :currencyLocale="currencyLocale" :currencyDenomination="currencyDenomination" :metricStyle="metricStyle" :metricSize="metricStyle == 'atmosphere' ? 'small' : 'default'"/>
|
|
10
10
|
|
|
11
11
|
<apexchart type="line" :height="height" :width="width" :options="chartOptions" :series="sparkLineVal" ref="sparkLineRef">
|
|
12
12
|
</apexchart>
|
|
@@ -116,6 +116,13 @@ export default {
|
|
|
116
116
|
showTrendForAllZeros: {
|
|
117
117
|
type: Boolean,
|
|
118
118
|
default: false
|
|
119
|
+
},
|
|
120
|
+
metricStyle: {
|
|
121
|
+
type: String,
|
|
122
|
+
default: "default",
|
|
123
|
+
validator: function (value) {
|
|
124
|
+
return ['default', 'atmosphere'].indexOf(value) !== -1
|
|
125
|
+
}
|
|
119
126
|
}
|
|
120
127
|
},
|
|
121
128
|
|
|
@@ -171,10 +178,17 @@ export default {
|
|
|
171
178
|
* @return String
|
|
172
179
|
*/
|
|
173
180
|
trendImpactClass() {
|
|
174
|
-
|
|
181
|
+
if (this.metricStyle === 'atmosphere'){
|
|
182
|
+
return this.getTrendImpact() === 1 ? 'atmosphere confirm'
|
|
183
|
+
: this.getTrendImpact() === -1 ? 'atmosphere abort'
|
|
184
|
+
: this.getTrendImpact() === 0 ? 'atmosphere warning'
|
|
185
|
+
: 'atmosphere empty';
|
|
186
|
+
} else {
|
|
187
|
+
return this.getTrendImpact() === 1 ? 'confirm'
|
|
175
188
|
: this.getTrendImpact() === -1 ? 'abort'
|
|
176
189
|
: this.getTrendImpact() === 0 ? 'warning'
|
|
177
190
|
: 'empty';
|
|
191
|
+
}
|
|
178
192
|
},
|
|
179
193
|
/**
|
|
180
194
|
* Defines the badge title from the trending impact
|
package/src/index.js
CHANGED
|
@@ -89,6 +89,8 @@ import ToggleEmailCard from "./components/cards/ToggleEmailCard.vue";
|
|
|
89
89
|
import ToggleRewardsCard from "./components/cards/ToggleRewardsCard.vue";
|
|
90
90
|
import ToggleCommentCard from "./components/cards/ToggleCommentCard.vue";
|
|
91
91
|
|
|
92
|
+
import ToggleTooltip from "./components/tooltips/ToggleTooltip.vue";
|
|
93
|
+
|
|
92
94
|
|
|
93
95
|
import './sass/main.scss';
|
|
94
96
|
|
|
@@ -161,7 +163,8 @@ const Components = {
|
|
|
161
163
|
ToggleCarouselSlide,
|
|
162
164
|
ToggleEmailCard,
|
|
163
165
|
ToggleRewardsCard,
|
|
164
|
-
ToggleCommentCard
|
|
166
|
+
ToggleCommentCard,
|
|
167
|
+
ToggleTooltip
|
|
165
168
|
}
|
|
166
169
|
|
|
167
170
|
Object.keys(Components).forEach(name => {
|
|
@@ -37,6 +37,40 @@
|
|
|
37
37
|
border-radius: 50px;
|
|
38
38
|
padding: 5px 11px;
|
|
39
39
|
}
|
|
40
|
+
|
|
41
|
+
// Atmosphere release styling
|
|
42
|
+
&.atmosphere {
|
|
43
|
+
background-color: #E4EDF2;
|
|
44
|
+
color: #354B64;
|
|
45
|
+
font-size: 12px;
|
|
46
|
+
font-weight: 400;
|
|
47
|
+
padding: 5px 11px;
|
|
48
|
+
border-radius: 5px;
|
|
49
|
+
|
|
50
|
+
&.confirm {
|
|
51
|
+
background-color: #DFEED4;
|
|
52
|
+
color: #71BE37;
|
|
53
|
+
}
|
|
54
|
+
&.abort {
|
|
55
|
+
background-color: #FDE9E9;
|
|
56
|
+
color: #D8000C;
|
|
57
|
+
}
|
|
58
|
+
&.warning {
|
|
59
|
+
background-color: #F7EBD4;
|
|
60
|
+
color: #E6A831;
|
|
61
|
+
}
|
|
62
|
+
&.inactive {
|
|
63
|
+
color: rgba(53, 75, 100, .5)
|
|
64
|
+
}
|
|
65
|
+
&.empty {
|
|
66
|
+
background-color: #E4EDF2;
|
|
67
|
+
color: #354B64;
|
|
68
|
+
}
|
|
69
|
+
&.neutral {
|
|
70
|
+
background-color: #E4EDF2;
|
|
71
|
+
color: #38ABFF;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
40
74
|
}
|
|
41
75
|
|
|
42
76
|
.toggle-podium-badge {
|
|
@@ -77,9 +77,9 @@
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
&.feedback{
|
|
80
|
-
background-color: rgba($booster-feedback-colour-dark, 0.
|
|
80
|
+
background-color: rgba($booster-feedback-colour-dark, 0.08);
|
|
81
81
|
&:hover{
|
|
82
|
-
background-color: rgba($booster-feedback-colour-dark, 0.
|
|
82
|
+
background-color: rgba($booster-feedback-colour-dark, 0.1);
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
|
|
@@ -294,21 +294,23 @@
|
|
|
294
294
|
transform: translate(0, -3px);
|
|
295
295
|
color: #fff;
|
|
296
296
|
}
|
|
297
|
-
&--airship{
|
|
298
|
-
background
|
|
297
|
+
&--airship {
|
|
298
|
+
background: transparent linear-gradient(112deg, #BD38DF 0%, #5F1C70 100%) 0% 0% no-repeat padding-box;
|
|
299
|
+
|
|
299
300
|
&:hover:not(:disabled) {
|
|
300
|
-
background-color: #
|
|
301
|
-
box-shadow: 0 10px 30px -10px rgba(
|
|
301
|
+
background-color: #5F1C70;
|
|
302
|
+
box-shadow: 0 10px 30px -10px rgba(190, 58, 223, 0.5);
|
|
302
303
|
}
|
|
303
|
-
|
|
304
|
-
|
|
304
|
+
|
|
305
|
+
&:disabled, &[disabled] {
|
|
306
|
+
background: transparent linear-gradient(112deg, rgba(190, 58, 223, 0.6) 0%, rgba(94, 28, 110, 0.6) 100%) 0% 0% no-repeat padding-box;
|
|
305
307
|
}
|
|
306
308
|
}
|
|
307
309
|
&--loading{
|
|
308
310
|
background-color: #3180FF !important;
|
|
309
311
|
}
|
|
310
312
|
&--airship-loading{
|
|
311
|
-
background
|
|
313
|
+
background: transparent linear-gradient(112deg, #BD38DF 0%, #5F1C70 100%) 0% 0% no-repeat padding-box !important;
|
|
312
314
|
}
|
|
313
315
|
}
|
|
314
316
|
|
|
@@ -328,6 +330,9 @@
|
|
|
328
330
|
top: 50%;
|
|
329
331
|
margin-top: -0.5rem;
|
|
330
332
|
box-sizing: content-box;
|
|
333
|
+
&--airship {
|
|
334
|
+
border-top-color: transparent;
|
|
335
|
+
}
|
|
331
336
|
}
|
|
332
337
|
|
|
333
338
|
.toggle-metrics-button {
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
.toggle-input-select,
|
|
10
10
|
.toggle-contact-search-container{
|
|
11
11
|
@include toggle-global-font-config;
|
|
12
|
+
max-width: 425px
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
.toggle-input-counter{
|
|
@@ -970,7 +971,6 @@ $iconWidth:20px;
|
|
|
970
971
|
height: 40px;
|
|
971
972
|
background-color: $toggle-white;
|
|
972
973
|
border-radius: 8px;
|
|
973
|
-
min-width: 500px;
|
|
974
974
|
}
|
|
975
975
|
|
|
976
976
|
.toggle-contact-search-input-container-active {
|
|
@@ -984,7 +984,7 @@ $iconWidth:20px;
|
|
|
984
984
|
}
|
|
985
985
|
|
|
986
986
|
.toggle-contact-search-dropdown-container {
|
|
987
|
-
|
|
987
|
+
width: 425px;
|
|
988
988
|
background-color: $toggle-white;
|
|
989
989
|
border-radius: 0 0 8px 8px;
|
|
990
990
|
overflow: hidden;
|
|
@@ -997,14 +997,19 @@ $iconWidth:20px;
|
|
|
997
997
|
border: 0;
|
|
998
998
|
border-radius: 0px;
|
|
999
999
|
height: 30px;
|
|
1000
|
-
margin:
|
|
1000
|
+
margin: 6px 5px 0px 0px;
|
|
1001
|
+
padding-left: 0;
|
|
1001
1002
|
color: #3A4A62;
|
|
1002
1003
|
font-family: $toggle-font-family;
|
|
1003
1004
|
font-weight: 700;
|
|
1004
|
-
font-size:
|
|
1005
|
+
font-size: 14px;
|
|
1005
1006
|
background-color: #FFFFFF;
|
|
1006
1007
|
}
|
|
1007
1008
|
|
|
1009
|
+
.toggle-contact-search-input:focus{
|
|
1010
|
+
outline: none;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1008
1013
|
.toggle-contact-search-input::placeholder {
|
|
1009
1014
|
color: #C5CED8;
|
|
1010
1015
|
opacity: 1;
|
|
@@ -1033,10 +1038,10 @@ $iconWidth:20px;
|
|
|
1033
1038
|
.toggle-contact-search-icon {
|
|
1034
1039
|
max-width: 20px;
|
|
1035
1040
|
max-height: 20px;
|
|
1036
|
-
margin:
|
|
1041
|
+
margin: 12px 8px 0 0;
|
|
1037
1042
|
transition: transform .2s ease-in-out;
|
|
1038
|
-
width:
|
|
1039
|
-
height:
|
|
1043
|
+
width: 18px;
|
|
1044
|
+
height: 18px;
|
|
1040
1045
|
background-repeat: no-repeat;
|
|
1041
1046
|
background-size: contain;
|
|
1042
1047
|
}
|
|
@@ -1057,7 +1062,7 @@ $iconWidth:20px;
|
|
|
1057
1062
|
|
|
1058
1063
|
.toggle-contact-search-icon-arrow-container {
|
|
1059
1064
|
display: flex;
|
|
1060
|
-
width:
|
|
1065
|
+
width: 70px;
|
|
1061
1066
|
min-width: 60px;
|
|
1062
1067
|
flex-direction: row;
|
|
1063
1068
|
justify-content: center;
|
|
@@ -1071,9 +1076,9 @@ $iconWidth:20px;
|
|
|
1071
1076
|
|
|
1072
1077
|
.toggle-contact-search-magnifying-glass-icon {
|
|
1073
1078
|
cursor: pointer;
|
|
1074
|
-
margin:
|
|
1075
|
-
width:
|
|
1076
|
-
height:
|
|
1079
|
+
margin: 13px 15px 0 3px;
|
|
1080
|
+
width: 21px;
|
|
1081
|
+
height: 21px;
|
|
1077
1082
|
background-image: url('../assets/icons/magnifying-glass-icon.svg');
|
|
1078
1083
|
background-repeat: no-repeat;
|
|
1079
1084
|
background-size: contain;
|
|
@@ -1103,14 +1108,8 @@ $iconWidth:20px;
|
|
|
1103
1108
|
transform: rotate(-3.1416rad) translateY(5px);
|
|
1104
1109
|
}
|
|
1105
1110
|
|
|
1106
|
-
.toggle-contact-search-divider {
|
|
1107
|
-
height: 28px;
|
|
1108
|
-
margin: 7px 0 0 0;
|
|
1109
|
-
border-right: 2px solid #D9D9D9;
|
|
1110
|
-
}
|
|
1111
|
-
|
|
1112
1111
|
.toggle-contact-search-dropdown-item {
|
|
1113
|
-
margin: 5px 5px 5px
|
|
1112
|
+
margin: 5px 5px 5px 7px;
|
|
1114
1113
|
border-radius: 8px;
|
|
1115
1114
|
cursor: pointer;
|
|
1116
1115
|
font-size: 16px;
|
|
@@ -1145,12 +1144,10 @@ $iconWidth:20px;
|
|
|
1145
1144
|
}
|
|
1146
1145
|
|
|
1147
1146
|
.toggle-contact-search-icon-dropdown {
|
|
1148
|
-
width:
|
|
1149
|
-
height:
|
|
1147
|
+
width: 18px;
|
|
1148
|
+
height: 18px;
|
|
1150
1149
|
background-repeat: no-repeat;
|
|
1151
1150
|
background-size: contain;
|
|
1152
|
-
max-width: 20px;
|
|
1153
|
-
max-height: 20px;
|
|
1154
1151
|
margin: 2px 14px 0 0;
|
|
1155
1152
|
transition: transform .2s ease-in-out;
|
|
1156
1153
|
}
|
|
@@ -17,6 +17,20 @@
|
|
|
17
17
|
color: $toggle-metric-label-black;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
&.metric-label-atmosphere {
|
|
21
|
+
color: #354B64;
|
|
22
|
+
font-weight: 400;
|
|
23
|
+
font-size: 14px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.metric-value-atmosphere {
|
|
27
|
+
font-weight: 800;
|
|
28
|
+
color: #00346F;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&.metric-value-small {
|
|
32
|
+
font-size: 30px;
|
|
33
|
+
}
|
|
20
34
|
}
|
|
21
35
|
|
|
22
36
|
|
|
@@ -139,4 +153,15 @@
|
|
|
139
153
|
.toggle-metric-score-rating {
|
|
140
154
|
font-size: 27px;
|
|
141
155
|
margin-left: -8px;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.toggle-metric-live-icon {
|
|
159
|
+
display: inline-block;
|
|
160
|
+
vertical-align: top;
|
|
161
|
+
background-image: url('../assets/icons/bolt-solid.svg');
|
|
162
|
+
background-repeat: no-repeat;
|
|
163
|
+
background-size: contain;
|
|
164
|
+
height: 19px;
|
|
165
|
+
width: 19px;
|
|
166
|
+
margin: 17px 0 0 5px;
|
|
142
167
|
}
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
|
|
142
142
|
.toggle-multi-tier-sidenav-logo {
|
|
143
143
|
max-width: 7rem;
|
|
144
|
-
margin:
|
|
144
|
+
margin: 2rem 0 2rem 0.6rem;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
.toggle-multi-tier-sidenav-user-icon {
|
|
@@ -273,12 +273,11 @@
|
|
|
273
273
|
.toggle-multi-tier-sidenav-item {
|
|
274
274
|
list-style: none;
|
|
275
275
|
font-family: $toggle-font-family;
|
|
276
|
-
font-size:
|
|
277
|
-
font-weight: bold !important;
|
|
276
|
+
font-size: .9rem;
|
|
278
277
|
padding-bottom: 0.25rem;
|
|
279
278
|
|
|
280
279
|
a, span{
|
|
281
|
-
font-weight:
|
|
280
|
+
font-weight: 400 !important;
|
|
282
281
|
}
|
|
283
282
|
|
|
284
283
|
&.active {
|
|
@@ -522,7 +521,16 @@
|
|
|
522
521
|
animation: tilt-shake 0.4s;
|
|
523
522
|
background-image: url("../assets/icons/airship-feedback-hover.svg");
|
|
524
523
|
}
|
|
524
|
+
&.airship-flight-assist-icon a::before,
|
|
525
|
+
&.airship-flight-assist-icon span::before {
|
|
526
|
+
background-image: url("../assets/icons/airship-flight-assist-icon.svg");
|
|
527
|
+
}
|
|
525
528
|
|
|
529
|
+
&.airship-flight-assist-icon a:hover::before,
|
|
530
|
+
&.airship-flight-assist-icon span:hover::before {
|
|
531
|
+
animation: tilt-shake 0.4s;
|
|
532
|
+
background-image: url("../assets/icons/airship-flight-assist-icon.svg");
|
|
533
|
+
}
|
|
526
534
|
}
|
|
527
535
|
}
|
|
528
536
|
|
|
@@ -550,8 +558,7 @@
|
|
|
550
558
|
li {
|
|
551
559
|
a, span {
|
|
552
560
|
padding-left: .8rem;
|
|
553
|
-
font-size:
|
|
554
|
-
font-weight: bold;
|
|
561
|
+
font-size: 0.9rem;
|
|
555
562
|
}
|
|
556
563
|
}
|
|
557
564
|
|
|
@@ -562,7 +569,7 @@
|
|
|
562
569
|
|
|
563
570
|
li {
|
|
564
571
|
a, span {
|
|
565
|
-
font-size: 0.
|
|
572
|
+
font-size: 0.75rem;
|
|
566
573
|
font-weight: normal;
|
|
567
574
|
}
|
|
568
575
|
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
.toggle-tooltip {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: inline-block;
|
|
4
|
+
height: 17px;
|
|
5
|
+
width: 17px;
|
|
6
|
+
background-color: #768CA2;
|
|
7
|
+
border-radius: 50%;
|
|
8
|
+
color: #FFFFFF;
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
text-align: center;
|
|
11
|
+
font-family: Palatino;
|
|
12
|
+
line-height: 1rem;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.toggle-tooltip-i {
|
|
16
|
+
margin: 2px 0 0 0;
|
|
17
|
+
font-size: 13px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.toggle-tooltip-text {
|
|
21
|
+
@include toggle-global-font-config;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.toggle-tooltip .toggle-tooltip-text {
|
|
25
|
+
visibility: hidden;
|
|
26
|
+
width: 160px;
|
|
27
|
+
background-color: #000;
|
|
28
|
+
color: #fff;
|
|
29
|
+
text-align: center;
|
|
30
|
+
padding: 8px 12px;
|
|
31
|
+
border-radius: 6px;
|
|
32
|
+
position: absolute;
|
|
33
|
+
z-index: 1;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.toggle-tooltip:hover .toggle-tooltip-text {
|
|
37
|
+
visibility: visible;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.toggle-tooltip .toggle-tooltip-text {
|
|
41
|
+
top: -5px;
|
|
42
|
+
left: 105%;
|
|
43
|
+
}
|
|
@@ -64,7 +64,7 @@ $booster-test-colour-dark:#008ba4;
|
|
|
64
64
|
|
|
65
65
|
$booster-feedback-colour-light:#FFCB27;
|
|
66
66
|
$booster-feedback-colour-med:#FFCB27;
|
|
67
|
-
$booster-feedback-colour-dark
|
|
67
|
+
$booster-feedback-colour-dark:black;
|
|
68
68
|
|
|
69
69
|
/* metrics */
|
|
70
70
|
$toggle-metric-label-blue: #477EF6;
|
package/src/sass/main.scss
CHANGED