Update public/css/base.css
Browse files- public/css/base.css +14 -4
public/css/base.css
CHANGED
|
@@ -91,19 +91,29 @@ input { font: inherit; }
|
|
| 91 |
}
|
| 92 |
.notification {
|
| 93 |
display: flex; align-items: flex-start; gap: 10px;
|
| 94 |
-
padding: 12px
|
| 95 |
background: var(--bg-raised); border: 1px solid var(--border-bright);
|
| 96 |
box-shadow: var(--shadow-md);
|
| 97 |
max-width: 360px; font-size: 13px; color: var(--text);
|
| 98 |
pointer-events: auto;
|
| 99 |
animation: slideInRight 0.22s ease;
|
|
|
|
| 100 |
}
|
| 101 |
.notification.warning { border-color: rgba(229,200,70,0.4); }
|
| 102 |
.notification.error { border-color: rgba(220,60,60,0.4); }
|
| 103 |
.notification.success { border-color: rgba(45,212,166,0.4); }
|
| 104 |
.notification .notif-close {
|
| 105 |
-
|
| 106 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 107 |
}
|
| 108 |
|
| 109 |
/* Share banner */
|
|
@@ -135,4 +145,4 @@ input { font: inherit; }
|
|
| 135 |
@keyframes shimmer {
|
| 136 |
0% { background-position: -200% 0; }
|
| 137 |
100% { background-position: 200% 0; }
|
| 138 |
-
}
|
|
|
|
| 91 |
}
|
| 92 |
.notification {
|
| 93 |
display: flex; align-items: flex-start; gap: 10px;
|
| 94 |
+
padding: 10px 12px 10px 14px; border-radius: var(--radius-md);
|
| 95 |
background: var(--bg-raised); border: 1px solid var(--border-bright);
|
| 96 |
box-shadow: var(--shadow-md);
|
| 97 |
max-width: 360px; font-size: 13px; color: var(--text);
|
| 98 |
pointer-events: auto;
|
| 99 |
animation: slideInRight 0.22s ease;
|
| 100 |
+
position: relative;
|
| 101 |
}
|
| 102 |
.notification.warning { border-color: rgba(229,200,70,0.4); }
|
| 103 |
.notification.error { border-color: rgba(220,60,60,0.4); }
|
| 104 |
.notification.success { border-color: rgba(45,212,166,0.4); }
|
| 105 |
.notification .notif-close {
|
| 106 |
+
position: absolute;
|
| 107 |
+
top: 6px;
|
| 108 |
+
right: 8px;
|
| 109 |
+
color: var(--text-muted); font-size: 15px;
|
| 110 |
+
background: none; border: none; cursor: pointer;
|
| 111 |
+
line-height: 1; padding: 2px 4px;
|
| 112 |
+
border-radius: 4px;
|
| 113 |
+
transition: color var(--transition), background var(--transition);
|
| 114 |
+
}
|
| 115 |
+
.notification .notif-close:hover {
|
| 116 |
+
color: var(--text); background: var(--bg-hover);
|
| 117 |
}
|
| 118 |
|
| 119 |
/* Share banner */
|
|
|
|
| 145 |
@keyframes shimmer {
|
| 146 |
0% { background-position: -200% 0; }
|
| 147 |
100% { background-position: 200% 0; }
|
| 148 |
+
}
|