@nine-lab/nine-ux 0.1.187 → 0.1.189
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,83 @@
|
|
|
1
|
+
:host(nine-collapse) {
|
|
2
|
+
display: none;
|
|
3
|
+
position: absolute;
|
|
4
|
+
top: 0;
|
|
5
|
+
right: 4px;
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
z-index: 999;
|
|
8
|
+
height: 20px;
|
|
9
|
+
width: 64px;
|
|
10
|
+
|
|
11
|
+
button {
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
border: none;
|
|
14
|
+
outline: none;
|
|
15
|
+
padding: 0;
|
|
16
|
+
user-select: none;
|
|
17
|
+
border-bottom-left-radius: 8px;
|
|
18
|
+
border-bottom-right-radius: 8px;
|
|
19
|
+
background-color: #666;
|
|
20
|
+
height: 100%;
|
|
21
|
+
width: 100%;
|
|
22
|
+
background-repeat: no-repeat;
|
|
23
|
+
background-position: center;
|
|
24
|
+
background-size: auto;
|
|
25
|
+
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="silver" class="bi bi-box-arrow-in-down-left" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M9.636 2.5a.5.5 0 0 0-.5-.5H2.5A1.5 1.5 0 0 0 1 3.5v10A1.5 1.5 0 0 0 2.5 15h10a1.5 1.5 0 0 0 1.5-1.5V6.864a.5.5 0 0 0-1 0V13.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5"/> <path fill-rule="evenodd" d="M5 10.5a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 0-1H6.707l8.147-8.146a.5.5 0 0 0-.708-.708L6 9.293V5.5a.5.5 0 0 0-1 0z"/> </svg>');
|
|
26
|
+
transition: all 0.3s ease;
|
|
27
|
+
}
|
|
28
|
+
button:hover {
|
|
29
|
+
background-color: #777; /* 진한 배경으로 강조 */
|
|
30
|
+
box-shadow: 0 2px 8px rgba(0,0,0,0.3); /* 입체감 glow */
|
|
31
|
+
transform: scale(1.05); /* 약간 확대 */
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.nx-expand {
|
|
35
|
+
display: inline-block;
|
|
36
|
+
animation: bounceInUp 0.4s ease-out forwards;
|
|
37
|
+
}
|
|
38
|
+
&.nx-collapse {
|
|
39
|
+
display: inline-block;
|
|
40
|
+
animation: bounceDown 0.7s ease-out forwards;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
:host(nine-collapse.nx-expand) {
|
|
46
|
+
display: inline-block;
|
|
47
|
+
animation: bounceInUp 0.4s ease-out forwards;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
:host(nine-collapse.nx-collapse) {
|
|
52
|
+
display: inline-block;
|
|
53
|
+
animation: bounceDown 0.7s ease-out forwards;
|
|
54
|
+
}
|
|
55
|
+
*/
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
@keyframes bounceInUp {
|
|
59
|
+
0% {
|
|
60
|
+
transform: translateY(0);
|
|
61
|
+
opacity: 1;
|
|
62
|
+
}
|
|
63
|
+
100% {
|
|
64
|
+
transform: translateY(-20px);
|
|
65
|
+
opacity: 0;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
@keyframes bounceDown {
|
|
72
|
+
0% {
|
|
73
|
+
transform: translateY(-20px);
|
|
74
|
+
opacity: 0;
|
|
75
|
+
}
|
|
76
|
+
100% {
|
|
77
|
+
transform: translateY(0);
|
|
78
|
+
opacity: 1;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|