summaryrefslogtreecommitdiffstats
path: root/3rd_party/static/testapi-ui/assets/lib/bootstrap/less/mixins/image.less
diff options
context:
space:
mode:
authorStamatis Katsaounis <mokats@intracom-telecom.com>2018-11-01 12:44:50 +0200
committerStamatis Katsaounis <mokats@intracom-telecom.com>2018-11-01 11:08:17 +0000
commit8ac6a7ef3809cb511b10494d9c1f4654db1e071e (patch)
treef9d7b80d863f4451ad2359c469366f7170475a4b /3rd_party/static/testapi-ui/assets/lib/bootstrap/less/mixins/image.less
parentc53c8c2b31b6734765f0f5638a8bb0e3bf3cff9b (diff)
Dynamically fetching javascript dependencies
JIRA: DOVETAIL-746 This patch deletes the source code of javascript dependencies from web portal. Furthermore, it uses npm to install them. Change-Id: Idc40606ff9e7286aa66421cbbe05f94d7ce9f7e6 Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
Diffstat (limited to '3rd_party/static/testapi-ui/assets/lib/bootstrap/less/mixins/image.less')
-rw-r--r--3rd_party/static/testapi-ui/assets/lib/bootstrap/less/mixins/image.less33
1 files changed, 0 insertions, 33 deletions
diff --git a/3rd_party/static/testapi-ui/assets/lib/bootstrap/less/mixins/image.less b/3rd_party/static/testapi-ui/assets/lib/bootstrap/less/mixins/image.less
deleted file mode 100644
index f233cb3..0000000
--- a/3rd_party/static/testapi-ui/assets/lib/bootstrap/less/mixins/image.less
+++ /dev/null
@@ -1,33 +0,0 @@
-// Image Mixins
-// - Responsive image
-// - Retina image
-
-
-// Responsive image
-//
-// Keep images from scaling beyond the width of their parents.
-.img-responsive(@display: block) {
- display: @display;
- max-width: 100%; // Part 1: Set a maximum relative to the parent
- height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching
-}
-
-
-// Retina image
-//
-// Short retina mixin for setting background-image and -size. Note that the
-// spelling of `min--moz-device-pixel-ratio` is intentional.
-.img-retina(@file-1x; @file-2x; @width-1x; @height-1x) {
- background-image: url("@{file-1x}");
-
- @media
- only screen and (-webkit-min-device-pixel-ratio: 2),
- only screen and ( min--moz-device-pixel-ratio: 2),
- only screen and ( -o-min-device-pixel-ratio: 2/1),
- only screen and ( min-device-pixel-ratio: 2),
- only screen and ( min-resolution: 192dpi),
- only screen and ( min-resolution: 2dppx) {
- background-image: url("@{file-2x}");
- background-size: @width-1x @height-1x;
- }
-}