github.com/argoproj/argo-cd/v3@v3.2.1/ui/src/app/applications/components/application-details/application-details.scss (about) 1 @import 'node_modules/argo-ui/src/styles/config'; 2 @import 'node_modules/foundation-sites/scss/util/util'; 3 @import 'node_modules/argo-ui/src/styles/theme'; 4 @import '../../../shared/config.scss'; 5 6 $header: 120px; 7 8 .application-details { 9 height: 100vh; 10 width: 100%; 11 12 &__wrapper { 13 display: flex; 14 flex-direction: column; 15 height: calc(100vh - 2 * $top-bar-height); 16 overflow: hidden; 17 18 @media screen and (max-width: map-get($breakpoints, xxlarge)) { 19 height: calc(100vh - 3 * $top-bar-height); 20 margin-top: $top-bar-height; 21 } 22 } 23 24 .white-box__details-row .columns.small-9 { 25 line-height: 1.4; 26 min-height: 50px; 27 padding-top: 15px; 28 padding-bottom: 15px; 29 } 30 31 .argo-dropdown__content.is-menu { 32 max-height: 500px; 33 } 34 35 &__tree { 36 padding: 1em; 37 38 flex: 1; 39 overflow-x: auto; 40 overflow-y: auto; 41 overscroll-behavior-x: none; 42 } 43 44 &__sliding-panel-pagination-wrap { 45 margin-top: 1.25em; 46 } 47 48 &__warning { 49 font-size: 0.8em; 50 color: darken($argo-status-warning-color, 20%); 51 min-height: 1.2rem; 52 } 53 54 &__refreshing-label { 55 color: $white-color; 56 position: fixed; 57 margin-top: -20px; 58 left: 50%; 59 background-color: $argo-color-gray-7; 60 border: 1px solid $argo-color-gray-5; 61 border-radius: 5px; 62 padding: 5px 5px; 63 font-size: 0.6em; 64 z-index: 1; 65 } 66 67 &__tab-content-full-height { 68 height: calc(100vh - 2 * 76px); 69 div.row, 70 div.columns { 71 height: 100%; 72 } 73 } 74 75 &__container { 76 position: relative; 77 text-transform: uppercase; 78 margin-top: 0.5em; 79 cursor: pointer; 80 font-size: 0.8em; 81 white-space: nowrap; 82 overflow: hidden; 83 text-overflow: ellipsis; 84 padding-left: 10px; 85 86 i { 87 position: absolute; 88 left: 0px; 89 top: 2px; 90 } 91 92 span { 93 color: $argo-color-teal-5; 94 } 95 } 96 97 &__resource-icon { 98 text-align: center; 99 position: absolute; 100 left: 0; 101 top: 10px; 102 width: 60px; 103 line-height: 1; 104 color: $argo-color-gray-7; 105 font-size: 0.8em; 106 } 107 108 .application-resource-tree { 109 margin: 0 auto; 110 } 111 112 &__view-type { 113 margin-bottom: -6px; 114 display: inline-block; 115 vertical-align: middle; 116 white-space: nowrap; 117 i { 118 cursor: pointer; 119 color: $argo-color-gray-5; 120 margin: 0 0.5em; 121 &::before { 122 font-size: 1.5em; 123 } 124 } 125 i.selected { 126 cursor: default; 127 color: $argo-color-gray-7; 128 } 129 } 130 131 &__node-menu { 132 position: absolute; 133 right: 0; 134 top: 0; 135 } 136 137 &__external_link { 138 margin-left: 5px; 139 } 140 141 pre { 142 font-family: monospace; 143 line-height: normal; 144 white-space: pre; 145 } 146 147 &__action-menu { 148 text-transform: capitalize; 149 150 &.disabled { 151 cursor: default !important; 152 color: $argo-color-gray-3 !important; 153 } 154 155 &:focus { 156 background-color: $argo-color-gray-1; 157 outline: none; 158 } 159 } 160 161 .argo-table-list__row { 162 .columns.small-1.xxxlarge-1 { 163 width: 60px; 164 text-align: center; 165 } 166 } 167 168 @media screen and (max-width: map-get($breakpoints, xxlarge)) { 169 .page__content-wrapper { 170 min-height: calc(100vh - 3 * 50px); 171 } 172 .top-bar.row { 173 display: block; 174 .top-bar__left-side, 175 .top-bar__right-side { 176 width: 100%; 177 max-width: 100%; 178 flex: auto; 179 } 180 .top-bar__left-side { 181 .argo-button { 182 i { 183 @media screen and (max-width: map-get($breakpoints, large)) { 184 margin: 0 auto !important; 185 } 186 } 187 } 188 } 189 } 190 } 191 192 @media screen and (max-width: map-get($breakpoints, large)) { 193 .top-bar.row { 194 .top-bar__left-side { 195 > div { 196 display: flex; 197 justify-content: center; 198 height: 50px; 199 align-items: center; 200 .argo-button { 201 height: 34px; 202 } 203 } 204 } 205 .top-bar__right-side { 206 display: flex; 207 justify-content: center; 208 } 209 } 210 } 211 212 &__commit-message { 213 line-height: 1.5em; 214 } 215 216 .filters-group__panel { 217 top: 230px; 218 } 219 220 .graph-options-panel { 221 margin-left: 10px; 222 z-index: 1; 223 padding: 5px; 224 display: inline-block; 225 box-shadow: 1px 1px 3px $argo-color-gray-5; 226 position: absolute; 227 228 @include themify($themes) { 229 background: themed('background-2'); 230 } 231 232 233 a { 234 padding: 5px; 235 margin: 2px; 236 color: $argo-color-gray-6; 237 border: 1px solid transparent; 238 border-radius: 5px; 239 240 &.group-nodes-button { 241 cursor: pointer; 242 position: relative; 243 display: inline-block; 244 vertical-align: middle; 245 font-weight: 500; 246 line-height: 1.4; 247 text-align: center; 248 user-select: none; 249 transition: background-color 0.2s, border 0.2s, color 0.2s; 250 text-transform: uppercase; 251 &:hover { 252 background-color: #d1d5d9; 253 } 254 &:active { 255 transition: background-color 0.2s, border 0.2s, color 0.2s; 256 border: 1px $argo-color-teal-5 solid; 257 } 258 } 259 260 &.group-nodes-button-on { 261 color: $argo-color-gray-1; 262 background-color: $argo-color-gray-6; 263 border: 3px solid $argo-color-teal-4; 264 font-size: 14px; 265 outline-style: solid; 266 &:hover { 267 background-color: $argo-color-gray-5; 268 } 269 270 } 271 } 272 273 .separator { 274 @include themify($themes) { 275 border-right: 1px solid themed('border'); 276 } 277 padding-top: 6px; 278 padding-bottom: 6px; 279 } 280 281 .zoom-value { 282 user-select: none; 283 margin-top: 5px; 284 margin-right: 6px; 285 margin-left: 4px; 286 font-size: 14px; 287 text-align-last: right; 288 float: right; 289 width: 40px; 290 border: 1px $argo-color-gray-5 solid; 291 background-color: $argo-color-gray-3; 292 padding: 2px; 293 color: $argo-color-gray-7; 294 } 295 } 296 297 298 @media screen and (max-width: map-get($breakpoints, large)) { 299 .sliding-panel__body { 300 padding: 4px !important; 301 } 302 .sliding-panel--is-middle .sliding-panel__wrapper { 303 width: 90% !important; 304 } 305 .sliding-panel--is-middle .sliding-panel__body { 306 padding: 18px !important; 307 } 308 .sliding-panel__close { 309 z-index: 2 !important; 310 } 311 .top-bar__title { 312 display: none; 313 } 314 315 .top-bar__left-side { 316 white-space: normal !important; 317 } 318 .top-bar__left-side > div { 319 display: block !important; 320 } 321 .top-bar__right-side { 322 justify-content: right !important; 323 } 324 .application-status-panel.row { 325 flex-flow: unset; 326 } 327 .application-status-panel__item label { 328 margin-right: 0; 329 } 330 .application-status-panel__item { 331 padding: 5px 10px; 332 } 333 334 .white-box, .tabs__content { 335 padding: 4px !important; 336 } 337 .white-box__details-row .columns.small-3 { 338 overflow-wrap: unset !important; 339 overflow: scroll; 340 } 341 .white-box__details-row .columns.small-9{ 342 padding-left: 4px; 343 } 344 345 .resource-details__header h1 { 346 font-size: 16px; 347 } 348 .resource-details__header { 349 margin-top: 30px; 350 padding-right: 4px; 351 } 352 353 .tabs__nav a:first-child, .tabs__nav a { 354 margin-left: 0 !important; 355 } 356 357 .editable-panel__buttons { 358 top: unset; 359 } 360 } 361 } 362 363 .resource-parent-node-info-title { 364 flex-direction: column; 365 color: $argo-color-gray-6; 366 367 &__label { 368 display: flex; 369 margin-bottom: 0.25em; 370 flex-shrink: 1; 371 div:first-child { 372 margin-right: 10px; 373 width: 60px; 374 text-align: right; 375 } 376 div:last-child { 377 font-weight: 500; 378 width: 100%; 379 white-space: nowrap; 380 overflow: hidden; 381 text-overflow: ellipsis; 382 text-align: left; 383 384 } 385 } 386 } 387 388 389