Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Тимофей Семененко
/
shold.dev5.ashmanov.com
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 39db5ad6
authored
Aug 15, 2017
by
Semenenko Timofey
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
filter part2
1 parent
1e01f4b9
Pipeline
#2856
for
39db5ad6
skipped
in 0 seconds
Changes
6
Pipelines
1
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
67 additions
and
19 deletions
404.php
css/easy-responsive-tabs.css
css/media.css
js/index.js
local/components/cpeople/project/templates/.default/project-list.php
local/include/filter_params_mobile.php
404.php
View file @
39db5ad
...
...
@@ -6,7 +6,6 @@ if(!isAjax()) {
CHTTP
::
SetStatus
(
"404 Not Found"
);
}
@
define
(
'ERROR_404'
,
'Y'
);
global
$APPLICATION
;
global
$USER
;
$APPLICATION
->
RestartBuffer
();
...
...
css/easy-responsive-tabs.css
View file @
39db5ad
...
...
@@ -39,11 +39,11 @@ h2.resp-accordion {
}
.resp-tab-active
{
border
:
1px
solid
#
5AB1D0
!important
;
border
:
1px
solid
#
fff
!important
;
border-bottom
:
none
;
margin-bottom
:
-1px
!important
;
padding
:
12px
14px
14px
14px
!important
;
border-top
:
4px
solid
#
5AB1D0
!important
;
border-top
:
4px
solid
#
fff
!important
;
border-bottom
:
0px
#fff
solid
!important
;
}
...
...
@@ -58,10 +58,11 @@ h2.resp-accordion {
.resp-tab-content
{
border
:
1px
solid
#c1c1c1
;
border-top-color
:
#
5AB1D0
;
border-top-color
:
#
fff
;
}
h2
.resp-accordion
{
color
:
#fff
;
font-size
:
13px
;
border
:
1px
solid
#c1c1c1
;
border-top
:
0px
solid
#c1c1c1
;
...
...
@@ -116,8 +117,8 @@ z-index: 1;
margin-right
:
-1px
!important
;
padding
:
14px
15px
15px
14px
!important
;
border-top
:
1px
solid
;
border
:
1px
solid
#
5AB1D0
!important
;
border-left
:
4px
solid
#
5AB1D0
!important
;
border
:
1px
solid
#
fff
!important
;
border-left
:
4px
solid
#
fff
!important
;
margin-bottom
:
4px
!important
;
border-right
:
1px
#FFF
solid
!important
;
}
...
...
css/media.css
View file @
39db5ad
...
...
@@ -206,7 +206,8 @@ li.additional_list_item{margin-bottom:20px;float:left;}
.path-current
{
padding
:
0
5px
;}
.page-head._bigger
.path-current
{
margin-bottom
:
6px
;}
.page-head._mp
{
overflow
:
hidden
;}
.page-content
{
/* padding: 200px 0 30px 0; */
}
.page-content
{
/* padding-top: 80px; */
px;
*/
}
/* .page-content.mobile{padding-top: 230px;} */
._top
.path
{
padding-top
:
70px
;
text-align
:
center
;
margin
:
0
;}
.page-head._bigger
.path
{
padding-top
:
3px
;
margin
:
0
;
text-align
:
center
;}
.page-head._bigger
.phone
{
/* bottom:7px; */
top
:
auto
;
left
:
0
;
width
:
100%
;}
...
...
@@ -218,7 +219,7 @@ li.additional_list_item{margin-bottom:20px;float:left;}
.filter._inner-page
.filter-element
{
font-size
:
0
;}
.filter-element._parent
{
width
:
100%
;}
.filter-element._select
{
min-width
:
0
;
width
:
33%
;}
.filter-select-item
{
padding-left
:
0
;
text-align
:
center
;
display
:
block
;}
.filter-select-item
{
color
:
#333
;
padding-left
:
0
;
text-align
:
center
;
display
:
block
;}
.mp-tiles-wr
{
padding-top
:
4rem
;}
.process-top
{
padding
:
0
0
0
0
;
min-height
:
auto
;}
.process-top-image
{
float
:
none
;
position
:
static
;
left
:
0
;
top
:
0
;
overflow
:
hidden
;
width
:
100%
;
height
:
auto
;}
...
...
js/index.js
View file @
39db5ad
...
...
@@ -489,6 +489,11 @@ $(document).ready(function() {
width
:
'auto'
,
//auto or any width like 600px
fit
:
true
,
// 100% fit in a container
tabidentify
:
'hor_1'
,
// The tab groups identifier
activetab_bg
:
'#333'
,
// background color for active tabs in this group
inactive_bg
:
'#f37e43'
,
// background color for inactive tabs in this group
active_border_color
:
'#f37e43'
,
// border color for active tabs heads in this group
inactive_color
:
'#fff'
,
activetab_color
:
'#fff'
,
activate
:
function
(
event
)
{
// Callback function if tab is switched
var
$tab
=
$
(
this
);
var
$info
=
$
(
'#nested-tabInfo'
);
...
...
@@ -497,17 +502,41 @@ $(document).ready(function() {
$info
.
show
();
}
});
// Child Tab
$
(
'#ChildVerticalTab_1'
).
easyResponsiveTabs
({
type
:
'vertical'
,
width
:
'auto'
,
fit
:
true
,
tabidentify
:
'ver_1'
,
// The tab groups identifier
activetab_bg
:
'#fff'
,
// background color for active tabs in this group
inactive_bg
:
'#F5F5F5'
,
// background color for inactive tabs in this group
active_border_color
:
'#c1c1c1'
,
// border color for active tabs heads in this group
active_content_border_color
:
'#5AB1D0'
// border color for active tabs contect in this group so that it matches the tab head border
$
(
'#parentHorizontalTab'
).
easyResponsiveTabs
({
type
:
'default'
,
//Types: default, vertical, accordion
width
:
'auto'
,
//auto or any width like 600px
fit
:
true
,
// 100% fit in a container
tabidentify
:
'hor_2'
,
// The tab groups identifier
activetab_bg
:
'#333'
,
// background color for active tabs in this group
inactive_bg
:
'#f37e43'
,
// background color for inactive tabs in this group
active_border_color
:
'#f37e43'
,
// border color for active tabs heads in this group
inactive_color
:
'#fff'
,
activetab_color
:
'#fff'
,
activate
:
function
(
event
)
{
// Callback function if tab is switched
var
$tab
=
$
(
this
);
var
$info
=
$
(
'#nested-tabInfo'
);
var
$name
=
$
(
'span'
,
$info
);
$name
.
text
(
$tab
.
text
());
$info
.
show
();
}
});
$
(
'#parentHorizontalTab'
).
easyResponsiveTabs
({
type
:
'default'
,
//Types: default, vertical, accordion
width
:
'auto'
,
//auto or any width like 600px
fit
:
true
,
// 100% fit in a container
tabidentify
:
'hor_3'
,
// The tab groups identifier
activetab_bg
:
'#333'
,
// background color for active tabs in this group
inactive_bg
:
'#f37e43'
,
// background color for inactive tabs in this group
active_border_color
:
'#f37e43'
,
// border color for active tabs heads in this group
inactive_color
:
'#fff'
,
activetab_color
:
'#fff'
,
activate
:
function
(
event
)
{
// Callback function if tab is switched
var
$tab
=
$
(
this
);
var
$info
=
$
(
'#nested-tabInfo'
);
var
$name
=
$
(
'span'
,
$info
);
$name
.
text
(
$tab
.
text
());
$info
.
show
();
}
});
//Vertical Tab
...
...
@@ -517,6 +546,12 @@ $(document).ready(function() {
fit
:
true
,
// 100% fit in a container
closed
:
'accordion'
,
// Start closed if in accordion view
tabidentify
:
'hor_1'
,
// The tab groups identifier
activetab_bg
:
'#333'
,
// background color for active tabs in this group
inactive_bg
:
'#f37e43'
,
// background color for inactive tabs in this group
active_border_color
:
'#fff'
,
// border color for active tabs heads in this group
inactive_color
:
'#fff'
,
activetab_color
:
'#fff'
,
activate
:
function
(
event
)
{
// Callback function if tab is switched
var
$tab
=
$
(
this
);
var
$info
=
$
(
'#nested-tabInfo2'
);
...
...
@@ -525,7 +560,19 @@ $(document).ready(function() {
$info
.
show
();
}
});
});
$
(
".resp-accordion hor_1 resp-tab-active"
).
on
(
'click'
,
function
()
{
alert
(
'1'
);
// $('.page-content mobile').removeClass('mobile');
});
//отключение режима просмотра в карточке проекта
$
(
".hor_1"
).
on
(
'click'
,
function
(){
$
(
'.page-content'
).
addClass
(
'mobile'
);
});
local/components/cpeople/project/templates/.default/project-list.php
View file @
39db5ad
local/include/filter_params_mobile.php
View file @
39db5ad
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
Attach a file
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 post a comment