mobile.scss 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631
  1. @import "./mixin";
  2. .index-mobile {
  3. display: none !important;
  4. }
  5. @media screen and (max-width: 821px) {
  6. .index-mobile {
  7. display: block !important;
  8. }
  9. .index-pc {
  10. display: none !important;
  11. }
  12. }
  13. .normal-min-width {
  14. min-width: 1000px;
  15. width: 100%;
  16. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  17. }
  18. .appointmentMobile.normal-min-width {
  19. min-width: auto;
  20. }
  21. .body-overflow-hidden {
  22. overflow: hidden;
  23. position: fixed;
  24. height: 100%;
  25. width: 100%;
  26. }
  27. .top-nav-content {
  28. width: 100%;
  29. }
  30. .top-nav.top-normal-width {
  31. width: 100%;
  32. max-width: none;
  33. }
  34. .top-nav-constance.blog-nav {
  35. .top-nav-content {
  36. width: 100%;
  37. }
  38. .top-normal-width {
  39. max-width: none;
  40. }
  41. }
  42. .top-hamburger {
  43. display: block;
  44. right: 20px;
  45. position: absolute;
  46. width: 30px;
  47. height: 30px;
  48. top: 0;
  49. bottom: 0;
  50. margin: auto;
  51. cursor: pointer;
  52. .top-hamburger-btn {
  53. width: 20px;
  54. height: 2px;
  55. border-radius: 5px;
  56. background: #b4b9c2;
  57. position: relative;
  58. top: 50%;
  59. left: 50%;
  60. margin-top: -2px;
  61. margin-left: -10px;
  62. transition: all 0.3s ease-in-out;
  63. &:before,
  64. &:after {
  65. content: '';
  66. position: absolute;
  67. width: 20px;
  68. height: 2px;
  69. border-radius: 5px;
  70. background: #b4b9c2;
  71. transition: all 0.5s ease-in-out;
  72. }
  73. }
  74. .top-hamburger-btn:before {
  75. transform: translateY(-6px);
  76. }
  77. .top-hamburger-btn:after {
  78. transform: translateY(6px);
  79. }
  80. }
  81. .top-hamburger-close {
  82. .top-hamburger-btn {
  83. width: 0;
  84. transition: .1s;
  85. }
  86. .top-hamburger-btn:before {
  87. transform: rotate(45deg);
  88. transition: all 0.3s ease-in-out;
  89. }
  90. .top-hamburger-btn:after {
  91. transform: rotate(-45deg);
  92. transition: all 0.3s ease-in-out;
  93. }
  94. }
  95. .top-nav {
  96. z-index: auto;
  97. .top-button {
  98. display: none;
  99. @include bluetryButton;
  100. left: auto;
  101. color: white;
  102. width: 100px;
  103. top: 0;
  104. font-size: $t2-size;
  105. height: 30px;
  106. line-height: 30px;
  107. right: 15px;
  108. position: absolute;
  109. bottom: 0;
  110. margin: auto;
  111. }
  112. }
  113. .white-top-nav {
  114. .top-nav {
  115. background: $white;
  116. }
  117. .top-button {
  118. display: block;
  119. }
  120. }
  121. .solution {
  122. .top-content {
  123. width: auto;
  124. }
  125. }
  126. .top-content-logo {
  127. height: 85px;
  128. img {
  129. height: 100%;
  130. width: auto;
  131. }
  132. }
  133. .top-content-slogan {
  134. margin-top: 10px;
  135. img {
  136. height: 100%;
  137. width: auto;
  138. }
  139. }
  140. .white-top-nav .top-nav-ul > a, .white-top-nav .top-nav-ul > div {
  141. color: white;
  142. }
  143. .top-nav-ul {
  144. position: fixed;
  145. width: 100%;
  146. height: 0;
  147. overflow: auto;
  148. right: 0;
  149. bottom: auto;
  150. background: white;
  151. top: 60px;
  152. left: 0;
  153. z-index: -1;
  154. padding-right: 0;
  155. opacity: 0;
  156. visibility: hidden;
  157. .top-login {
  158. display: none;
  159. }
  160. .top-registered {
  161. display: none;
  162. }
  163. &.top-nav-ul-mobile-show {
  164. height: calc(100% - 60px);
  165. opacity: 1;
  166. bottom: 0;
  167. visibility: visible;
  168. transition: 0.3s;
  169. .top-nav-ul-drop-down-list {
  170. display: none;
  171. height: 100%;
  172. }
  173. }
  174. .top-contact {
  175. padding-left: 0;
  176. .top-contact-img {
  177. display: none !important;
  178. }
  179. }
  180. .mobile-top-registered {
  181. color: $navy-blue !important;
  182. opacity: 0;
  183. position: fixed;
  184. left: 0;
  185. bottom: 50%;
  186. width: 100%;
  187. font-size: $h4-size;
  188. background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), white 34%);
  189. height: 100px;
  190. display: flex;
  191. align-items: center;
  192. text-align: center;
  193. justify-content: center;
  194. z-index: -1;
  195. visibility: hidden;
  196. cursor: default;
  197. &.mobile-top-registered-show {
  198. z-index: 1001;
  199. width: 100%;
  200. bottom: 0;
  201. opacity: 1;
  202. visibility: visible;
  203. }
  204. a.mobile-top-try {
  205. display: block;
  206. width: 110px;
  207. height: 40px;
  208. border-radius: 3px;
  209. background-image: linear-gradient(to right, $hover-blue 0%, $navy-blue 100%);
  210. line-height: 40px;
  211. font-size: 16px;
  212. font-weight: 500;
  213. text-align: center;
  214. color: $white;
  215. margin-right: 20px;
  216. transition: 0.2s;
  217. &:hover {
  218. background-image: linear-gradient(to right, $light-blue 0%, #2e77e5 100%);
  219. }
  220. }
  221. a.mobile-top-appointment {
  222. display: block;
  223. width: 110px;
  224. height: 40px;
  225. line-height: 40px;
  226. border: 1px solid $navy-blue;
  227. border-radius: 3px;
  228. color: $navy-blue;
  229. font-size: 16px;
  230. font-weight: 500;
  231. text-align: center;
  232. transition: 0.2s;
  233. &:hover {
  234. color: $light-blue;
  235. border-color: $light-blue;
  236. }
  237. }
  238. }
  239. }
  240. .top-nav-left.first {
  241. padding-left: 0 !important;
  242. }
  243. .top-nav-ul-drop-down-list a {
  244. display: flex;
  245. align-items: center;
  246. height: 70px;
  247. transition: 0.3s;
  248. padding: 15px 20px;
  249. &:hover {
  250. background-color: $background-blue;
  251. .product-nav-title {
  252. color: $dark-blue;
  253. }
  254. .product-nav-logo {
  255. border-radius: 8px;
  256. background-color: white;
  257. box-shadow: 0 4px 8px 0 rgba(48, 48, 48, 0.1), 0 0 1px 0 rgba(0, 0, 0, 0.1);
  258. }
  259. }
  260. &.future {
  261. display: none;
  262. }
  263. }
  264. .top-nav-focus-li {
  265. display: none;
  266. }
  267. .top-nav-logo {
  268. margin-left: 20px;
  269. z-index: 10;
  270. }
  271. .top-login {
  272. display: none;
  273. }
  274. .top-nav-ul > a, .top-nav-ul > div {
  275. display: block;
  276. font-size: 18px;
  277. color: $title-black;
  278. }
  279. .top-nav-ul > a li, .top-nav-ul > li {
  280. float: none;
  281. }
  282. .white-top-nav .top-nav-ul > .top-nav-ul-drop-down-able {
  283. height: auto;
  284. cursor: auto;
  285. }
  286. .top-nav-ul .dropdown-menu {
  287. display: none !important;
  288. }
  289. .top-nav-ul .product-dropdown .dropdown-mobile {
  290. display: none;
  291. }
  292. .top-nav-ul .product-dropdown .dropdown-mobile li {
  293. color: $title-black;
  294. }
  295. .top-nav-ul-drop-down-list {
  296. display: block;
  297. box-shadow: none;
  298. width: auto;
  299. padding: 10px 0;
  300. }
  301. .top-nav-right {
  302. display: none !important;
  303. }
  304. .top-nav-ul-drop-down-span {
  305. display: block;
  306. height: 54px;
  307. font-size: 16px;
  308. line-height: 54px;
  309. color: $title-black;
  310. font-weight: 500;
  311. border-bottom: 1px solid #edeff2;
  312. user-select: none;
  313. @include responsiveImage(hamburger-arrow-done);
  314. background-size: 10px 7px;
  315. background-repeat: no-repeat;
  316. background-position: right 5px center;
  317. cursor: pointer;
  318. margin: 0 20px;
  319. &.active {
  320. @include responsiveImage(hamburger-arrow-up);
  321. background-size: 10px 7px;
  322. background-repeat: no-repeat;
  323. color: $navy-blue;
  324. border-bottom-color: transparent;
  325. }
  326. }
  327. .product-nav-box {
  328. flex: 1;
  329. display: flex;
  330. flex-direction: column;
  331. margin-left: 10px;
  332. }
  333. .classify-nav {
  334. cursor: default;
  335. &.middle {
  336. a {
  337. &:hover {
  338. background-color: #e9f6f7;
  339. .product-nav-logo {
  340. 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);
  341. }
  342. .product-nav-box {
  343. .product-nav-title {
  344. color: #44acb6;
  345. }
  346. }
  347. }
  348. }
  349. }
  350. .classify-title {
  351. height: 20px;
  352. width: 62px;
  353. font-size: $t3-size;
  354. line-height: 17px;
  355. display: block;
  356. padding-bottom: 2px;
  357. border-bottom: 1px solid #edeff2;
  358. margin: 15px 0 10px 20px;
  359. color: $warm-gery;
  360. }
  361. }
  362. [data-focus="product"] {
  363. .top-nav-ul-drop-down-list {
  364. .nav-card {
  365. height: 110px;
  366. img {
  367. width: 130px;
  368. height: 80px;
  369. border-radius: 3px;
  370. }
  371. .nav-card-info {
  372. margin-left: 20px;
  373. }
  374. .nav-card-title {
  375. font-size: $t2-size;
  376. line-height: 24px;
  377. margin-bottom: 12px;
  378. color: $title-black;
  379. }
  380. .nav-card-subtitle {
  381. font-size: $t2-size;
  382. line-height: 20px;
  383. color: $warm-gery;
  384. }
  385. }
  386. .classify-nav .classify-title {
  387. width: 24px;
  388. }
  389. .classify-nav.middle {
  390. .classify-title {
  391. width: 48px;
  392. }
  393. }
  394. }
  395. }
  396. [data-focus="case"],
  397. [data-focus="solution"] {
  398. .top-nav-ul-drop-down-list a {
  399. height: 50px;
  400. padding: 15px 20px;
  401. }
  402. }
  403. [data-focus="service"] {
  404. .top-nav-ul-drop-down-list {
  405. padding: 0;
  406. cursor: default;
  407. a {
  408. height: 50px;
  409. padding: 15px 20px;
  410. &.nav-article-card {
  411. height: auto;
  412. }
  413. &:hover {
  414. .blog-tag span {
  415. color: $white;
  416. &.manage {
  417. background-color: $dark-blue;
  418. }
  419. &.super {
  420. background-color: $purple
  421. }
  422. &.product {
  423. background-color: $cyan;
  424. }
  425. &.dev {
  426. background-color: $green;
  427. }
  428. &.cto {
  429. background-color: $yellow;
  430. }
  431. &.news {
  432. background-color: $red;
  433. }
  434. }
  435. }
  436. }
  437. .nav-article-card {
  438. display: inline-block;
  439. width: 50%;
  440. vertical-align: top;
  441. .card-img {
  442. width: 164px;
  443. height: 100px;
  444. display: inline-block;
  445. vertical-align: middle;
  446. img {
  447. height: 100%;
  448. width: 100%;
  449. object-fit: cover;
  450. border-radius: 3px;
  451. }
  452. }
  453. .card-content {
  454. display: inline-block;
  455. vertical-align: middle;
  456. margin-left: 20px;
  457. width: 40%;
  458. .blog-tag {
  459. line-height: 24px;
  460. span {
  461. font-size: $t3-size;
  462. line-height: 24px;
  463. }
  464. }
  465. .card-info {
  466. font-size: $t2-size;
  467. line-height: 24px;
  468. color: $title-black;
  469. }
  470. }
  471. }
  472. }
  473. }
  474. [data-focus="pricing"]{
  475. margin-bottom: 100px;
  476. .top-nav-ul-drop-down-span {
  477. background-image: none;
  478. }
  479. span.top-nav-ul-drop-down-span {
  480. background-image: none;
  481. margin: 0;
  482. }
  483. }
  484. [data-focus="coupon"]{
  485. margin-bottom: 100px;
  486. .top-nav-ul-drop-down-span {
  487. background: url("#{$imageUrl}/activity/coupon/coupon-entry-nav.gif") no-repeat 2px 12px;
  488. background-size: 100px auto;
  489. }
  490. span.top-nav-ul-drop-down-span {
  491. background-image: none;
  492. padding-left: 8px;
  493. font-size: $t2-size;
  494. font-weight: 600;
  495. line-height: 54px;
  496. color: #fff;
  497. margin: 0;
  498. }
  499. }
  500. .product-nav-content {
  501. color: $title-black;
  502. }
  503. .product-nav-logo {
  504. height: 40px;
  505. width: 40px;
  506. object-fit: contain;
  507. }
  508. .product-nav-tips {
  509. display: none;
  510. }
  511. .product-nav-title {
  512. color: $title-black;
  513. line-height: 20px;
  514. font-size: $t2-size;
  515. .icon-new {
  516. display: inline-block;
  517. padding-left: 5px;
  518. }
  519. img{
  520. transform: translateY(1px);
  521. }
  522. }
  523. [data-focus="product"] {
  524. .product-nav-title {
  525. font-weight: 500;
  526. }
  527. }
  528. .product-nav-content {
  529. font-size: $t2-size;
  530. color: #767b83;
  531. }
  532. .sign_up_success .apply-step-4 {
  533. width: 262px;
  534. height: 300px;
  535. padding: 0;
  536. }