123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587 |
- @import "./mixin";
- @import "./var";
- .index-mobile {
- display: none !important;
- }
- .top-nav-ul {
- display: block !important;
- }
- .top-nav-ul .product-dropdown .dropdown-mobile {
- display: none !important;
- }
- .white-top-nav .top-nav-ul {
- .top-nav-right {
- a,
- div {
- &:hover {
- color: $light-blue;
- }
- }
- }
- }
- .top-nav-ul {
- .top-nav-left {
- float: left;
- margin: 0 10px;
- padding: 0 5px;
- position: inherit;
- &.first {
- padding-left: 0;
- margin-left: 0;
- }
- &.coupon {
- height: 60px;//ie高度问题
- }
- }
- }
- .top-nav-right {
- float: right;
- transition: 0.3s;
- position: relative;
- a,
- div {
- float: right;
- margin-right: 20px;
- &:hover {
- color: $light-blue;
- }
- img {
- vertical-align: text-top;
- }
- }
- }
- .product-left,
- .product-right {
- width: 50%;
- position: absolute;
- height: 700px;
- top: 100px;
- }
- .product-right {
- left: 50%;
- }
- .product-left .product-content {
- position: absolute;
- top: 0;
- right: 0;
- }
- .product-right .product-content {
- position: absolute;
- top: 0;
- left: 0;
- }
- .product-top .product-content {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- margin-left: auto;
- margin-right: auto;
- text-align: center;
- }
- .product-top .product-content .line {
- margin-left: auto;
- margin-right: auto;
- text-align: center;
- }
- .product-top .product-content .content {
- margin-left: auto;
- margin-right: auto;
- text-align: center;
- }
- .product-bottom .product-content {
- position: absolute;
- bottom: 0;
- left: 0;
- right: 0;
- margin-left: auto;
- margin-right: auto;
- text-align: center;
- }
- .product-top .title,
- .product-top .content,
- .product-top .line {
- text-align: center;
- margin-left: auto;
- margin-right: auto;
- }
- .product-bottom .product-img {
- margin: auto;
- max-height: 400px;
- }
- .top-nav-ul-drop-down-able {
- position: relative;
- }
- .top-nav-ul-drop-down-list {
- position: absolute;
- top: 60px;
- background: white;
- color: black;
- padding: 5px 0;
- a {
- display: flex;
- align-items: center;
- transition: 0.2s;
- &:hover {
- background: $background-blue;
- .product-nav-logo {
- border-radius: 8px;
- box-shadow: 0 8px 15px 0 rgba(2, 72, 227, 0.05),
- 0 4px 8px 0 rgba(2, 72, 227, 0.1), 0 0 1px 0 rgba(2, 72, 227, 0.1);
- background-color: #ffffff;
- }
- .product-nav-title {
- color: $dark-blue;
- }
- }
- &.future {
- &:hover {
- cursor: not-allowed;
- background: #fafbfc;
- }
- .product-nav-title {
- color: #767b83;
- }
- .product-nav-tips {
- display: block;
- width: 68px;
- height: 24px;
- line-height: 24px;
- font-size: $t3-size;
- background: #edeff2;
- color: #737780;
- margin-left: 10px;
- text-align: center;
- border-radius: 3px;
- }
- }
- }
- a.nav-first:before {
- position: absolute;
- z-index: 1;
- content: "";
- width: 20px;
- height: 9px;
- top: -9px;
- left: 28px;
- @include responsiveImage(popover-triangle-icon);
- pointer-events: none;
- cursor: default;
- }
- .classify-nav {
- display: inline-block;
- vertical-align: top;
- margin-right: 30px;
- margin-top: 15px;
- }
- .classify-title {
- font-size: $t3-size;
- font-weight: 500;
- color: #767b83;
- line-height: 27px;
- margin-left: 15px;
- border-bottom: 1px solid #edeff2;
- margin-bottom: 10px;
- }
- &.case {
- height: 170px;
- width: 160px;
- }
- &.solution {
- width: 184px;
- height: auto;
- padding: 5px 0;
- .product-nav-title {
- font-weight: normal;
- }
- }
- &.product {
- width: 1000px;
- padding: 50px 35px;
- cursor: default;
- position: absolute;
- left: 50%;
- margin-left: -500px;
- a {
- display: inline-block;
- width: 232px;
- height: 68px;
- border-radius: 3px;
- line-height: 24px;
- padding: 10px 15px;
- .product-nav-title {
- margin-top: 0;
- line-height: 20px;
- font-weight: 500;
- display: inline-block;
- position: relative;
- vertical-align: top;
- }
- }
- a:nth-child(2n) {
- margin-right: 10px;
- }
- .classify-nav {
- width: 475px;
- height: 310px;
- margin-top: auto;
- margin-right: 15px;
- &.middle {
- width: 190px;
- margin-right: 30px;
- a {
- width: 190px;
- padding: 10px 15px;
- &:hover {
- background-color: #e9f6f7;
- .product-nav-logo {
- box-shadow: 0 8px 15px 0 rgba(63, 151, 157, 0.05), 0 4px 8px 0 rgba(63, 151, 157, 0.1), 0 0 1px 0 rgba(63, 151, 157, 0.1);
- }
- .product-nav-box {
- .product-nav-title {
- color: #44acb6;
- }
- }
- }
- }
- a:nth-child(2n) {
- margin-right: 0;
- }
- }
- &.right {
- width: 220px;
- margin-right: auto;
- .divide-line {
- width: 1px;
- height: 310px;
- background: #edeff2;
- display: inline-block;
- vertical-align: top;
- }
- .nav-card {
- display: inline-block;
- width: 194px;
- height: 340px;
- padding: 15px;
- border-radius: 3px;
- transition: 0.3s;
- vertical-align: top;
- margin: -15px 0 0 25px;
- &:hover {
- cursor: pointer;
- background-color: #ebf3ff;
- }
- img {
- display: block;
- width: 164px;
- height: 115px;
- margin: auto auto 20px;
- border-radius: 3px;
- }
- .nav-card-info {
- .nav-card-title {
- font-size: $t2-size;
- line-height: 24px;
- margin-bottom: 8px;
- color: $title-black;
- }
- .nav-card-subtitle {
- font-size: $t2-size;
- line-height: 24px;
- color: $warm-gery;
- }
- }
- }
- }
- }
- }
- &.service {
- width: 1000px;
- height: 365px;
- padding: 45px;
- cursor: default;
- position: absolute;
- left: 50%;
- margin-left: -500px;
- a.nav-first:before {
- left: 30%;
- }
- a {
- width: 206px;
- height: 40px;
- line-height: 20px;
- border-radius: 3px;
- margin-top: 5px;
- .product-nav-title {
- margin-top: 0;
- line-height: 20px;
- font-weight: 400;
- display: inline-block;
- position: relative;
- }
- }
- .nav-card-divide-line {
- display: inline-block;
- height: 245px;
- width: 1px;
- background-color: #edeff2;
- margin-top: 15px;
- margin-left: 15px;
- }
- .nav-blog-article {
- display: inline-block;
- vertical-align: top;
- border-radius: 3px;
- padding-left: 30px;
- transition: 0.3s;
- .nav-article-card {
- width: 392px;
- height: 130px;
- padding: 15px;
- border-radius: 3px;
- &:nth-child(2) {
- margin-top: 15px;
- }
- .card-img {
- width: 180px;
- height: 100px;
- display: inline-block;
- vertical-align: middle;
- img {
- height: 100%;
- width: 100%;
- object-fit: cover;
- border-radius: 3px;
- }
- }
- .card-content {
- display: inline-block;
- vertical-align: middle;
- width: 163px;
- margin-left: 20px;
- .card-info {
- font-size: $t2-size;
- line-height: 24px;
- color: $title-black;
- }
- .blog-tag {
- height: 24px;
- span {
- font-size: $t2-size;
- line-height: 24px;
- display: inline-block;
- vertical-align: top;
- }
- }
- }
- &:first-child {
- margin-top: 0;
- }
- &:hover {
- background-color: $background-blue;
- .blog-tag span {
- color: $white;
- &.manage {
- background-color: $dark-blue;
- }
- &.super {
- background-color: $purple
- }
- &.product {
- background-color: $cyan;
- }
- &.dev {
- background-color: $green;
- }
- &.cto {
- background-color: $yellow;
- }
- &.news {
- background-color: $red;
- }
- }
- }
- }
- }
- }
- }
- .top-nav-ul-drop-down-span {
- position: relative;
- display: inline-block;
- color: $dark-grey;
- &.coupon {
- color: #fff;
- background-color: transparent;
- &:hover {
- color: #fff;
- }
- }
- &.coupon-entry-header {
- padding: 0 25px 0 8px;
- background: url("#{$imageUrl}/activity/coupon/coupon-entry-nav.gif") no-repeat 2px 15px;
- background-size: 100px auto;
- &.title-hovered {
- color: #fff;
- }
- @media (hover:hover) {
- &:hover::before {
- content: "";
- width: 83px;
- height: 22px;
- position: absolute;
- left: 0;
- top: 18px;
- border-radius: 11px;
- background-color: rgba(255,255,255,.15);
- }
- }
- }
- .top-nav-ul-drop-arrow {
- position: relative;
- top: -2px;
- width: 9px;
- height: 7px;
- display: inline-block;
- margin: auto auto auto 6px;
- transition: transform 0.3s;
- .nav-arrow-icon {
- width: 2px;
- height: 7px;
- background-color: $title-black;
- transform: rotate(47deg);
- position: absolute;
- right: 2px;
- &:before {
- content: "";
- width: 2px;
- height: 7px;
- background-color: $title-black;
- transform: rotate(-98deg);
- display: block;
- position: absolute;
- top: 3px;
- left: -3px;
- }
- }
- }
- .arrow-hovered,
- &:hover .top-nav-ul-drop-arrow {
- transform: rotate(180deg);
- transition: transform 0.3s;
- .nav-arrow-icon:before,
- .nav-arrow-icon {
- background-color: $dark-blue;
- }
- }
- &.title-hovered,
- &:hover {
- color: $dark-blue;
- }
- }
- .product-nav-box {
- display: inline-block;
- vertical-align: middle;
- }
- .product-nav-logo {
- margin-right: 10px;
- display: inline-block;
- vertical-align: middle;
- }
- .product-nav-title {
- line-height: 1;
- font-weight: 500;
- color: $title-black;
- }
- .product-nav-tips {
- display: none;
- }
- .product-nav-content {
- font-size: $t2-size;
- color: $warm-gery;
- }
- .product-nav-first {
- border-bottom: 0;
- }
- .normal-min-width {
- min-width: 1000px;
- }
- .icon-new {
- display: inline-block;
- padding-left: 5px;
- img {
- transform: translateY(1px);
- }
- }
- @media screen and (max-width: 1280px) {
- .top-nav-ul-drop-down-list.service a.nav-first:before {
- left: 44%;
- }
- .top-nav-ul-drop-down-list.product a.nav-first:before {
- left: 15%;
- }
- }
|