Skip to content

Commit 80cc295

Browse files
committed
Tile icons
1 parent dc9437c commit 80cc295

File tree

6 files changed

+53
-0
lines changed

6 files changed

+53
-0
lines changed
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 4 additions & 0 deletions
Loading

src/main/ui/tiles/tiles.css

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,19 @@
2727
font-family: sans-serif;
2828
font-weight: bold;
2929
color: rgb(200, 200, 200);
30+
display: flex;
31+
flex-direction: row;
32+
gap: var(--base-offset);
33+
line-height: 16px;
34+
35+
&::before {
36+
content: " ";
37+
display: inline-block;
38+
width: 16px;
39+
height: 16px;
40+
background-repeat: no-repeat;
41+
opacity: 0.784; /* 200/255 */
42+
}
3043
}
3144

3245
> .content {
@@ -57,6 +70,10 @@
5770

5871
> h3 {
5972
color: rgb(225, 225, 225);
73+
74+
&::before {
75+
opacity: 0.882; /* 225/255 */
76+
}
6077
}
6178
}
6279
}
@@ -151,4 +168,24 @@
151168
line-height: 1.75em;
152169
}
153170
}
171+
172+
&.meta > h3::before {
173+
background-image: url("../../../assets/bootstrap-icons/info-circle-fill.svg");
174+
}
175+
176+
&.permissions > h3::before {
177+
background-image: url("../../../assets/bootstrap-icons/shield-fill-exclamation.svg");
178+
}
179+
180+
&.files > h3::before {
181+
background-image: url("../../../assets/bootstrap-icons/folder-fill.svg");
182+
}
183+
184+
&.translations > h3::before {
185+
background-image: url("../../../assets/bootstrap-icons/translate.svg");
186+
}
187+
188+
&.da > h3::before {
189+
background-image: url("../../../assets/bootstrap-icons/play-circle-fill.svg");
190+
}
154191
}

0 commit comments

Comments
 (0)