|
21 | 21 | max-width: none; |
22 | 22 | width: 500px; |
23 | 23 | } |
24 | | - .icon-button { |
| 24 | + .dashboard-main { |
| 25 | + padding-top: 0.25rem; |
| 26 | + color: #1f2937; |
| 27 | + } |
| 28 | + .dashboard-heading { |
| 29 | + color: #111827; |
| 30 | + font-weight: 600; |
| 31 | + letter-spacing: 0.01em; |
| 32 | + margin-bottom: 1rem; |
| 33 | + } |
| 34 | + .search-panel { |
| 35 | + background: #f8fafc; |
| 36 | + border: 1px solid #dbe4ef; |
| 37 | + border-radius: 0.75rem; |
| 38 | + padding: 0.85rem; |
| 39 | + margin: 0.35rem 0 0.8rem; |
| 40 | + box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04); |
| 41 | + } |
| 42 | + .dashboard-main .form-control { |
| 43 | + min-height: 2.4rem; |
| 44 | + } |
| 45 | + .chart-panel { |
| 46 | + border: 1px solid #dbe4ef; |
| 47 | + border-radius: 0.75rem; |
| 48 | + background: #ffffff; |
| 49 | + padding: 0.25rem; |
| 50 | + box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04); |
| 51 | + } |
| 52 | + .crawler-panel-label { |
| 53 | + font-size: 0.82rem; |
| 54 | + letter-spacing: 0.04em; |
| 55 | + text-transform: uppercase; |
| 56 | + color: #4b5563; |
| 57 | + margin: 0 0 0.45rem 0.1rem; |
| 58 | + font-weight: 600; |
| 59 | + } |
| 60 | + .icon-button { |
25 | 61 | position: relative; |
26 | 62 | display: inline-block; |
27 | | - border: none; |
28 | | - background: none; |
| 63 | + border: 1px solid transparent; |
| 64 | + background: transparent; |
29 | 65 | {#padding: 0;#} |
30 | 66 | margin: 0; |
31 | 67 | cursor: pointer; |
32 | 68 | outline: inherit; |
33 | 69 | transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out; |
| 70 | + border-radius: 0.6rem; |
| 71 | + padding: 0.3rem 0.25rem 0.2rem; |
| 72 | + color: #1f2937; |
| 73 | + text-decoration: none; |
| 74 | + box-shadow: none; |
| 75 | + } |
| 76 | + .icon-button:hover { |
| 77 | + background: #f8fafc; |
| 78 | + border-color: #dbe4ef; |
| 79 | + box-shadow: none; |
| 80 | + text-decoration: none; |
| 81 | + color: #1f2937; |
| 82 | + } |
| 83 | + .icon-button:focus, |
| 84 | + .icon-button:focus-visible { |
| 85 | + outline: 3px solid #2563eb; |
| 86 | + outline-offset: 2px; |
| 87 | + box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2); |
34 | 88 | } |
35 | 89 |
|
36 | 90 | .icon-wrapper { |
|
45 | 99 | font-size: 14px; |
46 | 100 | background: forestgreen; |
47 | 101 | } |
| 102 | + .icon-button .h4 { |
| 103 | + font-size: 0.98rem; |
| 104 | + margin-top: 0.35rem; |
| 105 | + margin-bottom: 0; |
| 106 | + font-weight: 600; |
| 107 | + line-height: 1.25; |
| 108 | + } |
48 | 109 | </style> |
49 | 110 |
|
50 | 111 | </head> |
51 | 112 | <body> |
52 | 113 |
|
53 | 114 | {% include 'nav_bar.html' %} |
54 | 115 |
|
55 | | - <div class="container-fluid"> |
| 116 | + <div class="container-fluid dashboard-main"> |
56 | 117 |
|
57 | 118 |
|
58 | 119 | <div class="row"> |
59 | 120 |
|
60 | 121 | <div class="col-12 col-xl-6"> |
61 | | - <div class="mt-2 mb-2"> |
| 122 | + <div class="search-panel"> |
62 | 123 | <form method="GET" action="{{ url_for('search_b.search_dashboard') }}"> |
63 | 124 | <div class="input-group"> |
64 | 125 | <input type="text" |
|
78 | 139 | </div> |
79 | 140 | </form> |
80 | 141 | </div> |
81 | | - <div id="feeders_dashboard" style="width: 100%; height:600px;"></div> |
| 142 | + <div class="chart-panel"> |
| 143 | + <div id="feeders_dashboard" style="width: 100%; height:600px;"></div> |
| 144 | + </div> |
82 | 145 |
|
83 | | - <div class="card mt-1 mb-4"> |
| 146 | + <div class="mt-3"> |
| 147 | + <p class="crawler-panel-label">Crawler status overview</p> |
| 148 | + <div class="card mt-1 mb-4"> |
84 | 149 | <div class="card-header text-white bg-dark"> |
85 | 150 | <div class="row"> |
86 | 151 | <div class="col-1"> |
|
132 | 197 | </div> |
133 | 198 | </div> |
134 | 199 | </div> |
| 200 | + </div> |
135 | 201 | </div> |
136 | 202 |
|
137 | 203 | <div class="col-12 col-xl-6"> |
138 | | - <h3 class="text-center mt-1 mb-4" id="current_date"></h3> |
| 204 | + <h3 class="text-center mt-1 mb-3 dashboard-heading" id="current_date"></h3> |
139 | 205 |
|
140 | 206 | <div class="row"> |
141 | 207 |
|
|
0 commit comments