Skip to content

Commit 8945974

Browse files
committed
feat: style feed directory component
1 parent 0f5a6ba commit 8945974

File tree

3 files changed

+211
-155
lines changed

3 files changed

+211
-155
lines changed

_sass/custom/_feed-directory.scss

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
.feed-directory__item {
2+
border: 1px solid var(--border-color);
3+
display: flex;
4+
justify-content: space-between;
5+
align-items: flex-start;
6+
border-radius: 8px;
7+
background-color: var(--main-bg-color);
8+
align-items: center; /* Vertically align items in the center */
9+
}
10+
11+
.feed-directory__item-info {
12+
display: flex;
13+
flex-direction: column;
14+
flex-grow: 1;
15+
margin-right: 1rem;
16+
}
17+
18+
.feed-directory__item-name {
19+
font-family: var(--mono-font-family);
20+
font-size: 1.2rem;
21+
font-weight: bold;
22+
margin-bottom: 0; /* Remove bottom margin to reduce vertical space */
23+
color: var(--text-color);
24+
}
25+
26+
.feed-directory__item-url {
27+
color: var(--text-color);
28+
margin-bottom: 1rem;
29+
word-break: break-all;
30+
}
31+
32+
.feed-directory__item-actions {
33+
display: flex;
34+
align-items: center;
35+
gap: 1rem;
36+
flex-shrink: 0;
37+
}
38+
39+
.feed-directory__item-actions__rss-icon {
40+
width: 24px;
41+
height: 24px;
42+
}
43+
44+
.feed-directory__item-actions__edit-link {
45+
font-size: 0.9rem;
46+
white-space: nowrap;
47+
}
48+
49+
.feed-directory__item-param-form {
50+
margin-top: 1rem;
51+
padding-top: 1rem;
52+
border-top: 1px solid var(--border-color);
53+
}
54+
55+
.feed-directory__item-param-form__group {
56+
/* Add styles if needed */
57+
}
58+
59+
.feed-directory__item-param-form__label {
60+
/* Add styles if needed */
61+
}
62+
63+
.feed-directory__item-param-form__input {
64+
/* Add styles if needed */
65+
}
66+
67+
.feed-directory__item-param-form__code {
68+
/* Add styles if needed */
69+
}
70+
71+
.feed-directory__item-param-form__code-instance {
72+
/* Add styles if needed */
73+
}
74+
75+
.feed-directory__item-param-form__code-path-preview {
76+
/* Add styles if needed */
77+
}
78+
79+
.feed-directory__fieldset {
80+
/* Add styles if needed */
81+
}
82+
83+
.feed-directory__input {
84+
/* Add styles if needed */
85+
}

assets/css/sass/base.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,3 +134,5 @@ summary {
134134
summary:hover {
135135
color: var(--link-color);
136136
}
137+
138+
@import "custom/feed-directory";

0 commit comments

Comments
 (0)