CoderHassan commited on
Commit
3ecfa56
·
verified ·
1 Parent(s): 4779692

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +20 -12
app.py CHANGED
@@ -39,20 +39,27 @@ h1 {
39
  0 0 40px #3b82f6;
40
  }
41
 
42
- /* Glass Effect */
43
- .block-container {
44
- background: rgba(255,255,255,0.05);
45
- padding: 25px;
46
- border-radius: 20px;
47
- backdrop-filter: blur(12px);
48
- box-shadow: 0 8px 30px rgba(0,0,0,0.4);
49
- animation: floatCard 4s ease-in-out infinite;
 
 
 
 
50
  }
51
 
52
- @keyframes floatCard {
53
- 0% {transform: translateY(0px);}
54
- 50% {transform: translateY(-5px);}
55
- 100% {transform: translateY(0px);}
 
 
 
56
  }
57
 
58
  /* Button Styling */
@@ -65,6 +72,7 @@ h1 {
65
  font-size: 16px;
66
  border: none;
67
  box-shadow: 0 0 15px rgba(59,130,246,0.6);
 
68
  }
69
 
70
  .stButton>button:hover {
 
39
  0 0 40px #3b82f6;
40
  }
41
 
42
+ /* 🔥 SEPARATE COMPONENT GLOW BOXES */
43
+ div[data-testid="stNumberInput"],
44
+ div[data-testid="stRadio"],
45
+ div[data-testid="stSelectbox"],
46
+ div[data-testid="stTextInput"] {
47
+ background: rgba(255,255,255,0.06);
48
+ padding: 15px;
49
+ border-radius: 15px;
50
+ margin-bottom: 15px;
51
+ backdrop-filter: blur(10px);
52
+ box-shadow: 0 0 15px rgba(59,130,246,0.25);
53
+ transition: 0.3s ease;
54
  }
55
 
56
+ /* Hover glow per component */
57
+ div[data-testid="stNumberInput"]:hover,
58
+ div[data-testid="stRadio"]:hover,
59
+ div[data-testid="stSelectbox"]:hover,
60
+ div[data-testid="stTextInput"]:hover {
61
+ box-shadow: 0 0 25px rgba(56,189,248,0.6);
62
+ transform: scale(1.01);
63
  }
64
 
65
  /* Button Styling */
 
72
  font-size: 16px;
73
  border: none;
74
  box-shadow: 0 0 15px rgba(59,130,246,0.6);
75
+ transition: 0.3s;
76
  }
77
 
78
  .stButton>button:hover {