Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sbsoft
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ildar Safiullin
sbsoft
Commits
a329ccb8
Commit
a329ccb8
authored
Apr 27, 2018
by
farax
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
css
parent
f23b98fc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
198 additions
and
4 deletions
+198
-4
modules/video-news/src/main/resources/META-INF/resources/view.jsp
+25
-4
themes/cis-theme/src/css/_custom.scss
+173
-0
No files found.
modules/video-news/src/main/resources/META-INF/resources/view.jsp
View file @
a329ccb8
<%@page import="com.liferay.document.library.kernel.model.DLFileShortcut"%>
<%@page import="com.liferay.document.library.kernel.util.PDFProcessorUtil"%>
<%@page import="com.liferay.portal.kernel.dao.search.SearchContainer"%>
<%@ include file="init.jsp" %>
...
...
@@ -34,13 +35,33 @@
</style>
<%
if (assetPublisherDisplayContext.isallLevelsPDF()) {
FileEntry fileEntryPDF = null;
Folder subFolderPDF = null;
%>
<%
if (assetPublisherDisplayContext.isallLevelsPDF()) {
for (Object folderAndFileEntryAndFileShortcut: foldersAndFileEntriesAndFileShortcuts) {
if (folderAndFileEntryAndFileShortcut instanceof FileEntry) {
fileEntryPDF = (FileEntry) folderAndFileEntryAndFileShortcut;
%>
<div class="text-justify">
<%= "rrrrrrrrrrrrrrrrrrr"
%><br>
</div>
<div class="text-justify">
<%= "file="+fileEntryPDF.getFileName()
%><br>
</div>
<%
} else if (folderAndFileEntryAndFileShortcut instanceof Folder) {
subFolderPDF = (Folder) folderAndFileEntryAndFileShortcut;
%>
<div class="text-justify">
<a href="">
<%= subFolderPDF.getName() %>
</a>
</div>
<% }
}
}else{
%>
...
...
themes/cis-theme/src/css/_custom.scss
View file @
a329ccb8
...
...
@@ -1205,4 +1205,177 @@ body.oldDesign{
}
/* test */
.publication_navigation_main
{
ul
.level-1
{
list-style-type
:
none
;
padding-left
:
0
;
line-height
:
2
.5
;
}
ul
.level-2
{
list-style-type
:
none
;
padding-left
:
25px
;
line-height
:
1
.5
;
font-size
:
11px
;
}
}
.publication_navigation_main_2
{
ul
.level-1
{
list-style-type
:
none
;
padding-left
:
0
;
line-height
:
2
.5
;
font-size
:
11px
;
}
}
.publication_navigation_main_3
{
ul
.level-1
{
list-style-type
:
none
;
padding-left
:
0
;
line-height
:
2
.5
;
text-decoration
:
underline
;
}
}
/* Меня навигации */
.portlet-boundary_com_liferay_site_navigation_menu_web_portlet_SiteNavigationMenuPortlet_
section
.portlet-content
{
padding
:
0
;
h2
{
border-bottom
:
1px
;
border-bottom-style
:
solid
;
padding-bottom
:
15px
;
margin-bottom
:
10px
;
border-bottom-color
:
#c1c1c1
;
margin-top
:
15px
;
padding-left
:
15px
;
}
.portlet-body
{
padding-left
:
15px
;
}
}
/* Публикация */
.portlet-boundary_com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_
section
.portlet-content
{
padding
:
0
;
h2
{
border-bottom
:
1px
;
border-bottom-style
:
solid
;
padding-bottom
:
15px
;
margin-bottom
:
10px
;
border-bottom-color
:
#c1c1c1
;
margin-top
:
15px
;
padding-left
:
15px
;
}
.portlet-body
{
padding-left
:
15px
;
}
}
.publication_new_content
{
li
{
float
:
unset
;
.cis-text-color
{
font-size
:
11px
;
}
}
.card
{
border-style
:
none
;
.aspect-ratio-bg-cover
{
background-size
:
100%
100%
;
padding-bottom
:
150%
;
}
}
.note
{
font-size
:
10px
;
color
:
#004376
;
}
li
.col-md-4
{
width
:
32
.7%
;
height
:
400px
;
}
}
/* отображение сетевого контента */
.portlet-boundary_com_liferay_journal_content_web_portlet_JournalContentPortlet_
section
.portlet-content
{
padding
:
0
;
h2
{
border-bottom
:
1px
;
border-bottom-style
:
solid
;
padding-bottom
:
15px
;
margin-bottom
:
10px
;
border-bottom-color
:
#c1c1c1
;
margin-top
:
15px
;
padding-left
:
15px
;
}
.portlet-body
{
padding-left
:
15px
;
}
}
/* Медиа галерея */
.portlet-boundary_com_liferay_document_library_web_portlet_IGDisplayPortlet_
section
.portlet-content
{
padding
:
0
;
h2
{
border-bottom
:
1px
;
border-bottom-style
:
solid
;
padding-bottom
:
15px
;
margin-bottom
:
10px
;
border-bottom-color
:
#c1c1c1
;
margin-top
:
15px
;
padding-left
:
15px
;
}
.portlet-body
{
padding-left
:
15px
;
}
}
/* Видео новости типа который ПДФ */
.portlet-boundary_VideoNews_
section
.portlet-content
{
padding
:
0
;
h2
{
border-bottom
:
1px
;
border-bottom-style
:
solid
;
padding-bottom
:
15px
;
margin-bottom
:
10px
;
border-bottom-color
:
#c1c1c1
;
margin-top
:
15px
;
padding-left
:
15px
;
}
.portlet-body
{
padding-left
:
15px
;
}
}
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