Browse Source

susun fail

master
azri 3 months ago
parent
commit
0da6b59c11
3 changed files with 81 additions and 263 deletions
  1. 74
    0
      css/app.css
  2. 3
    106
      index.html
  3. 4
    157
      testing.html

+ 74
- 0
css/app.css View File

@@ -0,0 +1,74 @@
1
+/* CSS */
2
+.button-23 {
3
+    background-color: #FFFFFF;
4
+    border: 1px solid #222222;
5
+    border-radius: 8px;
6
+    box-sizing: border-box;
7
+    color: #222222;
8
+    cursor: pointer;
9
+    display: inline-block;
10
+    font-family: Circular, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
11
+    font-size: 15px;
12
+    font-weight: 600;
13
+    line-height: 20px;
14
+    margin: 0;
15
+    outline: none;
16
+    padding: 13px 23px;
17
+    position: relative;
18
+    text-align: center;
19
+    text-decoration: none;
20
+    touch-action: manipulation;
21
+    transition: box-shadow .2s, -ms-transform .1s, -webkit-transform .1s, transform .1s;
22
+    user-select: none;
23
+    -webkit-user-select: none;
24
+    width: auto;
25
+}
26
+.button-23:focus-visible {
27
+    box-shadow: #222222 0 0 0 2px, rgba(255, 255, 255, 0.8) 0 0 0 4px;
28
+    transition: box-shadow .2s;
29
+}
30
+.button-23:active {
31
+    background-color: #F7F7F7;
32
+    border-color: #000000;
33
+    transform: scale(.96);
34
+}
35
+.button-23:disabled {
36
+    border-color: #DDDDDD;
37
+    color: #DDDDDD;
38
+    cursor: not-allowed;
39
+    opacity: 1;
40
+}
41
+.map-svg {
42
+    display: block;
43
+    margin: 0 auto;
44
+    filter: drop-shadow(-16px 11px 2px rgba(0, 0, 0, 0.5));
45
+}
46
+.map-svg a {
47
+    transition: all 1s;
48
+    transform-origin: 50% 50%;
49
+    text-decoration: none;
50
+    filter: drop-shadow(3px 10px 5px rgb(0 0 0 / 0.4));
51
+}
52
+.map-svg .pahang-barat {
53
+    fill: #427bba;
54
+}
55
+.map-svg .pahang-tengah {
56
+    fill: #144172;
57
+}
58
+.map-svg .pahang-timur {
59
+    fill: #0c6088;
60
+}
61
+.map-svg .label-text {
62
+    font-size: 35px;
63
+    fill: white;
64
+    transform: translate(0,
65
+            3px);
66
+    /* adjust vertical position to centre text */
67
+}
68
+.map-svg .label-text-cameron {
69
+    font-size: 20px;
70
+    fill: white;
71
+    transform: translate(0,
72
+            3px);
73
+    /* adjust vertical position to centre text */
74
+}

+ 3
- 106
index.html View File

@@ -10,109 +10,10 @@
10 10
     <link rel="stylesheet" href="bulma/css/bulma.min.css">
11 11
     <title>My Test App</title>
12 12
     <link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css">
13
-    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"
14
-    integrity="sha512-abc123..." crossorigin="anonymous" />
13
+    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
14
+    <link rel="stylesheet" href="css/app.css">
15 15
 
16
-    <style>
17
-        /* CSS */
18
-        .button-23 {
19
-            background-color: #FFFFFF;
20
-            border: 1px solid #222222;
21
-            border-radius: 8px;
22
-            box-sizing: border-box;
23
-            color: #222222;
24
-            cursor: pointer;
25
-            display: inline-block;
26
-            font-family: Circular, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
27
-            font-size: 15px;
28
-            font-weight: 600;
29
-            line-height: 20px;
30
-            margin: 0;
31
-            outline: none;
32
-            padding: 13px 23px;
33
-            position: relative;
34
-            text-align: center;
35
-            text-decoration: none;
36
-            touch-action: manipulation;
37
-            transition: box-shadow .2s, -ms-transform .1s, -webkit-transform .1s, transform .1s;
38
-            user-select: none;
39
-            -webkit-user-select: none;
40
-            width: auto;
41
-        }
42
-
43
-        .button-23:focus-visible {
44
-            box-shadow: #222222 0 0 0 2px, rgba(255, 255, 255, 0.8) 0 0 0 4px;
45
-            transition: box-shadow .2s;
46
-        }
47
-
48
-        .button-23:active {
49
-            background-color: #F7F7F7;
50
-            border-color: #000000;
51
-            transform: scale(.96);
52
-        }
53
-
54
-        .button-23:disabled {
55
-            border-color: #DDDDDD;
56
-            color: #DDDDDD;
57
-            cursor: not-allowed;
58
-            opacity: 1;
59
-        }
60
-
61
-        .map-svg {
62
-            display: block;
63
-            margin: 0 auto;
64
-            filter: drop-shadow(-16px 11px 2px rgba(0, 0, 0, 0.5));
65
-
66
-            a {
67
-                transition: all 1s;
68
-                transform-origin: 50% 50%;
69
-                text-decoration: none;
70
-                filter: drop-shadow(3px 10px 5px rgb(0 0 0 / 0.4));
71
-
72
-                @media only screen and (min-width: 992px) {
73
-
74
-                    polygon,
75
-                    &:hover {
76
-                        cursor: pointer;
77
-                        transform: scale(1.05);
78
-                        filter: drop-shadow(0px 15px 12px rgb(0 0 0 / 0.7));
79
-
80
-                        .st0 {
81
-                            fill: $dark-default;
82
-                        }
83
-                    }
84
-                }
85
-            }
86
-
87
-            .pahang-barat {
88
-                fill: #427bba;
89
-            }
90
-
91
-            .pahang-tengah {
92
-                fill: #144172;
93
-            }
94
-
95
-            .pahang-timur {
96
-                fill: #0c6088;
97
-            }
98
-
99
-            .label-text {
100
-                font-size: 35px;
101
-                fill: white;
102
-                transform: translate(0,
103
-                        3px);
104
-                /* adjust vertical position to centre text */
105
-            }
106
-
107
-            .label-text-cameron {
108
-                font-size: 20px;
109
-                fill: white;
110
-                transform: translate(0,
111
-                        3px);
112
-                /* adjust vertical position to centre text */
113
-            }
114
-        }
115
-    </style>
16
+    
116 17
     <script>
