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 abf07309
authored
Jul 31, 2017
by
Semenenko Timofey
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
projects/first
1 parent
fcbf0c87
Pipeline
#2818
for
abf07309
skipped
in 0 seconds
Changes
7
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
93 additions
and
45 deletions
css/fansy3.2.1.css
css/main.css
css/media.css
js/compiled.js
local/components/cpeople/project/templates/.default/detail-gallery.php
local/components/cpeople/project/templates/.default/detail.php
local/templates/main/footer.php
css/fansy3.2.1.css
0 → 100644
View file @
abf0730
@charset
"UTF-8"
;
.fancybox-enabled
{
overflow
:
hidden
}
.fancybox-enabled
body
{
overflow
:
visible
;
height
:
100%
}
.fancybox-is-hidden
{
position
:
absolute
;
top
:
-9999px
;
left
:
-9999px
;
visibility
:
hidden
}
.fancybox-container
{
position
:
fixed
;
top
:
0
;
left
:
0
;
width
:
100%
;
height
:
100%
;
z-index
:
99993
;
-webkit-tap-highlight-color
:
transparent
;
-webkit-backface-visibility
:
hidden
;
backface-visibility
:
hidden
;
-webkit-transform
:
translateZ
(
0
);
transform
:
translateZ
(
0
)}
.fancybox-container
~
.fancybox-container
{
z-index
:
99992
}
.fancybox-bg
,
.fancybox-inner
,
.fancybox-outer
,
.fancybox-stage
{
position
:
absolute
;
top
:
0
;
right
:
0
;
bottom
:
0
;
left
:
0
}
.fancybox-outer
{
overflow-y
:
auto
;
-webkit-overflow-scrolling
:
touch
}
.fancybox-bg
{
background
:
#1e1e1e
;
opacity
:
0
;
transition-duration
:
inherit
;
transition-property
:
opacity
;
transition-timing-function
:
cubic-bezier
(
.47
,
0
,
.74
,
.71
)}
.fancybox-is-open
.fancybox-bg
{
opacity
:
.87
;
transition-timing-function
:
cubic-bezier
(
.22
,
.61
,
.36
,
1
)}
.fancybox-caption-wrap
,
.fancybox-infobar
,
.fancybox-toolbar
{
position
:
absolute
;
direction
:
ltr
;
z-index
:
99997
;
opacity
:
0
;
visibility
:
hidden
;
transition
:
opacity
.25s
,
visibility
0s
linear
.25s
;
box-sizing
:
border-box
}
.fancybox-show-caption
.fancybox-caption-wrap
,
.fancybox-show-infobar
.fancybox-infobar
,
.fancybox-show-toolbar
.fancybox-toolbar
{
opacity
:
1
;
visibility
:
visible
;
transition
:
opacity
.25s
,
visibility
0s
}
.fancybox-infobar
{
top
:
0
;
left
:
50%
;
margin-left
:
-79px
}
.fancybox-infobar__body
{
display
:
inline-block
;
width
:
70px
;
line-height
:
44px
;
font-size
:
13px
;
font-family
:
Helvetica
Neue
,
Helvetica
,
Arial
,
sans-serif
;
text-align
:
center
;
color
:
#ddd
;
background-color
:
rgba
(
30
,
30
,
30
,
.7
);
pointer-events
:
none
;
-webkit-user-select
:
none
;
-moz-user-select
:
none
;
-ms-user-select
:
none
;
user-select
:
none
;
-webkit-touch-callout
:
none
;
-webkit-tap-highlight-color
:
transparent
;
-webkit-font-smoothing
:
subpixel-antialiased
}
.fancybox-toolbar
{
top
:
0
;
right
:
0
}
.fancybox-stage
{
overflow
:
hidden
;
direction
:
ltr
;
z-index
:
99994
;
-webkit-transform
:
translateZ
(
0
)}
.fancybox-slide
{
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100%
;
height
:
100%
;
margin
:
0
;
padding
:
0
;
overflow
:
auto
;
outline
:
none
;
white-space
:
normal
;
box-sizing
:
border-box
;
text-align
:
center
;
z-index
:
99994
;
-webkit-overflow-scrolling
:
touch
;
display
:
none
;
-webkit-backface-visibility
:
hidden
;
backface-visibility
:
hidden
;
transition-property
:
opacity
,
-webkit-transform
;
transition-property
:
transform
,
opacity
;
transition-property
:
transform
,
opacity
,
-webkit-transform
;
-webkit-transform-style
:
preserve-3d
;
transform-style
:
preserve-3d
}
.fancybox-slide
:before
{
content
:
""
;
display
:
inline-block
;
vertical-align
:
middle
;
height
:
100%
;
width
:
0
}
.fancybox-is-sliding
.fancybox-slide
,
.fancybox-slide--current
,
.fancybox-slide--next
,
.fancybox-slide--previous
{
display
:
block
}
.fancybox-slide--image
{
overflow
:
visible
}
.fancybox-slide--image
:before
{
display
:
none
}
.fancybox-slide--video
.fancybox-content
,
.fancybox-slide--video
iframe
{
background
:
#000
}
.fancybox-slide--map
.fancybox-content
,
.fancybox-slide--map
iframe
{
background
:
#e5e3df
}
.fancybox-slide--next
{
z-index
:
99995
}
.fancybox-slide
>*
{
display
:
inline-block
;
position
:
relative
;
padding
:
24px
;
margin
:
44px
0
;
border-width
:
0
;
vertical-align
:
middle
;
text-align
:
left
;
background-color
:
#fff
;
overflow
:
auto
;
box-sizing
:
border-box
}
.fancybox-slide
.fancybox-image-wrap
{
position
:
absolute
;
top
:
0
;
left
:
0
;
margin
:
0
;
padding
:
0
;
border
:
0
;
z-index
:
99995
;
background
:
transparent
;
cursor
:
default
;
overflow
:
visible
;
-webkit-transform-origin
:
top
left
;
transform-origin
:
top
left
;
background-size
:
100%
100%
;
background-repeat
:
no-repeat
;
-webkit-backface-visibility
:
hidden
;
backface-visibility
:
hidden
}
.fancybox-can-zoomOut
.fancybox-image-wrap
{
cursor
:
zoom-out
}
.fancybox-can-zoomIn
.fancybox-image-wrap
{
cursor
:
zoom-in
}
.fancybox-can-drag
.fancybox-image-wrap
{
cursor
:
-webkit-grab
;
cursor
:
grab
}
.fancybox-is-dragging
.fancybox-image-wrap
{
cursor
:
-webkit-grabbing
;
cursor
:
grabbing
}
.fancybox-image
,
.fancybox-spaceball
{
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100%
;
height
:
100%
;
margin
:
0
;
padding
:
0
;
border
:
0
;
max-width
:
none
;
max-height
:
none
}
.fancybox-spaceball
{
z-index
:
1
}
.fancybox-slide--iframe
.fancybox-content
{
padding
:
0
;
width
:
80%
;
height
:
80%
;
max-width
:
calc
(
100%
-
100px
);
max-height
:
calc
(
100%
-
88px
);
overflow
:
visible
;
background
:
#fff
}
.fancybox-iframe
{
display
:
block
;
padding
:
0
;
border
:
0
;
height
:
100%
}
.fancybox-error
,
.fancybox-iframe
{
margin
:
0
;
width
:
100%
;
background
:
#fff
}
.fancybox-error
{
padding
:
40px
;
max-width
:
380px
;
cursor
:
default
}
.fancybox-error
p
{
margin
:
0
;
padding
:
0
;
color
:
#444
;
font
:
16px
/
20px
Helvetica
Neue
,
Helvetica
,
Arial
,
sans-serif
}
.fancybox-close-small
{
position
:
absolute
;
top
:
0
;
right
:
0
;
width
:
44px
;
height
:
44px
;
padding
:
0
;
margin
:
0
;
border
:
0
;
border-radius
:
0
;
outline
:
none
;
background
:
transparent
;
z-index
:
10
;
cursor
:
pointer
}
.fancybox-close-small
:after
{
content
:
"×"
;
position
:
absolute
;
top
:
5px
;
right
:
5px
;
width
:
30px
;
height
:
30px
;
font
:
20px
/
30px
Arial
,
Helvetica
Neue
,
Helvetica
,
sans-serif
;
color
:
#888
;
font-weight
:
300
;
text-align
:
center
;
border-radius
:
50%
;
border-width
:
0
;
background
:
#fff
;
transition
:
background
.25s
;
box-sizing
:
border-box
;
z-index
:
2
}
.fancybox-close-small
:focus:after
{
outline
:
1px
dotted
#888
}
.fancybox-close-small
:hover:after
{
color
:
#555
;
background
:
#eee
}
.fancybox-slide--iframe
.fancybox-close-small
{
top
:
0
;
right
:
-44px
}
.fancybox-slide--iframe
.fancybox-close-small
:after
{
background
:
transparent
;
font-size
:
35px
;
color
:
#aaa
}
.fancybox-slide--iframe
.fancybox-close-small
:hover:after
{
color
:
#fff
}
.fancybox-caption-wrap
{
bottom
:
0
;
left
:
0
;
right
:
0
;
padding
:
60px
30px
0
;
background
:
linear-gradient
(
180deg
,
transparent
0
,
rgba
(
0
,
0
,
0
,
.1
)
20%
,
rgba
(
0
,
0
,
0
,
.2
)
40%
,
rgba
(
0
,
0
,
0
,
.6
)
80%
,
rgba
(
0
,
0
,
0
,
.8
));
pointer-events
:
none
}
.fancybox-caption
{
padding
:
30px
0
;
border-top
:
1px
solid
hsla
(
0
,
0%
,
100%
,
.4
);
font-size
:
14px
;
font-family
:
Helvetica
Neue
,
Helvetica
,
Arial
,
sans-serif
;
color
:
#fff
;
line-height
:
20px
;
-webkit-text-size-adjust
:
none
}
.fancybox-caption
a
,
.fancybox-caption
button
,
.fancybox-caption
select
{
pointer-events
:
all
}
.fancybox-caption
a
{
color
:
#fff
;
text-decoration
:
underline
}
.fancybox-button
{
display
:
inline-block
;
position
:
relative
;
margin
:
0
;
padding
:
0
;
border
:
0
;
width
:
44px
;
height
:
44px
;
line-height
:
44px
;
text-align
:
center
;
background
:
transparent
;
color
:
#ddd
;
border-radius
:
0
;
cursor
:
pointer
;
vertical-align
:
top
;
outline
:
none
}
.fancybox-button
[
disabled
]
{
cursor
:
default
;
pointer-events
:
none
}
.fancybox-button
,
.fancybox-infobar__body
{
background
:
rgba
(
30
,
30
,
30
,
.6
)}
.fancybox-button
:hover:not
([
disabled
])
{
color
:
#fff
;
background
:
rgba
(
0
,
0
,
0
,
.8
)}
.fancybox-button
:after
,
.fancybox-button
:before
{
content
:
""
;
pointer-events
:
none
;
position
:
absolute
;
background-color
:
currentColor
;
color
:
currentColor
;
opacity
:
.9
;
box-sizing
:
border-box
;
display
:
inline-block
}
.fancybox-button
[
disabled
]
:after
,
.fancybox-button
[
disabled
]
:before
{
opacity
:
.3
}
.fancybox-button--left
:after
,
.fancybox-button--right
:after
{
top
:
18px
;
width
:
6px
;
height
:
6px
;
background
:
transparent
;
border-top
:
2px
solid
currentColor
;
border-right
:
2px
solid
currentColor
}
.fancybox-button--left
:after
{
left
:
20px
;
-webkit-transform
:
rotate
(
-135deg
);
transform
:
rotate
(
-135deg
)}
.fancybox-button--right
:after
{
right
:
20px
;
-webkit-transform
:
rotate
(
45deg
);
transform
:
rotate
(
45deg
)}
.fancybox-button--left
{
border-bottom-left-radius
:
5px
}
.fancybox-button--right
{
border-bottom-right-radius
:
5px
}
.fancybox-button--close
:after
,
.fancybox-button--close
:before
{
content
:
""
;
display
:
inline-block
;
position
:
absolute
;
height
:
2px
;
width
:
16px
;
top
:
calc
(
50%
-
1px
);
left
:
calc
(
50%
-
8px
)}
.fancybox-button--close
:before
{
-webkit-transform
:
rotate
(
45deg
);
transform
:
rotate
(
45deg
)}
.fancybox-button--close
:after
{
-webkit-transform
:
rotate
(
-45deg
);
transform
:
rotate
(
-45deg
)}
.fancybox-arrow
{
position
:
absolute
;
top
:
50%
;
margin
:
-50px
0
0
;
height
:
100px
;
width
:
54px
;
padding
:
0
;
border
:
0
;
outline
:
none
;
background
:
none
;
cursor
:
pointer
;
z-index
:
99995
;
opacity
:
0
;
-webkit-user-select
:
none
;
-moz-user-select
:
none
;
-ms-user-select
:
none
;
user-select
:
none
;
transition
:
opacity
.25s
}
.fancybox-arrow
:after
{
content
:
""
;
position
:
absolute
;
top
:
28px
;
width
:
44px
;
height
:
44px
;
background-color
:
rgba
(
30
,
30
,
30
,
.8
);
background-image
:
url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjRkZGRkZGIiBoZWlnaHQ9IjQ4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSI0OCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPiAgICA8cGF0aCBkPSJNMTIgNGwtMS40MSAxLjQxTDE2LjE3IDExSDR2MmgxMi4xN2wtNS41OCA1LjU5TDEyIDIwbDgtOHoiLz48L3N2Zz4=)
;
background-repeat
:
no-repeat
;
background-position
:
50%
;
background-size
:
24px
24px
}
.fancybox-arrow--right
{
right
:
0
}
.fancybox-arrow--left
{
left
:
0
;
-webkit-transform
:
scaleX
(
-1
);
transform
:
scaleX
(
-1
)}
.fancybox-arrow--left
:after
,
.fancybox-arrow--right
:after
{
left
:
0
}
.fancybox-show-nav
.fancybox-arrow
{
opacity
:
.6
}
.fancybox-show-nav
.fancybox-arrow
[
disabled
]
{
opacity
:
.3
}
.fancybox-loading
{
border
:
6px
solid
hsla
(
0
,
0%
,
39%
,
.4
);
border-top
:
6px
solid
hsla
(
0
,
0%
,
100%
,
.6
);
border-radius
:
100%
;
height
:
50px
;
width
:
50px
;
-webkit-animation
:
a
.8s
infinite
linear
;
animation
:
a
.8s
infinite
linear
;
background
:
transparent
;
position
:
absolute
;
top
:
50%
;
left
:
50%
;
margin-top
:
-25px
;
margin-left
:
-25px
;
z-index
:
99999
}
@-webkit-keyframes
a
{
0
%
{
-webkit-transform
:
rotate
(
0deg
);
transform
:
rotate
(
0deg
)}
to
{
-webkit-transform
:
rotate
(
359deg
);
transform
:
rotate
(
359deg
)}}
@keyframes
a
{
0
%
{
-webkit-transform
:
rotate
(
0deg
);
transform
:
rotate
(
0deg
)}
to
{
-webkit-transform
:
rotate
(
359deg
);
transform
:
rotate
(
359deg
)}}
.fancybox-animated
{
transition-timing-function
:
cubic-bezier
(
0
,
0
,
.25
,
1
)}
.fancybox-fx-slide.fancybox-slide--previous
{
-webkit-transform
:
translate3d
(
-100%
,
0
,
0
);
transform
:
translate3d
(
-100%
,
0
,
0
);
opacity
:
0
}
.fancybox-fx-slide.fancybox-slide--next
{
-webkit-transform
:
translate3d
(
100%
,
0
,
0
);
transform
:
translate3d
(
100%
,
0
,
0
);
opacity
:
0
}
.fancybox-fx-slide.fancybox-slide--current
{
-webkit-transform
:
translateZ
(
0
);
transform
:
translateZ
(
0
);
opacity
:
1
}
.fancybox-fx-fade.fancybox-slide--next
,
.fancybox-fx-fade.fancybox-slide--previous
{
opacity
:
0
;
transition-timing-function
:
cubic-bezier
(
.19
,
1
,
.22
,
1
)}
.fancybox-fx-fade.fancybox-slide--current
{
opacity
:
1
}
.fancybox-fx-zoom-in-out.fancybox-slide--previous
{
-webkit-transform
:
scale3d
(
1.5
,
1.5
,
1.5
);
transform
:
scale3d
(
1.5
,
1.5
,
1.5
);
opacity
:
0
}
.fancybox-fx-zoom-in-out.fancybox-slide--next
{
-webkit-transform
:
scale3d
(
.5
,
.5
,
.5
);
transform
:
scale3d
(
.5
,
.5
,
.5
);
opacity
:
0
}
.fancybox-fx-zoom-in-out.fancybox-slide--current
{
-webkit-transform
:
scaleX
(
1
);
transform
:
scaleX
(
1
);
opacity
:
1
}
.fancybox-fx-rotate.fancybox-slide--previous
{
-webkit-transform
:
rotate
(
-1turn
);
transform
:
rotate
(
-1turn
);
opacity
:
0
}
.fancybox-fx-rotate.fancybox-slide--next
{
-webkit-transform
:
rotate
(
1turn
);
transform
:
rotate
(
1turn
);
opacity
:
0
}
.fancybox-fx-rotate.fancybox-slide--current
{
-webkit-transform
:
rotate
(
0deg
);
transform
:
rotate
(
0deg
);
opacity
:
1
}
.fancybox-fx-circular.fancybox-slide--previous
{
-webkit-transform
:
scale3d
(
0
,
0
,
0
)
translate3d
(
-100%
,
0
,
0
);
transform
:
scale3d
(
0
,
0
,
0
)
translate3d
(
-100%
,
0
,
0
);
opacity
:
0
}
.fancybox-fx-circular.fancybox-slide--next
{
-webkit-transform
:
scale3d
(
0
,
0
,
0
)
translate3d
(
100%
,
0
,
0
);
transform
:
scale3d
(
0
,
0
,
0
)
translate3d
(
100%
,
0
,
0
);
opacity
:
0
}
.fancybox-fx-circular.fancybox-slide--current
{
-webkit-transform
:
scaleX
(
1
)
translateZ
(
0
);
transform
:
scaleX
(
1
)
translateZ
(
0
);
opacity
:
1
}
.fancybox-fx-tube.fancybox-slide--previous
{
-webkit-transform
:
translate3d
(
-100%
,
0
,
0
)
scale
(
.1
)
skew
(
-10deg
);
transform
:
translate3d
(
-100%
,
0
,
0
)
scale
(
.1
)
skew
(
-10deg
)}
.fancybox-fx-tube.fancybox-slide--next
{
-webkit-transform
:
translate3d
(
100%
,
0
,
0
)
scale
(
.1
)
skew
(
10deg
);
transform
:
translate3d
(
100%
,
0
,
0
)
scale
(
.1
)
skew
(
10deg
)}
.fancybox-fx-tube.fancybox-slide--current
{
-webkit-transform
:
translateZ
(
0
)
scale
(
1
);
transform
:
translateZ
(
0
)
scale
(
1
)}
@media
(
max-width
:
800px
){
.fancybox-infobar
{
left
:
0
;
margin-left
:
0
}
.fancybox-button--left
,
.fancybox-button--right
{
display
:
none
!important
}
.fancybox-caption
{
padding
:
20px
0
;
margin
:
0
}}
.fancybox-button--fullscreen
:before
{
width
:
15px
;
height
:
11px
;
left
:
calc
(
50%
-
7px
);
top
:
calc
(
50%
-
6px
);
border
:
2px
solid
;
background
:
none
}
.fancybox-button--pause
:before
,
.fancybox-button--play
:before
{
top
:
calc
(
50%
-
6px
);
left
:
calc
(
50%
-
4px
);
background
:
transparent
}
.fancybox-button--play
:before
{
width
:
0
;
height
:
0
;
border-top
:
6px
inset
transparent
;
border-bottom
:
6px
inset
transparent
;
border-left
:
10px
solid
;
border-radius
:
1px
}
.fancybox-button--pause
:before
{
width
:
7px
;
height
:
11px
;
border-style
:
solid
;
border-width
:
0
2px
}
.fancybox-button--thumbs
,
.fancybox-thumbs
{
display
:
none
}
@media
(
min-width
:
800px
){
.fancybox-button--thumbs
{
display
:
inline-block
}
.fancybox-button--thumbs
span
{
font-size
:
23px
}
.fancybox-button--thumbs
:before
{
width
:
3px
;
height
:
3px
;
top
:
calc
(
50%
-
2px
);
left
:
calc
(
50%
-
2px
);
box-shadow
:
0
-4px
0
,
-4px
-4px
0
,
4px
-4px
0
,
inset
0
0
0
32px
,
-4px
0
0
,
4px
0
0
,
0
4px
0
,
-4px
4px
0
,
4px
4px
0
}
.fancybox-thumbs
{
position
:
absolute
;
top
:
0
;
right
:
0
;
bottom
:
0
;
left
:
auto
;
width
:
220px
;
margin
:
0
;
padding
:
5px
5px
0
0
;
background
:
#fff
;
word-break
:
normal
;
-webkit-tap-highlight-color
:
transparent
;
-webkit-overflow-scrolling
:
touch
;
-ms-overflow-style
:
-ms-autohiding-scrollbar
;
box-sizing
:
border-box
;
z-index
:
99995
}
.fancybox-show-thumbs
.fancybox-thumbs
{
display
:
block
}
.fancybox-show-thumbs
.fancybox-inner
{
right
:
220px
}
.fancybox-thumbs
>
ul
{
list-style
:
none
;
position
:
absolute
;
position
:
relative
;
width
:
100%
;
height
:
100%
;
margin
:
0
;
padding
:
0
;
overflow-x
:
hidden
;
overflow-y
:
auto
;
font-size
:
0
}
.fancybox-thumbs
>
ul
>
li
{
float
:
left
;
overflow
:
hidden
;
max-width
:
50%
;
padding
:
0
;
margin
:
0
;
width
:
105px
;
height
:
75px
;
position
:
relative
;
cursor
:
pointer
;
outline
:
none
;
border
:
5px
solid
transparent
;
border-top-width
:
0
;
border-right-width
:
0
;
-webkit-tap-highlight-color
:
transparent
;
-webkit-backface-visibility
:
hidden
;
backface-visibility
:
hidden
;
box-sizing
:
border-box
}
li
.fancybox-thumbs-loading
{
background
:
rgba
(
0
,
0
,
0
,
.1
)}
.fancybox-thumbs
>
ul
>
li
>
img
{
position
:
absolute
;
top
:
0
;
left
:
0
;
min-width
:
100%
;
min-height
:
100%
;
max-width
:
none
;
max-height
:
none
;
-webkit-touch-callout
:
none
;
-webkit-user-select
:
none
;
-moz-user-select
:
none
;
-ms-user-select
:
none
;
user-select
:
none
}
.fancybox-thumbs
>
ul
>
li
:before
{
content
:
""
;
position
:
absolute
;
top
:
0
;
right
:
0
;
bottom
:
0
;
left
:
0
;
border-radius
:
2px
;
border
:
4px
solid
#4ea7f9
;
z-index
:
99991
;
opacity
:
0
;
transition
:
all
.2s
cubic-bezier
(
.25
,
.46
,
.45
,
.94
)}
.fancybox-thumbs
>
ul
>
li
.fancybox-thumbs-active
:before
{
opacity
:
1
}}
\ No newline at end of file
\ No newline at end of file
css/main.css
View file @
abf0730
...
@@ -1232,7 +1232,7 @@ a[href^="tel:"] {
...
@@ -1232,7 +1232,7 @@ a[href^="tel:"] {
}
}
.filter._main-page
.filter-submit-button
{
.filter._main-page
.filter-submit-button
{
display
:
inline-block
;
display
:
inline-block
;
padding
:
22px
0
21
.5
px
;
padding
:
22px
0
21px
;
}
}
.filter._main-page
.filter-element._select
,
.filter._main-page
.filter-option
{
.filter._main-page
.filter-element._select
,
.filter._main-page
.filter-option
{
display
:
table-cell
;
display
:
table-cell
;
...
@@ -1254,6 +1254,7 @@ a[href^="tel:"] {
...
@@ -1254,6 +1254,7 @@ a[href^="tel:"] {
bottom
:
0
!important
;
bottom
:
0
!important
;
}
}
.filter-inner-wrap
{
.filter-inner-wrap
{
padding
:
10px
;
display
:
table-cell
;
display
:
table-cell
;
vertical-align
:
middle
;
vertical-align
:
middle
;
}
}
...
...
css/media.css
View file @
abf0730
...
@@ -427,4 +427,11 @@ span.project-info-specs-item{text-shadow:1px 1px 4px #fff , -1px -1px 4px #fff ,
...
@@ -427,4 +427,11 @@ span.project-info-specs-item{text-shadow:1px 1px 4px #fff , -1px -1px 4px #fff ,
.main-page
.container
{
padding-top
:
0
;}
.main-page
.container
{
padding-top
:
0
;}
.page-head._mp
.phone
{
display
:
none
;}
.page-head._mp
.phone
{
display
:
none
;}
.page-head._mp
.mp-head-text._bigger
{
margin-top
:
0
;}
.page-head._mp
.mp-head-text._bigger
{
margin-top
:
0
;}
}
@media
(
max-width
:
764px
)
{
.owl-carousel
,
.owl-carousel
{
height
:
250px
;
}
}
}
\ No newline at end of file
\ No newline at end of file
js/compiled.js
View file @
abf0730
...
@@ -15853,7 +15853,10 @@ $.validator.addMethod(
...
@@ -15853,7 +15853,10 @@ $.validator.addMethod(
function
blocksHeight
()
{
function
blocksHeight
()
{
var
v
=
App
.
height
()
;
var
v
=
App
.
height
()
;
if
(
$
(
'.container'
).
hasClass
(
'_top'
))
{
if
(
$
(
'.container'
).
hasClass
(
'_top'
)
&&
(
screen
.
width
<
764
))
{
v
=
320
;
}
else
{
v
=
App
.
height
();
v
=
App
.
height
();
}
}
...
@@ -16768,23 +16771,25 @@ function lazyCycle(container) {
...
@@ -16768,23 +16771,25 @@ function lazyCycle(container) {
wrapper
.
height
(
pageHead
.
height
());
wrapper
.
height
(
pageHead
.
height
());
}
}
function
bindKeyboardsControls
(
event
)
{
// function bindKeyboardsControls(event) {
//var activeGalleryControl = navItems.filter('._active');
// //var activeGalleryControl = navItems.filter('._active');
//var activeGallery = galleries.filter('[data-type="' + activeGalleryControl.data('type') + '"]');
// //var activeGallery = galleries.filter('[data-type="' + activeGalleryControl.data('type') + '"]');
//
//if (!activeGallery.length) return false;
// //if (!activeGallery.length) return false;
//
var
cycle
=
$
(
'.js-project-images'
);
// var cycle = $('.js-project-images');
if
(
!
cycle
.
length
)
return
false
;
// //if (!cycle.length) return false;
//
if
(
event
.
keyCode
===
37
)
{
// if (event.keyCode === 37){
cycle
.
cycle
(
'prev'
);
// alert('что-то')
}
else
if
(
event
.
keyCode
===
39
)
{
// cycle.cycle('prev');
cycle
.
cycle
(
'next'
);
// } else if (event.keyCode === 39) {
}
// alert('где-то')
// cycle.cycle('next');
// }
}
//
//
// }
function
init
()
{
function
init
()
{
galleries
.
each
(
function
()
{
galleries
.
each
(
function
()
{
...
@@ -16814,7 +16819,7 @@ function lazyCycle(container) {
...
@@ -16814,7 +16819,7 @@ function lazyCycle(container) {
App
.
win
.
on
(
'resize'
,
debounce
(
adjustWrapperHeight
,
40
)).
trigger
(
'resize'
);
App
.
win
.
on
(
'resize'
,
debounce
(
adjustWrapperHeight
,
40
)).
trigger
(
'resize'
);
}
}
App
.
win
.
on
(
'keyup'
,
bindKeyboardsControls
);
//
App.win.on('keyup', bindKeyboardsControls);
$
(
'.js-order-project'
).
fancybox
({
$
(
'.js-order-project'
).
fancybox
({
autoSize
:
false
,
autoSize
:
false
,
...
@@ -17161,18 +17166,35 @@ jQuery.event.special.dblclick = {
...
@@ -17161,18 +17166,35 @@ jQuery.event.special.dblclick = {
App
.
win
.
on
(
'resize'
,
updateHeight
).
trigger
(
'resize'
);
App
.
win
.
on
(
'resize'
,
updateHeight
).
trigger
(
'resize'
);
})(
jQuery
);
})(
jQuery
);
jQuery
(
document
.
documentElement
).
keyup
(
function
(
event
)
{
var
owl
=
jQuery
(
".project-gallery-items"
);
// handle cursor keys
if
(
event
.
keyCode
==
37
)
{
// go left
imagesContainer
.
prevAll
(
'.js-project-gallery-next'
);
}
else
if
(
event
.
keyCode
==
39
)
{
// go right
imagesContainer
.
prevAll
(
'.js-project-gallery-next'
);
}
});
\ No newline at end of file
\ No newline at end of file
//
// jQuery(document.documentElement).keyup(function (event) {
//
// var owl = jQuery(".project-gallery-items");
//
// // handle cursor keys
// if (event.keyCode == 37) {
// // go left
// imagesContainer.prevAll('.js-project-gallery-next');
// } else if (event.keyCode == 39) {
// // go right
// imagesContainer.prevAll('.js-project-gallery-next');
// }
//
// });
// jQuery(document.documentElement).keyup(function (event) {
//
//
// var cycle = $('.project-gallery-items');
// //if (!cycle.length) return false;
//
// if (event.keyCode == 37) {
// alert('что-то')
//
// cycle.cycle('prev');
// } else if (event.keyCode == 39) {
//
// cycle.cycle('next');
// }
//
//
// });
\ No newline at end of file
\ No newline at end of file
local/components/cpeople/project/templates/.default/detail-gallery.php
View file @
abf0730
<link
rel=
"stylesheet"
href=
"/css/owl.theme.css"
>
<link
rel=
"stylesheet"
href=
"/css/owl.theme.css"
>
<link
rel=
"stylesheet"
href=
"/css/owl.carousel.css"
>
<link
rel=
"stylesheet"
href=
"/css/owl.carousel.css"
>
<!-- <link rel="stylesheet" href="/css/scroll.css">
-->
<!-- <link rel="stylesheet" href="/css/scroll.css">
...
@@ -61,7 +61,7 @@ if($images) {
...
@@ -61,7 +61,7 @@ if($images) {
}
}
?>
?>
<i
class=
"flaticon-search"
id=
'previewer_toggle'
></i
>
<!-- <i class="flaticon-search" id='previewer_toggle'></i>--
>
<div
class=
"project-galleries"
id=
'object_head_gal'
>
<div
class=
"project-galleries"
id=
'object_head_gal'
>
<?
/*<nav class="project-galleries-nav">
<?
/*<nav class="project-galleries-nav">
...
@@ -92,9 +92,10 @@ $prevNum = 0; ?>
...
@@ -92,9 +92,10 @@ $prevNum = 0; ?>
<span
class=
"project-gallery-num-div"
>
/
</span>
<span
class=
"project-gallery-num-div"
>
/
</span>
<span
class=
"project-gallery-num-total js-total"
>
<?=
count
(
$arImage
[
'images'
])
?>
</span>
<span
class=
"project-gallery-num-total js-total"
>
<?=
count
(
$arImage
[
'images'
])
?>
</span>
</div>
</div>
<ul
class=
"project_slider"
>
<?
foreach
(
$arImage
[
'images'
]
as
$img
)
{
<ul
data-fancybox
class=
"project_slider"
>
<?
foreach
(
$arImage
[
'images'
]
as
$img
)
{
$ext
=
end
(
explode
(
'.'
,
$img
->
getUrl
()));
$ext
=
end
(
explode
(
'.'
,
$img
->
getUrl
()));
$previews
[
$prevNum
]
=
$img
;
$previews
[
$prevNum
]
=
$img
;
...
@@ -105,7 +106,7 @@ $prevNum = 0; ?>
...
@@ -105,7 +106,7 @@ $prevNum = 0; ?>
?>
?>
<li
class=
"project-gallery-item js-slide
<?
if
(
$img
->
isPlan
)
{
?>
_plan
<?
}
?>
"
style=
"background-image: url(
<?=
$img
->
getUrl
()
?>
)"
>
<li
class=
"project-gallery-item js-slide
<?
if
(
$img
->
isPlan
)
{
?>
_plan
<?
}
?>
"
style=
"background-image: url(
<?=
$img
->
getUrl
()
?>
)"
>
<?
}
elseif
(
$imgNumber
>=
2
and
$ext
!=
'mp4'
)
{
<?
}
elseif
(
$imgNumber
>=
2
and
$ext
!=
'mp4'
)
{
...
@@ -116,7 +117,7 @@ $prevNum = 0; ?>
...
@@ -116,7 +117,7 @@ $prevNum = 0; ?>
?>
?>
<li
class=
"project-gallery-item js-slide
<?
if
(
$img
->
isPlan
)
{
?>
_plan
<?
}
?>
"
data-original=
"
<?=
$img
->
getUrl
()
?>
"
style=
"background-image: url(/img/empty.png)"
>
<li
class=
"project-gallery-item js-slide
<?
if
(
$img
->
isPlan
)
{
?>
_plan
<?
}
?>
"
data-original=
"
<?=
$img
->
getUrl
()
?>
"
>
<?
}
?>
<?
}
?>
...
@@ -151,7 +152,7 @@ $prevNum = 0; ?>
...
@@ -151,7 +152,7 @@ $prevNum = 0; ?>
<img
alt=
"
<?=
(
$val
=
$img
->
getDescription
())
?
$val
:
$item
->
getImgAlt
(
$imgNumber
)
?>
"
src=
"
<?=
$img
->
getUrl
()
?>
"
style=
"display:none"
>
<img
alt=
"
<?=
(
$val
=
$img
->
getDescription
())
?
$val
:
$item
->
getImgAlt
(
$imgNumber
)
?>
"
src=
"
<?=
$img
->
getUrl
()
?>
"
style=
"display:none"
>
<?
}
?>
<?
}
?>
</li>
</li>
<?
<?
...
...
local/components/cpeople/project/templates/.default/detail.php
View file @
abf0730
...
@@ -8,7 +8,8 @@ $bedrooms = $item->getBedroomCount();
...
@@ -8,7 +8,8 @@ $bedrooms = $item->getBedroomCount();
$gallery
=
$item
->
getPreviewGallery
();
$gallery
=
$item
->
getPreviewGallery
();
?>
?>
<div
class=
"page-head _project js-full"
data-id=
"
<?=
$item
->
ID
?>
"
>
<div
class=
"page-head _project js-full"
data-id=
"
<?=
$item
->
ID
?>
"
style=
"height: 300px"
>
<div
class=
"phone"
itemscope
itemtype=
"http://schema.org/Organization"
>
<div
class=
"phone"
itemscope
itemtype=
"http://schema.org/Organization"
>
<span
itemprop=
"name"
style=
"display:none"
>
Stroy House
</span>
<span
itemprop=
"name"
style=
"display:none"
>
Stroy House
</span>
...
@@ -17,9 +18,14 @@ $gallery = $item->getPreviewGallery();
...
@@ -17,9 +18,14 @@ $gallery = $item->getPreviewGallery();
<span
itemprop=
"address"
style=
"display:none"
>
Россия, Москва, Селивёрстов переулок, 1А
</span>
<span
itemprop=
"address"
style=
"display:none"
>
Россия, Москва, Селивёрстов переулок, 1А
</span>
<a
href=
"tel:+7 (495) 645–44–30"
class=
"phone-value"
itemprop=
"telephone"
>
+7 (495) 645–44–30
</a>
<a
href=
"tel:+7 (495) 645–44–30"
class=
"phone-value"
itemprop=
"telephone"
>
+7 (495) 645–44–30
</a>
<span
itemprop=
"telephone"
style=
"display:none"
>
+7 (495) 645-44-34
</span>
<span
itemprop=
"telephone"
style=
"display:none"
>
+7 (495) 645-44-34
</span>
<a
href=
"/callback/"
class=
"phone-call"
>
Заказать звонок
</a>
<div
class=
"project js-project"
>
<a
href=
"#order_price"
class=
'phone-call js-order-project'
>
Заказать звонок
</a>
</div>
<?
$APPLICATION
->
IncludeComponent
(
'cpeople:form'
,
'callback'
)
?>
</div>
</div>
<div
class=
"path"
>
<div
class=
"path"
>
<ul
class=
"path-elements"
>
<ul
class=
"path-elements"
>
<li
class=
"path-elements-item"
><a
href=
"/"
>
Главная
</a></li>
<li
class=
"path-elements-item"
><a
href=
"/"
>
Главная
</a></li>
...
...
local/templates/main/footer.php
View file @
abf0730
...
@@ -44,9 +44,15 @@ if($detect->isMobile() || $detect->isTablet()){?>
...
@@ -44,9 +44,15 @@ if($detect->isMobile() || $detect->isTablet()){?>
<a
class=
"author"
href=
"price/design-cost/"
"
>
Цены
</a>
<a
class=
"author"
href=
"price/design-cost/"
"
>
Цены
</a>
<a
class=
"author"
href=
"/info/lumber/"
>
Полезная информация
</a>
<a
class=
"author"
href=
"/info/lumber/"
>
Полезная информация
</a>
<a
class=
"author"
href=
"/contacts/"
>
Контакты
</a>
<a
class=
"author"
href=
"/contacts/"
>
Контакты
</a>
<?
if
(
isset
(
$_COOKIE
[
'mobile'
]))
{
?>
<meta
name=
viewport
content=
"width=1024, initial-scale=0.1"
>
<?
}
else
{
?>
<meta
name=
viewport
content=
"width=device-width, initial-scale=1"
>
<?
}
?>
<?
if
(
isset
(
$_COOKIE
[
'mobile'
]))
{
?>
<meta
name=
viewport
content=
"width=1024, initial-scale=0.1"
>
<?
}
else
{
?>
<meta
name=
viewport
content=
"width=device-width, initial-scale=1"
>
<?
}
?>
<?
if
(
isset
(
$_COOKIE
[
'mobile'
])
and
$_COOKIE
[
'mobile'
]
==
"no"
)
{
?>
<a
class=
"author"
href=
""
onclick=
"SetCookie('mobile=yes', 0);"
>
На мобильную версию
</a>
<?
}
else
{
?>
<a
class=
"author"
href=
""
onclick=
"SetCookie('mobile=no', 30);"
>
На обычную версию
</a>
<?
}
?>
<?
if
(
isset
(
$_COOKIE
[
'mobile'
])
and
$_COOKIE
[
'mobile'
]
==
"no"
)
{
?>
<a
class=
"author"
href=
""
onclick=
"SetCookie('mobile=yes', 0);"
>
На мобильную версию
</a>
<?
}
else
{
?>
<a
class=
"author"
href=
""
onclick=
"SetCookie('mobile=no', 30);"
>
На обычную версию
</a>
<?
}
?>
<a
class=
"author"
>
Stroy House
</a>
<a
class=
"author"
>
info@s-h.ru
</a>
<!-- <a class="author">Россия, Московская область, Истринский район, Веледниково, улица Живописная, дом 25.</a>-->
<a
class=
"author"
>
Россия, Москва, Селивёрстов переулок, 1А
</a>
<a
class=
"author"
>
+7 (495) 645–44–30
</a>
<?
}
else
{
?>
<?
}
else
{
?>
<?
}
?>
<?
}
?>
...
@@ -68,6 +74,10 @@ if($detect->isMobile() || $detect->isTablet()){?>
...
@@ -68,6 +74,10 @@ if($detect->isMobile() || $detect->isTablet()){?>
<script>
if (screen.width<=768) {document.write('<link rel="stylesheet" href="/css/main.css?
<?=
filemtime
(
BASE_PATH
.
'/css/main.css'
)
?>
" id="
pre_load
">');document.body.style.display="
block
"
;}
</script>
<script>
if (screen.width<=768) {document.write('<link rel="stylesheet" href="/css/main.css?
<?=
filemtime
(
BASE_PATH
.
'/css/main.css'
)
?>
" id="
pre_load
">');document.body.style.display="
block
"
;}
</script>
<link
rel=
"stylesheet"
type=
'text/css'
href=
"/css/flaticon.css"
>
<link
rel=
"stylesheet"
type=
'text/css'
href=
"/css/flaticon.css"
>
<link
rel=
"stylesheet"
type=
'text/css'
href=
"/css/media.css"
>
<link
rel=
"stylesheet"
type=
'text/css'
href=
"/css/media.css"
>
<!--<link rel="stylesheet" href="/css/fansy3.2.1.css" />-->
<!--<script src="//code.jquery.com/jquery-3.2.1.min.js"></script>-->
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.1.20/jquery.fancybox.min.js"></script>-->
<script>
<script>
//Ставим Куки
//Ставим Куки
function
SetCookie
(
id
,
days
){
function
SetCookie
(
id
,
days
){
...
...
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