From: David ‘Bombe’ Roden Date: Tue, 19 Oct 2010 12:18:28 +0000 (+0200) Subject: Use straight logo, show desaturated logo when no Sone is logged in. X-Git-Tag: 0.1-RC1~195 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=d13fdb3e77f3ba2fed378c6a08709830cac835f2 Use straight logo, show desaturated logo when no Sone is logged in. --- diff --git a/src/main/resources/static/css/sone.css b/src/main/resources/static/css/sone.css index b0d0691..5a4b009 100644 --- a/src/main/resources/static/css/sone.css +++ b/src/main/resources/static/css/sone.css @@ -41,8 +41,22 @@ color: rgb(28, 131, 191); } -#sone #profile .picture { +#sone #profile.online .picture { float: left; + background-image: url("../images/sone.png"); + width: 80px; + height: 80px; +} + +#sone #profile.offline .picture { + float: left; + background-image: url("../images/sone-offline.png"); + width: 80px; + height: 80px; +} + +#sone #profile.offline .edit-profile-link, #sone #profile.offline .profile-link { + display: none; } #sone #profile .edit-profile-link { diff --git a/src/main/resources/static/images/sone-offline.png b/src/main/resources/static/images/sone-offline.png new file mode 100644 index 0000000..b10a4b7 Binary files /dev/null and b/src/main/resources/static/images/sone-offline.png differ diff --git a/src/main/resources/static/images/sone.png b/src/main/resources/static/images/sone.png index a104124..e9c189d 100644 Binary files a/src/main/resources/static/images/sone.png and b/src/main/resources/static/images/sone.png differ diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index 84af01a..9b27cc7 100644 --- a/src/main/resources/templates/include/head.html +++ b/src/main/resources/templates/include/head.html @@ -5,8 +5,8 @@