Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

Commit

Permalink
fix login box on admin area
Browse files Browse the repository at this point in the history
  • Loading branch information
mamans86 committed Dec 29, 2020
1 parent b4ca897 commit 5af0c6e
Show file tree
Hide file tree
Showing 3 changed files with 353 additions and 138 deletions.
2 changes: 1 addition & 1 deletion admin/code/tce_page_footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

echo '<!-- '.base64_decode(K_KEY_SECURITY).' -->'.K_NEWLINE;
echo '<script src="'.K_PATH_HOST.K_PATH_TCEXAM.'shared/jscripts/vendor/modernizr-3.11.2.min.js"></script>'.K_NEWLINE;
echo '<script src="'.K_PATH_HOST.K_PATH_TCEXAM.'shared/jscripts/plugins.js"></script>'.K_NEWLINE;
// echo '<script src="'.K_PATH_HOST.K_PATH_TCEXAM.'shared/jscripts/plugins.js"></script>'.K_NEWLINE;
echo '<script src="'.K_PATH_HOST.K_PATH_TCEXAM.'admin/jscripts/main.js"></script>'.K_NEWLINE;
echo '</body>'.K_NEWLINE;
echo '</html>';
Expand Down
16 changes: 8 additions & 8 deletions admin/styles/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -546,10 +546,13 @@ div.login_box {margin: 10px auto;background: #fff;box-shadow: 0px 5px 20px 0px #
div.login_box form {margin-top:0 !important;margin-bottom:1.5em;}
div.login_box form#form_login div.row {display:block;width:100%}
div.login_box form#form_login div.row span {display:block;text-align:left;width:100%}
div.login_box form#form_login div.row span span {width: auto}
div.login_box form#form_login div.row span span #hidePass{display:none}
div.login_box form#form_login div.row span .labeldesc{height:0}
form#form_login div {background: none;border: none}
#loginFieldCont{padding:0.5em;margin-bottom:1em;}
#loginFieldCont div.row{padding: 0.75em 1em 0em 1em;box-sizing:border-box;margin-bottom: 0;}
#loginFieldCont div.row span{font-weight:bold;text-transform:capitalize}
#loginFieldCont input{background: repeating-linear-gradient(180deg, #0000000d -10px, transparent 21px)}
/* Login link ------------ */
div.userbar a.loginbutton:link, a.loginbutton:visited {
background-color: #22A222;
Expand Down Expand Up @@ -998,10 +1001,7 @@ table.filemanager tr{
border: 1px solid #808080;
}

span.labeldesc {
color: #009688;
margin-left:5px
}
span.labeldesc {margin-left:5px}

hr.delimiter {
border: 0;
Expand Down Expand Up @@ -1223,16 +1223,15 @@ i.info-icon {color: #fff;padding: 1em;background: #2196F3;margin-right: 10px;bor
div#menuContent{text-align:center;line-height: 0;background: linear-gradient(180deg, #0D47A1, #2196F3)}
div#menuContent p#appDesc{font-size: 80%;color: #fff;background: #ffffff33;border: 1px solid #ffffffaa;line-height: 2;border-radius: 50px;display: inline-block;padding: 0 1em;margin: 0}
div#menuContent p#insName{font-weight:bold;color: #fff;line-height: 1;font-size: 1.2em;padding: 0 1em 1em 1em;text-shadow: 2px 2px 3px rgba(0,0,0,0.35);}
div#insCont{background: linear-gradient(360deg, #212121, #515151);padding: 2em 0em 1.5em 0em;color: #fff;line-height: 0;text-shadow: 2px 2px 2px rgba(0, 51, 83, 0.5);border-bottom: 3px solid;border-image-source: linear-gradient(45deg, #E91E63, #2196F3);border-image-slice: 1;box-shadow: inset 0px 3px 1px 0px rgba(255, 255, 255, 0.3)}
div#insCont{background:#212121;padding: 2em 0em 1.5em 0em;color: #fff;line-height: 0}
div#insCont #appDesc{margin-top:2em}
div#insCont #insName{font-size:1.7em;font-weight:bold}

#form_login div:nth-child(2){box-sizing:border-box}
#loginFieldCont span.formw{position:relative}
div#forgotReg p {margin: 0}
div#forgotReg{padding: 1em 1em 1em 1em;border-top: 1px dashed #ddd;margin-top: 1em}
div#forgotReg{padding: 1em 1em 1em 1em;border-top: 1px dashed #ddd !important;margin-top: 1em}
.icon{position: absolute;top: 10px;right: 11px;cursor:pointer;z-index:2}
#hidePass.icon {display:none}

input[type=submit],a.xmlbutton{border:none !important}

Expand All @@ -1248,6 +1247,7 @@ input, select, textarea{border: 1px solid #c8d1d8;border-radius: 3px;outline: no
span[dir=ltr]{padding: 1em 0;display: flex;align-items: center;background: #E3F2FD;border: 1px solid #90CAF9;border-radius: 3px}
span[dir=ltr]>input{flex-grow: 1}
span[dir=ltr]>label{flex-grow: 10}

@media (min-width: 768px) {
div#scrollayer{display:unset}
div.container {
Expand Down
Loading

0 comments on commit 5af0c6e

Please sign in to comment.