mobile nav menu, login/register form css popravki
This commit is contained in:
parent
64c84a4044
commit
24431c997e
@ -138,7 +138,7 @@ class DisplayController{
|
|||||||
|
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
|
||||||
if(isAAI()){
|
// moblie nav ----------------------
|
||||||
|
|
||||||
|
|
||||||
echo '<div class="mobile">';
|
echo '<div class="mobile">';
|
||||||
@ -179,17 +179,20 @@ class DisplayController{
|
|||||||
}
|
}
|
||||||
echo '</span>';
|
echo '</span>';
|
||||||
|
|
||||||
|
if(isAAI()){
|
||||||
// AAI PRIJAVA
|
// AAI PRIJAVA
|
||||||
echo '<span class="menu_item ">';
|
echo '<span class="menu_item ">';
|
||||||
echo '<a id="header-btn" href="'.$site_url.'/aai">'.$lang['AAI_prijava'].' </a> ';
|
echo '<a id="header-btn" href="'.$site_url.'/aai">'.$lang['AAI_prijava'].' </a> ';
|
||||||
echo '</span>';
|
echo '</span>';
|
||||||
|
}
|
||||||
|
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
|
||||||
echo '<script type="text/javascript" src="frontend/simple/script/nav-mobile.js"></script> ';
|
echo '<script type="text/javascript" src="frontend/simple/script/nav-mobile.js"></script> ';
|
||||||
}
|
|
||||||
|
//---------------------------------------------------
|
||||||
|
|
||||||
// Navigacija
|
// Navigacija
|
||||||
echo '<nav class=nav-desktop>';
|
echo '<nav class=nav-desktop>';
|
||||||
|
|
||||||
|
@ -719,23 +719,107 @@ body.reset_password_activate div.label {
|
|||||||
|
|
||||||
/******************************/
|
/******************************/
|
||||||
/* Mobile prilagoditve */
|
/* Mobile prilagoditve */
|
||||||
|
.mobile {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 700px) {
|
@media screen and (max-width: 700px) {
|
||||||
header nav {
|
/* --------------HAMBURGER---------------------------------- */
|
||||||
flex-direction: column-reverse;
|
.nav-desktop {
|
||||||
align-self: auto;
|
display: none;
|
||||||
justify-content: space-evenly;
|
|
||||||
height: 100%;
|
|
||||||
text-align: right;
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
}
|
||||||
header nav span.menu_item {
|
.mobile {
|
||||||
line-height: 18px;
|
display: block;
|
||||||
}
|
}
|
||||||
header nav span.menu_item.active {
|
#nav-icon3 {
|
||||||
border-bottom: 2px #1e88e5 solid;
|
width: 38px;
|
||||||
|
height: 20px;
|
||||||
|
position: relative;
|
||||||
|
bottom: 15px;
|
||||||
|
-webkit-transform: rotate(0deg);
|
||||||
|
-moz-transform: rotate(0deg);
|
||||||
|
-o-transform: rotate(0deg);
|
||||||
|
transform: rotate(0deg);
|
||||||
|
-webkit-transition: 0.5s ease-in-out;
|
||||||
|
-moz-transition: 0.5s ease-in-out;
|
||||||
|
-o-transition: 0.5s ease-in-out;
|
||||||
|
transition: 0.5s ease-in-out;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
header nav span.menu_item a {
|
#nav-icon3 span {
|
||||||
line-height: 18px;
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
height: 5px;
|
||||||
|
width: 100%;
|
||||||
|
background: #1E88E5;
|
||||||
|
border-radius: 9px;
|
||||||
|
opacity: 1;
|
||||||
|
left: 0;
|
||||||
|
-webkit-transform: rotate(0deg);
|
||||||
|
-moz-transform: rotate(0deg);
|
||||||
|
-o-transform: rotate(0deg);
|
||||||
|
transform: rotate(0deg);
|
||||||
|
-webkit-transition: 0.25s ease-in-out;
|
||||||
|
-moz-transition: 0.25s ease-in-out;
|
||||||
|
-o-transition: 0.25s ease-in-out;
|
||||||
|
transition: 0.25s ease-in-out;
|
||||||
|
}
|
||||||
|
#nav-icon3 span:nth-child(1) {
|
||||||
|
top: 0px;
|
||||||
|
}
|
||||||
|
#nav-icon3 span:nth-child(2),
|
||||||
|
#nav-icon3 span:nth-child(3) {
|
||||||
|
top: 9px;
|
||||||
|
}
|
||||||
|
#nav-icon3 span:nth-child(4) {
|
||||||
|
top: 18px;
|
||||||
|
}
|
||||||
|
#nav-icon3.open span:nth-child(1) {
|
||||||
|
top: 9px;
|
||||||
|
width: 0%;
|
||||||
|
left: 50%;
|
||||||
|
}
|
||||||
|
#nav-icon3.open span:nth-child(2) {
|
||||||
|
-webkit-transform: rotate(45deg);
|
||||||
|
-moz-transform: rotate(45deg);
|
||||||
|
-o-transform: rotate(45deg);
|
||||||
|
transform: rotate(45deg);
|
||||||
|
}
|
||||||
|
#nav-icon3.open span:nth-child(3) {
|
||||||
|
-webkit-transform: rotate(-45deg);
|
||||||
|
-moz-transform: rotate(-45deg);
|
||||||
|
-o-transform: rotate(-45deg);
|
||||||
|
transform: rotate(-45deg);
|
||||||
|
}
|
||||||
|
#nav-icon3.open span:nth-child(4) {
|
||||||
|
top: 9px;
|
||||||
|
width: 0%;
|
||||||
|
left: 50%;
|
||||||
|
}
|
||||||
|
#links {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
/* */
|
||||||
|
.aai a {
|
||||||
|
color: #333333;
|
||||||
|
}
|
||||||
|
#links.open {
|
||||||
|
position: absolute;
|
||||||
|
top: 100px;
|
||||||
|
left: 0px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
width: 100%;
|
||||||
|
height: 100vh;
|
||||||
|
background-color: rgb(255, 255, 255);
|
||||||
|
}
|
||||||
|
#links .menu_item {
|
||||||
|
font-size: 30px;
|
||||||
|
margin-top: 30px;
|
||||||
|
}
|
||||||
|
#links .menu_item a {
|
||||||
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
body #main .main_content {
|
body #main .main_content {
|
||||||
padding: 10px 20px 40px 20px;
|
padding: 10px 20px 40px 20px;
|
||||||
@ -833,6 +917,7 @@ body.register #main .main_content .landing_page_window input[type=button],
|
|||||||
body.login_noEmail #main .main_content .landing_page_window input[type=submit],
|
body.login_noEmail #main .main_content .landing_page_window input[type=submit],
|
||||||
body.login_noEmail #main .main_content .landing_page_window input[type=button] {
|
body.login_noEmail #main .main_content .landing_page_window input[type=button] {
|
||||||
margin: 30px auto !important;
|
margin: 30px auto !important;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
body.landing_page #main .main_content .app_subtitle,
|
body.landing_page #main .main_content .app_subtitle,
|
||||||
body.login #main .main_content .app_subtitle,
|
body.login #main .main_content .app_subtitle,
|
||||||
@ -916,6 +1001,11 @@ header {
|
|||||||
max-width: 1160px;
|
max-width: 1160px;
|
||||||
width: 95%;
|
width: 95%;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
|
font-family: "Source Sans Pro";
|
||||||
|
}
|
||||||
|
|
||||||
|
header nav {
|
||||||
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
|
|
||||||
header .logo a img {
|
header .logo a img {
|
||||||
@ -992,12 +1082,14 @@ body.landing_page #main .landing_page_window label {
|
|||||||
|
|
||||||
.landing_page_window input[type=text] {
|
.landing_page_window input[type=text] {
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
|
padding-left: 8px;
|
||||||
height: 38px;
|
height: 38px;
|
||||||
max-width: 354px;
|
max-width: 354px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.landing_page_window input[type=password] {
|
.landing_page_window input[type=password] {
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
|
padding-left: 8px;
|
||||||
height: 38px;
|
height: 38px;
|
||||||
max-width: 354px;
|
max-width: 354px;
|
||||||
}
|
}
|
||||||
@ -1041,6 +1133,10 @@ body.landing_page #main .landing_page_window .register_window a {
|
|||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body.landing_page #main .landing_page_window .register_window .checkbox_text_holder {
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
body.landing_page #main .landing_page_window .register_window .lostpass {
|
body.landing_page #main .landing_page_window .register_window .lostpass {
|
||||||
position: unset;
|
position: unset;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
@ -1,32 +1,151 @@
|
|||||||
/* Mobile prilagoditve */
|
/* Mobile prilagoditve */
|
||||||
|
|
||||||
|
.mobile{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
@media screen and (max-width: 700px) {
|
@media screen and (max-width: 700px) {
|
||||||
|
|
||||||
header{
|
// header{
|
||||||
nav{
|
// nav{
|
||||||
flex-direction: column-reverse;
|
// flex-direction: column-reverse;
|
||||||
align-self: auto;
|
// align-self: auto;
|
||||||
justify-content: space-evenly;
|
// justify-content: space-evenly;
|
||||||
|
|
||||||
height: 100%;
|
// height: 100%;
|
||||||
|
|
||||||
text-align: right;
|
// text-align: right;
|
||||||
font-size: 14px;
|
// font-size: 14px;
|
||||||
|
|
||||||
span.menu_item{
|
// span.menu_item{
|
||||||
line-height: 18px;
|
// line-height: 18px;
|
||||||
|
|
||||||
&.active{
|
// &.active{
|
||||||
border-bottom: 2px $color_blue solid;
|
// border-bottom: 2px $color_blue solid;
|
||||||
|
// }
|
||||||
|
|
||||||
|
// a{
|
||||||
|
// line-height: 18px;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
|
||||||
|
/* --------------HAMBURGER---------------------------------- */
|
||||||
|
.nav-desktop {
|
||||||
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
a{
|
.mobile {
|
||||||
line-height: 18px;
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
#nav-icon3 {
|
||||||
|
width: 38px;
|
||||||
|
height: 20px;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
bottom: 15px;
|
||||||
|
|
||||||
|
-webkit-transform: rotate(0deg);
|
||||||
|
-moz-transform: rotate(0deg);
|
||||||
|
-o-transform: rotate(0deg);
|
||||||
|
transform: rotate(0deg);
|
||||||
|
-webkit-transition: .5s ease-in-out;
|
||||||
|
-moz-transition: .5s ease-in-out;
|
||||||
|
-o-transition: .5s ease-in-out;
|
||||||
|
transition: .5s ease-in-out;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
span {
|
||||||
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
height: 5px;
|
||||||
|
width: 100%;
|
||||||
|
background: #1E88E5;
|
||||||
|
border-radius: 9px;
|
||||||
|
opacity: 1;
|
||||||
|
left: 0;
|
||||||
|
-webkit-transform: rotate(0deg);
|
||||||
|
-moz-transform: rotate(0deg);
|
||||||
|
-o-transform: rotate(0deg);
|
||||||
|
transform: rotate(0deg);
|
||||||
|
-webkit-transition: .25s ease-in-out;
|
||||||
|
-moz-transition: .25s ease-in-out;
|
||||||
|
-o-transition: .25s ease-in-out;
|
||||||
|
transition: .25s ease-in-out;
|
||||||
|
}
|
||||||
|
span:nth-child(1) {
|
||||||
|
top: 0px;
|
||||||
|
}
|
||||||
|
span:nth-child(2),
|
||||||
|
span:nth-child(3) {
|
||||||
|
top: 9px;
|
||||||
|
}
|
||||||
|
span:nth-child(4) {
|
||||||
|
top: 18px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#nav-icon3.open span:nth-child(1) {
|
||||||
|
top: 9px;
|
||||||
|
width: 0%;
|
||||||
|
left: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#nav-icon3.open span:nth-child(2) {
|
||||||
|
-webkit-transform: rotate(45deg);
|
||||||
|
-moz-transform: rotate(45deg);
|
||||||
|
-o-transform: rotate(45deg);
|
||||||
|
transform: rotate(45deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
#nav-icon3.open span:nth-child(3) {
|
||||||
|
-webkit-transform: rotate(-45deg);
|
||||||
|
-moz-transform: rotate(-45deg);
|
||||||
|
-o-transform: rotate(-45deg);
|
||||||
|
transform: rotate(-45deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
#nav-icon3.open span:nth-child(4) {
|
||||||
|
top: 9px;
|
||||||
|
width: 0%;
|
||||||
|
left: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#links {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* */
|
||||||
|
.aai a {
|
||||||
|
color: #333333;
|
||||||
|
}
|
||||||
|
|
||||||
|
#links.open {
|
||||||
|
position: absolute;
|
||||||
|
top: 100px;
|
||||||
|
left: 0px;
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
|
||||||
|
width: 100%;
|
||||||
|
height: 100vh;
|
||||||
|
background-color: rgb(255, 255, 255);
|
||||||
|
}
|
||||||
|
|
||||||
|
#links .menu_item {
|
||||||
|
font-size: 30px;
|
||||||
|
margin-top: 30px;
|
||||||
|
a {
|
||||||
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//-------------------------------------------------------------------
|
||||||
|
|
||||||
body{
|
body{
|
||||||
#main{
|
#main{
|
||||||
.main_content{
|
.main_content{
|
||||||
@ -116,6 +235,7 @@
|
|||||||
input[type="submit"],
|
input[type="submit"],
|
||||||
input[type="button"]{
|
input[type="button"]{
|
||||||
margin: 30px auto !important;
|
margin: 30px auto !important;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,6 +29,11 @@ header {
|
|||||||
max-width: 1160px;
|
max-width: 1160px;
|
||||||
width: 95%;
|
width: 95%;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
|
|
||||||
|
font-family: $SansPro_font;
|
||||||
|
}
|
||||||
|
header nav{
|
||||||
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
|
|
||||||
header .logo a img {
|
header .logo a img {
|
||||||
@ -110,11 +115,13 @@ body.landing_page #main .landing_page_window label {
|
|||||||
|
|
||||||
.landing_page_window input[type="text"] {
|
.landing_page_window input[type="text"] {
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
|
padding-left: 8px;
|
||||||
height: 38px;
|
height: 38px;
|
||||||
max-width: 354px;
|
max-width: 354px;
|
||||||
}
|
}
|
||||||
.landing_page_window input[type="password"] {
|
.landing_page_window input[type="password"] {
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
|
padding-left: 8px;
|
||||||
height: 38px;
|
height: 38px;
|
||||||
max-width: 354px;
|
max-width: 354px;
|
||||||
}
|
}
|
||||||
@ -163,6 +170,11 @@ body.landing_page #main .landing_page_window .register_window a {
|
|||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body.landing_page #main .landing_page_window .register_window .checkbox_text_holder{
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
body.landing_page #main .landing_page_window .register_window .lostpass {
|
body.landing_page #main .landing_page_window .register_window .lostpass {
|
||||||
position: unset;
|
position: unset;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user