Vasanth6 commited on
Commit
0be199f
·
1 Parent(s): aa96bb5

Add mobile responsive CSS styles for grid columns, header, and Arena modal

Browse files
Files changed (1) hide show
  1. frontend/styles.css +104 -1
frontend/styles.css CHANGED
@@ -2049,4 +2049,107 @@ input[type="range"]::-moz-range-thumb {
2049
  }
2050
 
2051
 
2052
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2049
  }
2050
 
2051
 
2052
+
2053
+
2054
+ /* ============================================================
2055
+ MOBILE RESPONSIVENESS MEDIA QUERIES
2056
+ ============================================================ */
2057
+ @media (max-width: 1024px) {
2058
+ .app-main {
2059
+ grid-template-columns: 1fr !important;
2060
+ height: auto !important;
2061
+ }
2062
+
2063
+ .panel {
2064
+ border-right: none !important;
2065
+ border-bottom: 1px solid var(--border-default) !important;
2066
+ height: auto !important;
2067
+ max-height: none !important;
2068
+ overflow-y: visible !important;
2069
+ }
2070
+
2071
+ #config-panel {
2072
+ order: 1;
2073
+ }
2074
+
2075
+ #xray-panel {
2076
+ order: 2;
2077
+ min-height: 450px;
2078
+ height: 600px !important; /* Contain document viewer / vector map height */
2079
+ }
2080
+
2081
+ #inspector-panel {
2082
+ order: 3;
2083
+ max-height: 500px !important;
2084
+ }
2085
+
2086
+ .canvas-wrapper {
2087
+ height: 350px !important;
2088
+ }
2089
+
2090
+ .arena-modal-content {
2091
+ width: 95% !important;
2092
+ height: 90% !important;
2093
+ max-height: 90% !important;
2094
+ padding: var(--space-md) !important;
2095
+ }
2096
+ }
2097
+
2098
+ @media (max-width: 768px) {
2099
+ .app-header {
2100
+ padding: var(--space-sm) var(--space-md) !important;
2101
+ flex-direction: column;
2102
+ gap: var(--space-sm);
2103
+ align-items: flex-start;
2104
+ }
2105
+
2106
+ .strategy-grid {
2107
+ grid-template-columns: 1fr !important;
2108
+ }
2109
+
2110
+ .stats-grid {
2111
+ grid-template-columns: 1fr 1fr !important;
2112
+ gap: var(--space-sm) !important;
2113
+ }
2114
+
2115
+ .arena-columns {
2116
+ flex-direction: column !important;
2117
+ gap: var(--space-md) !important;
2118
+ }
2119
+
2120
+ .arena-col {
2121
+ width: 100% !important;
2122
+ border-right: none !important;
2123
+ border-bottom: 1px solid var(--border-default) !important;
2124
+ padding-bottom: var(--space-md) !important;
2125
+ }
2126
+
2127
+ .verdict-details-grid {
2128
+ grid-template-columns: 1fr !important;
2129
+ gap: var(--space-md) !important;
2130
+ }
2131
+
2132
+ .arena-query-bar {
2133
+ flex-direction: column !important;
2134
+ gap: var(--space-sm) !important;
2135
+ }
2136
+
2137
+ .arena-query-bar button {
2138
+ width: 100% !important;
2139
+ }
2140
+
2141
+ .query-input-wrapper {
2142
+ flex-direction: column !important;
2143
+ gap: var(--space-sm) !important;
2144
+ }
2145
+
2146
+ .query-input-wrapper select,
2147
+ .query-input-wrapper input,
2148
+ .query-input-wrapper button {
2149
+ width: 100% !important;
2150
+ }
2151
+
2152
+ .score-col-bar {
2153
+ display: none !important; /* Hide visual score comparison bar to save screen width */
2154
+ }
2155
+ }