123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343 |
- @import './color.less';
- @font-face {
- font-family: Roboto-Bold;
- src: url('//static.hoolihome.com/pc/3.0.0/fonts/roboto/Roboto-Bold.ttf');
- font-weight: 400;
- font-style: normal;
- font-display: swap;
- }
- @font-face {
- font-family: Roboto-Medium;
- src: url('//static.hoolihome.com/pc/3.0.0/fonts/roboto/Roboto-Medium.ttf');
- font-weight: 400;
- font-style: normal;
- font-display: swap;
- }
- @font-face {
- font-family: Roboto-Regular;
- src: url('//static.hoolihome.com/pc/3.0.0/fonts/roboto/Roboto-Regular.ttf');
- font-weight: 400;
- font-style: normal;
- font-display: swap;
- }
- *,
- *:before,
- *:after {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- input::-webkit-autofill,
- textarea::-webkit-autofill,
- select::-webkit-autofill {
- -webkit-box-shadow: 0 0 0px 1000px white inset;
- box-shadow: 0 0 0px 1000px white inset;
- }
- input::-webkit-outer-spin-button,
- input::-webkit-inner-spin-button {
- -webkit-appearance: none;
- }
- input[type='number'] {
- -moz-appearance: textfield;
- }
- ul,
- li {
- list-style: none;
- }
- a {
- text-decoration: none;
- }
- input,
- textarea {
- outline: none;
- }
- html,
- body {
- width: 100%;
- height: 100%;
- color: #000000;
- font-family: PingFangSC-Regular, 'Microsoft YaHei', 'SimHei', 'Avenir',
- 'Source Sans Pro', Helvetica, Arial, sans-serif;
- background-color: #ffffff;
- }
- #__nuxt,
- #__layout {
- height: 100%;
- }
- .page-enter-active,
- .page-leave-active {
- transition: opacity 0.5s;
- -webkit-transition: opacity 0.5s;
- -moz-transition: opacity 0.5s;
- -ms-transition: opacity 0.5s;
- -o-transition: opacity 0.5s;
- }
- .page-enter,
- .page-leave-active {
- opacity: 0;
- }
- .singleline {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .clearfix:after {
- display: block;
- content: " ";
- clear: both;
- height: 0;
- font-size: 0;
- visibility: hidden;
- }
- .fl {
- float: left;
- }
- .fr {
- float: right;
- }
- .bg-cover {
- background-size: cover;
- background-repeat: no-repeat;
- background-position: center center;
- }
- .ql-container .ql-editor img {
- max-width: 100% !important;
- }
- /* animate */
- @keyframes rubberBand {
- from {
- -webkit-transform: scale3d(1, 1, 1);
- transform: scale3d(1, 1, 1);
- }
- 30% {
- -webkit-transform: scale3d(1.25, 0.75, 1);
- transform: scale3d(1.25, 0.75, 1);
- }
- 40% {
- -webkit-transform: scale3d(0.75, 1.25, 1);
- transform: scale3d(0.75, 1.25, 1);
- }
- 50% {
- -webkit-transform: scale3d(1.15, 0.85, 1);
- transform: scale3d(1.15, 0.85, 1);
- }
- 65% {
- -webkit-transform: scale3d(0.95, 1.05, 1);
- transform: scale3d(0.95, 1.05, 1);
- }
- 75% {
- -webkit-transform: scale3d(1.05, 0.95, 1);
- transform: scale3d(1.05, 0.95, 1);
- }
- to {
- -webkit-transform: scale3d(1, 1, 1);
- transform: scale3d(1, 1, 1);
- }
- }
- @keyframes arrow {
- 0% {
- -webkit-transform: translateX(-10px);
- -moz-transform: translateX(-10px);
- -ms-transform: translateX(-10px);
- transform: translateX(-10px);
- opacity: 0
- }
- 10% {
- -webkit-transform: translateX(0px);
- -moz-transform: translateX(0px);
- -ms-transform: translateX(0px);
- transform: translateX(0px);
- opacity: 1
- }
- 100% {
- -webkit-transform: translateX(10px);
- -moz-transform: translateX(10px);
- -ms-transform: translateX(10px);
- transform: translateX(10px);
- opacity: 0
- }
- }
- @keyframes arrow2 {
- 0% {
- -webkit-transform: translate(-10px, -10px) rotate(45deg);
- -moz-transform: translate(-10px, -10px) rotate(45deg);
- -ms-transform: translate(-10px, -10px) rotate(45deg);
- transform: translate(-10px, -10px) rotate(45deg);
- opacity: 0
- }
- 10% {
- -webkit-transform: translate(0, 0) rotate(45deg);
- -moz-transform: translate(0, 0) rotate(45deg);
- -ms-transform: translate(0, 0) rotate(45deg);
- transform: translate(0, 0) rotate(45deg);
- opacity: 1
- }
- 100% {
- -webkit-transform: translate(10px, 10px) rotate(45deg);
- -moz-transform: translate(10px, 10px) rotate(45deg);
- -ms-transform: translate(10px, 10px) rotate(45deg);
- transform: translate(10px, 10px) rotate(45deg);
- opacity: 0
- }
- }
- a.arrow-links {
- padding-left: 40px;
- padding-right: 40px;
- position: relative;
- color: #FFF;
- transition: all 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
- transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
- transition-property: color, background-color
- }
- a.arrow-links:before {
- content: "";
- position: absolute;
- right: 15px;
- top: 54%;
- width: 15px;
- margin-left: -10px;
- margin-top: -1px;
- height: 1px;
- background: #FFF
- }
- a.arrow-links:after {
- content: "";
- position: absolute;
- right: 15px;
- top: 54%;
- width: 8px;
- margin-top: -1px;
- margin-left: -2px;
- height: 1px;
- background: #FFF;
- transform: rotate(45deg);
- transform-origin: right bottom
- }
- a.arrow-links:hover,
- a.arrow-links:focus,
- a.arrow-links:active {
- text-decoration: none
- }
- a.arrow-links:hover:before,
- a.arrow-links:focus:before,
- a.arrow-links:active:before {
- transition: all 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
- transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
- animation: arrow 2.6s cubic-bezier(1, 0, 0, 1) 0s infinite;
- animation-fill-mode: both
- }
- a.arrow-links:hover:after,
- a.arrow-links:focus:after,
- a.arrow-links:active:after {
- transition: all 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
- transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
- animation: arrow2 2.6s cubic-bezier(1, 0, 0, 1) 0.2s infinite;
- animation-fill-mode: both
- }
- a.arrow-links.btns-inverse {
- transition-property: color, background-color
- }
- .animated {
- animation-duration: 1s;
- animation-fill-mode: both;
- }
- @keyframes shake {
- 0%,
- to {
- transform: translateZ(0);
- }
- 10%,
- 30%,
- 50%,
- 70%,
- 90% {
- transform: translate3d(-10px, 0, 0);
- }
- 20%,
- 40%,
- 60%,
- 80% {
- transform: translate3d(10px, 0, 0);
- }
- }
- .shake {
- animation-name: shake;
- }
- .login-register {
- input {
- width: 100%;
- height: 38px;
- padding: 0 20px;
- color: #666666;
- font-size: 14px;
- border: 1px #cccccc solid;
- border-radius: 2px;
- &::-webkit-input-placeholder {
- font-size: 14px;
- font-family: PingFangSC-Regular;
- font-weight: 400;
- color: rgba(204, 204, 204, 1);
- }
- &:-moz-placeholder {
- font-size: 14px;
- font-family: PingFangSC-Regular;
- font-weight: 400;
- color: rgba(204, 204, 204, 1);
- }
- &::-moz-placeholder {
- font-size: 14px;
- font-family: PingFangSC-Regular;
- font-weight: 400;
- color: rgba(204, 204, 204, 1);
- }
- &:-ms-input-placeholder {
- font-size: 14px;
- font-family: PingFangSC-Regular;
- font-weight: 400;
- color: rgba(204, 204, 204, 1);
- }
- }
- }
|