first commit
This commit is contained in:
12
public/assets/js/scrollUp/css/image.css
Normal file
12
public/assets/js/scrollUp/css/image.css
Normal file
@ -0,0 +1,12 @@
|
||||
/* Image style */
|
||||
#scrollUp {
|
||||
background-image: url("../top.png");
|
||||
bottom: 20px;
|
||||
right: 20px;
|
||||
width: 38px; /* Width of image */
|
||||
height: 38px; /* Height of image */
|
||||
white-space: nowrap;
|
||||
text-indent: 100%;
|
||||
overflow: hidden;
|
||||
*text-indent: -9999px;
|
||||
}
|
5
public/assets/js/scrollUp/css/link.css
Normal file
5
public/assets/js/scrollUp/css/link.css
Normal file
@ -0,0 +1,5 @@
|
||||
/* Text link style */
|
||||
#scrollUp {
|
||||
bottom: 20px;
|
||||
right: 20px;
|
||||
}
|
24
public/assets/js/scrollUp/css/pill.css
Normal file
24
public/assets/js/scrollUp/css/pill.css
Normal file
@ -0,0 +1,24 @@
|
||||
/* Pill style */
|
||||
#scrollUp {
|
||||
bottom: 20px;
|
||||
right: 20px;
|
||||
background-color: #555;
|
||||
color: #fff;
|
||||
font-size: 12px;
|
||||
font-family: sans-serif;
|
||||
text-decoration: none;
|
||||
opacity: .9;
|
||||
padding: 10px 20px;
|
||||
-webkit-border-radius: 16px;
|
||||
-moz-border-radius: 16px;
|
||||
border-radius: 16px;
|
||||
-webkit-transition: background 200ms linear;
|
||||
-moz-transition: background 200ms linear;
|
||||
-o-transition: background 200ms linear;
|
||||
transition: background 200ms linear;
|
||||
-webkit-backface-visibility: hidden;
|
||||
}
|
||||
|
||||
#scrollUp:hover {
|
||||
background-color: #000;
|
||||
}
|
32
public/assets/js/scrollUp/css/tab.css
Normal file
32
public/assets/js/scrollUp/css/tab.css
Normal file
@ -0,0 +1,32 @@
|
||||
/* Tab style */
|
||||
#scrollUp {
|
||||
bottom: 0;
|
||||
right: 30px;
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
margin-bottom: -10px;
|
||||
padding: 10px 5px;
|
||||
font: 14px/20px sans-serif;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
color: #828282;
|
||||
-webkit-box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
|
||||
-moz-box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
|
||||
box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
|
||||
background-color: #E6E6E6;
|
||||
background-image: -moz-linear-gradient(top, #EBEBEB, #DEDEDE);
|
||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#EBEBEB), to(#DEDEDE));
|
||||
background-image: -webkit-linear-gradient(top, #EBEBEB, #DEDEDE);
|
||||
background-image: -o-linear-gradient(top, #EBEBEB, #DEDEDE);
|
||||
background-image: linear-gradient(to bottom, #EBEBEB, #DEDEDE);
|
||||
background-repeat: repeat-x;
|
||||
-webkit-transition: margin-bottom 150ms linear;
|
||||
-moz-transition: margin-bottom 150ms linear;
|
||||
-o-transition: margin-bottom 150ms linear;
|
||||
transition: margin-bottom 150ms linear;
|
||||
}
|
||||
|
||||
#scrollUp:hover {
|
||||
margin-bottom: 0;
|
||||
}
|
Reference in New Issue
Block a user