forked from a-s-wijaya/kbbi-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.html
205 lines (179 loc) · 4.85 KB
/
main.html
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<html>
<head>
<style>
body {
width: 350px;
height: 456px;
}
.title-container {
height: 64px;
margin-bottom: 10px;
}
.title {
margin: 20px 0 20px 0;
text-align: center;
}
.content {
width: 100%;
text-align: center;
}
.content>div {
display: inline-block;
}
.container {
height: 100%;
}
.button-container {
width: 70%;
height: 40px;
border: solid;
border-width: 2px;
border-color: #F1F1F1;
border-radius: 8px;
background-color: #F1F1F1;
margin-bottom: 32px;
}
.button-container>.col>.row {
height: 100%;
}
button {
background-color: transparent;
border: none;
}
button>span {
font-size: 13px;
}
.active {
transition: .3s;
border-radius: 8px;
background-color: white;
box-shadow: 0 0 8px rgba(0,0,0,.1);
}
input, input:active, input:focus {
background-color: transparent;
border: 2px solid #F1F1F1;
border-radius: 8px;
outline: none;
padding: 4px 80px 5px 10px;
}
input::placeholder {
font-size: 13px;
}
.home-container {
width: 100%;
color: #4B4E53;
font-size: 13px;
}
.box-container {
width: 100%;
text-align: center;
}
.box-container>div>p {
padding: 10px 5px 0 5px;
}
.box-container>div {
width: 90%;
font-size: 14px;
margin-top: 10px;
border-radius: 10px;
box-shadow: inset 0 0 3px #17A1DE70;
display: inline-block;
text-align: left;
overflow-y: scroll;
overflow-x: hidden;
}
.box-container>div::-webkit-scrollbar {
width: 5px;
border-radius: 0 10px 0 0;
}
.box-container>div::-webkit-scrollbar-corner {
background: transparent;
}
.box-container>div::-webkit-scrollbar-button {
background: transparent;
}
.box-container>div::-webkit-scrollbar-track-piece {
background: transparent;
}
.box-container>div::-webkit-scrollbar-track {
background: transparent;
}
.box-container>div::-webkit-scrollbar-thumb {
background: #313f8b90;
border-radius: 20px;
margin-left: 5px;
-webkit-transition: 0.3s;
transition: 0.3s;
}
.box-container>div::-webkit-scrollbar-thumb:hover {
background: #313f8b;
}
.footer {
height: 30px;
text-align: center;
}
.footer>p {
color: #4B4E53;
font-size: 11px;
}
</style>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
<script src="function.js"></script>
</head>
<body>
<div class="container">
<!-- Title Container -->
<div class="row title-container">
<div class="col">
<div class="title">
<button>
<b>LihatKata</b>
</button>
</div>
</div>
</div>
<!-- Main Feature Container -->
<div class="content">
<!-- Button Holder -->
<div class="row button-container">
<div class="col">
<div class="row">
<button class="col navButton active" id="beranda">
<span>Beranda</span>
</button>
<button class="col navButton" id="riwayat">
<span>Riwayat</span>
</button>
</div>
</div>
</div>
<!-- Input Holder -->
<div class="row input-container">
<div class="col">
<div class="input">
<input class="col inputHere" placeholder='Cari "kata"'></input>
</div>
</div>
</div>
<!-- Home Holder -->
<div class="row home-container">
<div class="col" id="home_scope">
<img src="./utils/zoom.png" alt="zoom.png" width="100%">
<p>Masukkan kata di kolom cari <br> untuk menampilkan arti kata</p>
</div>
</div>
<!-- Box Holder -->
<div class="row box-container">
<div class="col" id="box-content">
</div>
</div>
</div>
</div>
<!-- -->
<div class="footer"><p>@Kompetegram 2023</p>
</div>
<script src="popup.js"></script>
<script nonce="iRvRA5CH5bcgkD7RgxMm1w==" src="function.js"></script>
</body>
</html>