Sa-m commited on
Commit
8624420
·
verified ·
1 Parent(s): 5675b8c

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +21 -109
style.css CHANGED
@@ -30,7 +30,6 @@ body {
30
  background-color: #fff;
31
  border-bottom: 1px solid #e0e0e0;
32
  height: 60px;
33
- z-index: 10;
34
  }
35
 
36
  .logo {
@@ -102,40 +101,23 @@ body {
102
  overflow-y: auto;
103
  border-right: 1px solid #e0e0e0;
104
  padding: 10px 20px;
105
- height: calc(100vh - 60px);
106
- scrollbar-width: thin;
107
- scrollbar-color: #c0c0c0 #f5f5f5;
108
- }
109
-
110
- .email-list::-webkit-scrollbar {
111
- width: 8px;
112
- }
113
-
114
- .email-list::-webkit-scrollbar-track {
115
- background: #f5f5f5;
116
- }
117
-
118
- .email-list::-webkit-scrollbar-thumb {
119
- background-color: #c0c0c0;
120
- border-radius: 4px;
121
  }
122
 
123
  .email-item {
124
  padding: 12px 0;
125
  border-bottom: 1px solid #f1f3f4;
126
  cursor: pointer;
127
- transition: all 0.3s ease;
128
  display: flex;
129
  justify-content: space-between;
130
  align-items: center;
131
  position: relative;
132
- border-radius: 8px;
133
  }
134
 
135
  .email-item:hover {
136
  background-color: #f8f9fa;
137
  transform: translateX(3px);
138
- box-shadow: 0 2px 4px rgba(0,0,0,0.05);
139
  }
140
 
141
  .email-item.selected {
@@ -283,30 +265,6 @@ body {
283
  background-color: #4285f4;
284
  }
285
 
286
- /* Scroll Indicator */
287
- .scroll-indicator {
288
- position: fixed;
289
- top: 50%;
290
- right: 20px;
291
- width: 8px;
292
- height: 50px;
293
- background-color: rgba(0,0,0,0.1);
294
- border-radius: 4px;
295
- z-index: 10;
296
- pointer-events: none;
297
- transition: all 0.3s ease;
298
- }
299
-
300
- .scroll-indicator.up {
301
- background-color: rgba(0,0,255,0.3);
302
- transform: translateX(0) scaleY(1.5);
303
- }
304
-
305
- .scroll-indicator.down {
306
- background-color: rgba(0,0,255,0.3);
307
- transform: translateX(0) scaleY(1.5);
308
- }
309
-
310
  /* Selection Highlight */
311
  .selection-highlight {
312
  position: absolute;
@@ -555,74 +513,28 @@ body {
555
  opacity: 0.9;
556
  }
557
 
558
- /* Scrollable Email List */
559
- .scrollable-emails {
560
- overflow-y: auto;
561
- height: calc(100vh - 60px);
562
- }
563
-
564
- /* Email Item Enhanced */
565
- .email-item {
566
- transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
567
- }
568
-
569
- .email-item.highlighted {
570
- transform: translateX(10px) scale(1.02);
571
- box-shadow: 0 4px 12px rgba(0,0,0,0.1);
572
- }
573
-
574
- /* Email Header Enhanced */
575
- .email-header {
576
- transition: all 0.3s ease;
577
- }
578
-
579
- /* Email Subject Enhanced */
580
- .email-subject {
581
- transition: all 0.3s ease;
582
- }
583
-
584
- /* Email Snippet Enhanced */
585
- .email-snippet {
586
- transition: all 0.3s ease;
587
- }
588
-
589
- /* Scroll Gesture Indicator */
590
- .scroll-gesture {
591
- position: absolute;
592
- width: 4px;
593
- height: 60px;
594
- background-color: #4285f4;
595
- border-radius: 2px;
596
- z-index: 50;
597
- pointer-events: none;
598
- opacity: 0.7;
599
- transform: translateX(-50%);
600
- }
601
-
602
- /* Enhanced Visual Feedback */
603
- .gesture-visualization .path {
604
- position: absolute;
605
- width: 100%;
606
- height: 100%;
607
- }
608
-
609
- .gesture-visualization .path-point {
610
- position: absolute;
611
- width: 6px;
612
- height: 6px;
613
- background-color: #ff0000;
614
  border-radius: 50%;
615
- transform: translate(-50%, -50%);
616
- opacity: 0.5;
 
 
 
 
617
  }
618
 
619
- /* Animation for gestures */
620
- @keyframes gesture-pulse {
621
- 0% { transform: scale(1); opacity: 0.7; }
622
- 50% { transform: scale(1.5); opacity: 0.4; }
623
- 100% { transform: scale(1); opacity: 0.7; }
624
  }
625
 
626
- .gesture-visualization .path-point {
627
- animation: gesture-pulse 1.5s infinite;
 
628
  }
 
30
  background-color: #fff;
31
  border-bottom: 1px solid #e0e0e0;
32
  height: 60px;
 
33
  }
34
 
35
  .logo {
 
101
  overflow-y: auto;
102
  border-right: 1px solid #e0e0e0;
103
  padding: 10px 20px;
104
+ scroll-behavior: smooth; /* Enable smooth scrolling */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
105
  }
106
 
107
  .email-item {
108
  padding: 12px 0;
109
  border-bottom: 1px solid #f1f3f4;
110
  cursor: pointer;
111
+ transition: all 0.25s ease;
112
  display: flex;
113
  justify-content: space-between;
114
  align-items: center;
115
  position: relative;
 
116
  }
117
 
118
  .email-item:hover {
119
  background-color: #f8f9fa;
120
  transform: translateX(3px);
 
121
  }
122
 
123
  .email-item.selected {
 
265
  background-color: #4285f4;
266
  }
267
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
268
  /* Selection Highlight */
269
  .selection-highlight {
270
  position: absolute;
 
513
  opacity: 0.9;
514
  }
515
 
516
+ /* Scrolling Indicator */
517
+ .scroll-indicator {
518
+ position: fixed;
519
+ right: 20px;
520
+ bottom: 80px;
521
+ width: 30px;
522
+ height: 30px;
523
+ background-color: rgba(66, 133, 244, 0.7);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
524
  border-radius: 50%;
525
+ display: flex;
526
+ align-items: center;
527
+ justify-content: center;
528
+ z-index: 100;
529
+ opacity: 0;
530
+ transition: opacity 0.3s;
531
  }
532
 
533
+ .scroll-indicator.show {
534
+ opacity: 0.8;
 
 
 
535
  }
536
 
537
+ .scroll-indicator i {
538
+ font-size: 16px;
539
+ color: white;
540
  }