-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCSS.html
More file actions
155 lines (127 loc) · 8.93 KB
/
Copy pathCSS.html
File metadata and controls
155 lines (127 loc) · 8.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<style>
@import url('https://fonts.googleapis.com/icon?family=Material+Icons+Outlined');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
.material-icons-outlined {
font-family: 'Material Icons Outlined' !important;
font-weight: normal; font-style: normal; line-height: 1; letter-spacing: normal;
text-transform: none; display: inline-block; white-space: nowrap; word-wrap: normal;
direction: ltr; font-feature-settings: 'liga' !important;
-webkit-font-feature-settings: 'liga' !important; -webkit-font-smoothing: antialiased;
}
:root {
--merah-demokrasi: #D32F2F; --putih: #FFFFFF; --biru-navy: #1A237E;
--bg-color: #F4F6F9; --text-dark: #212121; --border: #CFD8DC;
}
body {
font-family: 'Poppins', sans-serif; background: var(--bg-color);
background-image: radial-gradient(#CFD8DC 1px, transparent 1px);
background-size: 20px 20px; color: var(--text-dark); margin: 0; padding: 20px;
user-select: none; overflow-x: hidden;
}
.container { max-width: 1000px; margin: 0 auto; position: relative; }
.animate-fade-up { animation: fadeUp 0.6s ease forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.header-demokrasi {
display: flex;
align-items: center;
justify-content: center;
gap: 25px;
margin-top: 15px;
margin-bottom: 35px;
flex-wrap: wrap;
}
.logo-instansi {
max-width: 105px;
max-height: 105px;
object-fit: contain;
filter: drop-shadow(0 4px 8px rgba(0,0,0,0.08)); /* Memberikan efek bayangan 3D yang elegan */
}
.header-text {
text-align: left; /* Teks rata kiri sejajar dengan logo */
}
.header-text h1 {
color: var(--biru-navy);
font-weight: 700;
text-transform: uppercase;
letter-spacing: 2px;
margin: 0;
line-height: 1.2;
}
.header-text h1 span { color: var(--merah-demokrasi); }
.header-text h1 small {
display: block;
font-size: 16px;
letter-spacing: 4px;
color: #616161;
margin-top: 5px;
}
.header-text p {
color: #616161;
font-weight: 600;
margin: 8px 0 0 0;
}
@media (max-width: 600px) {
.header-demokrasi { flex-direction: column; text-align: center; gap: 15px; }
.header-text { text-align: center; }
}
.header-demokrasi h1 { color: var(--biru-navy); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 5px; line-height: 1.2; }
.header-demokrasi h1 span { color: var(--merah-demokrasi); }
.header-demokrasi h1 small { display: block; font-size: 16px; letter-spacing: 4px; color: #616161; margin-top: 5px; }
.box { background: var(--putih); padding: 35px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-top: 5px solid var(--merah-demokrasi); margin: 20px auto; width: 100%; box-sizing: border-box; }
.box-center { max-width: 480px; text-align: center; margin-top: 5vh; }
.input-group { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; text-align: left; }
.input-group label { font-size: 13px; font-weight: 600; color: var(--biru-navy); }
input, textarea { width: 100%; padding: 14px; border: 2px solid var(--border); border-radius: 8px; box-sizing: border-box; font-family: inherit; font-size: 15px; transition: 0.3s; }
input:focus, textarea:focus { border-color: var(--biru-navy); outline: none; box-shadow: 0 0 8px rgba(26, 35, 126, 0.2); }
.input-token { text-align: center; font-size: 28px; letter-spacing: 12px; font-weight: bold; text-transform: uppercase; color: var(--biru-navy); border-radius: 12px; }
.btn-flex-row { display: flex; gap: 10px; justify-content: center; width: 100%; flex-wrap: wrap; }
button { width: 100%; padding: 14px; background: var(--biru-navy); color: var(--putih); border: none; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 4px 10px rgba(26, 35, 126, 0.25); }
button:hover { background: #121858; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(26, 35, 126, 0.4); }
button.btn-merah { background: var(--merah-demokrasi); box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3); }
button.btn-merah:hover { background: #B71C1C; }
button.btn-outline { background: transparent; border: 2px solid var(--biru-navy); color: var(--biru-navy); box-shadow: none; }
button.btn-outline:hover { background: var(--biru-navy); color: var(--putih); }
button.btn-link-top { position: absolute; top: -15px; right: 0; width: auto; background: transparent; color: #9E9E9E; border: none; font-size: 12px; box-shadow: none; padding: 5px 10px; border-radius: 4px; }
button.btn-link-top:hover { color: var(--biru-navy); background: #E0E0E0; transform: none; }
.grid-card { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin-top: 20px;}
.card { background: var(--putih); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; text-align: center; padding-bottom: 20px; transition: 0.3s; box-shadow: 0 4px 12px rgba(0,0,0,0.05); display: flex; flex-direction: column; justify-content: space-between; }
.card:hover { transform: translateY(-8px); box-shadow: 0 15px 25px rgba(0,0,0,0.15); border-color: var(--biru-navy); }
.card img { width: 100%; height: 250px; object-fit: cover; border-bottom: 4px solid var(--merah-demokrasi); }
.table-wrapper { overflow-x: auto; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); max-height: 400px; overflow-y: auto;}
table { width: 100%; border-collapse: collapse; font-size: 13px; background: var(--putih); }
th, td { padding: 12px 15px; border-bottom: 1px solid var(--border); text-align: left; }
th { background: var(--biru-navy); color: var(--putih); text-transform: uppercase; font-size: 12px; font-weight: 600; white-space: nowrap; position: sticky; top: 0; }
tr:hover { background-color: #F5F7FA; }
.action-btns { display: flex; gap: 5px; }
.btn-sm { padding: 6px 10px; font-size: 12px; width: auto; box-shadow: none; border-radius: 4px; }
.btn-sm.edit { background: #F57C00; }
.btn-sm.delete { background: var(--merah-demokrasi); }
.badge-anomali { background: #FFEBEE; color: #C62828; padding: 4px 8px; border-radius: 4px; font-weight: bold; font-size: 11px; }
.hidden { display: none !important; }
.nav-tabs { display: flex; gap: 10px; margin-bottom: 25px; overflow-x: auto; padding-bottom: 5px; }
.nav-tabs button { flex: 1; min-width: 140px; border-radius: 8px; white-space: nowrap; }
input[type="file"]::file-selector-button { padding: 10px 20px; background: var(--biru-navy); color: white; border: none; border-radius: 6px; cursor: pointer; font-family: 'Poppins', sans-serif; transition: 0.3s; }
input[type="file"]::file-selector-button:hover { background: var(--merah-demokrasi); }
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); display: flex; justify-content: center; align-items: center; z-index: 9999; opacity: 0; pointer-events: none; transition: 0.3s; backdrop-filter: blur(3px); padding: 15px; box-sizing: border-box;}
.modal-overlay.show { opacity: 1; pointer-events: auto; }
.modal-content { background: var(--putih); padding: 35px; border-radius: 16px; max-width: 450px; width: 100%; text-align: center; transform: scale(0.9); transition: 0.3s; box-shadow: 0 20px 40px rgba(0,0,0,0.2); max-height: 90vh; overflow-y: auto; }
.modal-overlay.show .modal-content { transform: scale(1); }
/* Profil Detail Modal (BARU) */
.profil-box { text-align: left; background: #F5F7FA; padding: 20px; border-radius: 8px; margin-top: 15px; }
.profil-box h4 { margin: 0 0 10px 0; color: var(--biru-navy); }
.profil-box p { font-size: 14px; line-height: 1.6; color: #424242; margin: 0; white-space: pre-line; }
.modal-icon { font-size: 60px; margin-bottom: 15px; }
.modal-icon.success { color: #2E7D32; }
.modal-icon.error { color: var(--merah-demokrasi); }
.modal-icon.info { color: var(--biru-navy); }
.syarat-list { text-align: left; font-size: 14px; color: #424242; line-height: 1.6; background: #F5F5F5; padding: 15px 25px; border-radius: 8px; margin-top: 15px; }
.stat-badge { background: #E8EAF6; color: var(--biru-navy); padding: 10px 20px; border-radius: 20px; font-weight: bold; display: inline-block; margin-bottom: 15px; }
</style>
<div id="customModal" class="modal-overlay">
<div class="modal-content">
<span class="material-icons-outlined modal-icon" id="modalIcon">info</span>
<h3 id="modalTitle" style="margin: 5px 0; font-weight: 700;">Pesan</h3>
<p id="modalDesc" style="color: #616161; font-size: 15px;">Deskripsi</p>
<button id="btnTutupPopup" onclick="closePopup()" style="margin-top: 25px;">Tutup</button>
</div>
</div>