]> _ Git - fluidbook-html5.git/commitdiff
fix #2794 @0:10
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 28 May 2019 13:09:33 +0000 (15:09 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 28 May 2019 13:09:33 +0000 (15:09 +0200)
style/fluidbook.less
style/footer.less [new file with mode: 0644]

index 17281500754072a98526aeba052130902072b3fc..660708de260609ed4397a571c10b28d1467ff59d 100644 (file)
@@ -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 (file)
index 0000000..4c0c0f3
--- /dev/null
@@ -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