Remove unused css styles fixes overwrite issues in other portals.

pull/2487/head
jmontoyaa 8 years ago
parent aa398bb3c0
commit c260f7d1bb
  1. 9
      custompages/first_login-dist.php
  2. 8
      custompages/index-unlogged-dist.php
  3. 8
      custompages/loggedout-dist.php
  4. 8
      custompages/lostpassword-dist.php
  5. 15
      custompages/registration-dist.php
  6. 10
      custompages/registration-feedback-dist.php
  7. 218
      custompages/style-ie6.css
  8. 198
      custompages/style.css

@ -67,14 +67,7 @@ $www = api_get_path('WEB_PATH');
<head>
<title>Custompage - login</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!--[if !IE 6]><!-->
<link rel="stylesheet" type="text/css" href="/custompages/style.css" />
<!--<![endif]-->
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="/custompages/style-ie6.css" />
<![endif]-->
<script type="text/javascript" src="<?php echo $www ?>web/assets/jquery/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo $www ?>web/assets/jquery/dist/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
if (top.location != location)

@ -44,13 +44,7 @@ $rootWeb = api_get_path('WEB_PATH');
<head>
<title>Custompage - login</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!--[if !IE 6]><!-->
<link rel="stylesheet" type="text/css" href="<?php echo $rootWeb ?>custompages/style.css" />
<!--<![endif]-->
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="/custompages/style-ie6.css" />
<![endif]-->
<script type="text/javascript" src="<?php echo $rootWeb ?>web/assets/jquery/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo $rootWeb ?>web/assets/jquery/dist/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
if (top.location != location) {

@ -23,13 +23,7 @@ $www = api_get_path('WEB_PATH');
<head>
<title>Custompage - logged out</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!--[if !IE 6]><!-->
<link rel="stylesheet" type="text/css" href="<?php echo $www ?>custompages/style.css" />
<!--<![endif]-->
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="/custompages/style-ie6.css" />
<![endif]-->
<script type="text/javascript" src="<?php echo $www ?>web/assets/jquery/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo $www ?>web/assets/jquery/dist/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
if (top.location != location)

@ -14,13 +14,7 @@ $rootWeb = api_get_path('WEB_PATH');
<head>
<title><?php echo custompages_get_lang('LostPassword'); ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!--[if !IE 6]><!-->
<link rel="stylesheet" type="text/css" href="../../custompages/style.css" />
<!--<![endif]-->
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="../../custompages/style-ie6.css" />
<![endif]-->
<script type="text/javascript" src="<?php echo $rootWeb ?>web/assets/jquery/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo $rootWeb ?>web/assets/jquery/dist/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {

@ -84,20 +84,7 @@ EOT;
<title><?php echo custompages_get_lang('Registration'); ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/custompages/css/vendor/bootstrap.min.css" rel="stylesheet">
<!--[if !IE 6]><!-->
<link rel="stylesheet" type="text/css" href="/custompages/style.css" />
<!--<![endif]-->
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="/custompages/style-ie6.css" />
<![endif]-->
<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
<script src="js/vendor/html5shiv.js"></script>
<script src="js/vendor/respond.min.js"></script>
<![endif]-->
<script type="text/javascript" src="<?php echo $rootWeb ?>web/assets/jquery/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo $rootWeb ?>web/assets/jquery/dist/jquery.min.js"></script>
</head>
<body>
<img id="backgroundimage" src="/custompages/images/page-background.png"">

@ -18,15 +18,7 @@ $rootWeb = api_get_path('WEB_PATH');
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/custompages/css/vendor/bootstrap.min.css" rel="stylesheet">
<link href="/custompages/style.css" rel="stylesheet">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
<script src="js/vendor/html5shiv.js"></script>
<script src="js/vendor/respond.min.js"></script>
<![endif]-->
<script type="text/javascript" src="<?php echo $rootWeb ?>web/assets/jquery/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo $rootWeb ?>web/assets/jquery/dist/jquery.min.js"></script>
</head>
<body>
<img src="/custompages/images/page-background.png" class="backgroundimage" />

@ -1,218 +0,0 @@
/* Color easy change */
body, .form, #links a, .form-info {
color: #DF002A;
}
.form-submit, input, select {
background-color: #DF002A;
}
.form-error {
color: red;
font-size: 9pt;
}
.form-submit {
margin: 0;
padding: 0;
width: 310px;
height: 27px;
background-color: #DF002A;
/*background-image: url(/custompages/images/login-form-submit-bg.jpg);*/
color: white;
cursor: pointer;
cursor: hand;
}
/* end easy change */
/* Registration form */
#registration-form-box {
width: 400px;
margin-left: auto;
margin-right: auto;
margin-top: 50px;
border: solid 1px #CCCCCC;
text-align: left;
background-color: white;
}
#registration-form-box .form-submit{
width: 400px;
}
div.row {
clear: both;
padding-top: 5px;
}
div.row div.form_header {
white-space: nowrap;
padding: 2px;
background-color: #f0f0f0;
border: 1px solid #bbb;
}
div.row div.label {
float: left;
width: 53%;
text-align: right;
padding-right:1%
}
div.row div.formw {
width: 46%;
float:left;
}
[dir=ltr] div.row div.label, [dir=rtl] div.row div.formw {
float: left;
text-align: right;
}
[dir=rtl] div.row div.label, [dir=ltr] div.row div.formw {
float: right;
text-align: left;
}
span.form_required {
color: #f00;
}
span.form_error {
color: #f00;
font-size: x-small;
margin: 2px;
}
html, body {
margin: 0;
padding: 0;
}
body {
font-family: "Arial Black",sans-serif;
font-size: 10pt;
width: 100%;
text-align: center;
color: #1F3660;
/*background-image: url(images/page-background.png);
background-repeat: no-repeat;
background-size: 100%;
*/
}
#backgroundimage {
background-attachment:fixed;
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 30px;
z-index:-1;
}
.backgroundimage {
width: 100%;
height: auto;
}
#wrapper {
position: absolute;
top: 0;
left: 0;
width: 100%;
z-index: 1;
}
#header {
width: 520px;
margin-left: auto;
margin-right: auto;
margin-top: 30px;
}
#footer {
position: relative;
/*margin-top: 50px;*/
text-align: center;
}
.form-box {
width: 310px;
margin-left: auto;
margin-right: auto;
margin-top: 50px;
border: solid 1px #CCCCCC;
text-align: left;
/*background-color: white;*/
}
.form {
margin-left: 15px;
margin-right: 15px;
margin-top: 30px;
/*color: #1F3660;*/
/*position: relative;*/
text-align: left;
}
label {
width: 100px;
float: left;
margin-right: 1em;
display: block;
text-align: right;
line-height: 2ex;
}
input {
text-align: left;
vertical-align: baseline;
margin-bottom: 2em;
width: 150px;
color: white;
/*background-color: #1F3660;*/
border: none;
}
.radiobutton {
width: 20px;
background-color: white;
margin: 0;
}
.radiogroup {
margin-bottom: 2em;
}
select {
width: 150px;
color: white;
/*background-color: #1F3660;*/
border: none;
margin-bottom: 2em;
width: 150px;
}
label {
clear: both;
}
input, select, .radiogroup {
float: right;
clear: both;
}
.radiogroup input, .radiogroup label {
float: none;
}
#links {
margin-left: 15px;
margin-right: 15px;
margin-top: 10px;
margin-bottom: 50px;
/*color: #1F3660;*/
}
#links a {
text-decoration: none;
}
#links a:hover {
text-decoration: underline;
}
span {
margin-right: 30px;
margin-top: 3px;
float: right;
}
.form-info {
/*color: #1F3660;*/
font-size: 9pt;
}

