From 134071901f6d3c66745d14478a65cb7cb4048e06 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 28 May 2019 15:09:33 +0200 Subject: [PATCH] fix #2794 @0:10 --- style/fluidbook.less | 26 +------------------------- style/footer.less | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 25 deletions(-) create mode 100644 style/footer.less diff --git a/style/fluidbook.less b/style/fluidbook.less index 17281500..660708de 100644 --- a/style/fluidbook.less +++ b/style/fluidbook.less @@ -897,31 +897,7 @@ input[type="search"]::-webkit-search-results-decoration { } } -/* Credits */ -footer { - font-family: @font; - font-size: 8px; - text-transform: uppercase; - position: absolute; - bottom: 2px; - z-index: 20; - transform-origin: 100% 100%; -} - -footer a { - display: inline-block; - text-decoration: none; - transform-origin: 100% 100%; - transform: scale(1.08, 0.95) !important; -} - -.ltr footer { - right: 4px; -} - -.rtl footer { - left: 4px; -} +@import "footer.less"; /* Fluidbook zooming */ diff --git a/style/footer.less b/style/footer.less new file mode 100644 index 00000000..4c0c0f39 --- /dev/null +++ b/style/footer.less @@ -0,0 +1,29 @@ +/* Credits */ +footer { + font-family: @font; + font-size: 8px; + text-transform: uppercase; + position: absolute; + bottom: 2px; + z-index: 20; + transform-origin: 100% 100%; + + a { + display: inline-block; + text-decoration: none; + transform-origin: 100% 100%; + transform: scale(1.08, 0.95) !important; + + .rtl & { + transform-origin: 0% 100%; + } + } + + .ltr & { + right: 4px; + } + + .rtl & { + left: 4px; + } +} \ No newline at end of file -- 2.39.5