123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- // scroll
- ::-webkit-scrollbar {
- width: .5rem;
- height: .5rem;
- background: hsla(0, 0%, 100%, 0.6);
- }
- ::-webkit-scrollbar-track {
- border-radius: 0;
- }
- ::-webkit-scrollbar-thumb {
- border-radius: 0;
- background-color: rgba(95,95,95,.4);
- transition: background-color .15s;
- &:hover {
- background-color: rgba(95,95,95, .7);
- }
- }
- // ie等滚动条遮住元素
- html, body {
- -ms-overflow-style: scrollbar;
- }
- // common style
- .clearfix {
- &:before, &:after {
- display: table;
- content: " ";
- }
- &:after {
- clear: both;
- }
- }
- .list-unstyled {
- padding-left: 0;
- list-style: none;
- }
- .list-inline li {
- display: inline-block;
- padding-left: 5px;
- padding-right: 5px;
- }
- .hide {
- opacity: 0;
- visibility: hidden;
- pointer-events: none;
- }
- .pull-left {
- float: left;
- }
- .pull-right {
- float: right;
- }
- .container{
- width:1180px;
- margin:0 auto;
- }
- // vue animate
- .slide-down-enter-active, .slide-down-leave-active {
- transition: all .4s cubic-bezier(0, 1.2, 1, 0.5);
- opacity: .7;
- transform: translate3d(0, 4em, 0);
- }
- .slide-down-enter, .slide-down-leave-active {
- opacity: .3;
- transform: translate3d(0, 4em, 0);
- }
- .slide-left-enter-active, .slide-left-leave-active {
- transition: all .2s cubic-bezier(0, 1.2, 1, 0.5);
- opacity: .5;
- transform: translate3d(2em, 0, 0);
- }
- .slide-left-enter, .slide-left-leave-active {
- opacity: .3;
- transform: translate3d(2em, 0, 0);
- }
- .slide-right-enter-active, .slide-right-leave-active {
- transition: all .4s cubic-bezier(0, 1.2, 1, 0.5);
- opacity: .5;
- transform: translate3d(5em, 0, 0);
- }
- .slide-right-enter, .slide-right-leave-active {
- opacity: .3;
- transform: translate3d(5em, 0, 0);
- }
- .fade-enter-active, .fade-leave-active {
- transition: opacity .25s
- }
- .fade-enter, .fade-leave-active {
- opacity: 0
- }
- .fade-move {
- transition: transform .25s;
- }
|