mirror of
https://gitlab.freedesktop.org/pipewire/helvum
synced 2026-03-15 11:36:11 +08:00
Move CSS to its own file
This commit is contained in:
@@ -21,23 +21,7 @@ pub enum MediaType {
|
|||||||
Midi,
|
Midi,
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME: This should be in its own .css file.
|
static STYLE: &str = include_str!("style.css");
|
||||||
static STYLE: &str = "
|
|
||||||
.audio {
|
|
||||||
background: rgb(50,100,240);
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
.video {
|
|
||||||
background: rgb(200,200,0);
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
.midi {
|
|
||||||
background: rgb(200,0,50);
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
";
|
|
||||||
|
|
||||||
mod imp {
|
mod imp {
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|||||||
14
src/style.css
Normal file
14
src/style.css
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
.audio {
|
||||||
|
background: rgb(50,100,240);
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
.video {
|
||||||
|
background: rgb(200,200,0);
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
.midi {
|
||||||
|
background: rgb(200,0,50);
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user