milwright commited on
Commit
f7ab310
·
1 Parent(s): 0946b85

feat: add welcome overlay CSS styles to main stylesheet

Browse files

- Add consistent styling for welcome overlay components
- Use application color scheme (#1f2937, #4b5563)
- Maintain visual consistency with rest of application
- Proper z-index and transitions for smooth UX

Files changed (1) hide show
  1. src/styles.css +41 -0
src/styles.css CHANGED
@@ -48,6 +48,47 @@
48
  }
49
 
50
  /* Correct and incorrect answer styles */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  .cloze-input.correct {
52
  background-color: #dcfce7 !important;
53
  border-color: #16a34a !important;
 
48
  }
49
 
50
  /* Correct and incorrect answer styles */
51
+
52
+ /* Welcome overlay styles */
53
+ .welcome-overlay {
54
+ position: fixed;
55
+ top: 0;
56
+ left: 0;
57
+ width: 100%;
58
+ height: 100%;
59
+ background: rgba(0, 0, 0, 0.8);
60
+ display: flex;
61
+ align-items: center;
62
+ justify-content: center;
63
+ z-index: 1000;
64
+ opacity: 0;
65
+ transition: opacity 0.3s ease;
66
+ }
67
+
68
+ .welcome-modal {
69
+ background: white;
70
+ border-radius: 12px;
71
+ padding: 32px;
72
+ box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
73
+ }
74
+
75
+ .welcome-title {
76
+ margin: 0 0 24px 0;
77
+ color: #1f2937;
78
+ font-size: 28px;
79
+ font-weight: 600;
80
+ }
81
+
82
+ .welcome-content {
83
+ text-align: left;
84
+ color: #4b5563;
85
+ line-height: 1.6;
86
+ margin-bottom: 32px;
87
+ }
88
+
89
+ .welcome-content p {
90
+ margin: 0 0 16px 0;
91
+ }
92
  .cloze-input.correct {
93
  background-color: #dcfce7 !important;
94
  border-color: #16a34a !important;