--- a +++ b/static/css/main.css @@ -0,0 +1,117 @@ +/************************************************************************************** + * Project : Chest X-Ray Pathology Detection and Localization using Deep Learning + * Author Name : Rammuni Ravidu Suien Silva + * UoW No : 16267097 + * IIT No : 2016134 + * Module : Final Year Project 20/21 + * Supervisor : Mr Pumudu Fernando + + * Prototype : Web Interface - FrontEnd [Draft: .v01] + * University of Westminster, UK || IIT Sri Lanka + **************************************************************************************/ + +.loc-result-print { + display: none; +} + +/*Styling for Printing*/ +@media print { + * { + -webkit-print-color-adjust: exact !important; + color-adjust: exact !important; + } + + .loc-result-print div { + break-inside: avoid; + } + + .loc-result-print { + display: block; + } + + .loc-result-print .print-cxr-card { + padding: 5%; + } + + .loc-result-print .cxr-loc-img { + -ms-transform: scale(1.1); /* for IE 9 */ + transform: scale(1.1); + } +} + + +.img-preview { + width: 256px; + height: 256px; + position: relative; + border: 5px solid #e0e0e0; + box-shadow: 0px 2px 4px 0px rgba(22, 22, 22, 0.1); + margin-top: 1em; + margin-bottom: 1em; +} + +/*POPUP CXR*/ +.card { + border-radius: 3vh; + margin: auto; + max-width: 680px; + padding: 5vh 4vh; + align-items: center; + box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.19) +} + +@media (max-width: 800px) { + .card { + width: 95vw + } +} + +.card-img { + padding: 5px 0; + width: 100% +} + + +.card-title { + margin-bottom: unset +} + +.card-title p { + color: rgb(29, 226, 226); + font-weight: 900; + font-size: 15px; + margin-bottom: unset +} + +.card-text p { + color: grey; + font-size: 16px; + text-align: center; + padding: 1vh 0; + font-weight: lighter +} + +.img-preview > div { + width: 100%; + height: 100%; + background-size: 256px 256px; + background-repeat: no-repeat; + background-position: center; +} + +input[type="file"] { + display: none; +} + +.upload-label { + display: inline-block; + padding: 12px 30px; + font-size: 1em; + transition: all .4s; + cursor: pointer; +} + +.upload-label:hover { + background: #34496E; + color: #39D2B5; +} \ No newline at end of file