-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor:update: footer reusability component
- Loading branch information
Showing
6 changed files
with
91 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,8 @@ | |
integrity="sha384-wEmeIV1mKuiNpC+IOBjI7aAzPcEZeedi5yW5f2yOq55WWLwNGmvvx4Um1vskeMj0" | ||
crossorigin="anonymous"> | ||
<link rel="stylesheet" href="../common/stacktable.css"> | ||
<!-- common styling --> | ||
<link rel="stylesheet" href="./common.css"> | ||
<style> | ||
html, | ||
body { | ||
|
@@ -166,10 +168,12 @@ <h3 class="text-center h3 mb-2" style="margin-top:8px;margin-bottom:10px;">Infor | |
</div> | ||
</div> | ||
|
||
<footer class="text-center text-white bg-dark p-3 mt-2"> | ||
<p class="p">Copyright © 2021 caMicroscope</p> | ||
</footer> | ||
<!-- footer --> | ||
<footer id="footer-layout"></footer> | ||
</div> | ||
|
||
<!-- script to call a footer(layout footer in the common > utils folder) function --> | ||
<script> insertFooterLayout(); </script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-p34f1UUtsS3wqzfto5wAAmdvj+osOnFyQFpp4Ua3gs/ZVWx6oOypYoCJhGGScy+8" crossorigin="anonymous"></script> | ||
</body> | ||
<script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,54 @@ | ||
.text-in-line { | ||
margin: 0 auto; | ||
white-space: nowrap; | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
margin: 0 auto; | ||
white-space: nowrap; | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
} | ||
|
||
/* layout footer styles */ | ||
#footer-layout hr { | ||
border-bottom-color: #ffffff; | ||
padding: 0; | ||
margin: 0; | ||
} | ||
|
||
#footer-layout hr { | ||
border-bottom-color: #ffffff; | ||
padding: 0; | ||
margin: 0; | ||
} | ||
|
||
#footer-layout { | ||
color: whitesmoke; | ||
text-align: left; | ||
padding: 2.5em 4.5em; | ||
background-color: #343a40; | ||
} | ||
|
||
#footer-layout p { | ||
color: whitesmoke; | ||
} | ||
|
||
.company-name { | ||
color: #24a9f6; | ||
} | ||
|
||
.company-name a { | ||
color: #24a9f6; | ||
text-decoration: none; | ||
} | ||
|
||
.company-name:hover { | ||
color: #4f5e66; | ||
text-decoration: underline; | ||
} | ||
#footer-layout strong, | ||
#footer-layout b { | ||
color: #ffffff; | ||
} | ||
|
||
@media (max-width: 768px) { | ||
#footer-layout { | ||
padding: 2em 2.5em; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -332,13 +332,13 @@ <h5 class="modal-title" id="slideNameChangeModalLabel">Slide name change confirm | |
|
||
</div> | ||
|
||
|
||
<footer class="text-center text-white bg-dark p-3"> | ||
<p class="p">Copyright © 2021 caMicroscope</p> | ||
</footer> | ||
<!-- footer --> | ||
<footer id="footer-layout"></footer> | ||
|
||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-p34f1UUtsS3wqzfto5wAAmdvj+osOnFyQFpp4Ua3gs/ZVWx6oOypYoCJhGGScy+8" crossorigin="anonymous"></script> | ||
<script src="./table.js"></script> | ||
<!-- script to call a footer(layout footer in the common > utils folder) function --> | ||
<script> insertFooterLayout();</script> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters