github.com/thanos-io/thanos@v0.32.5/pkg/ui/react-app/src/App.css (about) 1 .panel { 2 margin-bottom: 20px; 3 } 4 5 input[type='checkbox']:checked + label { 6 color: #286090; 7 } 8 9 .custom-control-label { 10 cursor: pointer; 11 } 12 13 .togglers-wrapper .form-group { 14 margin-bottom: 0.5rem; 15 } 16 17 [for$='-toggler'].custom-control-label::before, 18 [for$='-toggler'].custom-control-label::after { 19 top: 0.28rem; 20 left: -1.3rem; 21 width: 1.12rem; 22 height: 1.12rem; 23 } 24 25 .capitalize-title::first-letter { 26 text-transform: capitalize; 27 } 28 29 .expression-input { 30 margin-bottom: 10px; 31 } 32 33 .expression-input .cm-expression-input { 34 border: 1px solid #ced4da; 35 flex: 1 1 auto; 36 padding: 4px 0 0 8px; 37 font-size: 15px; 38 } 39 40 /* Font used for autocompletion item icons. */ 41 @font-face { 42 font-family: 'codicon'; 43 src: local('codicon'), url(./fonts/codicon.ttf) format('truetype'); 44 } 45 46 button.execute-btn { 47 width: 84px; 48 } 49 50 .alert.alert-danger { 51 margin-bottom: 10px; 52 } 53 54 .nav-tabs .nav-link { 55 cursor: pointer; 56 } 57 58 .tab-content { 59 border-left: 1px solid #dee2e6; 60 border-right: 1px solid #dee2e6; 61 border-bottom: 1px solid #dee2e6; 62 padding: 10px; 63 } 64 65 .tab-content .alert { 66 margin-bottom: 0; 67 } 68 69 .data-table.table { 70 margin: 10px 0 2px 0; 71 } 72 73 .data-table > tbody > tr > td { 74 padding: 5px 0 5px 8px; 75 font-size: 0.8em; 76 overflow: hidden; 77 } 78 79 .autosuggest-dropdown { 80 position: absolute; 81 border: 1px solid #ced4da; 82 background-color: #fff; 83 color: #495057; 84 font-size: 1rem; 85 z-index: 1000; 86 left: 56px; 87 margin-top: -6px; 88 } 89 90 .autosuggest-dropdown-list { 91 padding: 0; 92 margin: 0; 93 list-style: none; 94 } 95 96 .autosuggest-dropdown-list li { 97 width: 100%; 98 padding: 0.25rem 1.5rem; 99 clear: both; 100 white-space: nowrap; 101 background-color: transparent; 102 border: 0; 103 display: block; 104 } 105 106 .autosuggest-dropdown-list li.autosuggest-dropdown-header { 107 background-color: #bfdeff; 108 font-size: 10px; 109 line-height: 1.5; 110 text-transform: uppercase; 111 text-align: center; 112 } 113 114 .graph-controls, 115 .table-controls { 116 margin-bottom: 10px; 117 } 118 119 .graph-controls input, 120 .table-controls input { 121 text-align: center; 122 } 123 124 .graph-controls .range-input input { 125 width: 50px; 126 } 127 128 .time-input input { 129 border-right: none; 130 } 131 132 .time-input { 133 width: 270px !important; 134 } 135 136 .graph-controls input.resolution-input { 137 width: 90px; 138 } 139 140 .graph-controls > :not(:first-child) { 141 margin-left: 20px; 142 } 143 144 .graph-controls .clear-time-btn, 145 .table-controls .clear-time-btn { 146 background: #fff; 147 border-left: none; 148 border-top: 1px solid #ced4da; 149 border-bottom: 1px solid #ced4da; 150 color: #495057; 151 } 152 153 .graph-legend { 154 margin: 15px 0 15px 55px; 155 font-size: 0.75em; 156 padding: 10px 5px; 157 display: inline-block; 158 } 159 160 .legend-item { 161 cursor: pointer; 162 display: flex; 163 padding: 0 5px; 164 border-radius: 3px; 165 line-height: 1.7; 166 } 167 .legend-item div { 168 flex-wrap: wrap; 169 } 170 171 .legend-swatch { 172 min-width: 7px; 173 height: 7px; 174 outline-offset: 1px; 175 outline: 1.5px solid #ccc; 176 margin: 6px 8px 2px 0; 177 display: inline-block; 178 } 179 180 .legend-item:hover { 181 background: rgba(0, 0, 0, 0.18); 182 } 183 184 .legend-metric-name { 185 margin-right: 1px; 186 } 187 188 .legend-label-name { 189 font-weight: bold; 190 } 191 192 .graph { 193 margin: 0 5px 0 5px; 194 } 195 196 .graph-chart { 197 height: 500px; 198 width: 100%; 199 /* This is picked up by Flot's axis label font renderer, 200 which ignores "color" and uses "fill" instead. */ 201 fill: #495057; 202 font-size: 0.8em; 203 } 204 205 .graph-chart .flot-overlay { 206 cursor: crosshair; 207 } 208 209 .graph-tooltip { 210 background: rgba(0, 0, 0, 0.8); 211 color: #fff; 212 font-family: Arial, Helvetica, sans-serif; 213 font-size: 12px; 214 white-space: nowrap; 215 padding: 8px; 216 border-radius: 3px; 217 } 218 219 .graph-tooltip .labels { 220 font-size: 11px; 221 line-height: 11px; 222 } 223 224 .graph-tooltip .detail-swatch { 225 display: inline-block; 226 width: 10px; 227 height: 10px; 228 } 229 230 .add-panel-btn { 231 margin-bottom: 20px; 232 } 233 234 .target-head { 235 font-weight: 700; 236 font-size: large; 237 } 238 239 .group-info { 240 display: flex; 241 justify-content: space-between; 242 margin-bottom: 10px; 243 padding: 10px; 244 } 245 246 .badges-wrapper > span { 247 margin-right: 5px; 248 max-height: 20px; 249 } 250 251 .rules-head { 252 font-weight: 600; 253 } 254 255 .rule_cell { 256 white-space: pre-wrap; 257 background-color: #f5f5f5; 258 display: block; 259 font-family: monospace; 260 } 261 262 .store-filter-wrapper { 263 display: flex; 264 } 265 266 .store-filter-label { 267 width: 100px; 268 padding: 5px; 269 }