From 8bad0673b32c80424caae121fd3f4423e706bcb9 Mon Sep 17 00:00:00 2001 From: Titouan Lorieul Date: Fri, 13 Sep 2013 09:47:57 +0200 Subject: [PATCH 1/3] Add a white background to images shown in the lightbox Fixes issue #4475 --- Changelog.md | 1 + app/assets/stylesheets/lightbox.css.scss | 1 + 2 files changed, 2 insertions(+) diff --git a/Changelog.md b/Changelog.md index 966038fcb..f309cf228 100644 --- a/Changelog.md +++ b/Changelog.md @@ -18,6 +18,7 @@ * Make I18n system more robust against missing keys in pluralization data * Prevent overflow of too long strings in the single post view [#4487](https://github.com/diaspora/diaspora/pull/4487) * Disable submit button in sign up form after submission to avoid email already exists error [#4506](https://github.com/diaspora/diaspora/issues/4506) +* Add a white background to images shown in the lightbox [#4475](https://github.com/diaspora/diaspora/issues/4475) ## Features * Add oEmbed content to the mobile view [#4343](https://github.com/diaspora/diaspora/pull/4353) diff --git a/app/assets/stylesheets/lightbox.css.scss b/app/assets/stylesheets/lightbox.css.scss index 1d8195870..8146a0acd 100644 --- a/app/assets/stylesheets/lightbox.css.scss +++ b/app/assets/stylesheets/lightbox.css.scss @@ -30,6 +30,7 @@ top: 0; display: block; margin-bottom: 120px; + background: white; } #lightbox-content{ From 1aca1e1e51f524dda7731daeb7d576faab996a8c Mon Sep 17 00:00:00 2001 From: Titouan Lorieul Date: Mon, 16 Sep 2013 14:18:37 +0200 Subject: [PATCH 2/3] Add a white background to the images shown in the navigation bar of the lightbox --- app/assets/stylesheets/lightbox.css.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/stylesheets/lightbox.css.scss b/app/assets/stylesheets/lightbox.css.scss index 8146a0acd..5747b1005 100644 --- a/app/assets/stylesheets/lightbox.css.scss +++ b/app/assets/stylesheets/lightbox.css.scss @@ -113,6 +113,7 @@ &.selected{ @include opacity(1); + background-color: white; } } } From b53c207477a4ab5c8d3aff8f964ca12f4511cb4f Mon Sep 17 00:00:00 2001 From: Titouan Lorieul Date: Mon, 16 Sep 2013 18:35:38 +0200 Subject: [PATCH 3/3] Add a white background to ALL the images in the navigation bar of the lightbox --- app/assets/stylesheets/lightbox.css.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/stylesheets/lightbox.css.scss b/app/assets/stylesheets/lightbox.css.scss index 5747b1005..b5aca7a19 100644 --- a/app/assets/stylesheets/lightbox.css.scss +++ b/app/assets/stylesheets/lightbox.css.scss @@ -106,6 +106,7 @@ width: 70px; margin-right: 5px; cursor: pointer; + background-color: white; &:last-child{ margin-right: 0; @@ -113,7 +114,6 @@ &.selected{ @include opacity(1); - background-color: white; } } }