Skip to content

Commit 55ec8c8

Browse files
committed
🦚πŸ₯ˆ ↝ [SSM-17]: Styling tests
1 parent 1c484ff commit 55ec8c8

File tree

2 files changed

+82
-2
lines changed

2 files changed

+82
-2
lines changed

β€Ž.github/workflows/docker.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Docker Build
33
on:
44
push:
55
branches:
6-
- main
6+
- '**'
77
pull_request:
88
branches:
9-
- main
9+
- '**'
1010

1111
jobs:
1212
build:
+80
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
.card {
2+
width: 100%;
3+
max-width: 40rem;
4+
background: linear-gradient(to bottom right, #f8fafc, #e2e8f0);
5+
color: #1e293b;
6+
overflow: hidden;
7+
position: relative;
8+
border: 2px solid #cbd5e1;
9+
border-radius: 1rem;
10+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
11+
}
12+
13+
/* Card content styles */
14+
.card-content {
15+
padding: 1.5rem; /* p-6 */
16+
display: flex;
17+
}
18+
19+
/* Left section styles */
20+
.card-left {
21+
width: 33.3333%; /* w-1/3 */
22+
padding-right: 1rem; /* pr-4 */
23+
border-right: 1px solid #cbd5e1; /* border-r border-slate-300 */
24+
}
25+
26+
/* Image styles */
27+
.card-image {
28+
aspect-ratio: 1; /* aspect-square */
29+
border-radius: 0.5rem; /* rounded-lg */
30+
overflow: hidden;
31+
margin-bottom: 1rem; /* mb-4 */
32+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* shadow-md */
33+
}
34+
35+
/* Title styles */
36+
.card-title {
37+
font-size: 1.5rem; /* text-2xl */
38+
font-weight: bold; /* font-bold */
39+
margin-bottom: 0.5rem; /* mb-2 */
40+
}
41+
42+
/* Badge styles */
43+
.badge {
44+
background-color: #1e3a8a; /* bg-slate-800 */
45+
color: white; /* text-white */
46+
border: 1px solid transparent; /* variant outline */
47+
}
48+
49+
/* Right section styles */
50+
.card-right {
51+
width: 66.6667%; /* w-2/3 */
52+
padding-left: 1rem; /* pl-4 */
53+
display: flex;
54+
flex-direction: column; /* flex-col */
55+
justify-content: space-between; /* justify-between */
56+
}
57+
58+
/* Spacing between items */
59+
.space-y-4 > * + * {
60+
margin-top: 1rem; /* space-y-4 */
61+
}
62+
63+
/* Item styles */
64+
.card-item {
65+
display: flex;
66+
align-items: center; /* items-center */
67+
gap: 0.5rem; /* space-x-2 */
68+
}
69+
70+
/* Icon styles */
71+
.icon {
72+
width: 1rem; /* w-4 */
73+
height: 1rem; /* h-4 */
74+
color: #4b5563; /* text-slate-600 */
75+
}
76+
77+
/* Text styles */
78+
.text-sm {
79+
font-size: 0.875rem; /* text-sm */
80+
}

0 commit comments

Comments
Β (0)