index.scss 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802
  1. @import 'photo-sphere-viewer.min.css';
  2. @import 'reset.scss';
  3. @import './base/mixin.scss';
  4. html, body {
  5. width: 100%;
  6. height: 100%;
  7. overflow: hidden;
  8. margin: 0;
  9. padding: 0;
  10. }
  11. .clearfix{
  12. zoom: 1;
  13. &::after{
  14. content: '';
  15. display: block;
  16. visibility: hidden;
  17. clear: both;
  18. height: 0;
  19. }
  20. }
  21. #photosphere {
  22. width: 100%;
  23. height: 100%;
  24. .link{
  25. color: #333333;
  26. text-decoration: none;
  27. }
  28. .btn {
  29. color: #ffffff;
  30. }
  31. .pub-btn{
  32. color: #ffffff;
  33. line-height: px2rem(40);
  34. border-radius: px2rem(25);
  35. background-color: #ff6600;
  36. height: px2rem(40);
  37. padding: 0 px2rem(20);
  38. position: absolute;
  39. font-size: px2rem(14);
  40. cursor: pointer;
  41. transition: .2s all ease-in-out;
  42. box-shadow: 0px 0px 20px 2px #ff6600;
  43. &:hover{
  44. background-color: #e45d03;
  45. }
  46. }
  47. .watch-movie-btn{
  48. right: px2rem(15);
  49. bottom: px2rem(15);
  50. }
  51. .wrapper{
  52. top: 0;
  53. bottom: 0;
  54. right: 0;
  55. width: px2rem(200);
  56. }
  57. .wrapper img{
  58. width: 100%;
  59. }
  60. .nav{
  61. position: fixed;
  62. top: px2rem(20);
  63. left: px2rem(20);
  64. z-index: 99;
  65. a{
  66. float: left;
  67. text-decoration: none;
  68. color: #ffffff;
  69. background-color: rgba($color: #000000, $alpha: .6);
  70. line-height: px2rem(50);
  71. font-size: px2rem(18);
  72. font-weight: bold;
  73. width: px2rem(156);
  74. text-align: center;
  75. cursor: pointer;
  76. transition: .2s all ease-in-out;
  77. &.current{
  78. opacity: 1;
  79. background-color: #ff6600;
  80. color: #ffffff;
  81. text-shadow: 0px 0 1px #ffffff;
  82. }
  83. &.disable{
  84. background: url('../img/lock.png') px2rem(10) center no-repeat;
  85. color: #4c4c4c;
  86. background-color: #070c10;
  87. background-size: px2rem(20) px2rem(20);
  88. pointer-events: none;
  89. }
  90. &:hover{
  91. opacity: 1;
  92. }
  93. }
  94. }
  95. .pub-modal{
  96. position: fixed;
  97. z-index: 999;
  98. top: px2rem(110);
  99. left: px2rem(20);
  100. display: none;
  101. overflow: hidden;
  102. background-color: rgba($color: #000000, $alpha: 0.5);
  103. .top-bar {
  104. padding: 0 px2rem(20);
  105. height: px2rem(40);
  106. line-height: px2rem(40);
  107. font-weight: bold;
  108. color: #ffffff;
  109. border-bottom: 1px solid #ff6600;
  110. font-size: px2rem(20);
  111. text-shadow: 0 2px #000000, 2px 0 #000000, -2px 0 #000000, 0 -2px #000000;
  112. }
  113. .container{
  114. position: relative;
  115. padding: px2rem(20);
  116. box-sizing: border-box;
  117. }
  118. .article-title{
  119. font-size: px2rem(18);
  120. color: #ffffff;
  121. font-weight: bold;
  122. margin-bottom: px2rem(12);
  123. text-shadow: 0 2px #000000, 2px 0 #000000, -2px 0 #000000, 0 -2px #000000;
  124. }
  125. .article-text{
  126. color: #ffffff;
  127. font-size: px2rem(14);
  128. }
  129. }
  130. .close-icon{
  131. float: right;
  132. width: px2rem(16);
  133. height: px2rem(16);
  134. margin-top: px2rem(12);
  135. cursor: pointer;
  136. background: url('../img/close-icon.png');
  137. background-size: 100%;
  138. }
  139. .suggest-modal{
  140. .container{
  141. .line{
  142. position: absolute;
  143. bottom: 0;
  144. left: px2rem(20);
  145. right: px2rem(20);
  146. border-bottom: 1px dotted #808080;
  147. }
  148. .poster{
  149. float: left;
  150. width: px2rem(292);
  151. margin-right: px2rem(20);
  152. }
  153. .introduce{
  154. float: left;
  155. position: relative;
  156. width: px2rem(320);
  157. color: #ffffff;
  158. .article-text{
  159. line-height: px2rem(42);
  160. }
  161. }
  162. }
  163. .tips{
  164. padding: px2rem(20);
  165. img{
  166. float: left;
  167. width: px2rem(116);
  168. height: px2rem(116);
  169. border-radius: 50%;
  170. }
  171. .tips-wrap{
  172. float: left;
  173. width: px2rem(500);
  174. margin-left: px2rem(20);
  175. h3{
  176. font-size: px2rem(18);
  177. color: #b0e345;
  178. margin-bottom: px2rem(10);
  179. text-shadow: 0 2px #000000, 2px 0 #000000, -2px 0 #000000, 0 -2px #000000;
  180. font-weight: bold;
  181. }
  182. p{
  183. font-size: px2rem(14);
  184. color: #ffffff;
  185. line-height: 1.6;
  186. }
  187. }
  188. }
  189. }
  190. .big-modal{
  191. .left-side{
  192. float: left;
  193. width: px2rem(296);
  194. margin-right: px2rem(20);
  195. img{
  196. width: 100%;
  197. }
  198. p{
  199. margin-top: px2rem(6);
  200. color: #ffffff;
  201. font-size: px2rem(14);
  202. line-height: 1.6;
  203. }
  204. }
  205. .right-side{
  206. float: left;
  207. width: px2rem(336);
  208. .article-text{
  209. line-height: 1.6;
  210. margin-bottom: px2rem(25);
  211. &:last-of-type{
  212. margin-bottom: 0;
  213. }
  214. }
  215. }
  216. }
  217. .small-modal{
  218. left: 20%;
  219. top: 22%;
  220. img{
  221. float: left;
  222. }
  223. .article-text{
  224. float: left;
  225. width: px2rem(224);
  226. margin-left: px2rem(20);
  227. line-height: 1.6;
  228. }
  229. }
  230. .snow-circle{
  231. width: px2rem(20);
  232. opacity: .8;
  233. height: auto;
  234. }
  235. #psv-marker-location-foot{
  236. border-radius: 50%;
  237. animation: jump 1.3s ease-in-out infinite;
  238. }
  239. #psv-marker-location-deer{
  240. border-radius: 50%;
  241. animation: jump 1.3s ease-in-out infinite;
  242. }
  243. #psv-marker-location-rabit{
  244. border-radius: 50%;
  245. animation: jump 1.3s ease-in-out infinite;
  246. }
  247. #psv-marker-location-beer{
  248. border-radius: 50%;
  249. animation: jump 1.3s ease-in-out infinite;
  250. }
  251. #psv-marker-location-lake{
  252. border-radius: 50%;
  253. animation: jump 1.3s ease-in-out infinite;
  254. }
  255. #psv-marker-location-road{
  256. border-radius: 50%;
  257. animation: jump 1.3s ease-in-out infinite;
  258. }
  259. #psv-marker-location-lynx{
  260. border-radius: 50%;
  261. animation: jump 1.3s ease-in-out infinite;
  262. }
  263. #psv-marker-location-bird{
  264. border-radius: 50%;
  265. animation: jump 1.3s ease-in-out infinite;
  266. }
  267. #psv-marker-location-fox{
  268. border-radius: 50%;
  269. animation: jump 1.3s ease-in-out infinite;
  270. }
  271. @keyframes jump {
  272. 0% {
  273. margin-top: 0;
  274. opacity: .8;
  275. width: 35px;
  276. height: 35px;
  277. }
  278. 50% {
  279. margin-top: -15px;
  280. opacity: 1;
  281. width: 40px;
  282. height: 40px;
  283. }
  284. 100% {
  285. margin-top: 0;
  286. opacity: .8;
  287. width: 35px;
  288. height: 35px;
  289. }
  290. }
  291. .psv-tooltip{
  292. cursor: pointer;
  293. }
  294. .hide-video{
  295. opacity: 0;
  296. transform: translate(-3000px);
  297. }
  298. .poster{
  299. cursor: pointer;
  300. }
  301. .video-wrapper{
  302. position: fixed;
  303. z-index: 1999;
  304. top: 0;
  305. left: 0;
  306. right: 0;
  307. bottom: 0;
  308. display: flex;
  309. align-items: center;
  310. justify-content: center;
  311. background-color: rgba($color: #000000, $alpha: .4);
  312. video {
  313. width: px2rem(800);
  314. }
  315. .part-screen{
  316. position: relative;
  317. }
  318. .close-icon{
  319. position: absolute;
  320. top: -px2rem(15);
  321. right: -px2rem(15);
  322. margin-top: 0;
  323. }
  324. }
  325. .fullscreen-video{
  326. position: fixed;
  327. z-index: 1999;
  328. top: 0;
  329. left: 0;
  330. right: 0;
  331. bottom: 0;
  332. display: flex;
  333. align-items: center;
  334. justify-content: center;
  335. background-color: #000000;
  336. }
  337. .close-full-video{
  338. position: absolute;
  339. z-index: 2000;
  340. top: px2rem(5);
  341. right: px2rem(10);
  342. }
  343. .mod-full-picture{
  344. position: fixed;
  345. z-index: 1000;
  346. top: -10px;
  347. left: -10px;
  348. right: -10px;
  349. bottom: -10px;
  350. .go-back{
  351. position: absolute;
  352. top: px2rem(30);
  353. right: px2rem(30);
  354. padding: 0 px2rem(40);
  355. }
  356. }
  357. #lookout-pic{
  358. background: url('../img/lookout-pic.jpg') center center no-repeat;
  359. background-size: cover;
  360. }
  361. #lookout-snow-pic{
  362. background: url('../img/P2-lookout.jpg') center center no-repeat;
  363. background-size: cover;
  364. }
  365. #lookout-hunt-pic{
  366. background: url('../img/P3-lookout.jpg') center center no-repeat;
  367. background-size: cover;
  368. }
  369. #lake-pic{
  370. background: url('../img/P1-lake.jpg') center center no-repeat;
  371. background-size: cover;
  372. }
  373. #road-pic{
  374. background: url('../img/P2-road.jpg') center center no-repeat;
  375. background-size: cover;
  376. }
  377. #p3-road-pic{
  378. background: url('../img/P3-road.jpg') center center no-repeat;
  379. background-size: cover;
  380. }
  381. .e-tips{
  382. position: absolute;
  383. top: 50%;
  384. left: 50%;
  385. transform: translate(-50%, -50%);
  386. animation: tips 1.2s ease-in-out infinite;
  387. }
  388. @keyframes tips {
  389. 0%{
  390. margin-top: 0;
  391. }
  392. 50%{
  393. margin-top: px2rem(20);
  394. }
  395. 100%{
  396. margin-top: 0;
  397. }
  398. }
  399. .loading-bg{
  400. position: fixed;
  401. top: 0;
  402. left: 0;
  403. right: 0;
  404. bottom: 0;
  405. z-index: 999;
  406. .loading-gif {
  407. position: absolute;
  408. top: px2rem(15);
  409. left: px2rem(15);
  410. width: px2rem(150);
  411. height: px2rem(150);
  412. }
  413. }
  414. .loading-bg-scene1{
  415. background: url('../img/P1-loading.jpg') center center no-repeat;
  416. background-size: cover;
  417. }
  418. .loading-bg-scene2{
  419. background: url('../img/P2-loading.jpg') center center no-repeat;
  420. background-size: cover;
  421. }
  422. .loading-bg-scene3{
  423. background: url('../img/P3-loading.jpg') center center no-repeat;
  424. background-size: cover;
  425. }
  426. .hunt-btn{
  427. position: absolute;
  428. left: px2rem(15);
  429. bottom: px2rem(22);
  430. box-shadow: none;
  431. }
  432. .equit-tips{
  433. position: absolute;
  434. top: 50%;
  435. left: 50%;
  436. transform: translate(-50%,-50%);
  437. animation: tips 1.2s ease-in-out infinite;
  438. }
  439. .equit-success {
  440. display: none;
  441. position: absolute;
  442. top: 50%;
  443. left: 50%;
  444. transform: translate(-50%,-50%);
  445. width: px2rem(360);
  446. border-radius: px2rem(6);
  447. background-color: rgba($color: #000000, $alpha: .6);
  448. text-align: center;
  449. padding: px2rem(50) 0 px2rem(20);
  450. h3{
  451. text-align: center;
  452. color: #fffefe;
  453. font-size: px2rem(28);
  454. font-weight: bold;
  455. margin-bottom: px2rem(40);
  456. text-shadow: 0 2px #000000, 2px 0 #000000, -2px 0 #000000, 0 -2px #000000;
  457. }
  458. .close-equit-btn{
  459. position: static;
  460. display: inline-block;
  461. box-shadow: none;
  462. padding: 0 px2rem(30);
  463. line-height: px2rem(30);
  464. height: px2rem(30);
  465. }
  466. }
  467. .start-equit-btn {
  468. right: px2rem(20);
  469. bottom: px2rem(20);
  470. box-shadow: none;
  471. }
  472. .equit-modal{
  473. width: px2rem(688);
  474. top: 50%;
  475. left: 50%;
  476. transform: translate(-50%, -50%);
  477. .container{
  478. height: px2rem(360);
  479. // background-color: rgba($color: #000000, $alpha: .5);
  480. }
  481. .main{
  482. margin-top: px2rem(20);
  483. }
  484. .img-box{
  485. float: left;
  486. width: px2rem(332);
  487. text-align: center;
  488. img{
  489. display: inline-block;
  490. height: auto;
  491. }
  492. .weapon-img{
  493. width: px2rem(359);
  494. }
  495. .fodder-img{
  496. width: px2rem(187);
  497. }
  498. .aim-img{
  499. width: px2rem(364);
  500. }
  501. }
  502. .info{
  503. float: right;
  504. width: px2rem(283);
  505. color: #ffffff;
  506. font-size: px2rem(14);
  507. .title{
  508. font-size: px2rem(18);
  509. margin-bottom: px2rem(18);
  510. color: #ffffff;
  511. }
  512. .text{
  513. line-height: 2;
  514. }
  515. }
  516. }
  517. .equit-nav{
  518. display: flex;
  519. .nav-item-wrap{
  520. flex: 1;
  521. height: px2rem(64);
  522. line-height: px2rem(64);
  523. text-align: center;
  524. cursor: pointer;
  525. &.active{
  526. background: url('../img/orange-bg.png') center center no-repeat;
  527. background-size: 100%;
  528. }
  529. }
  530. .nav-item{
  531. display: inline-block;
  532. line-height: px2rem(32);
  533. color: #fffefe;
  534. font-size: px2rem(20);
  535. font-weight: bold;
  536. i{
  537. display: inline-block;
  538. width: px2rem(32);
  539. height: px2rem(32);
  540. vertical-align: bottom;
  541. }
  542. .weapon-icon{
  543. background: url('../img/weapon-icon.png') center center no-repeat;
  544. }
  545. .fodder-icon{
  546. background: url('../img/fodder-icon.png') center center no-repeat;
  547. }
  548. .aim-icon{
  549. background: url('../img/glass-icon.png') center center no-repeat;
  550. }
  551. }
  552. }
  553. .book-icon{
  554. position: fixed;
  555. z-index: 10;
  556. width: px2rem(156);
  557. height: px2rem(50);
  558. background: url('../img/book-icon.jpg') center center no-repeat;
  559. background-size: 100%;
  560. color: #ffffff;
  561. right: px2rem(20);
  562. bottom: px2rem(20);
  563. cursor: pointer;
  564. }
  565. .fade-in{
  566. opacity: 0;
  567. }
  568. .delay-200 {
  569. animation-delay: 200ms;
  570. }
  571. .delay-400 {
  572. animation-delay: 400ms;
  573. }
  574. .progress-modal{
  575. position: fixed;
  576. width: px2rem(305);
  577. height: px2rem(140);
  578. box-sizing: border-box;
  579. padding-top: px2rem(30);
  580. top: px2rem(100);
  581. right: px2rem(20);
  582. background-color: rgba($color: #000000, $alpha: .5);
  583. border: 1px solid #ff620c;
  584. .tips{
  585. text-align: center;
  586. color: #ffffff;
  587. font-size: px2rem(16);
  588. margin-bottom: px2rem(24);
  589. }
  590. .progress{
  591. text-align: center;
  592. font-size: px2rem(20);
  593. color: #ffffff;
  594. }
  595. }
  596. .reset-modal{
  597. display: none;
  598. z-index: 99;
  599. top: 50%;
  600. left: 50%;
  601. margin-top: -px2rem(70);
  602. margin-left: -px2rem(152);
  603. .tips{
  604. font-weight: bold;
  605. text-shadow: 0 2px #000000, 2px 0 #000000, -2px 0 #000000, 0 -2px #000000;
  606. }
  607. .btn-wrap{
  608. width: px2rem(180);
  609. margin: 0 auto;
  610. }
  611. .btn{
  612. display: inline-block;
  613. width: px2rem(68);
  614. height: px2rem(30);
  615. line-height: px2rem(30);
  616. text-align: center;
  617. background-color: #ff6600;
  618. color: #ffffff;
  619. font-size: px2rem(16);
  620. cursor: pointer;
  621. &:hover{
  622. background-color: #e45d03
  623. }
  624. }
  625. .yes-btn{
  626. float: left;
  627. }
  628. .no-btn{
  629. float: right;
  630. }
  631. }
  632. .book-success-modal{
  633. display: block;
  634. background-color: rgba($color: #000000, $alpha: .9);
  635. .btn-wrap{
  636. text-align: center;
  637. }
  638. .tips{
  639. font-size: px2rem(20);
  640. }
  641. }
  642. .complete-modal{
  643. background-color: rgba($color: #000000, $alpha: .6);
  644. width: px2rem(400);
  645. height: auto;
  646. padding: px2rem(30) px2rem(20);
  647. display: none;
  648. z-index: 99;
  649. top: 50%;
  650. left: 50%;
  651. margin-top: -px2rem(70);
  652. margin-left: -px2rem(152);
  653. .tips{
  654. font-weight: bold;
  655. text-shadow: 0 2px #000000, 2px 0 #000000, -2px 0 #000000, 0 -2px #000000;
  656. }
  657. .btn-wrap{
  658. width: px2rem(180);
  659. margin: 0 auto;
  660. }
  661. .btn{
  662. display: inline-block;
  663. width: px2rem(68);
  664. height: px2rem(30);
  665. line-height: px2rem(30);
  666. text-align: center;
  667. background-color: #ff6600;
  668. color: #ffffff;
  669. font-size: px2rem(16);
  670. cursor: pointer;
  671. &:hover{
  672. background-color: #e45d03
  673. }
  674. }
  675. }
  676. .toolbar-box{
  677. position: fixed;
  678. z-index: 99;
  679. top: px2rem(20);
  680. right: px2rem(20);
  681. width: px2rem(305);
  682. text-align: center;
  683. .toolbar-icon{
  684. display: inline-block;
  685. margin: 0 px2rem(15);
  686. cursor: pointer;
  687. width: px2rem(62);
  688. height: px2rem(62);
  689. &:hover{
  690. opacity: .8;
  691. }
  692. }
  693. .bgm-icon{
  694. width: px2rem(60);
  695. height: px2rem(60);
  696. position: relative;
  697. background-color: rgba($color: #000000, $alpha: .6);
  698. border-radius: 50%;
  699. &:after{
  700. content: '';
  701. position: absolute;
  702. width: px2rem(30);
  703. height: px2rem(30);
  704. top: 50%;
  705. left: 50%;
  706. margin-top: -px2rem(13);
  707. margin-left: -px2rem(15);
  708. background: url('../img/bgm-icon.png') top center no-repeat;
  709. background-size: 100%;
  710. }
  711. &.pause {
  712. &:after{
  713. background: url('../img/bgm-icon.png') bottom center no-repeat;
  714. background-size: 100%;
  715. }
  716. }
  717. }
  718. .comment-icon{
  719. background: url('../img/comment-icon.png') bottom center no-repeat;
  720. background-size: 100%;
  721. }
  722. .reset-icon{
  723. width: px2rem(60);
  724. height: px2rem(60);
  725. position: relative;
  726. background-color: rgba($color: #000000, $alpha: .6);
  727. border-radius: 50%;
  728. &:after{
  729. content: '';
  730. position: absolute;
  731. width: px2rem(30);
  732. height: px2rem(30);
  733. top: 50%;
  734. left: 50%;
  735. margin-top: -px2rem(13);
  736. margin-left: -px2rem(15);
  737. background: url('../img/reset-btn.png') center center no-repeat;
  738. background-size: 100%;
  739. }
  740. }
  741. }
  742. .full-pic-modal{
  743. display: block;
  744. width: px2rem(430);
  745. left: px2rem(30);
  746. top: px2rem(30);
  747. position: fixed;
  748. z-index: 999;
  749. overflow: hidden;
  750. background-color: rgba($color: #000000, $alpha: 0.5);
  751. .top-bar {
  752. padding: 0 px2rem(20);
  753. height: px2rem(40);
  754. line-height: px2rem(40);
  755. font-weight: bold;
  756. color: #ffffff;
  757. border-bottom: 1px solid #ff6600;
  758. font-size: px2rem(20);
  759. text-shadow: 0 2px #000000, 2px 0 #000000, -2px 0 #000000, 0 -2px #000000;
  760. }
  761. .container{
  762. position: relative;
  763. padding: px2rem(20);
  764. box-sizing: border-box;
  765. }
  766. p{
  767. color: #ffffff;
  768. font-size: px2rem(14);
  769. text-indent: 2em;
  770. margin-bottom: px2rem(10);
  771. line-height: 1.5;
  772. }
  773. .eyes-btn{
  774. margin-top: px2rem(25);
  775. width: px2rem(100);
  776. height: px2rem(40);
  777. background: url('../img/eyes-logo.png') no-repeat;
  778. background-size: 100%;
  779. cursor: pointer;
  780. }
  781. }