##// END OF EJS Templates
fix(caching): fixed problems with Cache query for users....
fix(caching): fixed problems with Cache query for users. The old way of querying caused the user get query to be always cached, and returning old results even in 2fa forms. The new limited query doesn't cache the user object resolving issues

File last commit:

r5143:0b0fbfc9 default
r5365:ae8a165b default
Show More
login.less
338 lines | 5.5 KiB | text/x-less | LessCssLexer
project: added all source files and assets
r1 //LOGIN
.loginbox {
login: optimized UI for login/register/password reset windows.
r4546 max-width: 960px;
project: added all source files and assets
r1 margin: @pagepadding auto;
font-family: @text-light;
border: @border-thickness solid @grey5;
box-sizing: border-box;
@media (max-width:1200px) {
max-width: 85%;
}
@media (max-width:768px) {
max-width: 100%;
width: 100%;
margin: 0;
}
.title {
float: none;
}
login/register: fixed header width problem.
r4544 .header-account {
min-height: 49px;
project: added all source files and assets
r1 width: 100%;
login/register: fixed header width problem.
r4544 padding: 0 @header-padding;
project: added all source files and assets
r1 box-sizing: border-box;
login/register: fixed header width problem.
r4544 position: relative;
vertical-align: bottom;
background-color: @grey1;
color: @grey5;
project: added all source files and assets
r1
.title {
padding: 0;
login/register: fixed header width problem.
r4544 overflow: visible;
}
&:before,
&:after {
content: "";
clear: both;
width: 100%;
project: added all source files and assets
r1 }
}
.loginwrapper {
float: left;
height: 100%;
width: 100%;
rhodecode-toasts: added flash toast into pages that don't inherit from base.
r1485 padding: 35px 55px 35px 35px;
project: added all source files and assets
r1 background-color: white;
box-sizing: border-box;
@media (max-width:414px) {
padding: 35px;
}
}
.left-column {
float: left;
position: relative;
width: 50%;
height: 100%;
@media (max-width:414px) {
display:none;
}
}
.right-column {
float: right;
position: relative;
width: 50%;
@media (max-width:414px) {
width: 100%;
}
}
.sign-in-image {
display: block;
width: 65%;
login: optimized UI for login/register/password reset windows.
r4546 margin: 1% auto;
project: added all source files and assets
r1 }
.sign-in-title {
h4 {
margin: @padding*2 0;
}
}
.form {
label {
display: block;
}
input {
width: 100%;
margin: 0 10% @padding 0;
.box-sizing(border-box) ;
&[type="checkbox"] {
clear: both;
width: auto;
margin: 0 1em @padding 0;
}
}
Liviu
user dropdown, submenu dropdown, dropdown adjustments
r3618
project: added all source files and assets
r1 .checkbox {
display: inline;
width: auto;
}
.sign-in {
clear: both;
width: 100%;
margin: @padding 0;
}
dan
ui: fix labels on sign in screen
r3401 .pwd_reset {
font-weight: normal;
}
.new_account {
font-weight: bold;
}
project: added all source files and assets
r1 }
.register_message,
.activation_msg {
padding: 0 0 @padding;
}
.buttons,
.links {
padding: 0;
}
.buttons {
input {
margin-right: 0;
.box-sizing(border-box);
}
#sign_up, #send {
width: 100%;
}
}
.fields {
.field.field-compact {
margin-bottom: 0px;
}
.buttons {
margin: 0;
}
.field {
margin-bottom: 15px;
input {
width: 100%;
.box-sizing(border-box);
}
.input {
margin-left: 0;
}
.label {
padding-top: 0;
}
}
}
.checkbox {
margin: 0 0 @textmargin 0;
input[type="checkbox"] {
width: auto;
}
label {
padding: 0;
min-height: 0;
}
}
.activation_msg {
padding: @padding 0 0;
color: @grey4;
}
.links {
float: right;
margin: 0;
padding: 0;
line-height: 1;
p {
float: right;
margin: 0;
line-height: 1.5em;
}
}
settings: fix #3944 add password reset permission
r1034
p.help-block {
margin-left: 0;
}
project: added all source files and assets
r1 }
.user-menu.submenu {
Liviu
forced user-menu dropdown to align to right when open
r3619 right: 0!important;
left: auto!important;
dan
ui: introduce user-bookmarks for creation of quick shortcuts
r3424 min-width: 290px;
nav: fix z-index overflow problems
r5143 z-index:999;
project: added all source files and assets
r1 }
dan
ui: introduce user-bookmarks for creation of quick shortcuts
r3424
.user-menu {
.bookmark-items {
Liviu
user dropdown, submenu dropdown, dropdown adjustments
r3618 border-top: @border-thickness solid @grey6;
margin-top: 1em;
padding: 1em .5em;
dan
ui: introduce user-bookmarks for creation of quick shortcuts
r3424 color: @grey3;
border-bottom: @grey3;
a {
padding: 0 !important;
}
}
quick-login: make links be rcblue on hover.
r4088
dan
ui: introduce user-bookmarks for creation of quick shortcuts
r3424 }
project: added all source files and assets
r1 #quick_login {
left: auto;
right: 0;
padding: @menupadding;
z-index: 999;
overflow: hidden;
Liviu
user dropdown, submenu dropdown, dropdown adjustments
r3618 background-color: @white;
border: 1px solid @grey5;
project: added all source files and assets
r1 color: @grey2;
Liviu
user dropdown, submenu dropdown, dropdown adjustments
r3618 box-shadow: @dropdown-shadow;
project: added all source files and assets
r1
h4 {
margin-bottom: 12px;
}
.form {
width: auto;
}
label, .field {
margin-bottom: 0;
}
.label {
padding-top: 0;
}
input {
min-width: 215px;
margin: 8px 0 @padding;
}
input[type="submit"] {
&:extend(.btn-primary);
width:100%;
min-width: 0;
}
.forgot_password,
.buttons .register {
a {
color: @rcblue;
Liviu
user dropdown, submenu dropdown, dropdown adjustments
r3618
project: added all source files and assets
r1 &:hover {
color: @rcdarkblue;
}
}
}
.buttons {
margin: 0;
}
.buttons a {
padding: 8px 0;
line-height: 1.4em;
color: @grey4;
&:hover {
quick-login: make links be rcblue on hover.
r4088 color: @rcblue;
project: added all source files and assets
r1 }
}
#sign_in {
margin-bottom: 0
}
.big_gravatar {
float: left;
display: block;
Liviu
user dropdown, submenu dropdown, dropdown adjustments
r3618 padding: .5em;
project: added all source files and assets
r1 }
Liviu
user dropdown, submenu dropdown, dropdown adjustments
r3618 .full_name {
margin: 0 0 0 70px;
padding-top: 1em;
project: added all source files and assets
r1 }
.email {
Liviu
user dropdown, submenu dropdown, dropdown adjustments
r3618 margin: 0 0 0 70px;
project: added all source files and assets
r1 font-family: @text-light;
}
ol.links {
clear:both;
margin: 0;
padding: @padding 0 0 0;
li {
input {
margin: @padding 0 0 0;
}
}
}
}
.submenu #quick_login li:hover {
background-color: transparent;
}
#quick_login_link:hover + #quick_login {
display: block;
}