From f408c583e8b5f2767f4ec33ce9134966db5b5963 Mon Sep 17 00:00:00 2001 From: Penar Musaraj Date: Fri, 26 Jul 2019 10:57:22 -0400 Subject: [PATCH] DEV: Remove lightbox CSS rules --- .../stylesheets/common/base/lightbox.scss | 30 ------------------- app/assets/stylesheets/mobile/lightbox.scss | 15 ---------- 2 files changed, 45 deletions(-) diff --git a/app/assets/stylesheets/common/base/lightbox.scss b/app/assets/stylesheets/common/base/lightbox.scss index bc089ac1011..20ed8ebea62 100644 --- a/app/assets/stylesheets/common/base/lightbox.scss +++ b/app/assets/stylesheets/common/base/lightbox.scss @@ -50,17 +50,6 @@ $meta-element-margin: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; - // TODO: delete this by May 2019 - &:before { - // ideally, the SVG used here should be in HTML and reference the SVG sprite - content: svg-uri( - '' - ); - margin-right: $meta-element-margin; - display: inline-block; - vertical-align: middle; - opacity: 0.8; - } } .d-icon { @@ -70,10 +59,6 @@ $meta-element-margin: 6px; + .filename { margin-left: 0px; } - // TODO: delete this by May 2019 - + .filename:before { - display: none; - } } .informations { @@ -84,21 +69,6 @@ $meta-element-margin: 6px; flex-shrink: 0; flex-grow: 3; } - - // TODO: delete this by May 2019 - .expand { - position: absolute; - bottom: 2px; - right: 7px; - &:before { - // ideally, the SVG used here should be in HTML and reference the SVG sprite - // the SVG used here is the "expand" icon from FontAwesome 4.7.0 - content: svg-uri( - '' - ); - opacity: 0.8; - } - } } .mfp-preloader .spinner { diff --git a/app/assets/stylesheets/mobile/lightbox.scss b/app/assets/stylesheets/mobile/lightbox.scss index 46a63a9a3a3..8c864502ba5 100644 --- a/app/assets/stylesheets/mobile/lightbox.scss +++ b/app/assets/stylesheets/mobile/lightbox.scss @@ -22,19 +22,4 @@ .d-icon-discourse-expand { color: $primary-high; } - - // TODO: Delete by May 2019 - .expand { - position: initial; - float: none; - height: 16px; - &:before { - // ideally, the SVG used here should be in HTML and reference the SVG sprite - // the SVG used here is the "expand" icon from FontAwesome 4.7.0 - content: svg-uri( - '' - ); - opacity: inherit; - } - } }