| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252 |
- // 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);
- }
- }
- // 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: $container-width;
- margin: 0 auto;
- }
- .dl-horizontal dt {
- float: left;
- width: 160px;
- overflow: hidden;
- clear: left;
- text-align: right;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .dl-horizontal dd {
- display: block;
- margin-left: 180px;
- &:before, &:after {
- display: table;
- content: " ";
- }
- &:after {
- clear: both;
- }
- }
- .dropdown {
- position: relative;
- .dropdown-toggle {
- cursor: pointer;
- }
- .dropdown-menu {
- position: absolute;
- left: 0;
- top: 100%;
- min-width: 100%;
- display: none;
- background-color: $white;
- z-index: 100;
- }
- &:hover {
- .dropdown-menu {
- display: block;
- }
- }
- }
- // button
- .btn {
- display: inline-block;
- height: 36px;
- line-height: 1;
- padding: 3px 12px;
- margin: 0;
- border: 1px solid transparent;
- text-align: center;
- white-space: nowrap;
- vertical-align: middle;
- -ms-touch-action: manipulation;
- touch-action: manipulation;
- cursor: pointer;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- &.btn-default {
- color: $text;
- background-color: $white;
- border-color: $dividers;
- }
- &.btn-primary {
- color: $white;
- background-color: $primary;
- border-color: $primary;
- }
- }
- // form
- .form-control {
- -webkit-appearance: none;
- -moz-appearance: none;
- appearance: none;
- background-color: $white;
- background-image: none;
- border: $border;
- color: $text;
- display: inline-block;
- font-size: inherit;
- height: 36px;
- line-height: 1;
- outline: none;
- padding: 3px 10px;
- width: 100%;
- &.input-primary {
- border-color: $primary;
- }
- }
- .input-group {
- position: relative;
- display: inline-table;
- width: 100%;
- border-collapse: separate;
- .form-control, .input-group-btn {
- display: table-cell;
- }
- .input-group-addon, .input-group-btn {
- position: relative;
- width: 1px;
- white-space: nowrap;
- vertical-align: middle;
- }
- .form-control {
- position: relative;
- z-index: 2;
- float: left;
- width: 100%;
- }
- .input-group-btn {
- .btn {
- position: relative;
- }
- }
- }
- // 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;
- }
- .page-enter-active, .page-leave-active {
- transition: opacity .25s
- }
- .page-enter, .page-leave-active {
- opacity: 0
- }
- .module-enter-active, .module-leave-active {
- transition: opacity .25s
- }
- .module-enter, .module-leave-active {
- opacity: 0
- }
- .aside-enter-active {
- transition: opacity .25s cubic-bezier(1, -1.17, 1, -1.17);
- }
- .aside-leave-active {
- transition: opacity 0s
- }
- .aside-enter, .aside-leave-active {
- opacity: 0
- }
|