forked from Greyisheep/apiconf-agent
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathApp.module.css
More file actions
99 lines (88 loc) · 1.61 KB
/
App.module.css
File metadata and controls
99 lines (88 loc) · 1.61 KB
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
.app {
width: 100%;
height: 100%;
max-width: 1200px;
max-height: 800px;
background: #fffffd;
display: flex;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}
main {
flex: 1;
display: flex;
}
@media (max-width: 768px) {
.app {
max-width: 100vw;
max-height: 100vh;
border-radius: 0;
box-shadow: none;
flex-direction: column;
width: 100vw;
height: 100vh;
}
main {
flex-direction: column;
padding: 0;
}
}
/* Add styles for the History View */
.historyView {
padding: 2rem;
color: #333;
background-color: #fff;
height: 100%;
overflow-y: auto;
}
.historyView h2 {
margin-bottom: 1.5rem;
font-size: 1.5rem;
font-weight: 600;
}
.historyList {
list-style: none;
padding: 0;
}
.historyItem {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem;
border-radius: 8px;
margin-bottom: 0.75rem;
cursor: pointer;
border: 1px solid #e5e7eb;
transition:
background-color 0.2s,
box-shadow 0.2s;
}
.historyItem:hover {
background-color: #f9fafb;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.historyItemContent {
display: flex;
flex-direction: column;
}
.historyItemTitle {
font-weight: 600;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 300px; /* Adjust as needed */
}
.historyItemSnippet {
font-size: 0.875rem;
color: #6b7280;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 300px; /* Adjust as needed */
}
.historyItemTimestamp {
font-size: 0.875rem;
color: #6b7280;
margin-left: 1rem;
}