Skip to content

Commit c5ff189

Browse files
committed
everything works again
1 parent 0f99165 commit c5ff189

2 files changed

Lines changed: 20 additions & 12 deletions

File tree

src/main/jte/producer/dashboard.jte

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
title = "Dashboard",
1010
company = company,
1111
content = @`
12-
<header class="dashboard-header">
13-
<h1 class="page-title">Producer Dashboard</h1>
14-
</header>
12+
<h1 class="page-title">Producer Dashboard</h1>
1513

1614
<div class="table-card">
1715
<table class="project-table">

src/main/resources/static/css/style2.css

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -102,20 +102,19 @@ body {
102102
}
103103

104104
/* DASHBOARD CONTENT */
105-
106105
main{
107106
width: 100%;
108107
max-width: 1200px;
109-
margin: 0 auto;
110-
padding: 4rem var(--side-padding);
108+
margin: auto;
109+
padding: 0 var(--side-padding);
111110
box-sizing: border-box;
112111
}
113112

114113

115114
.page-title {
116115
font-size: 2.8rem;
117116
font-weight: 900;
118-
margin-bottom: 0.5rem;
117+
margin-bottom: 2rem;
119118
background: linear-gradient(to right, #fff, var(--accent-purple));
120119
-webkit-background-clip: text;
121120
-webkit-text-fill-color: transparent;
@@ -158,9 +157,24 @@ main{
158157

159158
.project-table {
160159
width: 100%;
161-
border-collapse: collapse;
160+
border-collapse: separate;
161+
border-spacing: 0 15px;
162+
}
163+
164+
.project-table td {
165+
padding: 1.5rem;
166+
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
162167
}
163168

169+
.project-row td {
170+
padding: 1.2rem 1.5rem;
171+
border-top: 2px solid transparent; /* Förbereder för hover-ramen */
172+
border-bottom: 2px solid transparent;
173+
color: white;
174+
border-radius: 12px;
175+
}
176+
177+
164178
.project-table th {
165179
text-align: left;
166180
padding: 1.5rem;
@@ -171,10 +185,6 @@ main{
171185
letter-spacing: 1.5px;
172186
}
173187

174-
.project-table td {
175-
padding: 1.5rem;
176-
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
177-
}
178188

179189
/* PROGRESS BAR */
180190
.progress-container {

0 commit comments

Comments
 (0)