GarGerry commited on
Commit
7a303bc
·
verified ·
1 Parent(s): 831e195

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +28 -2
style.css CHANGED
@@ -50,12 +50,38 @@ label {
50
  }
51
 
52
  input, select {
53
- width: 100%;
 
 
 
 
54
  padding: 12px;
55
  font-size: 16px;
56
  border: 1px solid #ddd;
57
  border-radius: 8px;
58
- transition: border-color 0.3s ease;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  }
60
 
61
  input:focus, select:focus {
 
50
  }
51
 
52
  input, select {
53
+ appearance: none; /* Hilangkan default dropdown */
54
+ -moz-appearance: none; /* Firefox */
55
+ -webkit-appearance: none; /* Safari */
56
+ background-color: #001d57; /* Latar belakang biru gelap */
57
+ color: #fff; /* Teks putih */
58
  padding: 12px;
59
  font-size: 16px;
60
  border: 1px solid #ddd;
61
  border-radius: 8px;
62
+ width: 100%;
63
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
64
+ transition: border-color 0.3s ease, box-shadow 0.3s ease;
65
+ }
66
+
67
+ select:hover {
68
+ border-color: #87cefa;
69
+ }
70
+
71
+ select:focus {
72
+ border-color: #007bff;
73
+ box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
74
+ outline: none;
75
+ }
76
+
77
+ /* Tambahkan ikon dropdown */
78
+ select {
79
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
80
+ background-repeat: no-repeat;
81
+ background-position: right 10px center;
82
+ background-size: 16px;
83
+ }
84
+
85
  }
86
 
87
  input:focus, select:focus {