Commit a329ccb8 by farax

css

parent f23b98fc
<%@page import="com.liferay.document.library.kernel.model.DLFileShortcut"%>
<%@page import="com.liferay.document.library.kernel.util.PDFProcessorUtil"%> <%@page import="com.liferay.document.library.kernel.util.PDFProcessorUtil"%>
<%@page import="com.liferay.portal.kernel.dao.search.SearchContainer"%> <%@page import="com.liferay.portal.kernel.dao.search.SearchContainer"%>
<%@ include file="init.jsp" %> <%@ include file="init.jsp" %>
...@@ -34,13 +35,33 @@ ...@@ -34,13 +35,33 @@
</style> </style>
<% <%
FileEntry fileEntryPDF = null;
Folder subFolderPDF = null;
%>
<%
if (assetPublisherDisplayContext.isallLevelsPDF()) { if (assetPublisherDisplayContext.isallLevelsPDF()) {
for (Object folderAndFileEntryAndFileShortcut: foldersAndFileEntriesAndFileShortcuts) {
if (folderAndFileEntryAndFileShortcut instanceof FileEntry) {
fileEntryPDF = (FileEntry) folderAndFileEntryAndFileShortcut;
%> %>
<div class="text-justify"> <div class="text-justify">
<%= "rrrrrrrrrrrrrrrrrrr" %><br> <%= "file="+fileEntryPDF.getFileName() %><br>
</div> </div>
<% <%
} else if (folderAndFileEntryAndFileShortcut instanceof Folder) {
subFolderPDF = (Folder) folderAndFileEntryAndFileShortcut;
%>
<div class="text-justify">
<a href="">
<%= subFolderPDF.getName() %>
</a>
</div>
<% }
}
}else{ }else{
%> %>
......
...@@ -1205,4 +1205,177 @@ body.oldDesign{ ...@@ -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;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment