UNPKG

hpg-r3f-model-scene

Version:

Pretty Footer react component used in ant.design

173 lines (145 loc) 2.93 kB
@footer-prefix-cls: model-scene; .@{footer-prefix-cls} { position: relative; clear: both; width: 100%; height: 100%; color: #333; font-size: 14px; line-height: 1.5; background-color: #fff; .com-loading-content > .line { display: block; width: 0; height: 2px; background: linear-gradient(rgb(255, 153, 0), #ff6600); border-radius: 1px; box-shadow: 0 0 5px rgba(255, 153, 0, 0.5); opacity: 1; transition: width 0.25s ease; content: ''; } .com-loading-content > .line :hover { background: linear-gradient(rgb(255, 153, 0), #ff9900); } .com-loading-content > .logo { border: none; outline: none; } .logo1 { width: 200px; height: 50px; background-image: url(//hgp-public.oss-cn-hangzhou.aliyuncs.com/web3d/logo-blackx4.png); background-repeat: no-repeat; background-size: cover; } a { color: rgba(255, 255, 255, 0.9); text-decoration: none; transition: all 0.3s; &:hover { color: #40a9ff; } } &-container { width: 100%; max-width: 1200px; margin: auto; padding: 80px 0 20px; } &-columns { display: flex; justify-content: space-around; } &-column { margin-bottom: 60px; h2 { position: relative; margin: 0 auto; color: #fff; font-weight: 500; font-size: 16px; } &-icon { position: relative; top: -1px; display: inline-block; width: 22px; text-align: center; vertical-align: middle; margin-inline-end: 0.5em; > span, > svg, img { display: block; width: 100%; } } } &-item { margin: 12px 0; &-icon { position: relative; top: -1px; display: inline-block; width: 16px; text-align: center; vertical-align: middle; margin-inline-end: 0.4em; > span, > svg, img { display: block; width: 100%; } } &-separator { margin: 0 0.3em; } } &-bottom { &-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 16px 0; font-size: 16px; line-height: 32px; text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.25); } } &-light { color: rgba(0, 0, 0, 0.85); background-color: transparent; h2, a { color: rgba(0, 0, 0, 0.85); } } &-light &-bottom-container { border-top-color: #e8e8e8; } &-light &-item-separator, &-light &-item-description { color: rgba(0, 0, 0, 0.45); } } @media only screen and (max-width: 767.99px) { .@{footer-prefix-cls} { text-align: center; &-container { padding: 40px 0; } &-columns { display: block; } &-column { display: block; margin-bottom: 40px; &:last-child { margin-bottom: 0; } } } }