From 6eef97a981347042b1890f3d062a862add49193c Mon Sep 17 00:00:00 2001 From: Leonardo Merlin Date: Tue, 8 Dec 2015 14:05:11 -0200 Subject: [PATCH] Fix: add image mask to archived program at article-box --- src/app/components/article-box/article-box.html | 36 ++++++++++++++++++++++-------------- src/app/index.scss | 30 ++++++++++++++++++++++++++++++ src/app/pages/programas/programas.scss | 28 ---------------------------- 3 files changed, 52 insertions(+), 42 deletions(-) diff --git a/src/app/components/article-box/article-box.html b/src/app/components/article-box/article-box.html index 264ff35..b2680ee 100644 --- a/src/app/components/article-box/article-box.html +++ b/src/app/components/article-box/article-box.html @@ -1,17 +1,25 @@
-
-

{{ ::vm.category.name }}

-
-
+
+

{{ ::vm.category.name }}

+
+
+
+
+
+ +
+
+
+
+
+
+

{{::vm.article.title}}

+
+
+
+ +
-
-

{{::vm.article.title}}

-
-
-
- -
-
diff --git a/src/app/index.scss b/src/app/index.scss index 3e9eb27..9e456c9 100644 --- a/src/app/index.scss +++ b/src/app/index.scss @@ -198,6 +198,36 @@ body { } } + + +.img-mask--background { + width: 100%; + height: 100%; + text-align: center; + + .icon-circle{ + position: absolute; + left: 50%; + margin-left: -15px; + bottom: -10px; + width: 31px; + height: 31px; + } + + .glyphicon { + position: relative; + top: -2px; + color: #fff; + background-color: #3FC869; + padding: 6px 5px 5px 6px; + border-radius: 100%; + } + + .icon-programa-respondido { + transform: scale(0.8); + } +} + .icon { display: inline-block; vertical-align: middle; diff --git a/src/app/pages/programas/programas.scss b/src/app/pages/programas/programas.scss index bc8aad3..09c7a1d 100644 --- a/src/app/pages/programas/programas.scss +++ b/src/app/pages/programas/programas.scss @@ -206,34 +206,6 @@ background-size: cover; } - .img-mask--background { - width: 100%; - height: 100%; - text-align: center; - - .icon-circle{ - position: absolute; - left: 50%; - margin-left: -15px; - bottom: -10px; - width: 31px; - height: 31px; - } - - .glyphicon { - position: relative; - top: -2px; - color: #fff; - background-color: #3FC869; - padding: 6px 5px 5px 6px; - border-radius: 100%; - } - - .icon-programa-respondido { - transform: scale(0.8); - } - } - .program-preview--banner .icon-programa-respondido { position: relative; top: 50%; -- libgit2 0.21.2