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

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +18 -21
style.css CHANGED
@@ -49,23 +49,28 @@ label {
49
  font-weight: bold;
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 {
@@ -74,20 +79,12 @@ select:focus {
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 {
88
- border-color: #87cefa;
89
- outline: none;
90
- }
91
 
92
  /* Swap Button */
93
  .swap-group {
 
49
  font-weight: bold;
50
  }
51
 
52
+ input, /* General Select Styling */
53
+ select {
54
+ appearance: none; /* Hilangkan gaya default */
55
+ -moz-appearance: none;
56
+ -webkit-appearance: none;
57
  background-color: #001d57; /* Latar belakang biru gelap */
58
  color: #fff; /* Teks putih */
59
+ border: 1px solid #87cefa;
60
+ border-radius: 8px;
61
  padding: 12px;
62
  font-size: 16px;
63
+ font-weight: bold;
64
+ cursor: pointer;
 
 
65
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
66
+ 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");
67
+ background-repeat: no-repeat;
68
+ background-position: right 12px center;
69
+ background-size: 16px;
70
  }
71
 
72
  select:hover {
73
+ border-color: #5faad7;
74
  }
75
 
76
  select:focus {
 
79
  outline: none;
80
  }
81
 
82
+ /* Dropdown Options Styling */
83
+ option {
84
+ background-color: #001d57; /* Warna latar dropdown */
85
+ color: #fff; /* Warna teks dropdown */
 
 
86
  }
87
 
 
 
 
 
 
 
88
 
89
  /* Swap Button */
90
  .swap-group {