aboutsummaryrefslogtreecommitdiff
path: root/front-end/src/App.css
diff options
context:
space:
mode:
Diffstat (limited to 'front-end/src/App.css')
-rw-r--r--front-end/src/App.css127
1 files changed, 127 insertions, 0 deletions
diff --git a/front-end/src/App.css b/front-end/src/App.css
index 20d839e..2808f4e 100644
--- a/front-end/src/App.css
+++ b/front-end/src/App.css
@@ -221,6 +221,133 @@ body {
margin-top: 0.3rem;
}
+.subscription-actions {
+ display: flex;
+ gap: 0.5rem;
+ margin-top: 0.5rem;
+ justify-content: center;
+}
+
+.edit-button, .delete-button {
+ padding: 0.4rem 0.8rem;
+ border: none;
+ border-radius: 10px;
+ font-size: 0.8rem;
+ cursor: pointer;
+ transition: all 0.3s ease;
+}
+
+.edit-button {
+ background: rgba(255, 193, 7, 0.2);
+ color: #ffc107;
+ border: 1px solid rgba(255, 193, 7, 0.3);
+}
+
+.edit-button:hover:not(:disabled) {
+ background: rgba(255, 193, 7, 0.3);
+ transform: translateY(-1px);
+}
+
+.delete-button {
+ background: rgba(220, 53, 69, 0.2);
+ color: #dc3545;
+ border: 1px solid rgba(220, 53, 69, 0.3);
+}
+
+.delete-button:hover:not(:disabled) {
+ background: rgba(220, 53, 69, 0.3);
+ transform: translateY(-1px);
+}
+
+.edit-button:disabled, .delete-button:disabled {
+ opacity: 0.6;
+ cursor: not-allowed;
+ transform: none;
+}
+
+.edit-subscription-modal {
+ position: fixed;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background: rgba(0, 0, 0, 0.7);
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ z-index: 1000;
+ backdrop-filter: blur(5px);
+}
+
+.edit-subscription-content {
+ background: rgba(255, 255, 255, 0.15);
+ padding: 2rem;
+ border-radius: 15px;
+ backdrop-filter: blur(10px);
+ border: 1px solid rgba(255, 255, 255, 0.2);
+ max-width: 500px;
+ width: 90%;
+ max-height: 90vh;
+ overflow-y: auto;
+}
+
+.edit-subscription-content h3 {
+ color: white;
+ margin-bottom: 1.5rem;
+ text-align: center;
+ font-size: 1.3rem;
+}
+
+.cancel-button {
+ padding: 0.8rem 1.5rem;
+ border: 1px solid rgba(255, 255, 255, 0.3);
+ border-radius: 20px;
+ background: rgba(255, 255, 255, 0.1);
+ color: white;
+ cursor: pointer;
+ transition: all 0.3s ease;
+ font-size: 1rem;
+ margin-left: 0.5rem;
+}
+
+.cancel-button:hover:not(:disabled) {
+ background: rgba(255, 255, 255, 0.2);
+ transform: translateY(-1px);
+}
+
+.cancel-button:disabled {
+ opacity: 0.6;
+ cursor: not-allowed;
+}
+
+/* Responsive updates for subscription actions */
+@media (max-width: 768px) {
+ .subscription-actions {
+ flex-direction: column;
+ align-items: center;
+ }
+
+ .edit-button, .delete-button {
+ width: 100%;
+ max-width: 200px;
+ }
+
+ .edit-subscription-content {
+ padding: 1.5rem;
+ margin: 1rem;
+ }
+
+ .form-actions {
+ flex-direction: column;
+ gap: 0.5rem;
+ }
+
+ .cancel-button {
+ margin-left: 0;
+ margin-top: 0.5rem;
+ }
+}
+
.subscription-error {
color: #ff6b6b;
background: rgba(255, 107, 107, 0.1);