Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
ptd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Quan Nguyen
ptd
Commits
aa9d1f1d
Commit
aa9d1f1d
authored
May 07, 2020
by
Chi Bui
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix css
parent
5c31293f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
22 deletions
+37
-22
settings.php
sites/default/settings.php
+4
-5
input--button.html.twig
...contrib/bootstrap/templates/input/input--button.html.twig
+24
-15
styles.css
themes/contrib/estore/css/styles.css
+0
-0
custom.js
themes/contrib/estore/js/custom.js
+9
-2
No files found.
sites/default/settings.php
View file @
aa9d1f1d
...
@@ -335,7 +335,7 @@
...
@@ -335,7 +335,7 @@
*
*
* Reverse proxy servers are often used to enhance the performance
* Reverse proxy servers are often used to enhance the performance
* of heavily visited sites and may also provide other site caching,
* of heavily visited sites and may also provide other site caching,
128.199.187.131
* security, or encryption benefits. In an environment where Drupal
* security, or encryption benefits. In an environment where Drupal
* is behind a reverse proxy, the real IP address of the client should
* is behind a reverse proxy, the real IP address of the client should
* be determined such that the correct client IP address is available
* be determined such that the correct client IP address is available
* to Drupal's logging, statistics, and access management systems. In
* to Drupal's logging, statistics, and access management systems. In
...
@@ -767,10 +767,9 @@
...
@@ -767,10 +767,9 @@
include
$app_root
.
'/'
.
$site_path
.
'/settings.local.php'
;
include
$app_root
.
'/'
.
$site_path
.
'/settings.local.php'
;
}
}
$databases
[
'default'
][
'default'
]
=
array
(
$databases
[
'default'
][
'default'
]
=
array
(
'database'
=>
'invi_estorequ'
,
'database'
=>
'estore'
,
'username'
=>
'user'
,
'username'
=>
'root'
,
'password'
=>
'12345'
,
'password'
=>
'root'
,
'prefix'
=>
''
,
'prefix'
=>
''
,
'host'
=>
'localhost'
,
'host'
=>
'localhost'
,
'port'
=>
'3306'
,
'port'
=>
'3306'
,
...
...
themes/contrib/bootstrap/templates/input/input--button.html.twig
View file @
aa9d1f1d
...
@@ -22,18 +22,27 @@
...
@@ -22,18 +22,27 @@
* @see template_preprocess_input()
* @see template_preprocess_input()
*/
*/
#}
#}
{%
spaceless
%}
{%
spaceless
%}
{%
{%
set
classes
=
[
set
classes
=
[
'btn'
,
'btn'
,
type
==
'submit'
?
'js-form-submit'
,
type
==
'submit'
?
'js-form-submit'
,
icon
and
icon_position
and
not
icon_only
?
'icon-'
~
icon_position
,
icon
and
icon_position
and
not
icon_only
?
'icon-'
~
icon_position
,
]
]
%}
%}
{%
block
input
%}
{%
block
input
%}
<button
{{
attributes.addClass
(
classes
,
'icon-only'
)
}}
>
{%
if
icon
and
icon_only
%}
<span>
search
</span>
<button
{{
attributes.addClass
(
classes
,
'icon-only'
)
}}
>
</button>
<span
class=
"sr-only"
>
{{
label
}}
</span>
{{
icon
}}
{%
endblock
%}
</button>
{%
endspaceless
%}
{%
else
%}
{%
if
icon_position
==
'after'
%}
<button
{{
attributes.addClass
(
classes
)
}}
>
{{
label
}}{{
icon
}}
</button>
{{
children
}}
{%
else
%}
<button
{{
attributes.addClass
(
classes
)
}}
>
{{
icon
}}{{
label
}}
</button>
{{
children
}}
{%
endif
%}
{%
endif
%}
{{
children
}}
{%
endblock
%}
{%
endspaceless
%}
themes/contrib/estore/css/styles.css
View file @
aa9d1f1d
This diff is collapsed.
Click to expand it.
themes/contrib/estore/js/custom.js
View file @
aa9d1f1d
...
@@ -30,8 +30,6 @@
...
@@ -30,8 +30,6 @@
$
(
".menu.menu--category-menu.nav"
).
addClass
(
'hide-block'
);
$
(
".menu.menu--category-menu.nav"
).
addClass
(
'hide-block'
);
}
}
$
(
window
).
scroll
(
function
()
{
$
(
window
).
scroll
(
function
()
{
console
.
log
(
"scrollTop"
,
$
(
window
).
scrollTop
()
)
// custom for ie
if
(
$
(
window
).
scrollTop
()
>
130
){
if
(
$
(
window
).
scrollTop
()
>
130
){
$
(
".middle-header-wrapper"
).
children
(
".container-fluid"
).
addClass
(
"fixed-top"
);
$
(
".middle-header-wrapper"
).
children
(
".container-fluid"
).
addClass
(
"fixed-top"
);
}
}
...
@@ -41,5 +39,14 @@
...
@@ -41,5 +39,14 @@
});
});
$
(
".dropdown-toggle"
).
mouseover
(
function
(){
$
(
".expanded.dropdown.first"
).
addClass
(
"open"
);
})
$
(
".dropdown-toggle"
).
mouseleave
(
function
(){
$
(
".expanded.dropdown.first"
).
removeClass
(
"open"
);
})
// if(heightMenu > 400;)
// if(heightMenu > 400;)
})(
window
.
jQuery
,
window
.
Drupal
);
})(
window
.
jQuery
,
window
.
Drupal
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment