vanilla-framework 4.9.0 → 4.9.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vanilla-framework",
3
- "version": "4.9.0",
3
+ "version": "4.9.1",
4
4
  "author": {
5
5
  "email": "webteam@canonical.com",
6
6
  "name": "Canonical Webteam"
@@ -122,6 +122,11 @@
122
122
  }
123
123
 
124
124
  @mixin vf-icon-info-themed {
125
+ @include vf-themed-icon($light-value: vf-icon-info-url($colors--light-theme--icon), $dark-value: vf-icon-info-url($colors--dark-theme--icon));
126
+ }
127
+
128
+ // for use with notifications
129
+ @mixin vf-icon-info-coloured-themed {
125
130
  @include vf-themed-icon(
126
131
  $light-value: vf-icon-info-url(map-get($colors-light-theme--tinted-borders, information)),
127
132
  $dark-value: vf-icon-info-url(map-get($colors-dark-theme--tinted-borders, information))
@@ -1,6 +1,4 @@
1
1
  @import 'settings';
2
- $active-background-opacity-percentage: $active-background-opacity-amount * 100%;
3
- $hover-background-opacity-percentage: $hover-background-opacity-amount * 100%;
4
2
 
5
3
  // Default button styling
6
4
  @mixin vf-p-buttons {
@@ -215,7 +215,7 @@ $notification-text-margin-bottom: $spv--large - $spv-nudge;
215
215
  .p-notification {
216
216
  @extend %vf-notification;
217
217
  @include vf-highlight-bar($colors--theme--border-information, left, true);
218
- @include vf-icon-info-themed;
218
+ @include vf-icon-info-coloured-themed;
219
219
  }
220
220
  }
221
221
 
@@ -251,6 +251,6 @@ $notification-text-margin-bottom: $spv--large - $spv-nudge;
251
251
  .p-notification--information {
252
252
  @extend %vf-notification;
253
253
  @include vf-highlight-bar($colors--theme--border-information, left, true);
254
- @include vf-icon-info-themed;
254
+ @include vf-icon-info-coloured-themed;
255
255
  }
256
256
  }
@@ -24,8 +24,9 @@
24
24
  width: 100%;
25
25
  }
26
26
 
27
- tr {
28
- border: $border;
27
+ // tbody selector needed to override the default table styles
28
+ tbody tr {
29
+ border: 1px solid $colors--theme--border-default;
29
30
  display: block;
30
31
  margin-bottom: $spv--x-large;
31
32
  padding: 0 $sph--large;
@@ -50,6 +50,9 @@ $active-background-opacity-amount: 0.08;
50
50
  $muted-text-opacity-amount: 0.6;
51
51
  $inactive-text-opacity-amount: 0.75;
52
52
 
53
+ $active-background-opacity-percentage: $active-background-opacity-amount * 100%;
54
+ $hover-background-opacity-percentage: $hover-background-opacity-amount * 100%;
55
+
53
56
  // NON-SEMANTIC COLOURS
54
57
  $color-label-validated: #006b75;
55
58
  $color-code-background: rgba($color-x-dark, 0.03);