dbnt.co.kr2019/css/rnd.scss

1049 lines
32 KiB
SCSS

.subBanner {
width: 100%;
height: 200px;
background: url(../images/RND_b.jpg) ;
background-repeat: no-repeat;
background-size: cover;
background-position: 100% 60%;
}//end of subBanner
.active_fixBtn {
overflow: hidden;
width : 38px !important;
height: 28px !important;
background-color: #0061a9 !important;;
}
.trn_anc {
transform: rotate(90deg) !important;
}
.fixMenu {
display: none;
position: fixed;
right: 10px;
top: 50%;
width: 315px;
height: 160px;
background-color: rgba(000,000,000,0.4);
transition: 0.3s;
>p {
cursor: pointer;
float: right;
margin-right: 5px;
padding-top : 10px;
width: 30px;
height: 20px;
transform: rotate(-90deg);
background-image: url(../images/anchor.png);
background-repeat: no-repeat;
background-position: 50% 50%;
background-size: 50%;
transition: 0.2s;
&:hover {
background-position: 50% 100%;
}
}
>ul {
margin-top: 7px;
>li {
overflow: hidden;
position: relative;
width: 100%;
margin-top: 2px;
border-bottom: 1px solid rgba(255,255,255,0.4);
&:last-child {
border-bottom: none;
}
>a {
display: block;
width: 100%;
height: 30px;
line-height: 30px;
font-size: 13px;
padding-left: 25px;
color: #fff;
transition : 0.2s;
&:hover {
background-color: #0061a9;
}
&:after {
position: absolute;
top: 0px;
left: 10px;
width: 30px;
height: 30px;
transform: translateX(-50%) rotate(-90deg);
background-image: url(../images/anchor.png);
background-size: 50%;
background-repeat: no-repeat;
background-position: 50% 50%;
border-radius: 30px;
display: block;
height: 30px;
content: '';
}
}
}
}
}
.rndContainer {
width: 100%;
>p {
display: none;
}
>ol {
display: none;
}
>ul {
width: 1200px;
margin: 0px auto;
>li {
text-align: center;
&:nth-child(1) {
position: relative;
width: 1200px;
margin: 80px auto 0;
text-align: center;
font-size: 50px;
font-weight: 600;
color: #000;
text-transform: uppercase;
&:after {
position: absolute;
bottom: -25px;
left: 50%;
width: 100px;
margin-left : -50px;
height: 5px;
background-color: #000;
content: "";
}
}
&:nth-child(2) {
padding-top: 40px;
font-size: 20px;
line-height: 2.5em;
}
}
}//end of ul
>.rndWrapper {
height: 1000px;
>div {
position: relative; //all achor relative
width: 100%;
height: 800px;
background-repeat: no-repeat;
background-size: cover;
>ul {
position: relative;
width: 1200px;
margin: 50px auto 0;
>li {
float: left;
&:first-child {
overflow: hidden;
margin-right: 30px;
width: 570px;
height: 400px;
background-position: 50% 50%;
background-repeat: no-repeat;
>img {
width: 100%;
height: 100%;
}
>video {
width: 100%;
height: 100%;
background-color: #000;
}
}
&:last-child {
width: 600px;
height: 400px;
>dl {
position: relative;
padding-top: 20px;
color: #fff;
z-index: 0;
&:after {
position: absolute;
top: 0px;
left: -15px;
width: 620px;
height: 400px;
background-color: rgba(000,000,000,0.7);
content: '';
z-index: -1;
}
>dt {
margin-top: 20px;
font-weight: 600;
font-size: 23px;
z-index: 1;
}
>dd {
margin: 20px 0 40px;
line-height: 1.3em;
font-size: 16px;
letter-spacing: 1px;
>ul {
>li {
margin-right: 20px;
width: 180px;
float: left;
height: 120px;
//background-size: cover;
//background-repeat: no-repeat;
//background-position: 50% 50%;
box-sizing: border-box;
cursor: pointer;
&:first-child {
border: 3px solid orange;
}
>img {
width: 100%;
height: 100%;
}
>video {
cursor: pointer;
width: 100%;
height: 100%;
}
}
}
}
}
}//end of 설명 부분 li
}//end of li
}
>.rndInfo {
width: 1200px;
height: 450px;
margin: 50px auto 0;
background-color: rgba(000,000,000,0.7);
overflow-y: scroll;
&::-webkit-scrollbar {
width: 8px;
height: 8px;
border: 1px solid #fff;
}//스크롤 관련 css
&::-webkit-scrollbar-track {background: #efefef;
-webkit-border-radius: 10px;
border-radius:10px;
-webkit-box-shadow: inset 0 0 4px rgba(0,0,0,.2);
}//스크롤 관련 css
&::-webkit-scrollbar-thumb {
height: 50px;
width: 50px;
background: rgba(0,0,0,.2);
-webkit-border-radius: 8px;
border-radius: 8px;
-webkit-box-shadow: inset 0 0 4px rgba(0,0,0,.1);
}//스크롤 관련 css
>.innerScroll {
width: 100%;
height: auto;
>ul {
padding: 30px 20px;
font-size: 16px;
&:first-child {
padding-top: 50px;
}
>li {
color: #fff;
line-height: 1.7em;
margin-bottom: 20px;
}
>.techIntroduceTitle {
margin-bottom: 10px;
font-size: 21px;
font-weight: 600;
}
>.techIntroduceImg {
>span {
width: 1000px;
>img {
width: 80%;
}
}
}//end of techIntroduceImg
>.techIntroduceHandle {
width: 1150px;
//background-color: orange;
>dl {
margin-right: 30px;
width: 350px;
float: left;
padding-top: 30px;
>dd {
>img {
width: 90%;
}
&:last-child {
height: 50px;
//background-color: orange;
//line-height: 1.2em;
}
}
}
}//end of techIntroduceHandle
>.techIntroduceChart {
>dl {
margin-top: 10px;
>dt {
font-weight: 600;
}
>dd {
padding-left: 25px;
}
}
}//end of techIntroduceImg
}
}//end of innerScroll
}//end of rndInfo
}//end of all div layout
>.deepLearning {
height: 100%;
background-image: url(../images/car1_w.jpg);
background-size: cover;
background-position: 50% 50%;
background-repeat: no-repeat;
}//end of deepLearning
>.lunarSystem {
height: 100%;
background-image: url(../images/moon_w.jpg);
background-size: cover;
background-position: 50% 30%;
}//end of lunarSystem
>.LiquefactionModule {
height: 100%;
background-image: url(../images/disaster_w.jpg);
//background-color: gray;
background-position: 50% 60%;
background-size: cover;
}//end of LiquefactionModule
>.koreaRoadSign {
height: 100%;
background-image: url(../images/road_w.jpg);
background-position: 50% 30%;
>ul {
>li {
&:nth-child(1) {
//background-image: url(../images/korearoad_1.png);
}
&:nth-child(2) {
>dl > dd{
>a {
color: orange;
font-weight: 600;
}
&:last-child {
>ul>li {
&:nth-child(1) {
// background-image: url(../images/korearoad_2.png);
}
&:nth-child(2) {
// background-image: url(../images/korearoad_3.png);
}
&:nth-child(3) {
// background-image: url(../images/korearoad_3.png);
}
}
}
}
}
}
}
&:after {
display: none;
}
}//end of koreaRoadSign
}//end of rndWrapper
}//end of rndContainer
@keyframes anchor {
from {bottom : 50px;}
to {bottom : 15px;}
}
@media screen and (max-width:768px) {
.subBanner {
width: 100%;
height: 250px;//350px
background: url(../images/RND_m.png) ;
background-repeat: no-repeat;
background-size: cover;
background-position: 100% 50%;
}//end of subBanner
.fixMenu {
display: none;
position: fixed;
right: 10px;
top: inherit;//50%
bottom : 50%;
width: 315px;
height: 160px;
background-color: rgba(000,000,000,0.4);
transition: 0.3s;
>p {
cursor: pointer;
float: right;
margin-right: 5px;
padding-top : 10px;
width: 30px;
height: 20px;
transform: rotate(-90deg);
background-image: url(../images/anchor.png);
background-repeat: no-repeat;
background-position: 50% 50%;
background-size: 50%;
transition: 0.2s;
&:hover {
background-position: 50% 100%;
}
}
>ul {
margin-top: 7px;
>li {
overflow: hidden;
position: relative;
width: 100%;
margin-top: 2px;
border-bottom: 1px solid rgba(255,255,255,0.4);
&:last-child {
border-bottom: none;
}
>a {
display: block;
width: 100%;
height: 30px;
line-height: 30px;
font-size: 13px;
padding-left: 25px;
color: #fff;
transition : 0.2s;
&:hover {
background-color: #0061a9;
}
&:after {
position: absolute;
top: 0px;
left: 10px;
width: 30px;
height: 30px;
transform: translateX(-50%) rotate(-90deg);
background-image: url(../images/anchor.png);
background-size: 50%;
background-repeat: no-repeat;
background-position: 50% 50%;
border-radius: 30px;
display: block;
height: 30px;
content: '';
}
}
}
}
}//end of fixMenu
.rndContainer {
position: relative;
height: auto;
>p {
display: block;
}
>ol {
display: block;
}
>p {
position: absolute;
top: 15px;
right: 30px;
z-index: 9999;
>a {
padding: 10px;
//width: 40px;
//height: 40px;
text-align: center;
font-size: 30px;
font-weight: 900;
color: #333;
background-color: #ddd;
}
}
>ol {
position: absolute;
top:15px;
right: 20px;
z-index: 9999;
>li {
float: left;
>a {
padding: 10px;
//width: 40px;
//height: 40px;
text-align: center;
font-size: 30px;
font-weight: 900;
color: #333;
background-color: #ddd;
}
}
}
>ul {
width: 100%;//1200px
margin: 100px auto;
>li {
text-align: center;
&:nth-child(1) {
position: relative;
width: 100%;//1200px
margin: 80px auto 0;
text-align: center;
font-size: 30px;
font-weight: 600;
color: #000;
text-transform: uppercase;
&:after {
position: absolute;
bottom: -25px;
left: 50%;
width: 100px;
margin-left : -50px;
height: 3px;
background-color: #000;
content: "";
}
}
&:nth-child(2) {
padding-top: inherit;//40px
padding: 40px 20px;
font-size: 14px;
line-height: 2.5em;
}
}
}//end of ul
>.rndWrapper {
height: 1200px;
>div {
position: relative; //all achor relative
height: 1200px;
width: 100%;
background-repeat: no-repeat;
background-size: cover;
&:after {
display: none;
position: absolute;
bottom: 50px;
left: 50%;
transform: translateX(-50%);
width: 30px;
height : 30px;
background: url(../images/anchor.png);
background-position: 50% 50%;
background-repeat: no-repeat;
background-size: cover;
content: '';
animation-name: anchor;
animation-duration: 1s;
animation-iteration-count: infinite;
}
>ul {
position: relative;
width: 100%;//1200px
margin: 100px auto 0;
>li {
float: inherit;//left
text-align: center;
&:first-child {
overflow: hidden;
padding-top: 300px;//추가
margin-right: 30px;
width: 100%;//570px
height: 400px;
background-position: 50% 50%;
background-repeat: no-repeat;
>img {
width: 100%;
height: 70%;
//z-index: 9999999;
}
>video {
width: 100%;
height: 70%;
}
}
&:last-child {
position: absolute;
top: -70px;
width: 100%;//600px
height: 400px;
>dl {
position: relative;
padding-top: 20px;
color: #fff;
z-index: 0;
&:after {
position: absolute;
top: -10px;
left: 50%;
transform: translateX(-50%);
width: 100%;//620px
height: 110%;//400px
background-color: rgba(000,000,000,0.7);// 0.5
content: '';
z-index: -1;
}
>dt {
margin-top: 20px;
font-weight: 600;
font-size: 19px;
z-index: 1;
}
>dd {
margin: 20px 0 40px;
line-height: 1.9em;
font-size: 14px;
letter-spacing: 1px;
text-align: left;//추가
padding: 0 20px;//추가
&:last-child {//추가
position: absolute;
bottom: -150px;
}
>ul {
>li {
cursor: pointer;
margin-left: 0px;
margin-right: 0px;
width: 33.333333%;//
float: left;
height: 80px;
//background-size: cover;
//background-repeat: no-repeat;
//background-position: 50% 50%;
>img {
width: 100%;
height: 100%;
}
>video {
width: 100%;
height: 100%;
}
}
}
}
}
}//end of 설명 부분 li
}//end of li
}
>.rndInfo {
width: 100%;//1200px
height: 410px;//450px
margin: -80px auto 0;//30px auto 0
background-color: rgba(000,000,000,0.7);
overflow-y: scroll;
&::-webkit-scrollbar {
width: 8px;
height: 8px;
border: 1px solid #fff;
}//스크롤 관련 css
&::-webkit-scrollbar-track {background: #efefef;
-webkit-border-radius: 10px;
border-radius:10px;
-webkit-box-shadow: inset 0 0 4px rgba(0,0,0,.2);
}//스크롤 관련 css
&::-webkit-scrollbar-thumb {
height: 50px;
width: 50px;
background: rgba(0,0,0,.2);
-webkit-border-radius: 8px;
border-radius: 8px;
-webkit-box-shadow: inset 0 0 4px rgba(0,0,0,.1);
}//스크롤 관련 css
>.innerScroll {
width: 100%;
height: auto;
>ul {
padding: 50px 20px;
font-size: 16px;
>li {
color: #fff;
line-height: 1.7em;
font-size: 14px;
}
>.techIntroduceTitle {
font-size: 17px;
font-weight: 600;
}
>.techIntroduceImg {
>span {
width: 100%;
>img {
width: 100%;
}
}
}//end of techIntroduceImg
>.techIntroduceHandle {
width: 100%;
//background-color: orange;
>dl {
margin-right: 30px;
width: 350px;
float: left;
padding-top: 30px;
>dd {
>img {
width: 90%;
}
&:last-child {
line-height: 1.2em;
}
}
}
}
}
}//end of innerScroll
}//end of rndInfo
}//end of all div layout
>.deepLearning {
background: #555;
//background-image: url(../images/car1.jpg);
background-position: 50% 30%;
>ul {
>li:last-child {
>dl{
>dd:last-child{
bottom: -170px;
>ul{
li {
height: 100px;
>img {
height: 100px;
}
}
}
}
}
}
}
}//end of deepLearning
>.lunarSystem {
background-image: url(../images/moon.jpg);
background-position: 50% 30%;
}//end of lunarSystem
>.LiquefactionModule {
background-image: url(../images/module.jpg);
//background-color: gray;
background-position: 50% 90%;
background-size: cover;
>ul {
>li {
&:nth-child(1) {
padding-top: 340px;
}
}
}
}//end of LiquefactionModule
>.koreaRoadSign {
background-image: url(../images/road.jpg);
background-position: 50% 30%;
>ul {
>li {
&:nth-child(1) {
padding-top: 370px;
}
&:nth-child(2) {
>dl > dd{
&:last-child {
>ul>li {
&:nth-child(1) {
// background-image: url(../images/korearoad_2.png);
}
&:nth-child(2) {
// background-image: url(../images/korearoad_3.png);
}
&:nth-child(3) {
// background-image: url(../images/korearoad_3.png);
}
}
}
}
}
}
}
&:after {
display: none;
}
}//end of koreaRoadSign
}//end of rndWrapper
}//end of rndContainer
}//mediaQuery