Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Yokihito Oki
/
kanoya-univercity-prod
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
7dd11a7c
authored
2020-07-17 18:18:57 +0900
by
root
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
コロナページ対応
1 parent
f6d49d07
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
59 additions
and
1 deletions
modules/mod_articles_category/tmpl/default.php
templates/protostar/css/covid-19.css
templates/protostar/css/template.css
modules/mod_articles_category/tmpl/default.php
View file @
7dd11a7
...
...
@@ -176,7 +176,21 @@ $catid = JRequest::getInt('catid');
}
}
else
{
//TOP以外
?>
<?php
if
(
$moduleclass_sfx
==
'covid-19-students'
||
$moduleclass_sfx
==
'covid-19-staff'
)
{
?>
<span
class=
"mod-articles-category-category cat
<?php
echo
$item
->
catid
;
?>
"
>
<?php
echo
$item
->
displayCategoryTitle
;
?>
</span>
<?php
if
(
$new
==
1
)
{
echo
'<div class="icon_new">NEW</div>'
;
}
?>
<?php
}
?>
<?php
if
(
$item
->
displayCategoryTitle
)
:
?>
<span
class=
"mod-articles-category-category cat
<?php
echo
$item
->
catid
;
?>
"
>
<?php
echo
$item
->
displayCategoryTitle
;
?>
...
...
templates/protostar/css/covid-19.css
0 → 100644
View file @
7dd11a7
.btn_covid-19_info_all
{
text-align
:
right
;
margin-bottom
:
10px
;
}
.btn_covid-19_info_all
a
:link
,
.btn_covid-19_info_all
a
:active
,
.btn_covid-19_info_all
a
:hover
,
.btn_covid-19_info_all
a
:visited
{
display
:
inline-block
;
color
:
#fff
!important
;
background-color
:
#009fa8
;
color
:
#fff
;
margin
:
0
0
8px
8px
;
padding
:
1.5px
15px
1.5px
;
font-size
:
85%
;
border-radius
:
5px
;
}
.newsbox
ul
li
{
display
:
flex
;
flex-flow
:
row
wrap
;
}
.newsbox.covid-19
.icon_new
,
.newsbox.covid-19
.txt
{
margin-left
:
8px
;
}
.newsbox.covid-19
.icon_new
{
background-color
:
#cd0e0e
;
color
:
#fff
;
border-radius
:
5px
;
font-size
:
76%
;
letter-spacing
:
0
;
text-align
:
center
;
margin-bottom
:
3px
;
margin-top
:
5px
;
line-height
:
1.1
;
padding-bottom
:
2px
;
padding-top
:
3px
;
width
:
80px
;
}
\ No newline at end of file
templates/protostar/css/template.css
View file @
7dd11a7
...
...
@@ -3,6 +3,7 @@
@import
url('meganavi.css')
;
@import
url('tabmenu.css')
;
@import
url('fontsize.css')
;
@import
url('covid-19.css')
;
article
,
...
...
Write
Preview
Styling with
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