<!-- Dışarıdan Çağırılan Dosyalar Font we Materyal İkonlar -->
<link href='https://fonts.googleapis.com/css?family=Roboto:400,700' rel='stylesheet' type='text/css'>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<body>
<!-- Kapsayıcı -->
<div class="col-lg-4 col-md-4 col-sm-6 col-xs-12 login-card">
<!-- Login (giriş) Form Sayfası -->
<form id="login-form" class="col-lg-12" action="giris.php" method="post">
<!-- Logo -->
<div class="col-lg-12 logo-kapsul">
<img width="100" class="logo" src="https://raw.githubusercontent.com/selimdoyranli/material-form/master/img/logo.png" alt="RadKod Logo" draggable="false"/>
</div>
<div style="clear:both;"></div>
<!-- Kullanıcı Adı Giriş İnput -->
<div class="group">
<input type="text" name="kullanici_adi" autocomplete="off" required>
<span class="highlight"></span>
<span class="bar"></span>
<label><i class="material-icons input-ikon">person_outline</i><span class="span-input">Kullanıcı Adınız</span></label>
</div>
<!-- Şifre İnput Giriş-->
<div class="group">
<input type="password" name="sifre" autocomplete="off" required>
<span class="highlight"></span>
<span class="bar"></span>
<label><i class="material-icons input-sifre-ikon">lock</i><span class="span-input">Şifre</span></label>
</div>
<!-- Giriş Yap Buton -->
<button type="submit" class="giris-yap-buton">Giriş Yap</button>
<!-- Şifremi Unuttum ve Kaydol Linkleri -->
<div class="forgot-and-create tab-menu">
<a class="sifre-hatirlat-link" href="javascript:void('sifre-hatirlat-link');">Şifreni mi Unuttun ?</a>
<a class="hesap-olustur-link" href="javascript:void('hesap-olustur-link');">Hesap Oluştur.</a>
</div>
</form>
<!-- #Login (giriş) Form Sayfası Bitiş -->
<!-- Kayıt Form Sayfası -->
<form id="kayit-form" class="col-lg-12" action="kayit.php" method="post">
<div class="col-lg-12 logo-kapsul">
<img width="100" class="logo" src="https://raw.githubusercontent.com/selimdoyranli/material-form/master/img/logo.png" alt="RadKod Logo" draggable="false"/>
</div>
<div style="clear:both;"></div>
<!-- Kayıt Form Kullanıcı Adı İnput -->
<div class="group">
<input type="text" name="kullanici_adi" autocomplete="off" required>
<span class="highlight"></span>
<span class="bar"></span>
<label><i class="material-icons input-ikon">person_outline</i><span class="span-input">Kullanıcı Adınız</span></label>
</div>
<!-- Kayıt Form Email İnput -->
<div class="group">
<input type="text" name="email" autocomplete="off" required>
<span class="highlight"></span>
<span class="bar"></span>
<label><i class="material-icons input-ikon">mail_outline</i><span class="span-input">E-Mail</span></label>
</div>
<!-- Kayıt Form Şifre İnput -->
<div class="group">
<input type="password" name="sifre" autocomplete="off" required>
<span class="highlight"></span>
<span class="bar"></span>
<label><i class="material-icons input-sifre-ikon">lock</i><span class="span-input">Şifre</span></label>
</div>
<!-- Kayıt Form Şifre-Tekrarı İnput -->
<div class="group">
<input type="password" name="sifre_dogrula" autocomplete="off" required>
<span class="highlight"></span>
<span class="bar"></span>
<label><i class="material-icons input-sifre-ikon">lock</i><span class="span-input">Şifre Tekrarı</span></label>
</div>
<!-- Kayıt Ol Buton -->
<button type="submit" class="kayit-ol-buton">Kayıt Ol</button>
<!-- Zaten Hesap Var Link -->
<a class="zaten-hesap-var-link" href="javascript:void('zaten-hesap-var-link');">Zaten Bir Hesabınız Var mı ? , Giriş Yapın.</a>
</form>
<!-- ##Kayıt Form Sayfası Bitis -->
<!-- Sifre Hatirlat Form Sayfası -->
<form id="sifre-hatirlat-form" class="col-lg-12" action="sifre-hatirlat.php" method="post">
<div class="col-lg-12 logo-kapsul">
<img width="100" class="logo" src="https://raw.githubusercontent.com/selimdoyranli/material-form/master/img/logo.png" alt="RadKod Logo" draggable="false"/>
</div>
<div style="clear:both;"></div>
<!-- Şifre Hatırlat Email İnput -->
<div class="group">
<input type="text" name="email" autocomplete="off" required>
<span class="highlight"></span>
<span class="bar"></span>
<label><i class="material-icons input-ikon">mail_outline</i><span class="span-input">E-Mail</span></label>
</div>
<!-- Şifremi Hatırlat Buton -->
<button type="submit" class="sifre-hatirlat-buton">Şifremi Hatırlat</button>
<!-- Zaten Hesap Var Link -->
<a class="zaten-hesap-var-link" href="javascript:void('zaten-hesap-var-link');">Zaten Bir Hesabınız Var mı ? , Giriş Yapın.</a>
</form>
<!-- ##Sifre Hatirlat Form Bitis -->
</div>
<!-- #Kapsayıcı Bitiş -->
/* - 08.10.2016 | Material-Form */
/* - https://selimdoyranli.com */
/* - http://www.radkod.com */
body{
margin:0;
padding:0;
font-family:roboto; /* Eğer Sayfanızda Başka Bir Font Kullanıyorsanız Bunu Silin */
}
.login-card{
min-height:100vh!important;
height:auto;
background-image:url('https://raw.githubusercontent.com/selimdoyranli/material-form/master/img/bg.jpg');
background-size:cover;
-moz-background-size:cover;
-ms-background-size:cover;
-wenkit-background-size:cover;
background-position:center center;
background-repeat:no-repeat;
position:relative;
border-radius:5px;
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.12), 0 1px 6px 0 rgba(0, 0, 0, 0.12);
z-index:2;
padding:0;
display:-webkit-box;
display:-ms-flexbox;
display:flex;
-webkit-box-align:center;
-ms-flex-align:center;
align-items:center;
-webkit-box-pack:center;
-ms-flex-pack:center;
justify-content:center;
font-family:roboto!important;
}
.login-card:after{
background: -webkit-linear-gradient(225deg, rgb(63, 81, 181), rgb(233, 30, 99));
background: -o-linear-gradient(225deg, rgb(63, 81, 181), rgb(233, 30, 99));
background: linear-gradient(-135deg, rgb(63, 81, 181), rgb(233, 30, 99)); /* Login Card Arkaplan Rengi */
background: -webkit-linear-gradient(-135deg, rgb(63, 81, 181), rgb(233, 30, 99)); /* Login Card Arkaplan Rengi */
width:100%;
height:100%;
position:absolute;
top:0;
left:0;
content:"";
opacity:0.8;
z-index:3;
}
.login-card > form{
z-index:4;
position:relative;
padding:0px 10px;
width:100%;
}
.logo-kapsul{
text-align:center;
position:relative;
opacity:0.8;
-moz-user-select:none;
-webkit-user-select;
}
.logo{
height:auto;
padding:50px 0px;
pointer-events:none;
-moz-user-select:none;
-webkit-user-select;
}
/* form başlangıç stiller ------------------------------- */
.group {
position:relative;
margin-bottom:45px;
}
.group input {
font-size:18px;
padding:10px 10px 10px 10px;
display:block;
width:100%;
border:none;
border-bottom:1px solid rgba(255,255,255, 0.3);
background:none;
color:#eee;
}
.group input:focus { outline:none; }
/* LABEL ======================================= */
.group label {
color:rgba(255,255,255, 0.5);
font-size:18px;
font-weight:normal;
position:absolute;
pointer-events:none;
left:5px;
top:5px;
-o-transition:0.2s ease all;
transition:0.2s ease all;
-moz-transition:0.2s ease all;
-webkit-transition:0.2s ease all;
}
/* active durum */
.group input:focus ~ label, input:valid ~ label {
top:-20px;
font-size:14px;
color:rgba(255,255,255, 0.7);
}
/* BOTTOM BARS ================================= */
.bar { position:relative; display:block; width:100%; }
.bar:before, .bar:after {
content:'';
height:2px;
width:0;
bottom:1px;
position:absolute;
background:rgba(255,255,255, 0.7);
-o-transition:0.2s ease all;
transition:0.2s ease all;
-moz-transition:0.2s ease all;
-webkit-transition:0.2s ease all;
}
.bar:before {
left:50%;
}
.bar:after {
right:50%;
}
/* active durum bar */
.group input:focus ~ .bar:before, .group input:focus ~ .bar:after {
width:50%;
}
/* HIGHLIGHTER ================================== */
.highlight {
position:absolute;
height:0%;
width:100px;
top:25%;
left:0;
pointer-events:none;
opacity:0.5;
}
/* active durum */
.group input:focus ~ .highlight {
-webkit-animation:inputHighlighter 0.3s ease;
animation:inputHighlighter 0.3s ease;
}
/* form animasyon ================ */
@-webkit-keyframes inputHighlighter {
from { background:rgba(255,255,255, 0.7); }
to { width:0; background:transparent; }
}
@keyframes inputHighlighter {
from { background:rgba(255,255,255, 0.7); }
to { width:0; background:transparent; }
}
.input-ikon{
font-size:25px!important;
position:relative;
}
.input-sifre-ikon{
font-size:22px!important;
position:relative;
}
.span-input{
margin-left:10px;
position:relative;
top:-5px;
}
.giris-yap-buton,.kayit-ol-buton,.sifre-hatirlat-buton{
background: -webkit-linear-gradient(225deg, rgb(63, 81, 181), rgb(233, 30, 99));
background: -o-linear-gradient(225deg, rgb(63, 81, 181), rgb(233, 30, 99));
background: linear-gradient(-135deg, rgb(63, 81, 181), rgb(233, 30, 99));
background: -webkit-linear-gradient(-135deg, rgb(63, 81, 181), rgb(233, 30, 99));
display:block;
text-align:center;
text-decoration:none;
color:#eee;
font-family:roboto;
font-weight:100;
padding:10px;
border-radius:3px;
outline:none;
opacity:0.8;
width:100%;
border:none;
cursor:pointer;
font-size:16px;
-webkit-transition:200ms;
-o-transition:200ms;
transition:200ms;
outline:none!important;
}
.giris-yap-buton:hover,.kayit-ol-buton:hover,.sifre-hatirlat-buton:hover{
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
.forgot-and-create{
margin:20px 0px;
}
.forgot-and-create a{
color:#bbb;
font-size:12px;
text-decoration:none;
font-weight:100;
margin-right:10px;
}
/* Geçiş Link */
.zaten-hesap-var-link{
color:#bbb;
font-size:14px;
padding:20px 0px;
text-decoration:none;
display:block;
}
// https://selimdoyranli.com
// https://www.RadKod.com
$(document).ready(function(){
//Kaydol - Şifre Unuttum Linkleri Arası Geçiş
$(document).ready(function(){
$("#kayit-form").hide();
$("#sifre-hatirlat-form").hide();
$(".hesap-olustur-link").click(function(e){
$("#login-form").slideUp(0);
$("#kayit-form").fadeIn(300);
});
$(".zaten-hesap-var-link").click(function(e){
$("#kayit-form").slideUp(0);
$("#sifre-hatirlat-form").slideUp(0);
$("#login-form").fadeIn(300);
});
$(".sifre-hatirlat-link").click(function(e){
$("#login-form").slideUp(0);
$("#sifre-hatirlat-form").fadeIn(300);
});
});
});