fix: re-position book close button inside the outer folder cover with neat hover transitions
Browse files- frontend/src/App.css +14 -8
frontend/src/App.css
CHANGED
|
@@ -2710,21 +2710,27 @@ input[type=number] {
|
|
| 2710 |
/* βββ Navigation Buttons βββββββββββββββββββββ */
|
| 2711 |
.book-close-x {
|
| 2712 |
position: absolute;
|
| 2713 |
-
top:
|
| 2714 |
-
right:
|
| 2715 |
-
background: rgba(
|
| 2716 |
-
border: 1px solid rgba(255,255,255,0.15);
|
| 2717 |
border-radius: 50%;
|
| 2718 |
-
width:
|
| 2719 |
-
height:
|
| 2720 |
display: flex;
|
| 2721 |
align-items: center;
|
| 2722 |
justify-content: center;
|
| 2723 |
-
color: rgba(255,255,255,0.
|
| 2724 |
cursor: pointer;
|
|
|
|
| 2725 |
transition: all 0.2s ease;
|
| 2726 |
}
|
| 2727 |
-
.book-close-x:hover {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2728 |
|
| 2729 |
.book-page-turn-btn {
|
| 2730 |
position: absolute;
|
|
|
|
| 2710 |
/* βββ Navigation Buttons βββββββββββββββββββββ */
|
| 2711 |
.book-close-x {
|
| 2712 |
position: absolute;
|
| 2713 |
+
top: 18px;
|
| 2714 |
+
right: 22px;
|
| 2715 |
+
background: rgba(0, 0, 0, 0.45);
|
| 2716 |
+
border: 1px solid rgba(255, 255, 255, 0.15);
|
| 2717 |
border-radius: 50%;
|
| 2718 |
+
width: 32px;
|
| 2719 |
+
height: 32px;
|
| 2720 |
display: flex;
|
| 2721 |
align-items: center;
|
| 2722 |
justify-content: center;
|
| 2723 |
+
color: rgba(255, 255, 255, 0.7);
|
| 2724 |
cursor: pointer;
|
| 2725 |
+
z-index: 200;
|
| 2726 |
transition: all 0.2s ease;
|
| 2727 |
}
|
| 2728 |
+
.book-close-x:hover {
|
| 2729 |
+
background: #7a1515;
|
| 2730 |
+
border-color: #9a1a1a;
|
| 2731 |
+
color: white;
|
| 2732 |
+
transform: rotate(90deg);
|
| 2733 |
+
}
|
| 2734 |
|
| 2735 |
.book-page-turn-btn {
|
| 2736 |
position: absolute;
|