Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 49f1ff4

Browse files
committed
minimal styling
1 parent 7cf9a63 commit 49f1ff4

File tree

2 files changed

+101
-0
lines changed

2 files changed

+101
-0
lines changed
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
.ai-usage {
2+
padding: 1em;
3+
4+
&__filters {
5+
margin-bottom: 2em;
6+
}
7+
8+
&__filters-dates {
9+
display: flex;
10+
gap: 1em;
11+
margin-bottom: 1em;
12+
}
13+
14+
&__filters-period {
15+
display: flex;
16+
align-items: center;
17+
gap: 1em;
18+
}
19+
20+
&__period-label {
21+
font-weight: bold;
22+
}
23+
24+
&__summary {
25+
margin: 2em 0;
26+
padding: 1em;
27+
background: var(--primary-very-low);
28+
border-radius: 0.5em;
29+
}
30+
31+
&__summary-title {
32+
margin-bottom: 0.5em;
33+
}
34+
35+
&__summary-tokens {
36+
font-size: 1.2em;
37+
font-weight: bold;
38+
}
39+
40+
&__charts {
41+
margin-top: 2em;
42+
}
43+
44+
&__chart-container {
45+
margin-bottom: 2em;
46+
}
47+
48+
&__chart-title {
49+
margin-bottom: 1em;
50+
}
51+
52+
&__breakdowns {
53+
display: grid;
54+
grid-template-columns: 1fr 1fr;
55+
gap: 2em;
56+
margin-top: 2em;
57+
58+
@media (max-width: 768px) {
59+
grid-template-columns: 1fr;
60+
}
61+
}
62+
63+
&__features,
64+
&__models {
65+
background: var(--primary-very-low);
66+
padding: 1em;
67+
border-radius: 0.5em;
68+
}
69+
70+
&__features-title,
71+
&__models-title {
72+
margin-bottom: 1em;
73+
}
74+
75+
&__features-table,
76+
&__models-table {
77+
width: 100%;
78+
border-collapse: collapse;
79+
80+
th {
81+
text-align: left;
82+
padding: 0.5em;
83+
border-bottom: 2px solid var(--primary-low);
84+
}
85+
}
86+
87+
&__features-row,
88+
&__models-row {
89+
&:hover {
90+
background: var(--primary-low);
91+
}
92+
}
93+
94+
&__features-cell,
95+
&__models-cell {
96+
padding: 0.5em;
97+
border-bottom: 1px solid var(--primary-low);
98+
}
99+
}

plugin.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737

3838
register_asset "stylesheets/modules/llms/common/ai-llms-editor.scss"
3939

40+
register_asset "stylesheets/modules/llms/common/usage.scss"
41+
4042
register_asset "stylesheets/modules/ai-bot/common/ai-tools.scss"
4143

4244
register_asset "stylesheets/modules/ai-bot/common/ai-artifact.scss"

0 commit comments

Comments
 (0)