@appscode/design-system 2.6.8-alpha-1 → 2.6.9

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": "@appscode/design-system",
3
- "version": "2.6.8-alpha-1",
3
+ "version": "2.6.9",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -668,3 +668,46 @@ em {
668
668
  z-index: #{$i}00;
669
669
  }
670
670
  }
671
+
672
+ .whats-new-rel {
673
+ min-width: fit-content !important;
674
+ font-size: 11px !important;
675
+ color: #ffff !important;
676
+ margin-left: 4px;
677
+ margin-right: 0 !important;
678
+ padding: 0 4px;
679
+ position: relative;
680
+ &::before,
681
+ &::after {
682
+ content: "";
683
+ position: absolute;
684
+ z-index: -1;
685
+ left: 50%;
686
+ top: 50%;
687
+ transform: translateX(-50%) translateY(-50%);
688
+ display: block;
689
+ width: 100%;
690
+ height: 100%;
691
+ border-radius: 4px;
692
+ background: $ac-primary;
693
+ }
694
+ &:before {
695
+ animation: pulse-border 1500ms ease-out infinite;
696
+ }
697
+
698
+ &:after {
699
+ transition: all 200ms;
700
+ }
701
+
702
+ @keyframes pulse-border {
703
+ 0% {
704
+ transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
705
+ opacity: 1;
706
+ }
707
+
708
+ 100% {
709
+ transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.4);
710
+ opacity: 0;
711
+ }
712
+ }
713
+ }
@@ -41,6 +41,16 @@
41
41
  &:hover {
42
42
  background-color: hsla(var(--secondary-hue), 12%, 95%);
43
43
  }
44
+ p,
45
+ span {
46
+ color: $color-text;
47
+ }
48
+ .time {
49
+ font-size: 11px;
50
+ }
51
+ .ac-checkbox {
52
+ margin-top: 4px;
53
+ }
44
54
  }
45
55
 
46
56
  .message-details {
@@ -251,3 +251,15 @@
251
251
  }
252
252
  }
253
253
  }
254
+
255
+ .router-link-exact-active {
256
+ .whats-new-rel {
257
+ background-color: #fff;
258
+ color: $ac-primary !important;
259
+ z-index: 9;
260
+ &::after,
261
+ &::before {
262
+ background-color: #fff;
263
+ }
264
+ }
265
+ }
@@ -40,7 +40,10 @@ withDefaults(defineProps<Props>(), {
40
40
  ]"
41
41
  >
42
42
  <div class="left-content" :class="{ 'is-align-items-center': noDataAvailable || noClusterAvailable }">
43
- <figure class="image is-clipped" :class="[noClusterAvailable ? 'is-96x96' : 'width-64']">
43
+ <figure
44
+ class="image is-clipped"
45
+ :class="[noClusterAvailable ? 'is-96x96' : 'width-64', !noDataAvailable ? 'is-rounded' : '']"
46
+ >
44
47
  <img :src="thumbnail" />
45
48
  </figure>
46
49
 
@@ -1,5 +1,6 @@
1
1
  <script setup lang="ts">
2
2
  import { nextTick, watch, ref } from "vue";
3
+ import Tag from "../badge-tags/Tag.vue";
3
4
 
4
5
  interface Props {
5
6
  id?: string;
@@ -49,6 +50,7 @@ watch(
49
50
  <img :src="icon" alt="icon" />
50
51
  </span>
51
52
  <strong>{{ title }}</strong>
53
+ <span v-if="id === 'claim'" class="badge is-primary whats-new-rel">NEW</span>
52
54
  </router-link>
53
55
  </li>
54
56
  </template>