From 8beaf6b2822935c00d3d2bdb82679a372482f2d6 Mon Sep 17 00:00:00 2001 From: Afzal Sayed Date: Fri, 1 Dec 2017 12:29:54 +0530 Subject: [PATCH] moved to demo.css file --- demo.css | 19 +++++++++++++++++++ src/back2top.less | 20 -------------------- 2 files changed, 19 insertions(+), 20 deletions(-) delete mode 100644 src/back2top.less diff --git a/demo.css b/demo.css index 345c00e..edfe182 100644 --- a/demo.css +++ b/demo.css @@ -13,4 +13,23 @@ body { } .summary a { color: #41403e; +} +.to-top { + opacity: 1; + display: inline-block; + padding: 1em; + position: fixed; + bottom: 1em; + right: 1em +} +.to-top .paper-btn { + padding: .6em 1em; + background: #fff; + border-top-left-radius: 185px 160px; + border-top-right-radius: 200px 195px; + border-bottom-right-radius: 160px 195px; + border-bottom-left-radius: 185px 190px +} +.demo-title:hover + .to-top { + opacity: 0 } \ No newline at end of file diff --git a/src/back2top.less b/src/back2top.less deleted file mode 100644 index 434305a..0000000 --- a/src/back2top.less +++ /dev/null @@ -1,20 +0,0 @@ -.to-top { - opacity: 1; - display: inline-block; - padding: 1em; - position: fixed; - bottom: 1em; - right: 1em; - .paper-btn { - padding: 0.6em 1em; - background: white; - border-top-left-radius: 185px 160px; - border-top-right-radius: 200px 195px; - border-bottom-right-radius: 160px 195px; - border-bottom-left-radius: 185px 190px; - } -} - -.demo-title:hover + .to-top { - opacity: 0; -} \ No newline at end of file