| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322 |
- @cdn:'https://houseoss.4dkankan.com/chuanshan';
- .theme(@backcolor:#b9412e,@color:#E4AD64){
- .primary{
- background-color: @backcolor;
- }
- .primaryColor{
- color: @backcolor;
- }
- .subBgColor{
- background-color: @color;
- }
- .primaryTxt{
- color: @color;
- }
- .txtHover{
- cursor: pointer;
- .show{
- display: none;
- }
- &:hover{
- color: @color!important;
- *{
- color: @color!important;
- }
- .hidden{
- display: none;
- }
- .show{
- display: inline-block;
- }
- }
- }
- .txtAvtive{
- color: @color!important;
- *{
- color: @color!important;
- }
- .hidden{
- display: none;
- }
- .show{
- display: inline-block;
- }
- }
- .txtSameHover{
- cursor: pointer;
- .show{
- display: none;
- }
- &:hover{
- color: @backcolor!important;
- *{
- color: @backcolor!important;
- }
- .hidden{
- display: none;
- }
- .show{
- display: inline-block;
- }
- }
- }
- .primaryHover{
- cursor: pointer;
- .show{
- display: none;
- }
- &:hover{
- color: @backcolor!important;
- *{
- color: @backcolor!important;
- }
- .hidden{
- display: none;
- }
- .show{
- display: inline-block;
- }
- }
- }
- .navActive{
- font-weight: bold;
- color: @theme;
- position: relative;
- background: @color;
- &::before{
- background: @theme;
- background-size: 100%;
- position: absolute;
- bottom: .47rem;
- left: 50%;
- transform: translateX(-50%);
- width: 4.17rem;
- height: .17rem;
- content: '';
- display: inline-block;
- }
-
- }
- .paging{
- user-select: none;
- color: #fff;
- font-weight: bold;
- >a{
- margin: 0 10px;
- &:first-of-type{
- border: solid #fff;
- border-width: 0 2px 2px 0;
- display: inline-block;
- padding: 3px;
- transform: translateY(-2px) rotate(135deg);
- &:hover{
- border: solid @color;
- border-width: 0 2px 2px 0;
- }
- }
- &:last-of-type{
- border: solid #fff;
- border-width: 0 2px 2px 0;
- display: inline-block;
- padding: 3px;
- transform: translateY(-2px) rotate(-45deg);
- &:hover{
- border: solid @color;
- border-width: 0 2px 2px 0;
- }
- }
- &:hover{
- color: @color;
- }
- }
- .active{
- color: @color;
- }
- }
- .paging-black{
- color: #9E9E9E;
- /deep/ a{
- margin: 0 10px;
- &:first-of-type{
- border: solid #9E9E9E;
- border-width: 0 2px 2px 0;
- &:hover{
- border: solid #000;
- border-width: 0 2px 2px 0;
- }
- }
- &:last-of-type{
- border: solid #9E9E9E;
- border-width: 0 2px 2px 0;
- &:hover{
- border: solid #000;
- border-width: 0 2px 2px 0;
- }
- }
- &:hover{
- color: #000;
- }
- }
- .active{
- color: #000;
- }
- }
- .paging-theme{
- color: #9E9E9E;
- /deep/ a{
- margin: 0 10px;
- &:first-of-type{
- border: solid #9E9E9E;
- border-width: 0 2px 2px 0;
- &:hover{
- border: solid @backcolor;
- border-width: 0 2px 2px 0;
- }
- }
- &:last-of-type{
- border: solid #9E9E9E;
- border-width: 0 2px 2px 0;
- &:hover{
- border: solid @backcolor;
- border-width: 0 2px 2px 0;
- }
- }
- &:hover{
- color: @backcolor;
- }
- }
- .active{
- color: @backcolor;
- }
- }
- .switch-nav{
- text-align: left;
- >li{
- display: inline-block;
- cursor: pointer;
- }
- .active{
- color: @backcolor!important;
- border-bottom: 4px solid @backcolor!important;
- }
- }
- .bordeStyle{
- border: 2px solid @color;
- }
- .borderThemeStyle{
- border: 1px solid @backcolor;
- cursor: pointer;
- }
- .borderIrr{
- border: 2px solid @backcolor;
- position: relative;
- &::after,&::before,.bottoml,.bottomr{
- content: '';
- display: inline-block;
- position: absolute;
- width: 10px;
- height: 10px;
- box-sizing: border-box;
- }
- &::after{
- border-right: 2px solid @backcolor;
- border-left: 2px solid #fff;
- border-bottom: 2px solid @backcolor;
- border-top: 2px solid #fff;
- top: -2px;
- left: -2px;
- }
- &::before{
- border-right: 2px solid #fff;
- border-left: 2px solid @backcolor;
- border-bottom: 2px solid @backcolor;
- border-top: 2px solid #fff;
- top: -2px;
- right: -2px;
- }
- .bottoml{
- border-right: 2px solid @backcolor;
- border-left: 2px solid #fff;
- border-bottom: 2px solid #fff;
- border-top: 2px solid @backcolor;
- bottom: -2px;
- left: -2px;
- }
- .bottomr{
- border-right: 2px solid #fff;
- border-left: 2px solid @backcolor;
- border-bottom: 2px solid #fff;
- border-top: 2px solid @backcolor;
- bottom: -2px;
- right: -2px;
- }
- }
- .input{
- border: 1px solid #9E9E9E;
- vertical-align: middle;
- min-height: 40px;
- display: inline-block;
- >input,>textarea{
- font-size: 16px;
- width: 100%;
- padding-left: 10px;
- border: none;
- min-height: 40px;
- line-height: 40px;
- }
- }
- .button{
- display: inline-block;
- width: 100px;
- height: 42px;
- line-height: 42px;
- border: #9E9E9E 1px solid;
- border-radius: 4px;
- cursor: pointer;
- }
- .primarybtn{
- background-color: @backcolor;
- color: #fff;
- border: @backcolor 1px solid;
- }
- .btmLine{
- width: 100%;
- height: 4px;
- position: absolute;
- background-color: @backcolor;
- left: 0;
- bottom: 0;
- }
- .sidebar{
- li{
- &:hover{
- color: @color!important;
- background-color: @backcolor!important;
- }
- }
- .active{
- color: @color!important;
- background-color: @backcolor!important;
- }
- }
- }
|