117 18
         // window.addEventListener('load', (event) => {
118 19
         //     document.querySelector(".hello").textContent = "Hello from Electron with bulma css!";
@@ -130,10 +31,6 @@
130 31
 
131 32
             <input type="search" class="p-1" style="border-radius: 21px; border: none; padding-left: 20px !important;" placeholder="Search Here">
132 33
         </div>
133
-        
134
-        
135
-
136
-       
137 34
 
138 35
         <div class="text-center pt-1" style="background-color: white; min-height: 50px; display: flex; justify-content: center; align-items: center; padding-left: 100px;">
139 36
             <div class="pt-5" style="width: 600px;height: 100px;">

+ 4
- 157
testing.html View File

@@ -10,114 +10,9 @@
10 10
     <link rel="stylesheet" href="bulma/css/bulma.min.css">
11 11
     <title>My Test App</title>
12 12
     <link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css">
13
-    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"
14
-    integrity="sha512-abc123..." crossorigin="anonymous" />
13
+    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" integrity="sha512-abc123..." crossorigin="anonymous" />
14
+    <link rel="stylesheet" href="css/app.css">
15 15
 
16
-    <style>
17
-        /* CSS */
18
-        .button-23 {
19
-            background-color: #FFFFFF;
20
-            border: 1px solid #222222;
21
-            border-radius: 8px;
22
-            box-sizing: border-box;
23
-            color: #222222;
24
-            cursor: pointer;
25
-            display: inline-block;
26
-            font-family: Circular, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
27
-            font-size: 15px;
28
-            font-weight: 600;
29
-            line-height: 20px;
30
-            margin: 0;
31
-            outline: none;
32
-            padding: 13px 23px;
33
-            position: relative;
34
-            text-align: center;
35
-            text-decoration: none;
36
-            touch-action: manipulation;
37
-            transition: box-shadow .2s, -ms-transform .1s, -webkit-transform .1s, transform .1s;
38
-            user-select: none;
39
-            -webkit-user-select: none;
40
-            width: auto;
41
-        }
42
-
43
-        .button-23:focus-visible {
44
-            box-shadow: #222222 0 0 0 2px, rgba(255, 255, 255, 0.8) 0 0 0 4px;
45
-            transition: box-shadow .2s;
46
-        }
47
-
48
-        .button-23:active {
49
-            background-color: #F7F7F7;
50
-            border-color: #000000;
51
-            transform: scale(.96);
52
-        }
53
-
54
-        .button-23:disabled {
55
-            border-color: #DDDDDD;
56
-            color: #DDDDDD;
57
-            cursor: not-allowed;
58
-            opacity: 1;
59
-        }
60
-
61
-        .map-svg {
62
-            display: block;
63
-            margin: 0 auto;
64
-            filter: drop-shadow(-16px 11px 2px rgba(0, 0, 0, 0.5));
65
-
66
-            a {
67
-                transition: all 1s;
68
-                transform-origin: 50% 50%;
69
-                text-decoration: none;
70
-                filter: drop-shadow(3px 10px 5px rgb(0 0 0 / 0.4));
71
-
72
-                @media only screen and (min-width: 992px) {
73
-
74
-                    polygon,
75
-                    &:hover {
76
-                        cursor: pointer;
77
-                        transform: scale(1.05);
78
-                        filter: drop-shadow(0px 15px 12px rgb(0 0 0 / 0.7));
79
-
80
-                        .st0 {
81
-                            fill: $dark-default;
82
-                        }
83
-                    }
84
-                }
85
-            }
86
-
87
-            .pahang-barat {
88
-                fill: #427bba;
89
-            }
90
-
91
-            .pahang-tengah {
92
-                fill: #144172;
93
-            }
94
-
95
-            .pahang-timur {
96
-                fill: #0c6088;
97
-            }
98
-
99
-            .label-text {
100
-                font-size: 35px;
101
-                fill: white;
102
-                transform: translate(0,
103
-                        3px);
104
-                /* adjust vertical position to centre text */
105
-            }
106
-
107
-            .label-text-cameron {
108
-                font-size: 20px;
109
-                fill: white;
110
-                transform: translate(0,
111
-                        3px);
112
-                /* adjust vertical position to centre text */
113
-            }
114
-        }
115
-    </style>
116
-    <script>
117
-        // window.addEventListener('load', (event) => {
118
-        //     document.querySelector(".hello").textContent = "Hello from Electron with bulma css!";
119
-        // });
120
-    </script>
121 16
 </head>
