toggle-components-library 1.36.9-beta.1 → 1.37.0-beta.1

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.
@@ -0,0 +1,183 @@
1
+ .toggle-status-bar-container {
2
+ font-family: $toggle-font-family;
3
+ font-size: 16px !important;
4
+ display: flex;
5
+ justify-content: center;
6
+ align-items: center;
7
+ height: 50px;
8
+ width: 100%;
9
+ min-width: 94px;
10
+ border-radius: 7px;
11
+ }
12
+
13
+ .toggle-status-bar-small {
14
+ font-size: 0.7rem !important;
15
+ height: 28px;
16
+ .toggle-status-bar-dot {
17
+ font-size: 14px;
18
+ }
19
+ }
20
+
21
+ // Tooltip
22
+ .toggle-status-bar-tooltip-container{
23
+ position: absolute;
24
+ display: flex;
25
+ justify-content: right;
26
+ width: 100%;
27
+ right: 32px;
28
+ cursor: default;
29
+
30
+ .toggle-status-bar-tooltip {
31
+ position: relative;
32
+ display: inline-block;
33
+ width: 20px;
34
+ text-align: center;
35
+ border: 1px solid hotpink;
36
+ border-radius: 50px;
37
+ }
38
+
39
+ // Tooltip text
40
+ .toggle-status-bar-tooltip .toggle-status-bar-tooltip-text {
41
+ visibility: hidden;
42
+ width: 200px;
43
+ background-color: rgba(0, 0, 0, .8);
44
+ color: #fff;
45
+ text-align: center;
46
+ padding: 10px;
47
+ border-radius: 6px;
48
+ position: absolute;
49
+ z-index: 1;
50
+ top: -5px;
51
+ right: 105%;
52
+ }
53
+
54
+ .toggle-status-bar-tooltip:hover .toggle-status-bar-tooltip-text {
55
+ visibility: visible;
56
+ }
57
+ }
58
+
59
+
60
+ // Draft colours
61
+ .toggle-status-bar-draft {
62
+ background-color: #FFB88D;
63
+
64
+ .toggle-status-bar-label {
65
+ color: #A34308;
66
+ }
67
+
68
+ .toggle-status-bar-tooltip {
69
+ color: #A34308;
70
+ border: 1px solid #A34308;
71
+ }
72
+ }
73
+
74
+ // Processing colours
75
+ .toggle-status-bar-processing {
76
+ background-color: #D7E9F2;
77
+
78
+ .toggle-status-bar-label {
79
+ color: #269BE3;
80
+ }
81
+
82
+ .toggle-status-bar-tooltip {
83
+ color: #269BE3;
84
+ border: 1px solid #269BE3;
85
+ }
86
+ }
87
+
88
+ // Complete colours
89
+ .toggle-status-bar-complete {
90
+ background-color: #B3E49F;
91
+
92
+ .toggle-status-bar-label {
93
+ color: #3BB40B;
94
+ }
95
+
96
+ .toggle-status-bar-tooltip {
97
+ color: #3BB40B;
98
+ border: 1px solid #3BB40B;
99
+ }
100
+ }
101
+
102
+ // Inactive colours
103
+ .toggle-status-bar-inactive {
104
+ background-color: #D7E9F2;
105
+
106
+ .toggle-status-bar-label {
107
+ color: #269BE3;
108
+ }
109
+
110
+ .toggle-status-bar-tooltip {
111
+ color: #269BE3;
112
+ border: 1px solid #269BE3;
113
+ }
114
+ }
115
+
116
+ // Active colours
117
+ .toggle-status-bar-active {
118
+ background-color: #D7E9F2;
119
+ border: 1px solid #FF4848;
120
+
121
+ .toggle-status-bar-label {
122
+ color: #FF4848;
123
+ }
124
+
125
+ .toggle-status-bar-tooltip {
126
+ color: #FF4848;
127
+ border: 1px solid #FF4848;
128
+ }
129
+ }
130
+
131
+ // Submitted colours
132
+ .toggle-status-bar-submitted {
133
+ background-color: #D7E9F2;
134
+
135
+ .toggle-status-bar-label {
136
+ color: #269BE3;
137
+ }
138
+
139
+ .toggle-status-bar-tooltip {
140
+ color: #269BE3;
141
+ border: 1px solid #269BE3;
142
+ }
143
+
144
+ }
145
+
146
+ // Failed colours
147
+ .toggle-status-bar-failed {
148
+ background-color: #F2E3E3;
149
+ border: 1px solid #ED7B7C;
150
+
151
+ .toggle-status-bar-label {
152
+ color: #ED7B7C;
153
+ }
154
+
155
+ .toggle-status-bar-tooltip {
156
+ color: #ED7B7C;
157
+ border: 1px solid #ED7B7C;
158
+ }
159
+ }
160
+
161
+ .toggle-status-bar-dot {
162
+ font-size: 20px;
163
+ margin: 0 3px 2px 0;
164
+ float: none !important;
165
+ padding: 0 !important;
166
+ }
167
+
168
+ // Dot blinking animation
169
+ .blinking {
170
+ animation: 2s blink ease infinite;
171
+ }
172
+
173
+ @keyframes blink {
174
+
175
+ from,
176
+ to {
177
+ opacity: 0;
178
+ }
179
+
180
+ 50% {
181
+ opacity: 1;
182
+ }
183
+ }
@@ -65,7 +65,6 @@ table.toggle-table {
65
65
 
66
66
  select {
67
67
  border: none;
68
- background-color: #FFF;
69
68
  font-size: 11.5px;
70
69
  font-weight: bold;
71
70
  color: #575757;
@@ -74,9 +73,6 @@ table.toggle-table {
74
73
  -moz-appearance: none;
75
74
  text-indent: 1px;
76
75
  text-overflow: '';
77
-
78
- background: url(/img/icons/arrow-down-blue-tiny.svg) center right no-repeat;
79
- background-size: 15px;
80
76
  padding : 0.5rem 0rem 0.5rem 1rem;
81
77
  }
82
78
  }
@@ -66,6 +66,10 @@ $booster-feedback-colour-light:#FFCB27;
66
66
  $booster-feedback-colour-med:#FFCB27;
67
67
  $booster-feedback-colour-dark:black;
68
68
 
69
+ $booster-bulk-order-colour-light:#ffffff;
70
+ $booster-bulk-order-colour-med:#83c42d;
71
+ $booster-bulk-order-colour-dark:black;
72
+
69
73
  /* metrics */
70
74
  $toggle-metric-label-blue: #477EF6;
71
75
  $toggle-metric-label-black: #354B64;
@@ -21,6 +21,7 @@
21
21
  @import "./includes/_as_metrics.scss";
22
22
  @import "./includes/_as_threedots.scss";
23
23
  @import "./includes/_as_boosters.scss";
24
+ @import "./includes/_as_statusbar.scss";
24
25
  @import "./includes/_as_cards.scss";
25
26
  @import "./includes/_as_carousels.scss";
26
27
  @import "./includes/_as_tooltips.scss";
@@ -1,53 +0,0 @@
1
- <template>
2
- <div id="badge-container" :class="'toggle-logo-badge-' + size">
3
- <img
4
- :src="logo.src"
5
- :alt="logo.alt"
6
- class="toggle-logo-badge-logo"
7
- >
8
- </div>
9
-
10
- </template>
11
-
12
- <script>
13
-
14
- export default {
15
- name: 'ToggleLogoBadge',
16
- props: {
17
- logo: {
18
- type: Object,
19
- required: true,
20
- },
21
- colour: {
22
- type: String,
23
- required: true
24
- },
25
- size: {
26
- type: String,
27
- required: true,
28
- validator: function(value) {
29
- return ["small", "medium", "large"].indexOf(value) !== -1;
30
- }
31
- }
32
- },
33
- };
34
- </script>
35
-
36
- <style scoped>
37
- #badge-container {
38
- background-color: v-bind('colour');
39
- }
40
-
41
- #small {
42
-
43
- }
44
-
45
- #medium {
46
-
47
- }
48
-
49
- #large {
50
-
51
- }
52
-
53
- </style>