mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 17:38:10 +00:00
seelection bubbles v2 update
This commit is contained in:
1 parent
c7322b2719
commit
5e4b4c0343
1 file changed
+2
-4
+2
-4
@@ -121,7 +121,7 @@
|
||||
.bubble-text {
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
color: white; // Adjust based on your design
|
||||
color: white;
|
||||
padding-left: 10px;
|
||||
padding-bottom: 5px;
|
||||
text-align: left;
|
||||
@@ -131,7 +131,6 @@
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
// Gradient overlay for non-selected state
|
||||
&::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
@@ -140,10 +139,9 @@
|
||||
width: 100%;
|
||||
height: 50%;
|
||||
background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
|
||||
z-index: 2; // Above the image, below the text
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
// Modify the gradient for the selected state
|
||||
&.selected::after {
|
||||
background: linear-gradient(
|
||||
to top,
|
||||
|
||||
Reference in new issue
Block a user