前端修改样式

This commit is contained in:
WEB许何哲\xuhez
2023-06-09 17:28:36 +08:00
parent 8c23acceaf
commit 8a4320c031
163 changed files with 4446 additions and 0 deletions

8
fixed_header_list/.idea/.gitignore generated vendored Normal file
View File

@@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@@ -0,0 +1,6 @@
<component name="InspectionProjectProfileManager">
<settings>
<option name="USE_PROJECT_PROFILE" value="false" />
<version value="1.0" />
</settings>
</component>

4
fixed_header_list/.idea/misc.xml generated Normal file
View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9" project-jdk-type="Python SDK" />
</project>

8
fixed_header_list/.idea/modules.xml generated Normal file
View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/fixed_header_list.iml" filepath="$PROJECT_DIR$/.idea/fixed_header_list.iml" />
</modules>
</component>
</project>

View File

View File

@@ -0,0 +1,41 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
{
'name': 'Fixed Header List View',
'version': '15.0.1.0.0',
'sequence': 1,
'summary': """
Set Fix Header List, Set Fix Header Tree, Set Permanent Header List, Web Sticky Header List, Freeze Header List,
Set Fix Header, Set Permanent Header, Web Sticky Header, Freeze Header, Set Fix Header in List, Set Permanent Header in List,
Web Sticky Header in List, Freeze Header in List, Set Fix List Header, Set Permanent List Header, Web Sticky List Header,
Freeze List Header, All in one Fix Header, All in one Permanent Header, All in one Web Sticky Header List, Frozen Header Frozen,
All in one Freeze Header List, All in one Sticky Tree Header, All in one Sticky List Header, All ine One Sticky View List,
List View Manager ListView Manager, Sticky Tree View Fixed Tree View, All in one Tree View, Fix List Header Table, Fixed Table Header,
""",
'description': "Fixed Header List View is very useful for displaying list headers within Odoo.",
'author': 'NEWAY Solutions',
'maintainer': 'NEWAY Solutions',
'price': '0.0',
'currency': 'USD',
'website': 'https://neway-solutions.com',
'license': 'LGPL-3',
'images': [
'static/description/screenshot.gif'
],
'depends': [
'web'
],
'data': [
],
'assets': {
'web.assets_backend': [
'fixed_header_list/static/src/scss/list.scss',
],
},
'demo': [],
'installable': True,
'application': True,
'auto_install': False,
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

View File

@@ -0,0 +1,8 @@
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
width="40"
fill="#881e73"
>
<path d="M16,16 L16,13 L18,13 L18,16 L21,16 L21,18 L18,18 L18,21 L16,21 L16,18 L13,18 L13,16 L16,16 Z M4,13 L9,13 C10.1045695,13 11,13.8954305 11,15 L11,20 C11,21.1045695 10.1045695,22 9,22 L4,22 C2.8954305,22 2,21.1045695 2,20 L2,15 C2,13.8954305 2.8954305,13 4,13 Z M4,15 L4,20 L9,20 L9,15 L4,15 Z M4,2 L9,2 C10.1045695,2 11,2.8954305 11,4 L11,9 C11,10.1045695 10.1045695,11 9,11 L4,11 C2.8954305,11 2,10.1045695 2,9 L2,4 C2,2.8954305 2.8954305,2 4,2 Z M4,4 L4,9 L9,9 L9,4 L4,4 Z M15,2 L20,2 C21.1045695,2 22,2.8954305 22,4 L22,9 C22,10.1045695 21.1045695,11 20,11 L15,11 C13.8954305,11 13,10.1045695 13,9 L13,4 C13,2.8954305 13.8954305,2 15,2 Z M15,4 L15,9 L20,9 L20,4 L15,4 Z"/>
</svg>

After

Width:  |  Height:  |  Size: 800 B

View File

@@ -0,0 +1,10 @@
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
width="40"
fill="#881e73"
>
<path
d="M14,2A8,8 0 0,0 6,10A8,8 0 0,0 14,18A8,8 0 0,0 22,10H20C20,13.32 17.32,16 14,16A6,6 0 0,1 8,10A6,6 0 0,1 14,4C14.43,4 14.86,4.05 15.27,4.14L16.88,2.54C15.96,2.18 15,2 14,2M20.59,3.58L14,10.17L11.62,7.79L10.21,9.21L14,13L22,5M4.93,5.82C3.08,7.34 2,9.61 2,12A8,8 0 0,0 10,20C10.64,20 11.27,19.92 11.88,19.77C10.12,19.38 8.5,18.5 7.17,17.29C5.22,16.25 4,14.21 4,12C4,11.7 4.03,11.41 4.07,11.11C4.03,10.74 4,10.37 4,10C4,8.56 4.32,7.13 4.93,5.82Z"
/>
</svg>

After

Width:  |  Height:  |  Size: 588 B

View File

@@ -0,0 +1,13 @@
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 512 512"
width="40"
fill="#881e73"
>
<g>
<g>
<path d="m251.6,185.7c-36.9,0-67,31.5-67,70.3 0,38.7 30,70.3 67,70.3 36.9,0 67-31.5 67-70.3 0-38.7-30.1-70.3-67-70.3z"/>
<path d="m251.6,367.1c-59.4,0-107.8-49.8-107.8-111.1 0-61.3 48.4-111.1 107.8-111.1s107.8,49.8 107.8,111.1c0,61.3-48.4,111.1-107.8,111.1zm246.3-121.9c-63.8-102.4-149.8-158.8-241.9-158.8-92.1,0-178.1,56.4-241.9,158.8-4.1,6.6-4.1,15 0,21.6 63.8,102.4 149.8,158.8 241.9,158.8 92.1,0 178-56.4 241.9-158.8 4.1-6.6 4.1-15 0-21.6z"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 624 B

View File

@@ -0,0 +1,17 @@
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 512 512"
width="40"
fill="#881e73"
>
<g>
<g>
<path d="M503.804,73.143H10.089C5.036,73.143,0,76.623,0,81.672V429.1c0,5.049,5.036,9.757,10.089,9.757h493.714 c5.054,0,8.196-4.708,8.196-9.757V81.672C512,76.623,508.857,73.143,503.804,73.143z M493.714,420.571H18.286v-42.542 L174.187,222.6l140.058,139.821c3.571,3.571,9.475,3.571,13.047,0l84.882-85.295l81.54,73.759V420.571z M493.714,326.288 l-75.696-68.554c-3.607-3.258-8.915-3.112-12.344,0.331l-84.846,84.963l-139.761-139.82c-3.571-3.571-9.801-3.571-13.373,0 L18.286,352.172V91.429h475.429V326.288z"/>
</g>
</g>
<g>
<g>
<path d="M339.232,136.529c-30.25,0-54.857,24.607-54.857,54.857c0,30.251,24.607,54.857,54.857,54.857 c30.25,0,54.857-24.606,54.857-54.857C394.089,161.136,369.482,136.529,339.232,136.529z M339.232,227.957 c-20.17,0-36.571-16.406-36.571-36.571c0-20.165,16.402-36.571,36.571-36.571c20.17,0,36.571,16.406,36.571,36.571 C375.804,211.551,359.402,227.957,339.232,227.957z"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,94 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>NEWAY Solutions</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
</head>
<body style="background: #f3f3f3;">
<section class="mb-5 p-5 bg-white shadow" style="margin-left: -1rem;width: calc(100% + 2rem);">
<div class="container text-center">
<h1 class="pb-4 d-flex justify-content-center" style="color: #881e73;">
<img class="img img-fluid" alt="" src="./icons/overview.svg"/>
<span class="ml-2">Overview</span>
</h1>
<p class="mb-5 text-center" style="font-size: 20px;font-weight: 500;letter-spacing: 0.02em;color: #535456;">
User can see header is freezed while scrolling in the list view.
</p>
<img src="./screenshot.gif" class="img img-fluid" style="border-radius: 30px;"/>
</div>
</section>
<section>
<div class="container text-center mb-4">
<img class="img img-fluid" alt="" src="./titles/more_apps.svg"/>
</div>
<div class="row justify-content-around">
<div class="loempia_app_entry loempia_app_card col-md-5 col-lg-5 shadow p-0 mb-5 mx-4" style="height: 100%;">
<a href="/apps/modules/16.0/advanced_list_view" class="mb-0">
<div class="loempia_app_entry_top loempia_cover mb-0">
<p class="loempia_panel_summary d-flex align-items-center justify-content-center text-center" style="font-size: 2rem;">
Advanced List View with Dynamic Filters & Export
</p>
<img class="img img-fluid" src="./apps/advanced_list_view.png"/>
</div>
</a>
</div>
<div class="loempia_app_entry loempia_app_card col-md-5 col-lg-5 shadow p-0 mb-5 mx-4" style="height: 100%;">
<a href="/apps/modules/16.0/neway_theme_nw" class="mb-0">
<div class="loempia_app_entry_top loempia_cover mb-0">
<p class="loempia_panel_summary d-flex align-items-center justify-content-center text-center" style="font-size: 2rem;">
NEWAY Advanced Theme - Your one time investment in Odoo Themes
</p>
<img class="img img-fluid" src="./apps/neway_theme.png"/>
</div>
</a>
</div>
<div class="loempia_app_entry loempia_app_card col-md-5 col-lg-5 shadow p-0 mb-5 mx-4" style="height: 100%;">
<a href="/apps/modules/16.0/odoo_chatter" class="mb-0">
<div class="loempia_app_entry_top loempia_cover mb-0">
<p class="loempia_panel_summary d-flex align-items-center justify-content-center text-center" style="font-size: 2rem;">
Advanced Odoo Chatter - Best way to Manage Notes, Messages and Activities
</p>
<img class="img img-fluid" src="./apps/odoo_chatter.png"/>
</div>
</a>
</div>
<div class="loempia_app_entry loempia_app_card col-md-5 col-lg-5 shadow p-0 mb-5 mx-4" style="height: 100%;">
<a href="/apps/modules/16.0/hierarchical_tree" class="mb-0">
<div class="loempia_app_entry_top loempia_cover mb-0">
<p class="loempia_panel_summary d-flex align-items-center justify-content-center text-center" style="font-size: 2rem;">
Advanced Tree View with Columns - Amazing View that represents relation between parents and childs
</p>
<img class="img img-fluid" src="./apps/hierarchical_tree.png"/>
</div>
</a>
</div>
<div class="loempia_app_entry loempia_app_card col-md-5 col-lg-5 shadow p-0 mb-5 mx-4" style="height: 100%;">
<a href="/apps/modules/16.0/vanilla_theme_nw" class="mb-0">
<div class="loempia_app_entry_top loempia_cover mb-0">
<p class="loempia_panel_summary d-flex align-items-center justify-content-center text-center" style="font-size: 2rem;">
Vanilla Backend Theme - Best Odoo Theme for better user experience
</p>
<img class="img img-fluid" src="./apps/vanilla_theme.png"/>
</div>
</a>
</div>
<div class="loempia_app_entry loempia_app_card col-md-5 col-lg-5 shadow p-0 mb-5 mx-4" style="height: 100%;">
<a href="/apps/modules/16.0/beautiful_login_form" class="mb-0">
<div class="loempia_app_entry_top loempia_cover mb-0">
<p class="loempia_panel_summary d-flex align-items-center justify-content-center text-center" style="font-size: 2rem;">
Odoo Login Form - Responsive Login Page Template
</p>
<img class="img img-fluid" src="./apps/beautiful_login_form.png"/>
</div>
</a>
</div>
</div>
</section>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 281 KiB

View File

@@ -0,0 +1,16 @@
.o_list_view .o_list_table thead {
position: sticky;
top: 0;
z-index: 100000;
}
//.o_list_view .o_list_table {
// height: 1799px !important;
//}
.table-responsive {
overflow: unset;
}
.o_form_view.o_xxl_form_view .o_form_sheet_bg > .o_form_statusbar {
position: sticky !important;
top: 0;
z-index: 100000;
}