Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taskonsite-архив-перенесен
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitry Korolev
taskonsite-архив-перенесен
Commits
fb500101
Commit
fb500101
authored
Nov 21, 2018
by
Ruslan Karimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#2425. Доработка вывода подзаголовков
parent
0c22a09d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
5 deletions
+14
-5
frontend/views/layouts/block/business-cases.php
frontend/views/layouts/block/business-cases.php
+6
-4
frontend/web/css/screen.css
frontend/web/css/screen.css
+8
-1
No files found.
frontend/views/layouts/block/business-cases.php
View file @
fb500101
...
...
@@ -24,9 +24,11 @@ $models = CaseContent::find()
<a
href=
"
<?=
$model
->
getPreparedUrl
()
?>
"
class=
"keys_block_small"
>
<img
src=
"
<?=
$model
->
preview
?>
"
height=
"338"
width=
"455"
>
<div
class=
"keys_small_title"
<?php
if
(
$model
->
custom
==
CoContent
::
CUSTOM_WHITE
){
?>
style=
"color:#fff;"
<?php
}
?>
>
<
?=
$model
->
lang
->
title
?
>
<
span
class=
"case_w_background"
>
<?=
$model
->
lang
->
title
?>
</span
>
<div
class=
"case_subtitle"
>
<?=
$model
->
lang
->
subtitle
?>
<span
class=
"case_w_background"
>
<?=
$model
->
lang
->
subtitle
?>
</span>
</div>
</div>
<div
class=
"keys_small_foot"
>
...
...
@@ -45,9 +47,9 @@ $models = CaseContent::find()
<img
class=
"img_sm"
src=
"
<?=
$model
->
preview_mob
?>
"
height=
"338"
width=
"455"
>
<?php
endif
;
?>
<div
class=
"keys_small_title"
<?php
if
(
$model
->
custom
==
CoContent
::
CUSTOM_WHITE
){
?>
style=
"color:#fff;"
<?php
}
?>
>
<
?=
$model
->
lang
->
title
?
>
<
span
class=
"case_w_background"
>
<?=
$model
->
lang
->
title
?>
</span
>
<div
class=
"case_subtitle"
>
<
?=
$model
->
lang
->
subtitle
?
>
<
span
class=
"case_w_background"
>
<?=
$model
->
lang
->
subtitle
?>
</span
>
</div>
</div>
<div
class=
"keys_small_foot"
>
...
...
frontend/web/css/screen.css
View file @
fb500101
...
...
@@ -13689,7 +13689,14 @@ a.appl_btn {
.case_subtitle
{
font-size
:
18px
;
font-weight
:
normal
;
margin-top
:
40px
;
margin-top
:
30px
;
}
.case_w_background
{
display
:
inline-block
;
color
:
#000000
!important
;
background-color
:
rgba
(
248
,
248
,
249
,
0.9
);
padding
:
10px
20px
;
}
@media
only
screen
and
(
min-width
:
768px
)
and
(
max-width
:
970px
)
{
.appl_par
{
...
...
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