Spaces:
Sleeping
Sleeping
File size: 4,205 Bytes
aef7d7f 18a5290 aef7d7f 4527a8b 18a5290 0e13784 aef7d7f 699de5b aef7d7f ae341d5 6ee66b7 ae341d5 dd12693 ae341d5 aef7d7f 022a96f aef7d7f 699de5b e492da7 aef7d7f 022a96f e492da7 022a96f aef7d7f bf149e6 6ee66b7 11dbff2 6ee66b7 bf149e6 6ee66b7 ff1a4ee 154ee04 ff1a4ee aef7d7f bbb29cb aef7d7f 6ee66b7 aef7d7f bbb29cb aef7d7f a1f301e aef7d7f 6ee66b7 a1f301e 4527a8b aef7d7f 4527a8b aef7d7f a1f301e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 |
/* www/styles.css */
/* Modern sleek theme with dark mode elements */
body {
background-color: white;
font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}
/* Image display styling for footer images */
.footer img {
border-radius: 10px;
object-fit: cover;
max-height: 300px;
width: 100%;
margin: 10px 0;
/*box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);*/
}
#bloomberg > img:nth-child(1) {
padding-top: 35px;
}
.container-fluid {
padding-left: 10px;
padding-right: 10px;
max-width: 1400px;
margin: 0 auto;
}
/* Nav-bar styling */
.nav-bar {
/*position: sticky; */
top: 0px;
background: white;
z-index: 10;
}
/* Header styling */
.navbar-logo {
color: #2c3e50 !important;
font-weight: 700;
font-size: 1.8rem;
padding: 0px 0;
text-align: center;
}
/*To align text at the bottom of the navbar*/
.navbar-text {
display: table-cell;
vertical-align: bottom;
}
.navbar-col{
display: table;
padding-left: 0;
padding-right: 0;
}
.body-bar {
top: 0px;
background: white;
font-size: 1.1rem;
border-bottom: 2px solid #ddd;
z-index: 10;
margin-bottom: 10px;
padding: 10px;
text-align: left;
}
.side-bar {
position: sticky;
top: 0px;
font-size: 1.1rem;
background: white;
z-index: 10;
}
.footer {
border-top: 2px solid #ddd;
background: white;
}
.analysis-separator {
border-top: 2px solid #ddd;
background: white;
}
/* Sidebar styling */
.card.shiny-input-container {
background-color: #ffffff;
border-radius: 12px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
padding: 20px;
margin-bottom: 20px;
}
/* Upload button styling */
.btn-file {
background-color: #2F6BA7;
color: white !important;
border-radius: 8px;
padding: 10px 20px;
transition: all 0.3s ease;
}
.btn-file:hover {
background-color: #2c3e50;
}
/* Analyze button styling */
.btn-success {
background-color: #2F6BA7 !important;
border: none;
border-radius: 8px;
padding: 12px 25px;
font-weight: 600;
transition: all 0.3s ease;
}
.btn-success:hover {
background-color: #2c3e50 !important;
}
/* Image cards styling */
.card {
background: white;
border: none;
border-radius: 15px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
margin-bottom: 25px;
overflow: hidden;
transition: transform 0.2s ease;
}
/* Results text styling */
.results-text {
color: #2c3e50;
font-family: 'Courier New', monospace;
font-size: 1.1rem;
margin: 15px 0;
padding: 12px;
background-color: #f8f9fa;
border-radius: 6px;
border-left: 4px solid #4a90e2;
}
/* Focus styling */
/* High contrast focus ring for buttons */
button:focus,
.btn:focus,
.btn-default:focus,
.btn-file:focus,
.form-control:focus,
.irs-line:focus,
.btn-success:focus,
input[type="button"]:focus,
input[type="submit"]:focus {
outline: 5px solid #ffab00 !important; /* Highly visible gold/orange outline */
outline-offset: 1px;
box-shadow: 0 0 0 6px rgba(255, 171, 0, 0.25); /* Soft glow for extra contrast */
z-index: 2;
transition: outline-color 0.2s, box-shadow 0.2s;
}
/* Optionally, use :focus-visible for modern browsers only */
button:focus-visible,
.btn:focus-visible,
.btn-default:focus-visible,
.btn-file:focus-visible,
.btn-success:focus-visible,
.form-control:focus-visible,
.irs-line:focus-visible,
input[type="button"]:focus-visible,
input[type="submit"]:focus-visible {
outline: 5px solid #ffab00 !important;
outline-offset: 1px;
box-shadow: 0 0 0 6px rgba(255, 171, 0, 0.25);
z-index: 2;
}
button:focus-within,
.btn:focus-within,
.btn-default:focus-within,
.btn-file:focus-within,
.btn-success:focus-within,
.form-control:focus-within,
.irs-line:focus-within,
input[type="button"]:focus-within,
input[type="submit"]:focus-within {
outline: 5px solid #ffab00 !important;
outline-offset: 1px;
box-shadow: 0 0 0 6px rgba(255, 171, 0, 0.25);
z-index: 2;
}
/* Responsive design */
@media (max-width: 768px) {
.col-md-4 {
flex: 0 0 100%;
max-width: 100%;
}
img {
max-height: 200px;
}
} |