"No public albums" now easier to read #205

This commit is contained in:
Tobias Reich 2014-08-16 22:24:45 +02:00
parent f3bee9f4d5
commit 328bcd7c43
6 changed files with 11 additions and 10 deletions

View File

@ -229,7 +229,7 @@
left: 50%; left: 50%;
height: 160px; height: 160px;
width: 180px; width: 180px;
margin-top: -80px; margin-top: -60px;
margin-left: -90px; margin-left: -90px;
padding-top: 20px; padding-top: 20px;
color: rgba(20, 20, 20, 1); color: rgba(20, 20, 20, 1);
@ -237,8 +237,9 @@
text-align: center; text-align: center;
} }
.no_content .icon { .no_content .icon {
font-size: 120px; font-size: 80px;
} }
.no_content p { .no_content p {
font-size: 18px; font-size: 18px;
font-weight: bold;
} }

View File

@ -139,9 +139,9 @@ build = {
no_content += "<div class='no_content fadeIn'>"; no_content += "<div class='no_content fadeIn'>";
no_content += "<a class='icon icon-" + typ + "'></a>"; no_content += "<a class='icon icon-" + typ + "'></a>";
if (typ==="search") no_content += "<p>No results</p>"; if (typ==="search") no_content += "<p>No results</p>";
else if (typ==="picture") no_content += "<p>No public albums</p>"; else if (typ==="share") no_content += "<p>No public albums</p>";
else if (typ==="cog") no_content += "<p>No Configuration!</p>"; else if (typ==="cog") no_content += "<p>No configuration</p>";
no_content += "</div>"; no_content += "</div>";

View File

@ -146,7 +146,7 @@ view = {
if (smartData===""&&albumsData==="") { if (smartData===""&&albumsData==="") {
lychee.content.html(''); lychee.content.html('');
$("body").append(build.no_content("picture")); $("body").append(build.no_content("share"));
} else { } else {
lychee.content.html(smartData + albumsData); lychee.content.html(smartData + albumsData);
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long