Y-SLD/assets/playkit/_login/css/main.css

215 lines
5.7 KiB
CSS

body {
margin: 0;
padding: 0;
}
#header {
float: left;
width: 100%;
position: relative; height:80vh; background:url(../images/top-bg.png) bottom center; background-size:cover;
}
#header img {
width: 100%;
}
.logo {
position: absolute;
top: -10px;
left: 0;
width: 30%;
}
.thumb-1{float:left; width:20%; max-width:160px; position:absolute; top:8vh; left:2%; text-align:center;}
.thumb-2{float:left; width:20%; max-width:160px; position:absolute; top:-6vh; left:20%; text-align:center;}
.thumb-3{float:left; width:20%; max-width:160px; position:absolute; top:-20vh; left:40%; text-align:center;}
.thumb-4{float:left; width:20%; max-width:160px; position:absolute; top:-31vh; left:60%; text-align:center;}
.thumb-5{float:left; width:20%; max-width:160px; position:absolute; top:-37vh; left:80%; text-align:center;}
.thumb-main{float:left; width:100%; position:absolute; top:50vh;}
.field-tip img{max-width:100%;}
#footer {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background: #000;
}
#footer ul {
margin: 0;
padding: 0;
list-style: none;
float: right;
}
#footer ul li {
margin: 15px 0;
padding: 0 20px;
display: inline-block;
line-height: 14px;
border-right: 1px solid #fff;
}
#footer ul li a {
font-size: 13px;
text-decoration: none;
color: #fff;
}
/* Hover tooltips */
.field-tip.thumb-5:hover .tip-content { left: -20px;
opacity: 1; margin-left:-220px;
}
.field-tip.thumb-5 .tip-content:before {
content: ' ';
position: absolute;
top: 50%;
right: -7px;
width: 0;
height: 0;
margin-top: -8px;
border: 8px solid transparent;
border-left-color: #333;
border-right: transparent;
left: initial;
}
.field-tip .tip-content {
position: absolute;
top: -10px; /* - top padding */
right: 9999px;
width: 200px;
margin-right: -220px; /* width + left/right padding */
padding: 10px;
color: #fff;
background: #333;
-webkit-box-shadow: 2px 2px 5px #aaa;
-moz-box-shadow: 2px 2px 5px #aaa;
box-shadow: 2px 2px 5px #aaa;
opacity: 0;
-webkit-transition: opacity 250ms ease-out;
-moz-transition: opacity 250ms ease-out;
-ms-transition: opacity 250ms ease-out;
-o-transition: opacity 250ms ease-out;
transition: opacity 250ms ease-out; z-index:999
}
/* <http://css-tricks.com/snippets/css/css-triangle/> */
.field-tip .tip-content:before {
content: ' '; /* Must have content to display */
position: absolute;
top: 50%;
left: -16px; /* 2 x border width */
width: 0;
height: 0;
margin-top: -8px; /* - border width */
border: 8px solid transparent;
border-right-color: #333;
}
.field-tip:hover .tip-content {
right: -20px;
opacity: 1;
}
/****** LOGIN MODAL ******/
.loginmodal-container {
padding: 15px;
max-width: 300px;
width: 100% !important;
background-color: #F7F7F7;
margin: 0 auto;
border-radius: 2px;
box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
overflow: hidden;
font-family: roboto;
position: absolute;
right: 20px;
top: 40vh;
}
.loginmodal-container h1 {
text-align: center;
font-size: 1.8em;
font-family: roboto;
}
.loginmodal-container input[type=submit] {
width: 100%;
display: block;
margin-bottom: 10px;
position: relative;
}
.loginmodal-container input[type=text], input[type=password] {
height: 44px;
font-size: 16px;
width: 100%;
margin-bottom: 10px;
-webkit-appearance: none;
background: #fff;
border: 1px solid #d9d9d9;
border-top: 1px solid #c0c0c0;
/* border-radius: 2px; */
padding: 0 8px;
box-sizing: border-box;
-moz-box-sizing: border-box;
}
.loginmodal-container input[type=text]:hover, input[type=password]:hover {
border: 1px solid #b9b9b9;
border-top: 1px solid #a0a0a0;
-moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}
.loginmodal {
text-align: center;
font-size: 14px;
font-family: 'Arial', sans-serif;
font-weight: 700;
height: 36px;
padding: 0 8px;
/* border-radius: 3px; */
/* -webkit-user-select: none;
user-select: none; */
}
.loginmodal-submit {
/* border: 1px solid #3079ed; */
border: 0;
color: #fff;
text-shadow: 0 1px rgba(0,0,0,0.1);
padding: 10px 0px;
font-family: roboto;
border-radius: 6px;
font-size: 16px;
/* background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#4d90fe), to(#4787ed)); */
text-transform: uppercase;
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#0a5d19+0,00300b+100 */
background: rgb(10,93,25); /* Old browsers */
background: -moz-linear-gradient(top, rgba(10,93,25,1) 0%, rgba(0,48,11,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(10,93,25,1) 0%,rgba(0,48,11,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(10,93,25,1) 0%,rgba(0,48,11,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0a5d19', endColorstr='#00300b',GradientType=0 ); /* IE6-9 */
/* background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#4d90fe), to(#4787ed)); */
}
.loginmodal-submit:hover {
/* border: 1px solid #2f5bb7; */
border: 0px;
text-shadow: 0 1px rgba(0,0,0,0.3);
background-color: #0a5d19;
/* background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#4d90fe), to(#357ae8)); */
}
.loginmodal-container a {
text-decoration: none;
color: #666;
font-weight: 400;
text-align: center;
display: inline-block;
opacity: 0.6;
transition: opacity ease 0.5s;
}
.login-help{
font-size: 12px;
}
.field-tip .popover{min-width: 300px; max-width: 400px;}
.field-tip .popover .bottom{top: 100% !important;}
.field-tip a{display: block}