| Current Path : /home/zieirix/www/templates/it_medical/scss/medical/ |
| Current File : /home/zieirix/www/templates/it_medical/scss/medical/_search-login.scss |
.g-search-login {
.g-buttons {
font-size: $fontsizes-menu-font-size;
margin-right: -12px;
@include breakpoint(tablet-range) {
margin-right: -7px;
}
> div {
display: inline-block;
margin-left: -4px;
&:first-child {
margin-left: 0;
}
> a {
display: inline-block;
padding: 19px 17px;
line-height: normal;
text-align: center;
color: $navigation-text-color;
@include transition(all 0.2s);
@include breakpoint(tablet-range) {
padding: 20px 12px;
}
&:hover {
color: $accent-color-1;
}
i {
width: 10px;
text-align: center;
}
}
}
}
// Modal Login
.login-text-present {
margin-right: 10px;
}
#modal-login {
text-align: left;
&.uk-open {
.uk-close {
@include transform(scale(1));
}
}
.uk-modal-dialog {
padding: 0;
h3 {
margin: 0;
margin-bottom: 10px;
padding: 10px 25px;
background: #304356;
color: #ffffff;
text-transform: uppercase;
font-size: 1rem;
}
}
// Joomla
#login-form {
padding: 25px;
input {
width: 100%;
}
.pretext {
p {
margin-top: 0;
}
}
.posttext {
p {
margin-bottom: 0;
}
}
.control-group {
margin-bottom: 15px;
}
}
#form-login-remember {
display: inline-block;
margin: 5px 0 15px;
input {
margin: 2px 5px 0 0;
width: auto;
}
.control-label {
}
}
.userdata {
> ul {
li {
line-height: 1.5;
}
}
}
.hide-links {
.userdata {
> ul {
display: none;
}
}
}
.login-greeting {
text-align: center;
margin-bottom: 20px;
}
.logout-button {
text-align: center;
}
// Wordpress
#loginform {
padding: 25px;
.login-data {
padding: 0;
margin: 10px 0 0 0;
}
.login-username, .login-password, .login-remember, .login-submit {
margin-top: 0;
}
.login-submit {
margin-bottom: 0;
}
input {
border-radius: 0;
}
#user_login, #user_pass {
border: 1px solid darken($base-border-color, 5%);
&:focus {
border-color: $accent-color-1;
}
}
.login-extra {
margin: 15px 0 0 0;
list-style: none;
li {
i {
margin-right: 7px;
}
}
}
.logout-button {
.button {
margin-bottom: 0;
}
}
}
.hide-links {
.login-extra {
display: none;
}
}
}
// Offcanvas
.g-offcanvas-button {
.offcanvas-toggle-particle {
cursor: pointer;
}
}
// Close button
.uk-close {
color: #ffffff !important;
opacity: 1;
font-size: 22px;
top: 10px;
right: 20px;
position: absolute;
@include transform(scale(0));
@include transition(all 0.3s);
&:hover {
@include transform(rotate(90deg) !important);
color: $accent-color-1 !important;
opacity: 1;
}
}
}
#header-search {
padding: 0 25px;
position: absolute;
width: 100%;
z-index: 9999;
display: none;
overflow: hidden;
@include transition (height 0.3s, line-height 0.3s);
.uk-close {
position: absolute;
right: 25px;
font-size: 20px;
opacity: 1;
@include transition (all 0.2s);
&:hover {
color: $accent-color-1 !important;
}
}
// Joomla
.search {
form {
margin-bottom: 0;
}
input {
font-family: get-font-family($fonts-menu-font);
font-size: $fontsizes-menu-font-size;
letter-spacing: 0.2px;
margin-top: -2px;
margin-bottom: 0;
margin-left: 1px;
padding: 0;
border: none;
box-shadow: none !important;
color: inherit;
width: 100%;
border-radius: 0;
background: none;
line-height: 1;
@include transition (height 0.3s, line-height 0.3s);
@include placeholder {
opacity: 1;
}
}
}
// Wordpress
.search-form {
.search-field {
font-family: get-font-family($fonts-menu-font);
font-size: $fontsizes-menu-font-size;
letter-spacing: 0.2px;
text-transform: uppercase;
margin-top: -2px;
margin-bottom: 0;
margin-left: 1px;
padding: 0;
border: none;
box-shadow: none !important;
color: inherit;
width: 100%;
border-radius: 0;
background: none;
@include transition (height 0.3s, line-height 0.3s);
@include placeholder {
opacity: 1;
}
}
label {
margin-bottom: 0;
}
.search-submit {
display: none;
}
}
.g-content {
padding: 0;
margin: 0;
}
// Joomla class for the Search
.element-invisible {
border: 0 none;
height: 1px;
margin: 0;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
}
// RTL Adjustments
[dir="rtl"] {
.g-search-login {
.g-buttons {
margin-left: -9px;
margin-right: 0;
}
}
#header-search {
.uk-close {
right: auto;
left: 25px;
}
}
}