diff --git a/public/images/aerobutton_border.png b/public/images/aerobutton_border.png deleted file mode 100644 index 1f1c388..0000000 Binary files a/public/images/aerobutton_border.png and /dev/null differ diff --git a/public/images/logo-msn.png b/public/images/logo-msn.png deleted file mode 100644 index 9590615..0000000 Binary files a/public/images/logo-msn.png and /dev/null differ diff --git a/src/ui/_base.scss b/src/ui/_base.scss index e535f8c..2ee904d 100644 --- a/src/ui/_base.scss +++ b/src/ui/_base.scss @@ -217,37 +217,3 @@ input { ::selection { background-color: transparent; } - - -// TODO: To remove once the design updated. -.aeroButton { - height: 50%; - min-height: 16px; - aspect-ratio: 1; - background-color: transparent; - border: 2px solid transparent; - background-size: contain !important; - margin-right: 1%; -} -.aeroButton:hover { - border-image: url(/public/images/aerobutton_border.png) 2 round; -} -.aeroButton:active { - border-image: url(/public/images/aerobutton_border_down.png) 2 round; -} - -.button { - height: 50%; - min-height: 16px; - aspect-ratio: 1; - background-color: transparent; - border: 2px solid transparent; - background-size: contain !important; - margin-right: 1%; -} -.button:hover { - border-image: url(/public/images/button_border.png) 2 round; -} -.button:active { - border-image: url(/public/images/button_border_down.png) 2 round; -} diff --git a/src/ui/components/header.rs b/src/ui/components/header.rs deleted file mode 100644 index 22294ee..0000000 --- a/src/ui/components/header.rs +++ /dev/null @@ -1,25 +0,0 @@ -use dioxus::prelude::*; - -turf::style_sheet!("src/ui/components/header.scss"); - -pub fn Header() -> Element { - rsx! { - style { {STYLE_SHEET} }, - - div { - class: ClassName::ROOT, - img { - src: "/public/images/logo-msn.png" - } - svg { - view_box: "0 0 100 10", - text { - y: "55%", - dominant_baseline: "middle", - font_size: "5", - "Windows Live Messenger", - }, - }, - } - } -} diff --git a/src/ui/components/header.scss b/src/ui/components/header.scss deleted file mode 100644 index f087add..0000000 --- a/src/ui/components/header.scss +++ /dev/null @@ -1,13 +0,0 @@ -.root { - height: 100%; - width: 100%; - display: flex; - - img { - height: 100%; - } - - svg { - fill: white; - } -} diff --git a/src/ui/components/mod.rs b/src/ui/components/mod.rs index 38d0069..ac47674 100644 --- a/src/ui/components/mod.rs +++ b/src/ui/components/mod.rs @@ -2,7 +2,6 @@ pub(crate) mod avatar_selector; pub(crate) mod button; pub(crate) mod chat_panel; pub(crate) mod conversations; -pub(crate) mod header; pub(crate) mod icons; pub(crate) mod login; pub(crate) mod modal;