Removal of inline CSS in Header.php as it is bad design and moved it to main.css to enable DRY concept

The page header is defined in a single stylesheet so that if you want to change how a page header looks across the entire site, you change the css in one place.
Refactor-Moyo
MOYO NKOSANA THABO 2022-12-19 14:36:43 +08:00
parent 77ebd6ac3e
commit 1b31229fb2
1 changed files with 0 additions and 69 deletions

View File

@ -85,76 +85,7 @@ if (mysqli_connect_errno()) {
</div> </div>
</nav> </nav>
<style>
.nav-item {
border-color: #00ff66;
}
.nav-tabs {
border-color: #00ff66;
}
.btn-default {
border: 2px solid #00ff66;
width: 100%;
text-align: left;
margin: 3px auto;
font-weight: bold;
font-size: 13pt;
}
.table-bordered {
padding: 5px !important;
}
.alert {
font-weight: bold;
}
h1,
h2,
h3,
h4 {
color: #03407B;
}
a {
color: #03407B;
}
.break-word {
word-wrap: break-word;
white-space: -moz-pre-wrap !important;
/* Mozilla, since 1999 */
white-space: -pre-wrap;
/* Opera 4-6 */
white-space: -o-pre-wrap;
/* Opera 7 */
white-space: pre-wrap;
/* css-3 */
word-wrap: break-word;
/* Internet Explorer 5.5+ */
white-space: -webkit-pre-wrap;
/* Newer versions of Chrome/Safari*/
word-break: break-all;
white-space: normal;
}
.ui-widget-content.ui-dialog {
border: 2px solid #03488B;
}
.ui-dialog>.ui-widget-header {
background: #03488B;
color: white
}
.ui-button {
background: #03488B;
color: white
}
</style>
<script> <script>
function updatePass(id) { function updatePass(id) {