nagasurendra commited on
Commit
56e9f63
·
verified ·
1 Parent(s): 6b86d43

Update static/styles.css

Browse files
Files changed (1) hide show
  1. static/styles.css +33 -0
static/styles.css CHANGED
@@ -86,3 +86,36 @@ h1 {
86
  .popup button:hover {
87
  background-color: darkred;
88
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86
  .popup button:hover {
87
  background-color: darkred;
88
  }
89
+ /* Modal Window Styles */
90
+ .popup {
91
+ display: none; /* Hidden by default */
92
+ position: fixed;
93
+ top: 50%;
94
+ left: 50%;
95
+ transform: translate(-50%, -50%);
96
+ width: 50%;
97
+ background-color: white;
98
+ padding: 20px;
99
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
100
+ border-radius: 8px;
101
+ z-index: 1000;
102
+ }
103
+
104
+ .popup.show {
105
+ display: block; /* Show when modal is triggered */
106
+ }
107
+
108
+ .modal-backdrop {
109
+ position: fixed;
110
+ top: 0;
111
+ left: 0;
112
+ width: 100%;
113
+ height: 100%;
114
+ background: rgba(0, 0, 0, 0.5);
115
+ z-index: 999;
116
+ }
117
+
118
+ /* Scrollable Background */
119
+ body {
120
+ overflow-y: scroll; /* Keep scrolling enabled */
121
+ }