From c91cb5c59d035567d50f2d48f08ff3e0fdf9606c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Barrag=C3=A1n=20Merino?= Date: Mon, 3 Nov 2014 13:29:01 +0100 Subject: [PATCH] Remove a unused lightbox --- app/partials/user-profile.jade | 3 --- .../views/modules/lightbox-use-gravatar.jade | 11 -------- app/styles/modules/common/lightbox.scss | 27 ------------------- 3 files changed, 41 deletions(-) delete mode 100644 app/partials/views/modules/lightbox-use-gravatar.jade diff --git a/app/partials/user-profile.jade b/app/partials/user-profile.jade index d675501e..263fa76f 100644 --- a/app/partials/user-profile.jade +++ b/app/partials/user-profile.jade @@ -61,6 +61,3 @@ block content ng-click="ctrl.openDeleteLightbox()") Delete Taiga account div.lightbox.lightbox-delete-account.hidden(tg-lb-delete-user) - - div.lightbox.lightbox-confirm-use-gravatar.hidden - include views/modules/lightbox-use-gravatar diff --git a/app/partials/views/modules/lightbox-use-gravatar.jade b/app/partials/views/modules/lightbox-use-gravatar.jade deleted file mode 100644 index 464d9e9e..00000000 --- a/app/partials/views/modules/lightbox-use-gravatar.jade +++ /dev/null @@ -1,11 +0,0 @@ -a.close(href="", title="close") - span.icon.icon-delete -form - h2.title Use gravatar as image - p - span.subtitle You really want to delete your current photo and use the gravatar image? - div.options - a.button.button-green(href="", title="Accept") - span Accept - a.button.button-red(href="", title="Delete") - span Cancel diff --git a/app/styles/modules/common/lightbox.scss b/app/styles/modules/common/lightbox.scss index 7793c182..247a34b2 100644 --- a/app/styles/modules/common/lightbox.scss +++ b/app/styles/modules/common/lightbox.scss @@ -310,33 +310,6 @@ } } -.lightbox-confirm-use-gravatar { - form { - @include table-flex-child(0, 420px, 0, 420px); - } - .question, - .subtitle { - display: block; - line-height: 2rem; - text-align: center; - } - .subtitle { - @extend %large; - @extend %title; - } - .options { - @include table-flex(); - a { - @include table-flex-child(1, 0, 0); - padding: 8px 0; - text-align: center; - &:first-child { - margin-right: .5rem; - } - } - } -} - .lightbox-delete-account { form { @include table-flex-child(0, 420px, 0, 420px);