@ -1,198 +0,0 @@
/* Color easy change */
body, .form, #links a, .form-info {
color: #DF002A;
}
.form-submit, input, select {
background-color: #DF002A;
}
.form-error {
color: red;
font-size: 9pt;
}
.form-submit {
margin: 0;
padding: 0;
width: 310px;
height: 27px;
background-color: #DF002A;
/*background-image: url(/custompages/images/login-form-submit-bg.jpg);*/
color: white;
cursor: pointer;
cursor: hand;
}
/* end easy change */
/* Registration form */
#registration-form-box {
width: 400px;
margin-left: auto;
margin-right: auto;
margin-top: 50px;
border: solid 1px #CCCCCC;
text-align: left;
background-color: white;
}
#registration-form-box .form-submit{
width: 400px;
}
div.row {
clear: both;
padding-top: 5px;
}
div.row div.form_header {
white-space: nowrap;
padding: 2px;
background-color: #f0f0f0;
border: 1px solid #bbb;
}
div.row div.label {
float: left;
width: 53%;
text-align: right;
padding-right:1%
}
div.row div.formw {
width: 46%;
float:left;
}
[dir=ltr] div.row div.label, [dir=rtl] div.row div.formw {
float: left;
text-align: right;
}
[dir=rtl] div.row div.label, [dir=ltr] div.row div.formw {
float: right;
text-align: left;
}
span.form_required {
color: #f00;
}
span.form_error {
color: #f00;
font-size: x-small;
margin: 2px;
}
html, body {
margin: 0;
padding: 0;
}
body {
font-family: "Arial Black",sans-serif;
font-size: 10pt;
width: 100%;
text-align: center;
/*color: #1F3660;*/
/*background-image: url(images/page-background.png);
background-repeat: no-repeat;
background-size: 100%;
*/
}
#backgroundimage {
background-attachment:fixed;
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 30px;
z-index:-1;
}
.backgroundimage {
width: 100%;
height: auto;
}
#wrapper {
position: absolute;
top: 0;
left: 0;
width: 100%;
z-index: 1;
}
#header {
width: 520px;
margin-left: auto;
margin-right: auto;
margin-top: 30px;
}
#footer {
position: relative;
margin-top: 50px;
text-align: center;
}
.form-box {
width: 310px;
margin-left: auto;
margin-right: auto;
margin-top: 50px;
border: solid 1px #CCCCCC;
text-align: left;
background-color: white;
}
.form {
margin-left: 15px;
margin-right: 15px;
margin-top: 30px;
/*color: #1F3660;*/
position: relative;
text-align: left;
}
label {
width: 100px;
float: left;
margin-right: 1em;
display: block;
text-align: right;
line-height: 2ex;
}
input {
text-align: left;
vertical-align: baseline;
margin-bottom: 2em;
width: 150px;
color: white;
/*background-color: #1F3660;*/
border: none;
}
select {
width: 150px;
color: white;
/*background-color: #1F3660;*/
border: none;
margin-bottom: 2em;
}
#links {
margin-left: 15px;
margin-right: 15px;
margin-top: 10px;
margin-bottom: 50px;
/*color: #1F3660;*/
}
#links a {
text-decoration: none;
}
#links a:hover {
text-decoration: underline;
}
span {
margin-right: 30px;
margin-top: 3px;
float: right;
}
.form-info {
/*color: #1F3660;*/
font-size: 9pt;
}
Loading…
Cancel
Save