Adjust color of hyperlinks on black/grey themes
This commit is contained in:
parent
ab7ab0a582
commit
8962caabab
Binary file not shown.
|
@ -1438,6 +1438,7 @@ function updateDisplay(data) {
|
|||
function isOverflown(element){
|
||||
return element.scrollHeight > element.clientHeight || element.scrollWidth > element.clientWidth;
|
||||
}
|
||||
|
||||
function truncateDescriptions() {
|
||||
$(".cardDescription").each(function() {
|
||||
if ( ! $(this).attr("data-originalDescription") )
|
||||
|
@ -1449,9 +1450,6 @@ function truncateDescriptions() {
|
|||
while ( isOverflown(this) ) {
|
||||
newDescription = newDescription.slice(0,-5);
|
||||
$(this).html(newDescription + " ... <span class='myReadmoreButton'><?=tr("Read more");?></span>");
|
||||
if ( ! isOverflown(this) ) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
767d6f2203fed9541daeb57bbf7b58b3 ./Apps.page
|
||||
83b3f89cd42e8601c7c217d5b4889c81 ./CA_notices.page
|
||||
eb090f86c812affb950c6d438d3ad962 ./CommunityApps.page
|
||||
8a83f758f3093a0f07e0cbe26dc0d442 ./CommunityApps.page
|
||||
6db73582f22dab13d329e862067ee84e ./PluginAPI.page
|
||||
b398273cf7daa62ab00d2de2336ca25f ./README.md
|
||||
a9d4cd0e4e1f37cbe3806b952a96ddb1 ./ca_settings.page
|
||||
|
@ -15,7 +15,7 @@ a9d4cd0e4e1f37cbe3806b952a96ddb1 ./ca_settings.page
|
|||
d7f50413cbaac1c6cb9ceaaef48f270a ./include/helpers.php
|
||||
8f1129e0cdb994c6d1900192252433d8 ./include/paths.php
|
||||
eb76c1b6ed3da5e5b393f22d2ec18430 ./javascript/libraries.js
|
||||
7fbdaa40dbb3e0f9ca41a9015590eeb6 ./skins/Narrow/css.php
|
||||
cf672706eeb16e8adcff765951877e4e ./skins/Narrow/css.php
|
||||
944beab17894885ed9ae22db3920a054 ./skins/Narrow/skin.html
|
||||
d975e0703c7a5ded05c77632da3dbdb1 ./skins/Narrow/skin.php
|
||||
38d1f40cbc64eed32cdb3292e1ec1f6e ./scripts/PluginAPI.php
|
||||
|
|
|
@ -35,6 +35,7 @@ switch ($theme) {
|
|||
$watermarkColor = "rgba(43, 43, 43, 0.4)";
|
||||
$tooltipsterBackground = "linear-gradient(90deg,#303030 0,#707070)";
|
||||
$tooltipsterContent = "#f2f2f2";
|
||||
$aColor = "#000000";
|
||||
break;
|
||||
case 'white':
|
||||
$donateBackground = "#1c1b1b";
|
||||
|
@ -46,6 +47,7 @@ switch ($theme) {
|
|||
$watermarkColor = "rgba(211, 211, 211, 0.8)";
|
||||
$tooltipsterBackground = "linear-gradient(90deg,#e2e2e2 0,#f2f2f2)";
|
||||
$tooltipsterContent = "#101010";
|
||||
$aColor = "#486dba";
|
||||
break;
|
||||
case 'azure':
|
||||
$donateBackground = "#606e7f";
|
||||
|
@ -57,6 +59,7 @@ switch ($theme) {
|
|||
$watermarkColor = "rgba(96, 110, 127, 0.1)";
|
||||
$tooltipsterBackground = "linear-gradient(90deg,#e2e2e2 0,#f2f2f2)";
|
||||
$tooltipsterContent = "#101010";
|
||||
$aColor = "#486dba";
|
||||
break;
|
||||
case 'gray':
|
||||
$donateBackground = "#606e7f";
|
||||
|
@ -68,6 +71,7 @@ switch ($theme) {
|
|||
$watermarkColor = "rgba(96, 110, 127, 0.1)";
|
||||
$tooltipsterBackground = "linear-gradient(90deg,#303030 0,#707070)";
|
||||
$tooltipsterContent = "#f2f2f2";
|
||||
$aColor = "#000000";
|
||||
break;
|
||||
// Use settings for black as a fallback
|
||||
default:
|
||||
|
@ -84,6 +88,7 @@ switch ($theme) {
|
|||
}
|
||||
?>
|
||||
.tooltipster-box{background:<?=$tooltipsterBackground?>!important}
|
||||
a {color:<?=$aColor?>;}
|
||||
.tooltipster-content{color:<?=$tooltipsterContent?>!important}
|
||||
body.stop-scrolling{height:70%;overflow:inherit;} /* disable SweetAlert killing the scroll bar ( stops the wiggle ) */
|
||||
.sweet-alert table{margin-top:0px}
|
||||
|
@ -107,6 +112,7 @@ a.ca_applicationName {text-decoration:none;color:inherit;}
|
|||
.ca_author {cursor:pointer;font-size:1rem;font-style:italic;}
|
||||
a.ca_author {text-decoration:none;color:inherit;}
|
||||
.ca_categoryLink {color:<?=$linkColor?>;font-weight:normal;}
|
||||
.moderationLink {color:<?=$linkColor?>;font-weight:normal;}
|
||||
a.ca_categoryLink {text-decoration:none;color:inherit;}
|
||||
.ca_descriptionArea {margin:1rem;width:auto;height:6rem;position:relative;margin-top:-11rem;}
|
||||
.ca_descriptionAreaRepository {margin:1rem;width:auto;height:6rem;position:relative;margin-top:-12rem;}
|
||||
|
@ -288,7 +294,7 @@ a.popup-donate:hover {color:<?=$donateText?>;background-color:<?=$unRaid66color?
|
|||
#searchBox{top:-0.6rem;padding:0.6rem;}
|
||||
.searchSubmit{height:3.4rem;}
|
||||
<?endif;?>
|
||||
.popUpLink {cursor:pointer;}
|
||||
.popUpLink {cursor:pointer;color:<?$aColor?>;}
|
||||
a.popUpLink {text-decoration:none;}
|
||||
a.popUpLink:hover {color:<?=$unRaid66color?>;}
|
||||
.popUpDeprecated {color:#FF8C2F;}
|
||||
|
|
Loading…
Reference in New Issue
Block a user