@appscode/design-system 1.1.0-alpha.26 → 1.1.0-alpha.28
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
|
@@ -7,21 +7,18 @@ const props = withDefaults(
|
|
|
7
7
|
const { hasOptionButtons, disabled } = toRefs(props);
|
|
8
8
|
</script>
|
|
9
9
|
<template>
|
|
10
|
-
<div class="card-details-wrapper">
|
|
10
|
+
<div class="card-details-wrapper has-hover-style">
|
|
11
11
|
<div class="options-wrapper">
|
|
12
12
|
<slot v-if="hasOptionButtons" name="option-buttons" />
|
|
13
13
|
</div>
|
|
14
|
-
<div
|
|
15
|
-
class="card-details has-hover-style"
|
|
16
|
-
:class="{ 'is-disabled': disabled }"
|
|
17
|
-
>
|
|
14
|
+
<div class="card-details" :class="{ 'is-disabled': disabled }">
|
|
18
15
|
<div class="c-header">
|
|
19
16
|
<div class="c-logo">
|
|
20
17
|
<slot name="card-logo" />
|
|
21
18
|
</div>
|
|
22
19
|
<div class="c-content">
|
|
23
20
|
<div class="is-flex is-justify-content-space-between">
|
|
24
|
-
<h4><slot name="card-title" /></h4>
|
|
21
|
+
<h4 data-testid="cluster-title-text"><slot name="card-title" /></h4>
|
|
25
22
|
</div>
|
|
26
23
|
<div class="tags">
|
|
27
24
|
<slot name="card-tags" />
|
|
@@ -37,9 +34,11 @@ const { hasOptionButtons, disabled } = toRefs(props);
|
|
|
37
34
|
|
|
38
35
|
<style lang="scss">
|
|
39
36
|
.card-details-wrapper {
|
|
37
|
+
padding: 30px 20px;
|
|
40
38
|
position: relative;
|
|
41
39
|
width: 420px;
|
|
42
|
-
height:
|
|
40
|
+
min-height: 190px;
|
|
41
|
+
border: 1px solid #d2e7f9;
|
|
43
42
|
.options-wrapper {
|
|
44
43
|
position: absolute;
|
|
45
44
|
right: 15px;
|