Gcuore commited on
Commit
06110c3
·
verified ·
1 Parent(s): 265e78a

remove the slider and make the transparency 55% - Follow Up Deployment

Browse files
Files changed (1) hide show
  1. index.html +2 -12
index.html CHANGED
@@ -55,7 +55,7 @@
55
  font-size: 64px;
56
  font-weight: 700;
57
  letter-spacing: -2px;
58
- opacity: 1;
59
  }
60
 
61
  .clock-date {
@@ -63,7 +63,7 @@
63
  font-weight: 600;
64
  margin-top: -8px;
65
  letter-spacing: -0.3px;
66
- opacity: 1;
67
  }
68
  </style>
69
 
@@ -71,10 +71,6 @@
71
  <div style="background-color: #1e1e1e; width: 400px; margin: 100px auto; padding: 20px; border-radius: 12px;">
72
  <h2 style="margin-top: 0;">Settings</h2>
73
  <input type="file" id="wallpaper-input" accept="image/*" style="display: none;">
74
- <div style="margin-bottom: 15px;">
75
- <label style="display: block; margin-bottom: 5px;">Clock Transparency</label>
76
- <input type="range" id="transparency-slider" min="0" max="100" value="100" style="width: 100%;">
77
- </div>
78
  <button onclick="document.getElementById('wallpaper-input').click()" style="background: #2c2c2e; color: white; border: none; padding: 10px 15px; border-radius: 8px; cursor: pointer;">
79
  Upload Wallpaper
80
  </button>
@@ -92,12 +88,6 @@
92
  document.getElementById('settings-modal').style.display = 'block';
93
  });
94
 
95
- document.getElementById('transparency-slider').addEventListener('input', function(e) {
96
- const transparency = e.target.value / 100;
97
- document.querySelector('.clock-time').style.opacity = transparency;
98
- document.querySelector('.clock-date').style.opacity = transparency;
99
- });
100
-
101
  document.getElementById('wallpaper-input').addEventListener('change', function(e) {
102
  const file = e.target.files[0];
103
  if (file) {
 
55
  font-size: 64px;
56
  font-weight: 700;
57
  letter-spacing: -2px;
58
+ opacity: 0.55;
59
  }
60
 
61
  .clock-date {
 
63
  font-weight: 600;
64
  margin-top: -8px;
65
  letter-spacing: -0.3px;
66
+ opacity: 0.55;
67
  }
68
  </style>
69
 
 
71
  <div style="background-color: #1e1e1e; width: 400px; margin: 100px auto; padding: 20px; border-radius: 12px;">
72
  <h2 style="margin-top: 0;">Settings</h2>
73
  <input type="file" id="wallpaper-input" accept="image/*" style="display: none;">
 
 
 
 
74
  <button onclick="document.getElementById('wallpaper-input').click()" style="background: #2c2c2e; color: white; border: none; padding: 10px 15px; border-radius: 8px; cursor: pointer;">
75
  Upload Wallpaper
76
  </button>
 
88
  document.getElementById('settings-modal').style.display = 'block';
89
  });
90
 
 
 
 
 
 
 
91
  document.getElementById('wallpaper-input').addEventListener('change', function(e) {
92
  const file = e.target.files[0];
93
  if (file) {