@appscode/design-system 1.1.0-alpha.25 → 1.1.0-alpha.27
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.
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
.card-details {
|
|
2
|
-
border: 1px solid #d2e7f9;
|
|
3
|
-
padding: 30px 20px;
|
|
4
|
-
width: calc(33.3% - 8px);
|
|
5
|
-
min-width: 400px;
|
|
6
|
-
max-width: 525px;
|
|
7
|
-
// border-radius: 4px;
|
|
8
2
|
transition: 0.3s ease-in-out;
|
|
9
3
|
position: relative;
|
|
10
4
|
z-index: 1;
|
|
@@ -29,7 +23,7 @@
|
|
|
29
23
|
}
|
|
30
24
|
|
|
31
25
|
.c-content {
|
|
32
|
-
width: calc(100% -
|
|
26
|
+
width: calc(100% - 100px);
|
|
33
27
|
h4 {
|
|
34
28
|
font-size: 18px;
|
|
35
29
|
line-height: 130%;
|
|
@@ -102,7 +96,6 @@
|
|
|
102
96
|
}
|
|
103
97
|
.c-header {
|
|
104
98
|
.c-title {
|
|
105
|
-
|
|
106
99
|
h4 {
|
|
107
100
|
font-size: 18px;
|
|
108
101
|
color: #061b2d;
|
|
@@ -112,7 +105,7 @@
|
|
|
112
105
|
|
|
113
106
|
.c-body {
|
|
114
107
|
p {
|
|
115
|
-
color: #
|
|
108
|
+
color: #0c365a;
|
|
116
109
|
}
|
|
117
110
|
}
|
|
118
111
|
}
|
package/package.json
CHANGED
|
@@ -7,14 +7,11 @@ 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" />
|
|
@@ -37,11 +34,15 @@ 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;
|
|
39
|
+
width: 420px;
|
|
40
|
+
min-height: 190px;
|
|
41
|
+
border: 1px solid #d2e7f9;
|
|
41
42
|
.options-wrapper {
|
|
42
43
|
position: absolute;
|
|
43
44
|
right: 15px;
|
|
44
|
-
top:
|
|
45
|
+
top: 30px;
|
|
45
46
|
z-index: 9;
|
|
46
47
|
}
|
|
47
48
|
}
|