moved to demo.css file

This commit is contained in:
Afzal Sayed 2017-12-01 12:29:54 +05:30
parent 6f8338a0fa
commit 8beaf6b282
2 changed files with 19 additions and 20 deletions

View file

@ -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
}

View file

@ -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;
}