|
a |
|
b/static/css/main.css |
|
|
1 |
/************************************************************************************** |
|
|
2 |
* Project : Chest X-Ray Pathology Detection and Localization using Deep Learning |
|
|
3 |
* Author Name : Rammuni Ravidu Suien Silva |
|
|
4 |
* UoW No : 16267097 |
|
|
5 |
* IIT No : 2016134 |
|
|
6 |
* Module : Final Year Project 20/21 |
|
|
7 |
* Supervisor : Mr Pumudu Fernando |
|
|
8 |
|
|
|
9 |
* Prototype : Web Interface - FrontEnd [Draft: .v01] |
|
|
10 |
* University of Westminster, UK || IIT Sri Lanka |
|
|
11 |
**************************************************************************************/ |
|
|
12 |
|
|
|
13 |
.loc-result-print { |
|
|
14 |
display: none; |
|
|
15 |
} |
|
|
16 |
|
|
|
17 |
/*Styling for Printing*/ |
|
|
18 |
@media print { |
|
|
19 |
* { |
|
|
20 |
-webkit-print-color-adjust: exact !important; |
|
|
21 |
color-adjust: exact !important; |
|
|
22 |
} |
|
|
23 |
|
|
|
24 |
.loc-result-print div { |
|
|
25 |
break-inside: avoid; |
|
|
26 |
} |
|
|
27 |
|
|
|
28 |
.loc-result-print { |
|
|
29 |
display: block; |
|
|
30 |
} |
|
|
31 |
|
|
|
32 |
.loc-result-print .print-cxr-card { |
|
|
33 |
padding: 5%; |
|
|
34 |
} |
|
|
35 |
|
|
|
36 |
.loc-result-print .cxr-loc-img { |
|
|
37 |
-ms-transform: scale(1.1); /* for IE 9 */ |
|
|
38 |
transform: scale(1.1); |
|
|
39 |
} |
|
|
40 |
} |
|
|
41 |
|
|
|
42 |
|
|
|
43 |
.img-preview { |
|
|
44 |
width: 256px; |
|
|
45 |
height: 256px; |
|
|
46 |
position: relative; |
|
|
47 |
border: 5px solid #e0e0e0; |
|
|
48 |
box-shadow: 0px 2px 4px 0px rgba(22, 22, 22, 0.1); |
|
|
49 |
margin-top: 1em; |
|
|
50 |
margin-bottom: 1em; |
|
|
51 |
} |
|
|
52 |
|
|
|
53 |
/*POPUP CXR*/ |
|
|
54 |
.card { |
|
|
55 |
border-radius: 3vh; |
|
|
56 |
margin: auto; |
|
|
57 |
max-width: 680px; |
|
|
58 |
padding: 5vh 4vh; |
|
|
59 |
align-items: center; |
|
|
60 |
box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.19) |
|
|
61 |
} |
|
|
62 |
|
|
|
63 |
@media (max-width: 800px) { |
|
|
64 |
.card { |
|
|
65 |
width: 95vw |
|
|
66 |
} |
|
|
67 |
} |
|
|
68 |
|
|
|
69 |
.card-img { |
|
|
70 |
padding: 5px 0; |
|
|
71 |
width: 100% |
|
|
72 |
} |
|
|
73 |
|
|
|
74 |
|
|
|
75 |
.card-title { |
|
|
76 |
margin-bottom: unset |
|
|
77 |
} |
|
|
78 |
|
|
|
79 |
.card-title p { |
|
|
80 |
color: rgb(29, 226, 226); |
|
|
81 |
font-weight: 900; |
|
|
82 |
font-size: 15px; |
|
|
83 |
margin-bottom: unset |
|
|
84 |
} |
|
|
85 |
|
|
|
86 |
.card-text p { |
|
|
87 |
color: grey; |
|
|
88 |
font-size: 16px; |
|
|
89 |
text-align: center; |
|
|
90 |
padding: 1vh 0; |
|
|
91 |
font-weight: lighter |
|
|
92 |
} |
|
|
93 |
|
|
|
94 |
.img-preview > div { |
|
|
95 |
width: 100%; |
|
|
96 |
height: 100%; |
|
|
97 |
background-size: 256px 256px; |
|
|
98 |
background-repeat: no-repeat; |
|
|
99 |
background-position: center; |
|
|
100 |
} |
|
|
101 |
|
|
|
102 |
input[type="file"] { |
|
|
103 |
display: none; |
|
|
104 |
} |
|
|
105 |
|
|
|
106 |
.upload-label { |
|
|
107 |
display: inline-block; |
|
|
108 |
padding: 12px 30px; |
|
|
109 |
font-size: 1em; |
|
|
110 |
transition: all .4s; |
|
|
111 |
cursor: pointer; |
|
|
112 |
} |
|
|
113 |
|
|
|
114 |
.upload-label:hover { |
|
|
115 |
background: #34496E; |
|
|
116 |
color: #39D2B5; |
|
|
117 |
} |