diff --git a/odex30_base/odex_sidebar_backend_theme/static/src/img/logo.png b/odex30_base/odex_sidebar_backend_theme/static/src/img/logo.png new file mode 100644 index 0000000..c253f93 Binary files /dev/null and b/odex30_base/odex_sidebar_backend_theme/static/src/img/logo.png differ diff --git a/odex30_base/odex_sidebar_backend_theme/static/src/scss/sidebar_menu.scss b/odex30_base/odex_sidebar_backend_theme/static/src/scss/sidebar_menu.scss index 0a6c2d3..7619d43 100644 --- a/odex30_base/odex_sidebar_backend_theme/static/src/scss/sidebar_menu.scss +++ b/odex30_base/odex_sidebar_backend_theme/static/src/scss/sidebar_menu.scss @@ -15,8 +15,26 @@ transition: transform 0.3s ease-in-out; } +/* =================================== + 1.1 تصميم قسم شعار الشركة + =================================== */ +.sidebar_logo_section { + display: flex; + align-items: center; + justify-content: center; + padding: 15px 10px; + border-bottom: 1px solid rgba(255, 255, 255, 0.18); + background-color: rgba(255, 255, 255, 0.05); +} + +.sidebar_company_logo { + max-width: 100%; + max-height: 60px; + object-fit: contain; +} + .custom_sidebar .custom_icon_close { -color: #fff; + color: #fff; position: absolute; top: 8px; right: 30px; @@ -29,7 +47,7 @@ color: #fff; transform: translateX(0); } -// اخقاء الايقون الافتراضية للابلكيشن من الشريط العلوي +// اخفاء الايقون الافتراضية للابلكيشن من الشريط العلوي .o_navbar .o_main_navbar .o_navbar_apps_menu .o-dropdown { display: none !important; } @@ -170,4 +188,12 @@ color: #fff; font-size: 1.2em; padding: 0 15px; border: none; +} + +/* تصميم أيقونة القائمة الرئيسية */ +.custom_sidebar .menu-item-icon { + width: 20px; + height: 20px; + margin: 0 10px; + object-fit: contain; } \ No newline at end of file diff --git a/odex30_base/odex_sidebar_backend_theme/static/src/xml/menu_item_template.xml b/odex30_base/odex_sidebar_backend_theme/static/src/xml/menu_item_template.xml index 1945f6d..d8e8f7f 100644 --- a/odex30_base/odex_sidebar_backend_theme/static/src/xml/menu_item_template.xml +++ b/odex30_base/odex_sidebar_backend_theme/static/src/xml/menu_item_template.xml @@ -4,6 +4,15 @@