65 lines
1.1 KiB
SCSS
65 lines
1.1 KiB
SCSS
.nut-theme-dark {
|
|
.nut-countup {
|
|
color: $dark-color;
|
|
background: $dark-background;
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
|
|
.nut-countup {
|
|
display: block;
|
|
padding: 5px 20px;
|
|
font-weight: bold;
|
|
color: #000;
|
|
|
|
.nut-countup__number {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 100%;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
|
|
.nut-countup__number-item {
|
|
position: absolute;
|
|
list-style: none;
|
|
transition: none;
|
|
|
|
.nut-countup__number-item__span {
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
|
|
.nut-countup-pointstyl {
|
|
position: absolute;
|
|
display: block;
|
|
}
|
|
|
|
.nut-countup__machine {
|
|
display: block;
|
|
overflow: hidden;
|
|
|
|
.nut-countup__machine-item {
|
|
float: left;
|
|
background-repeat: repeat-y;
|
|
background-attachment: scroll;
|
|
background-position: center 0;
|
|
}
|
|
}
|
|
|
|
.nut-countup__numberimg {
|
|
position: relative;
|
|
display: inline-block;
|
|
|
|
.nut-countup__numberimg__item {
|
|
position: absolute;
|
|
display: inline-block;
|
|
background-repeat: no-repeat;
|
|
background-position: 0 0;
|
|
transition: none;
|
|
}
|
|
}
|
|
}
|