122 17
 
123 18
 <body>
@@ -174,10 +69,9 @@
174 69
         
175 70
         <div class="text-center pt-5" style="background-color: white; display: flex; justify-content: left; align-items: left; padding-left: 100px;margin-top: 250px;">
176 71
            <h6>Pembangunan</h6><br>
177
-
178 72
         </div>
179
-        <div class="text-center pt-2 text-nowrap" style="background-color: white; display: flex; justify-content: left; align-items: left; padding-left: 100px; margin-top: 0;gap: 10px;padding-right: 100px;">
180
-            <a href="detail.html" style="border: 1px solid #209028; color: #209028;" class="button-23 mb-2" role="button">HSD 23453</a>
73
+        <div class="text-center pt-2 text-nowrap d-flex flex-wrap" style="background-color: white; display: flex; justify-content: left; align-items: left; padding-left: 100px; margin-top: 0;gap: 10px;padding-right: 100px;">
74
+            <a href="detail.html" class="button-23 mb-2 mr-2" style="border: 1px solid #209028; color: #209028;" class="button-23 mb-2" role="button">HSD 23453</a>
181 75
             <a href="detail.html" class="button-23 mb-2 mr-2" style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
182 76
             <a href="detail.html" class="button-23 mb-2 mr-2" style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
183 77
             <a href="detail.html" class="button-23 mb-2 mr-2" style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
@@ -189,55 +83,8 @@
189 83
             <a href="detail.html" class="button-23 mb-2" style="background-color: #1F9027; color: white; border: none;" role="button">HSD 23453</a>
190 84
         </div>
191 85
         
192
-        
193
-        <!-- <div class="row justify-content-center">
194
-            <div class="col-lg-6 text-right">
195
-                
196
-            </div>
197
-            <div class="col-lg-6 text-left">
198
-                <div class="pt-5" style="width: 500px;height: auto;">
199
-                    <h3 class="pb-2">Pembangunan</h3>
200
-
201
-                    <a href="detail.html" class="button-23 mb-2" role="button">HSD 23453</a>
202
-                    <button class="button-23 mb-2" style="background-color: #1F9027;color: white;border: none;"
203
-                        role="button">HSD 23453</button>
204
-                    <button class="button-23 mb-2" style="background-color: #1F9027;color: white;border: none;"
205
-                        role="button">HSD 23453</button>
206
-                    <button class="button-23 mb-2" style="background-color: #1F9027;color: white;border: none;"
207
-                        role="button">HSD 23453</button>
208
-                    <button class="button-23 mb-2" style="background-color: #1F9027;color: white;border: none;"
209
-                        role="button">HSD 23453</button>
210
-                    <button class="button-23 mb-2" style="background-color: #1F9027;color: white;border: none;"
211
-                        role="button">HSD 23453</button>
212
-                    <button class="button-23 mb-2" style="background-color: #1F9027;color: white;border: none;"
213
-                        role="button">HSD 23453</button>
214
-                    <button class="button-23 mb-2" style="background-color: #1F9027;color: white;border: none;"
215
-                        role="button">HSD 23453</button>
216
-                    <button class="button-23 mb-2" style="background-color: #1F9027;color: white;border: none;"
217
-                        role="button">HSD 23453</button>
218
-                    <button class="button-23 mb-2" style="background-color: #1F9027;color: white;border: none;"
219
-                        role="button">HSD 23453</button>
220
-                    <button class="button-23 mb-2" style="background-color: #1F9027;color: white;border: none;"
221
-                        role="button">HSD 23453</button>
222
-                    <button class="button-23 mb-2" style="background-color: #1F9027;color: white;border: none;"
223
-                        role="button">HSD 23453</button>
224
-
225
-
226
-                </div>
227
-            </div>
228
-        </div> -->
229
-
230
-
231 86
         <div class="container justify-content-center">
232 87
 
233
-
234
-            
235
-
236
-
237
-
238
-
239
-
240
-
241 88
         </div>
242 89
     </section>
243 90
 

Loading…
Cancel
Save