control.css 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351
  1. /*导航*/
  2. #control header{
  3. min-width:1024px;
  4. height:123px;
  5. padding-top: 1px;
  6. }
  7. #control header nav{
  8. float:left;
  9. width:50%;
  10. padding-left:80px;
  11. height: inherit;
  12. }
  13. #control header nav a:nth-child(1){
  14. color: #2d3037;
  15. background: url(../img/Logo.svg) 47% 49% no-repeat;
  16. margin-right:8%;
  17. width:61px;
  18. }
  19. #control header nav a:nth-child(1):hover{color: #2d3037;}
  20. #control header nav a{
  21. display: inline-block;
  22. height: 123px;
  23. width:20%;
  24. text-align: center;
  25. line-height: 123px;
  26. font-weight: 500;
  27. color: #A8AAB1;
  28. font-size: 16px;
  29. font-family: HelveticaNeue-Medium;
  30. }
  31. #control header nav a:hover{
  32. color:#161A21;
  33. font-weight: 600;
  34. text-decoration:none;
  35. }
  36. #control header .controlBtn{
  37. float: right;
  38. width: 50%;
  39. text-align: right;
  40. height: inherit;
  41. padding-top: 45px;
  42. padding-right: 94px;
  43. }
  44. #control header .controlBtn span{
  45. display: inline-block;
  46. width: 32px;
  47. height: 32px;
  48. margin-right: 46px;
  49. }
  50. /*四个控件按钮*/
  51. #control .search{
  52. background:url("../img/search_icon.svg") no-repeat;
  53. }
  54. #control .search:hover{
  55. background:url("../img/search_icon_hover.svg") no-repeat;
  56. }
  57. #control .avatar{
  58. background:url("../img/avatar_default.svg") no-repeat;
  59. }
  60. #control .avatar:hover{
  61. background:url("../img/avatar_default_hover.svg") no-repeat;
  62. }
  63. #control .cart{
  64. background:url("../img/cart_icon.svg") no-repeat;
  65. }
  66. #control .cart:hover{
  67. background:url("../img/cart_icon_hover.svg") no-repeat;
  68. }
  69. #control .menu{
  70. background:url("../img/menu_icon.svg") no-repeat;
  71. }
  72. #control .menu:hover{
  73. background:url("../img/menu_icon_hover.svg") no-repeat;
  74. }
  75. #control header .hr{
  76. float: left;
  77. width: 88%;
  78. height: 1.5px;
  79. background: #F8F8F8;
  80. margin: 0 6%;
  81. }
  82. /*四个控件按钮--搜索*/
  83. #control_search{
  84. display:none;
  85. width: 88%;
  86. margin: 0 auto;
  87. }
  88. #control_search .title{
  89. text-align: center;
  90. padding-top: 198px;
  91. padding-bottom: 60px;
  92. font-family: HelveticaNeue;
  93. font-size: 32px;
  94. color: #262c38;
  95. animation:control_searchTitle 1.5s;
  96. -moz-animation:control_searchTitle 1.5s; /* Firefox */
  97. -webkit-animation:control_searchTitle 1.5s; /* Safari and Chrome */
  98. -o-animation:control_searchTitle 1.5s; /* Opera */
  99. }
  100. @keyframes control_searchTitle{
  101. 0% {padding-top:248px;opacity:0;}
  102. 100% {padding-top:198px;opacity:1;}
  103. }
  104. @-moz-keyframes control_searchTitle{
  105. 0% {padding-top:248px;opacity:0;}
  106. 100% {padding-top:198px;opacity:1;}
  107. }
  108. @-webkit-keyframes control_searchTitle{
  109. 0% {padding-top:248px;opacity:0;}
  110. 100% {padding-top:198px;opacity:1;}
  111. }
  112. @-o-keyframes control_searchTitle{
  113. 0% {padding-top:248px;opacity:0;}
  114. 100% {padding-top:198px;opacity:1;}
  115. }
  116. #control_search .input{
  117. text-align: center;
  118. }
  119. #control_search .input>div{
  120. display: inline-block;
  121. }
  122. #control_search .input>div>p{
  123. height:50px;
  124. animation:control_searchInput 1.5s;
  125. -moz-animation:control_searchInput 1.5s; /* Firefox */
  126. -webkit-animation:control_searchInput 1.5s; /* Safari and Chrome */
  127. -o-animation:control_searchInput 1.5s; /* Opera */
  128. }
  129. @keyframes control_searchInput{
  130. 0% {padding-top:50px;opacity:0;}
  131. 100% {padding-top:0px;opacity:1;}
  132. }
  133. @-moz-keyframes control_searchInput{
  134. 0% {padding-top:50px;opacity:0;}
  135. 100% {padding-top:0px;opacity:1;}
  136. }
  137. @-webkit-keyframes control_searchInput{
  138. 0% {padding-top:50px;opacity:0;}
  139. 100% {padding-top:0px;opacity:1;}
  140. }
  141. @-o-keyframes control_searchInput{
  142. 0% {padding-top:50px;opacity:0;}
  143. 100% {padding-top:0px;opacity:1;}
  144. }
  145. #control_search .input>div>p>input{
  146. float:left;
  147. height: 50px;
  148. width: 660px;
  149. text-indent: 1em;
  150. }
  151. #control_search .input>div>p>span{
  152. background: url(../img/search_icon_white.svg) no-repeat;
  153. float: left;
  154. display: inline-block;
  155. width: 71px;
  156. height: 50px;
  157. border-radius: 1px;
  158. line-height: 50px;
  159. border-left: 0;
  160. background-color: #00c400;
  161. background-position: 50% 50%;
  162. }
  163. #control_search .input>div>span{
  164. color: #767a82;
  165. display: inline-block;
  166. font-size: 40px;
  167. line-height: 25px;
  168. margin-top:298px;
  169. animation:control_searchClose 1.5s;
  170. -moz-animation:control_searchClose 1.5s; /* Firefox */
  171. -webkit-animation:control_searchClose 1.5s; /* Safari and Chrome */
  172. -o-animation:control_searchClose 1.5s; /* Opera */
  173. }
  174. @keyframes control_searchClose{
  175. 0% {padding-top:50px;opacity:0;}
  176. 100% {padding-top:0px;opacity:1;}
  177. }
  178. @-moz-keyframes control_searchClose{
  179. 0% {padding-top:50px;opacity:0;}
  180. 100% {padding-top:0px;opacity:1;}
  181. }
  182. @-webkit-keyframes control_searchClose{
  183. 0% {padding-top:50px;opacity:0;}
  184. 100% {padding-top:0px;opacity:1;}
  185. }
  186. @-o-keyframes control_searchClose{
  187. 0% {padding-top:50px;opacity:0;}
  188. 100% {padding-top:0px;opacity:1;}
  189. }
  190. #control_search .hot{
  191. text-align: left;
  192. animation:control_searchHot 1.5s;
  193. -moz-animation:control_searchHot 1.5s; /* Firefox */
  194. -webkit-animation:control_searchHot 1.5s; /* Safari and Chrome */
  195. -o-animation:control_searchHot 1.5s; /* Opera */
  196. }
  197. @keyframes control_searchHot{
  198. 0% {padding-top:50px;opacity:0;}
  199. 100% {padding-top:0px;opacity:1;}
  200. }
  201. @-moz-keyframes control_searchHot{
  202. 0% {padding-top:50px;opacity:0;}
  203. 100% {padding-top:0px;opacity:1;}
  204. }
  205. @-webkit-keyframes control_searchHot{
  206. 0% {padding-top:50px;opacity:0;}
  207. 100% {padding-top:0px;opacity:1;}
  208. }
  209. @-o-keyframes control_searchHot{
  210. 0% {padding-top:50px;opacity:0;}
  211. 100% {padding-top:0px;opacity:1;}
  212. }
  213. #control_search .hot .tit{
  214. font-weight:600;
  215. }
  216. #control_search .hot p{
  217. margin-bottom: 0px;
  218. }
  219. #control_search .hr{
  220. background-color: #f1f1f1;
  221. height: 2px;
  222. margin: 50px 0;
  223. }
  224. /*四个控件按钮--头像*/
  225. #control_avatar{
  226. display:none;
  227. }
  228. /*四个控件按钮--购物车*/
  229. #control_cart{
  230. display:none;
  231. }
  232. /*四个控件按钮--菜单*/
  233. #control_menu{
  234. display:none;
  235. background-color: rgba(153, 153, 153,.5);
  236. position: fixed;
  237. top: 0;
  238. left: 0;
  239. width: 100%;
  240. height: 100%;
  241. text-align:right;
  242. }
  243. #control_menu .main{
  244. width: 27%;
  245. height: 100%;
  246. display: inline-block;
  247. background-color: #fff;
  248. }
  249. #control_menu .shut{
  250. text-align: left;
  251. margin: 4rem 88.5% 42px 2rem;
  252. font-size: 50px;
  253. color: #D1D5DA;
  254. line-height: 28px;
  255. font-weight: 300;
  256. }
  257. #control_menu .one{
  258. text-align: left;
  259. width: 90%;
  260. margin: auto 5%;
  261. height: 168px;
  262. }
  263. #control_menu .one table{
  264. width: 100%;
  265. }
  266. #control_menu .one th{
  267. width: 50%;
  268. padding-bottom: 35px;
  269. font-size: 16px;
  270. }
  271. #control_menu .one td{
  272. width: 50%;
  273. padding-bottom: 19px;
  274. font-size: 14px;
  275. cursor: pointer;
  276. }
  277. .in{
  278. color: #007AFF;
  279. }
  280. /*页脚*/
  281. #uiLayer>footer{
  282. background-color: #F1F1F1;
  283. width:100%;
  284. height: 35px;
  285. line-height: 35px;
  286. color: #a5a7ae;
  287. text-indent: 2rem;
  288. }
  289. #uiLayer>footer>div{
  290. float: right;
  291. padding-right: 3rem;
  292. line-height: 0;
  293. }
  294. #uiLayer>footer>div>span{
  295. display:inline-block;
  296. width:25px;
  297. height:25px;
  298. background-position-x: 3px;
  299. background-repeat: no-repeat;
  300. margin: 8px 1.5rem 0 0;
  301. }
  302. #uiLayer>footer .facebook{
  303. background-image: url("../img/facebook_icon.svg");
  304. }
  305. #uiLayer>footer .facebook:hover{
  306. background-image: url("../img/facebook_icon_hover.svg");
  307. }
  308. #uiLayer>footer .twitter{
  309. background-image: url("../img/twitter_icon.svg");
  310. }
  311. #uiLayer>footer .twitter:hover{
  312. background-image: url("../img/twitter_icon_hover.svg");
  313. }
  314. #uiLayer>footer .pinterest{
  315. background-image: url("../img/pinternest_iocn.svg");
  316. }
  317. #uiLayer>footer .pinterest:hover{
  318. background-image: url("../img/pinternest_iocn_hover.svg");
  319. }
  320. #uiLayer>footer .google{
  321. background-image: url("../img/google_icon.svg");
  322. }
  323. #uiLayer>footer .google:hover{
  324. background-image: url("../img/google_icon_hover.svg");
  325. }
  326. #uiLayer>footer .instagram{
  327. background-image: url("../img/instagram_icon.svg");
  328. }
  329. #uiLayer>footer .instagram:hover{
  330. background-image: url("../img/instagram_icon_hover.svg");
  331. }
  332. #uiLayer>footer .wechat{
  333. background-image: url("../img/wechat_icon.svg");
  334. }
  335. #uiLayer>footer .wechat:hover{
  336. background-image: url("../img/wechat_icon_hover.svg");
  337. }
  338. #uiLayer>footer .youtube{
  339. background-image: url("../img/youtube_icon.svg");
  340. }
  341. #uiLayer>footer .youtube:hover{
  342. background-image: url("../img/youtube_icon_hover.svg");
  343. }