Skip to content

Commit

Permalink
fixed readmore
Browse files Browse the repository at this point in the history
  • Loading branch information
kawshar committed Dec 10, 2021
1 parent 9802780 commit 9dce80d
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 51 deletions.
58 changes: 29 additions & 29 deletions templates/shaper_helix3/css/presets/preset1.css
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
a {
color: #26aae1;
color: #124ceb;
}
a:hover {
color: #1a8bba;
color: #0e3dbc;
}
.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li:hover > a {
color: #26aae1;
color: #124ceb;
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover {
background: #26aae1;
background: #124ceb;
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item.active > a {
color: #26aae1;
color: #124ceb;
}
#offcanvas-toggler > i {
color: #000000;
}
#offcanvas-toggler > i:hover {
color: #26aae1;
color: #124ceb;
}
.btn-primary,
.sppb-btn-primary {
border-color: #1c98cc;
background-color: #26aae1;
border-color: #1043cf;
background-color: #124ceb;
}
.btn-primary:hover,
.sppb-btn-primary:hover {
border-color: #177aa4;
background-color: #1a8bba;
border-color: #0d35a4;
background-color: #0e3dbc;
}
ul.social-icons > li a:hover {
color: #26aae1;
color: #124ceb;
}
.sp-page-title {
background: #26aae1;
background: #124ceb;
}
.layout-boxed .body-innerwrapper {
background: #ffffff;
Expand All @@ -43,50 +43,50 @@ ul.social-icons > li a:hover {
color: #000000;
}
.sp-module ul > li > a:hover {
color: #26aae1;
color: #124ceb;
}
.sp-module .latestnews > div > a {
color: #000000;
}
.sp-module .latestnews > div > a:hover {
color: #26aae1;
color: #124ceb;
}
.sp-module .tagscloud .tag-name:hover {
background: #26aae1;
background: #124ceb;
}
.sp-simpleportfolio .sp-simpleportfolio-filter > ul > li.active > a,
.sp-simpleportfolio .sp-simpleportfolio-filter > ul > li > a:hover {
background: #26aae1;
background: #124ceb;
}
.search .btn-toolbar button {
background: #26aae1;
background: #124ceb;
}
.post-format {
background: #26aae1;
background: #124ceb;
}
.voting-symbol span.star.active:before {
color: #26aae1;
color: #124ceb;
}
.sp-rating span.star:hover:before,
.sp-rating span.star:hover ~ span.star:before {
color: #1a8bba;
color: #0e3dbc;
}
.entry-link,
.entry-quote {
background: #26aae1;
background: #124ceb;
}
blockquote {
border-color: #26aae1;
border-color: #124ceb;
}
.carousel-left:hover,
.carousel-right:hover {
background: #26aae1;
background: #124ceb;
}
#sp-footer {
background: #26aae1;
background: #124ceb;
}
.sp-comingsoon body {
background-color: #26aae1;
background-color: #124ceb;
}
.pagination > li > a,
.pagination > li > span {
Expand All @@ -100,13 +100,13 @@ blockquote {
}
.pagination > .active > a,
.pagination > .active > span {
border-color: #26aae1;
background-color: #26aae1;
border-color: #124ceb;
background-color: #124ceb;
}
.pagination > .active > a:hover,
.pagination > .active > a:focus,
.pagination > .active > span:hover,
.pagination > .active > span:focus {
border-color: #26aae1;
background-color: #26aae1;
border-color: #124ceb;
background-color: #124ceb;
}
38 changes: 19 additions & 19 deletions templates/shaper_helix3/css/template.css
Original file line number Diff line number Diff line change
Expand Up @@ -1859,7 +1859,7 @@ article.item {
}
.helix-social-share .helix-social-share-icon ul li div a:hover,
.helix-social-share .helix-social-share-icon ul li div a:focus {
background: #26aae1;
background: #124ceb;
color: #fff;
}
.view-article nav.pagenavigation > ul {
Expand Down Expand Up @@ -2095,7 +2095,7 @@ table.category tbody > tr td {
transition: 300ms;
}
.sp-pre-loader {
background: #e6a6a6;
background: #f5f5f5;
height: 100%;
left: 0;
position: fixed;
Expand All @@ -2104,7 +2104,7 @@ table.category tbody > tr td {
z-index: 99999;
}
.sp-pre-loader .sp-loader-clock {
border: 3px solid #a61dab;
border: 3px solid #333333;
border-radius: 60px;
bottom: 0;
height: 80px;
Expand All @@ -2118,7 +2118,7 @@ table.category tbody > tr td {
.sp-pre-loader .sp-loader-clock:after {
content: "";
position: absolute;
background-color: #a61dab;
background-color: #333333;
top: 2px;
left: 48%;
height: 38px;
Expand All @@ -2132,7 +2132,7 @@ table.category tbody > tr td {
.sp-pre-loader .sp-loader-clock:before {
content: "";
position: absolute;
background-color: #a61dab;
background-color: #333333;
top: 6px;
left: 48%;
height: 35px;
Expand All @@ -2148,7 +2148,7 @@ table.category tbody > tr td {
height: 80px;
width: 80px;
border-radius: 80px;
border: 3px solid rgba(166,29,171,0.7);
border: 3px solid rgba(51,51,51,0.7);
left: 0;
top: 0;
right: 0;
Expand All @@ -2167,7 +2167,7 @@ table.category tbody > tr td {
width: 11px;
height: 11px;
border-radius: 10px;
background-color: #a61dab;
background-color: #333333;
}
.sp-pre-loader .sp-loader-bubble-loop {
position: absolute;
Expand All @@ -2179,7 +2179,7 @@ table.category tbody > tr td {
bottom: 0;
margin: auto;
border-radius: 12px;
background-color: #a61dab;
background-color: #333333;
-webkit-transform-origin: 50% 50%;
transform-origin: 50% 50%;
-webkit-animation: loader6 1s ease-in-out infinite;
Expand All @@ -2188,7 +2188,7 @@ table.category tbody > tr td {
.sp-pre-loader .sp-loader-bubble-loop:before {
content: "";
position: absolute;
background-color: rgba(166,29,171,0.5);
background-color: rgba(51,51,51,0.5);
top: 0px;
left: -25px;
height: 12px;
Expand All @@ -2198,7 +2198,7 @@ table.category tbody > tr td {
.sp-pre-loader .sp-loader-bubble-loop:after {
content: "";
position: absolute;
background-color: rgba(166,29,171,0.5);
background-color: rgba(51,51,51,0.5);
top: 0px;
left: 25px;
height: 12px;
Expand All @@ -2221,7 +2221,7 @@ table.category tbody > tr td {
content: "";
display: block;
border-radius: 50%;
border: 2px solid #a61dab;
border: 2px solid #333333;
position: absolute;
top: 50%;
left: 50%;
Expand Down Expand Up @@ -2273,7 +2273,7 @@ table.category tbody > tr td {
position: absolute;
width: 2px;
height: 0;
background-color: #a61dab;
background-color: #333333;
bottom: 0;
}
.sp-pre-loader .wave-two li:nth-child(1) {
Expand Down Expand Up @@ -2309,7 +2309,7 @@ table.category tbody > tr td {
.sp-pre-loader .sp-loader-audio-wave {
width: 3em;
height: 2em;
background: linear-gradient(#a61dab,#a61dab) 0 50%, linear-gradient(#a61dab,#a61dab) 0.625em 50%, linear-gradient(#a61dab,#a61dab) 1.25em 50%, linear-gradient(#a61dab,#a61dab) 1.875em 50%, linear-gradient(#a61dab,#a61dab) 2.5em 50%;
background: linear-gradient(#333333,#333333) 0 50%, linear-gradient(#333333,#333333) 0.625em 50%, linear-gradient(#333333,#333333) 1.25em 50%, linear-gradient(#333333,#333333) 1.875em 50%, linear-gradient(#333333,#333333) 2.5em 50%;
background-repeat: no-repeat;
background-size: 0.5em 0.25em, 0.5em 0.25em, 0.5em 0.25em, 0.5em 0.25em, 0.5em 0.25em;
animation: audioWave 1.5s linear infinite;
Expand All @@ -2336,7 +2336,7 @@ table.category tbody > tr td {
width: auto;
}
.sp-pre-loader .sp-loader-with-logo .line {
background: #a61dab;
background: #333333;
bottom: 0;
height: 5px;
left: 0;
Expand Down Expand Up @@ -2429,27 +2429,27 @@ table.category tbody > tr td {
}
@keyframes audioWave {
25% {
background: linear-gradient(#a61dab,#a61dab) 0 50%, linear-gradient(#a61dab,#a61dab) 0.625em 50%, linear-gradient(#a61dab,#a61dab) 1.25em 50%, linear-gradient(#a61dab,#a61dab) 1.875em 50%, linear-gradient(#a61dab,#a61dab) 2.5em 50%;
background: linear-gradient(#333333,#333333) 0 50%, linear-gradient(#333333,#333333) 0.625em 50%, linear-gradient(#333333,#333333) 1.25em 50%, linear-gradient(#333333,#333333) 1.875em 50%, linear-gradient(#333333,#333333) 2.5em 50%;
background-repeat: no-repeat;
background-size: 0.5em 2em, 0.5em 0.25em, 0.5em 0.25em, 0.5em 0.25em, 0.5em 0.25em;
}
37.5% {
background: linear-gradient(#a61dab,#a61dab) 0 50%, linear-gradient(#a61dab,#a61dab) 0.625em 50%, linear-gradient(#a61dab,#a61dab) 1.25em 50%, linear-gradient(#a61dab,#a61dab) 1.875em 50%, linear-gradient(#a61dab,#a61dab) 2.5em 50%;
background: linear-gradient(#333333,#333333) 0 50%, linear-gradient(#333333,#333333) 0.625em 50%, linear-gradient(#333333,#333333) 1.25em 50%, linear-gradient(#333333,#333333) 1.875em 50%, linear-gradient(#333333,#333333) 2.5em 50%;
background-repeat: no-repeat;
background-size: 0.5em 0.25em, 0.5em 2em, 0.5em 0.25em, 0.5em 0.25em, 0.5em 0.25em;
}
50% {
background: linear-gradient(#a61dab,#a61dab) 0 50%, linear-gradient(#a61dab,#a61dab) 0.625em 50%, linear-gradient(#a61dab,#a61dab) 1.25em 50%, linear-gradient(#a61dab,#a61dab) 1.875em 50%, linear-gradient(#a61dab,#a61dab) 2.5em 50%;
background: linear-gradient(#333333,#333333) 0 50%, linear-gradient(#333333,#333333) 0.625em 50%, linear-gradient(#333333,#333333) 1.25em 50%, linear-gradient(#333333,#333333) 1.875em 50%, linear-gradient(#333333,#333333) 2.5em 50%;
background-repeat: no-repeat;
background-size: 0.5em 0.25em, 0.5em 0.25em, 0.5em 2em, 0.5em 0.25em, 0.5em 0.25em;
}
62.5% {
background: linear-gradient(#a61dab,#a61dab) 0 50%, linear-gradient(#a61dab,#a61dab) 0.625em 50%, linear-gradient(#a61dab,#a61dab) 1.25em 50%, linear-gradient(#a61dab,#a61dab) 1.875em 50%, linear-gradient(#a61dab,#a61dab) 2.5em 50%;
background: linear-gradient(#333333,#333333) 0 50%, linear-gradient(#333333,#333333) 0.625em 50%, linear-gradient(#333333,#333333) 1.25em 50%, linear-gradient(#333333,#333333) 1.875em 50%, linear-gradient(#333333,#333333) 2.5em 50%;
background-repeat: no-repeat;
background-size: 0.5em 0.25em, 0.5em 0.25em, 0.5em 0.25em, 0.5em 2em, 0.5em 0.25em;
}
75% {
background: linear-gradient(#a61dab,#a61dab) 0 50%, linear-gradient(#a61dab,#a61dab) 0.625em 50%, linear-gradient(#a61dab,#a61dab) 1.25em 50%, linear-gradient(#a61dab,#a61dab) 1.875em 50%, linear-gradient(#a61dab,#a61dab) 2.5em 50%;
background: linear-gradient(#333333,#333333) 0 50%, linear-gradient(#333333,#333333) 0.625em 50%, linear-gradient(#333333,#333333) 1.25em 50%, linear-gradient(#333333,#333333) 1.875em 50%, linear-gradient(#333333,#333333) 2.5em 50%;
background-repeat: no-repeat;
background-size: 0.5em 0.25em, 0.5em 0.25em, 0.5em 0.25em, 0.5em 0.25em, 0.5em 2em;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@
echo JHtml::_('string.truncate', ($item->title), $params->get('readmore_limit'));
endif;
elseif ($params->get('show_readmore_title', 0) == 0) :
echo JText::sprintf(JVERSION < 4 ? 'COM_CONTENT_READ_MORE_TITLE' : 'JGLOBAL_READ_MORE_TITLE', JHtml::_('string.truncate', ($item->title), $params->get('readmore_limit')));
echo JText::_(JVERSION < 4 ? 'COM_CONTENT_READ_MORE' : 'JGLOBAL_READ_MORE');
else :
echo JText::_('COM_CONTENT_READ_MORE');
echo JHtml::_('string.truncate', ($item->title), $params->get('readmore_limit'));
echo JText::sprintf(JVERSION < 4 ? 'COM_CONTENT_READ_MORE_TITLE' : 'JGLOBAL_READ_MORE_TITLE', JHtml::_('string.truncate', ($item->title), $params->get('readmore_limit')));
endif; ?>
</a>
</p>

0 comments on commit 9dce80d

Please sign in to comment.