소스 검색

Add files via upload

topfayez 2 년 전
부모
커밋
950edf72d1
No account linked to committer's email address
2개의 변경된 파일527개의 추가작업 그리고 0개의 파일을 삭제
  1. 192
    0
      business_theme_v14/public/css/hooks.py
  2. 335
    0
      business_theme_v14/public/css/‏‏business_theme_v14 - نسخة.css

+ 192
- 0
business_theme_v14/public/css/hooks.py 파일 보기

@@ -0,0 +1,192 @@
1
+from . import __version__ as app_version
2
+
3
+app_name = "xyz"
4
+app_title = "Xyz"
5
+app_publisher = "test"
6
+app_description = "test"
7
+app_email = "test@test.com"
8
+app_license = "MIT"
9
+
10
+# Includes in <head>
11
+# ------------------
12
+
13
+# include js, css files in header of desk.html
14
+app_include_css = "/assets/xyz/css/business_theme_v14.css"
15
+# app_include_js = "/assets/xyz/js/xyz.js"
16
+
17
+# include js, css files in header of web template
18
+# web_include_css = "/assets/xyz/css/xyz.css"
19
+# web_include_js = "/assets/xyz/js/xyz.js"
20
+
21
+# include custom scss in every website theme (without file extension ".scss")
22
+# website_theme_scss = "xyz/public/scss/website"
23
+
24
+# include js, css files in header of web form
25
+# webform_include_js = {"doctype": "public/js/doctype.js"}
26
+# webform_include_css = {"doctype": "public/css/doctype.css"}
27
+
28
+# include js in page
29
+# page_js = {"page" : "public/js/file.js"}
30
+
31
+# include js in doctype views
32
+# doctype_js = {"doctype" : "public/js/doctype.js"}
33
+# doctype_list_js = {"doctype" : "public/js/doctype_list.js"}
34
+# doctype_tree_js = {"doctype" : "public/js/doctype_tree.js"}
35
+# doctype_calendar_js = {"doctype" : "public/js/doctype_calendar.js"}
36
+
37
+# Home Pages
38
+# ----------
39
+
40
+# application home page (will override Website Settings)
41
+# home_page = "login"
42
+
43
+# website user home page (by Role)
44
+# role_home_page = {
45
+#	"Role": "home_page"
46
+# }
47
+
48
+# Generators
49
+# ----------
50
+
51
+# automatically create page for each record of this doctype
52
+# website_generators = ["Web Page"]
53
+
54
+# Jinja
55
+# ----------
56
+
57
+# add methods and filters to jinja environment
58
+# jinja = {
59
+#	"methods": "xyz.utils.jinja_methods",
60
+#	"filters": "xyz.utils.jinja_filters"
61
+# }
62
+
63
+# Installation
64
+# ------------
65
+
66
+# before_install = "xyz.install.before_install"
67
+# after_install = "xyz.install.after_install"
68
+
69
+# Uninstallation
70
+# ------------
71
+
72
+# before_uninstall = "xyz.uninstall.before_uninstall"
73
+# after_uninstall = "xyz.uninstall.after_uninstall"
74
+
75
+# Desk Notifications
76
+# ------------------
77
+# See frappe.core.notifications.get_notification_config
78
+
79
+# notification_config = "xyz.notifications.get_notification_config"
80
+
81
+# Permissions
82
+# -----------
83
+# Permissions evaluated in scripted ways
84
+
85
+# permission_query_conditions = {
86
+#	"Event": "frappe.desk.doctype.event.event.get_permission_query_conditions",
87
+# }
88
+#
89
+# has_permission = {
90
+#	"Event": "frappe.desk.doctype.event.event.has_permission",
91
+# }
92
+
93
+# DocType Class
94
+# ---------------
95
+# Override standard doctype classes
96
+
97
+# override_doctype_class = {
98
+#	"ToDo": "custom_app.overrides.CustomToDo"
99
+# }
100
+
101
+# Document Events
102
+# ---------------
103
+# Hook on document methods and events
104
+
105
+# doc_events = {
106
+#	"*": {
107
+#		"on_update": "method",
108
+#		"on_cancel": "method",
109
+#		"on_trash": "method"
110
+#	}
111
+# }
112
+
113
+# Scheduled Tasks
114
+# ---------------
115
+
116
+# scheduler_events = {
117
+#	"all": [
118
+#		"xyz.tasks.all"
119
+#	],
120
+#	"daily": [
121
+#		"xyz.tasks.daily"
122
+#	],
123
+#	"hourly": [
124
+#		"xyz.tasks.hourly"
125
+#	],
126
+#	"weekly": [
127
+#		"xyz.tasks.weekly"
128
+#	],
129
+#	"monthly": [
130
+#		"xyz.tasks.monthly"
131
+#	],
132
+# }
133
+
134
+# Testing
135
+# -------
136
+
137
+# before_tests = "xyz.install.before_tests"
138
+
139
+# Overriding Methods
140
+# ------------------------------
141
+#
142
+# override_whitelisted_methods = {
143
+#	"frappe.desk.doctype.event.event.get_events": "xyz.event.get_events"
144
+# }
145
+#
146
+# each overriding function accepts a `data` argument;
147
+# generated from the base implementation of the doctype dashboard,
148
+# along with any modifications made in other Frappe apps
149
+# override_doctype_dashboards = {
150
+#	"Task": "xyz.task.get_dashboard_data"
151
+# }
152
+
153
+# exempt linked doctypes from being automatically cancelled
154
+#
155
+# auto_cancel_exempted_doctypes = ["Auto Repeat"]
156
+
157
+# Ignore links to specified DocTypes when deleting documents
158
+# -----------------------------------------------------------
159
+
160
+# ignore_links_on_delete = ["Communication", "ToDo"]
161
+
162
+
163
+# User Data Protection
164
+# --------------------
165
+
166
+# user_data_fields = [
167
+#	{
168
+#		"doctype": "{doctype_1}",
169
+#		"filter_by": "{filter_by}",
170
+#		"redact_fields": ["{field_1}", "{field_2}"],
171
+#		"partial": 1,
172
+#	},
173
+#	{
174
+#		"doctype": "{doctype_2}",
175
+#		"filter_by": "{filter_by}",
176
+#		"partial": 1,
177
+#	},
178
+#	{
179
+#		"doctype": "{doctype_3}",
180
+#		"strict": False,
181
+#	},
182
+#	{
183
+#		"doctype": "{doctype_4}"
184
+#	}
185
+# ]
186
+
187
+# Authentication and authorization
188
+# --------------------------------
189
+
190
+# auth_hooks = [
191
+#	"xyz.auth.validate"
192
+# ]

+ 335
- 0
business_theme_v14/public/css/‏‏business_theme_v14 - نسخة.css 파일 보기

@@ -0,0 +1,335 @@
1
+/* Works on Chrome, Edge, and Safari */
2
+*::-webkit-scrollbar {
3
+    width: 6px;
4
+}
5
+*::-webkit-scrollbar-track {
6
+    background: var(--scroll-bg);
7
+}
8
+*::-webkit-scrollbar-thumb {
9
+    background-color: var(--scroll-color);
10
+    border-radius: 20px;
11
+}
12
+* {
13
+    scrollbar-width: thin;
14
+    scrollbar-color: var(--scroll-color) var(--scroll-bg);
15
+}
16
+.awesomplete .input-with-feedback {
17
+    border: 1px solid var(--border-color);
18
+}
19
+.form-control {
20
+    border: 1px solid var(--border-color);
21
+}
22
+.search-bar .awesomplete input {
23
+    background-color: var(--bg-color)
24
+}
25
+.modal-backdrop{
26
+    background-color: #2c436b !important;
27
+}
28
+.widget .widget-head .widget-title {
29
+    font-size: var(--text-base);
30
+}
31
+.comment-box .comment-input-header, .form-dashboard-section .section-head, .form-section .section-head, .head-title {
32
+    font-size: var(--text-base);
33
+    font-weight: 600;
34
+}
35
+.comment-box .comment-input-container .ql-editor {
36
+    border: 1px solid var(--border-color);
37
+}
38
+.duration-picker .duration-input {
39
+    background-color: var(--bg-color);
40
+    border: 1px solid var(--border-color);
41
+}
42
+.control-label {
43
+    font-weight: 500;
44
+}
45
+[data-theme="dark"] {
46
+    --bg-color: var(--gray-900);
47
+    --disabled-control-bg: var(--gray-900);
48
+    --border-color: #1c2126;
49
+    --margin-lg : 15px;
50
+    --text-bold: 600;
51
+    --scroll-bg: #161a1f;
52
+    --scroll-color: #1c2126;
53
+}
54
+
55
+[data-theme="light"] {
56
+    --bg-color: #f2f5fa;
57
+    --text-bold: 600;
58
+    --control-bg : #fff;
59
+    --control-bg-on-gray: #d4dcea;
60
+    --disabled-control-bg: #f2f5fa;
61
+    --heading-color: #333;
62
+    --border-color:#e3e8f1;
63
+    --avatar-frame-bg: #dde2ea;
64
+    --margin-lg: 15px;
65
+    --sidebar-select-color: #d4dcea;
66
+    --awesomplete-hover-bg: #d4dcea;
67
+    --scroll-bg: #eef1f5;
68
+    --scroll-color: #d9dfe6;
69
+}
70
+
71
+
72
+/*****  OVERRIDDEN CSS  *****/
73
+
74
+/* Heading Text Color */
75
+/*
76
+.page-head{
77
+    background: #7C7BAD !important;
78
+    background: #7C7BAD !important;
79
+}
80
+.page-container{
81
+    background: url(/web_responsive/static/src/css/../img/home-menu-bg-overlay.svg), linear-gradient(to bottom, #7C7BAD, #c3c2cc); !important;
82
+    background-color: url(/web_responsive/static/src/css/../img/home-menu-bg-overlay.svg), linear-gradient(to bottom, #7C7BAD, #c3c2cc); !important;
83
+}
84
+h3.ellipsis.title-text,
85
+.widget-group .widget-group-head .widget-group-title,
86
+.layout-side-section .sidebar-label{
87
+    color: white !important;
88
+}
89
+
90
+*/
91
+/* Form Input Focus *//*
92
+
93
+input:focus{
94
+    border: 1px solid #7C7BAD !important;
95
+}
96
+.form-control:focus{
97
+    box-shadow: 0 0 0 2px rgba(94, 108, 162, 0.25) !important;
98
+}
99
+
100
+*/
101
+/* Div Padding *//*
102
+
103
+.widget.widget-shadow.shortcut-widget-box{
104
+    padding: 5px 10px;
105
+}
106
+
107
+*/
108
+/* List Design *//*
109
+
110
+.indicator-pill, .indicator-pill-right{
111
+    padding: 7px 8px;
112
+    height: unset;
113
+}
114
+
115
+*/
116
+/* Collapse Div Padding *//*
117
+
118
+.section-head.collapsed{
119
+    padding: 2px 4px;
120
+}
121
+
122
+*/
123
+/* Dropdown List Hover *//*
124
+
125
+.awesomplete > ul > li:hover, .awesomplete > ul > li[aria-selected="true"]{
126
+    background-color: #a492bf;
127
+}*/
128
+
129
+
130
+
131
+
132
+
133
+
134
+/* Global CSS */
135
+
136
+/* Colours */
137
+:root {
138
+    --background-color: #36414c;
139
+    --primary-color: #ffa00a;
140
+    --secondary-color: #7574ff;
141
+    --white-color: #ffffff;
142
+    --black-color: #000000;
143
+    --gray-color: #888;
144
+
145
+}
146
+.btn-primary:active,
147
+.btn-secondary:focus,
148
+.btn-secondary:active,
149
+.btn-secondary:focus{
150
+    box-shadow: none !important;
151
+}
152
+.btn-primary{
153
+    color: #fff !important;
154
+    background-color: var(--primary-color) !important;
155
+    border-radius: 0 !important;
156
+}
157
+.btn-primary:hover{
158
+    background-color: rgba(255, 120, 10, 0.93) !important;
159
+}
160
+/* .btn-secondary{
161
+    background-color: #606060 !important;
162
+    color: var(--white-color) !important;
163
+    border-radius: 0 !important;
164
+    transition: background-color ease-in-out .15s;
165
+}
166
+.btn-secondary:hover{
167
+    background-color: rgba(255, 120, 10, 0.93) !important;
168
+} */
169
+.page-head,
170
+.page-head .page-head-content{
171
+    height: 50px;
172
+}
173
+.page-head,
174
+.page-head .page-head-content{
175
+    top: 50px;
176
+}
177
+
178
+
179
+
180
+/* Top Header */
181
+.navbar{
182
+    background: var(--background-color) !important;
183
+    height: 50px;
184
+}
185
+.navbar-expand{
186
+    background-color: var(--background-color);
187
+}
188
+#navbar-breadcrumbs > li > a::before{
189
+    font-family: FontAwesome;
190
+    font-weight: normal;
191
+    font-style: normal;
192
+    text-decoration: inherit;
193
+    -webkit-font-smoothing: antialiased;
194
+    margin-right: .3em;
195
+    display: inline-block;
196
+
197
+    font-size: 24px;
198
+    transition: 0.2s;
199
+    position: relative;
200
+    top: 3px;
201
+    content: "\f105";
202
+    margin-right: 10px;
203
+    color: var(--white-color);
204
+}
205
+#navbar-breadcrumbs a{
206
+    color: var(--white-color);
207
+    text-decoration: none;
208
+}
209
+header .form-control{
210
+    color: var(--white-color);
211
+}
212
+header .form-control:focus{
213
+    border: 0;
214
+}
215
+.search-bar .awesomplete input{
216
+    height: 32px;
217
+}
218
+/*#navbar-search{
219
+    width: 300px;
220
+    background-color: rgb(65, 78, 90);
221
+    border-radius: 0px;
222
+    color: #f9f9f9;
223
+    border: none;
224
+}*/
225
+header ul#navbar-breadcrumbs{
226
+    margin-top: -8px;
227
+}
228
+header .form-control:focus{
229
+    background-color: var(--white-color) !important;
230
+}
231
+
232
+
233
+
234
+/* Sidebar */
235
+.layout-side-section .sidebar-label{
236
+    color: var(--primary-color);
237
+}
238
+.sidebar-label svg,
239
+.layout-side-section .sidebar-label .icon{
240
+    stroke: var(--primary-color);
241
+}
242
+.list-sidebar-button{
243
+    background-color: #c8c4c4 !important;
244
+    box-shadow: none !important;
245
+}
246
+.list-sidebar-button:active,
247
+.list-sidebar-button:focus{
248
+    text-decoration: none !important;
249
+    box-shadow: none !important;
250
+}
251
+
252
+
253
+/* Input Fields */
254
+input{
255
+    border-radius: 0 !important;
256
+}
257
+.form-control{
258
+    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
259
+    background-color: #f2f2f2 !important;
260
+}
261
+.form-control:focus{
262
+    outline: 0;
263
+    border: 1px solid var(--primary-color);
264
+    box-shadow: none;
265
+    background: rgba(255, 160, 10, 0.14) !important;
266
+}
267
+.navbar .navbar-nav a.nav-link{
268
+    color: var(--white-color);
269
+}
270
+span.notifications-seen use,
271
+symbol#icon-small-down{
272
+    fill: var(--white-color);
273
+}
274
+
275
+
276
+/* Table */
277
+.form-grid{
278
+    border-radius: 0;
279
+    border: 1px solid #bbbbbb;
280
+}
281
+.form-grid .grid-heading-row{
282
+    background-color: #f4f4f4;
283
+}
284
+.grid-heading-row{
285
+    border-bottom: 1px solid var(--primary-color);
286
+}
287
+.grid-row > .row .col{
288
+    border-right: 1px solid #d1d8dd;
289
+}
290
+.form-grid .grid-row:hover{
291
+    background: rgba(255, 152, 0, 0.15);
292
+}
293
+
294
+/* Heading Color */
295
+.head-title, .form-section .section-head, .form-dashboard-section .section-head, .comment-box .comment-input-header{
296
+    color: var(--primary-color);
297
+}
298
+
299
+/* Lists */
300
+.list-subject a{
301
+    text-decoration: none;
302
+    transition: 0.3s;
303
+}
304
+.list-subject a:hover{
305
+    color: var(--secondary-color);
306
+}
307
+
308
+
309
+/* Report Table */
310
+.datatable .dt-header .dt-cell--header .dt-cell__content{
311
+    background-color: #f4f4f4;
312
+}
313
+
314
+
315
+/* Buttons CSS
316
+.filter-button,
317
+.sort-selector-button,
318
+.btn-order{
319
+    background-color: #ea7272 !important;
320
+    color: var(--white-color) !important;
321
+    transition: 0.3s;
322
+    border-radius: 0 !important;
323
+}
324
+.filter-button:hover,
325
+.sort-selector-button:hover,
326
+.btn-order:hover{
327
+    background-color: #c83b3b !important;
328
+}
329
+.filter-button span.filter-icon{
330
+    color: var(--white-color);
331
+}
332
+.filter-button span.filter-icon svg.icon{
333
+    stroke: var(--white-color);
334
+} */
335
+