Skip to content

Commit fac7c1f

Browse files
committed
Tweaks
1 parent ed45d58 commit fac7c1f

File tree

3 files changed

+24
-13
lines changed

3 files changed

+24
-13
lines changed

app/css/style.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
@tailwind base;
22
@tailwind components;
33
@tailwind utilities;
4-

app/css/tweaks.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
.drag-over {
2+
background: hsl(20, 100%, 90%);
3+
border-style: dashed;
4+
border-color: hsl(20, 100%, 60%);
5+
}
6+
7+
tr {
8+
border-collapse: collapse;
9+
border-spacing: 4px;
10+
font-size: 1rem;
11+
border: none;
12+
border-left: 1em solid transparent;
13+
cursor: move;
14+
}
15+

app/index.html

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,10 @@
55
<meta name="author" content="Markus Zeller">
66
<title>Image Stitcher</title>
77
<link href="css/output.css" rel="stylesheet">
8+
<link href="css/tweaks.css" rel="stylesheet">
89
<script src="js/main.js" defer></script>
910
</head>
1011
<body>
11-
<div class="flex px-8 mx-auto">
12-
<p class="text-2xl py-8 text-center">Image Stitcher</p>
13-
</div>
1412
<div class="flex px-8 mx-auto justify-center">
1513
<div class="form-check btn-group px-4 py-8 align-center">
1614
<div class="px-4">
@@ -31,21 +29,20 @@
3129
</div>
3230
</div>
3331
</div>
34-
<div class="files border border-dashed border-gray-500 px-8 py-8" id="files">
32+
<div class="border border-dashed border-gray-500 px-8 py-8" id="files">
3533
<div class="text-center p-10 top-0 right-0 left-0 m-auto">
3634
<h4>Drop images here</h4>
3735
</div>
3836
</div>
3937
<div class="overflow-x-auto center px-4 py-4">
4038
<table class="table w-full">
41-
<thead>
42-
<tr>
43-
<td class="border-b border-gray-200">Filename</td>
44-
</tr>
45-
</thead>
46-
<tbody>
47-
<tr id="images-list" class="images-list border-b border-gray-200"></tr>
48-
</tbody>
39+
<thead>
40+
<tr>
41+
<td class="border-b border-gray-200">Filename</td>
42+
</tr>
43+
</thead>
44+
<tbody id="images-list">
45+
</tbody>
4946
</table>
5047
</div>
5148
<div id="result" class="result"></div>

0 commit comments

Comments
 (0)