github.com/argoproj/argo-cd/v3@v3.2.1/ui/src/app/applications/components/application-status-panel/application-status-panel.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  
     5  .help-tip {
     6      color: $argo-color-gray-4;
     7  }
     8  
     9  @mixin responsive-widths {
    10      @include breakpoint(large up) {
    11          max-width: 250px;
    12      }
    13      @include breakpoint(xlarge up) {
    14          min-width: 250px;
    15          max-width: 300px;
    16      }
    17      @include breakpoint(xxlarge up) {
    18          min-width: 325px;
    19          max-width: 350px;
    20      }
    21      @include breakpoint(xxxlarge up) {
    22          min-width: 375px;
    23          max-width: 450px;
    24      }
    25  }
    26  
    27  .application-status-panel {
    28      font-size: 0.875em;
    29      @include themify($themes) {
    30          background-color: themed('background-2');
    31          color: themed('text-1');
    32      }
    33      box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    34      flex-wrap: nowrap;
    35      flex-shrink: 1;
    36      overflow-x: auto;
    37      padding-bottom: 0.5em;
    38  
    39      $row-width: 250px;
    40  
    41      &__conditions {
    42          display: flex;
    43          max-width: 250px;
    44          margin: auto;
    45          flex-wrap: wrap;
    46          justify-content: center;
    47          line-height: 1.5em;
    48          a {
    49              display: block;
    50              margin-right: 12px;
    51          }
    52      }
    53  
    54      &__more-button {
    55          margin-left: auto;
    56          font-size: 14px;
    57          line-height: 20px;
    58          display: flex;
    59          padding: 1px 5px;
    60          cursor: pointer;
    61          color: $argo-color-gray-6;
    62          border: 1px solid $argo-color-gray-5;
    63      }
    64  
    65      &__item {
    66          margin-top: 5px;
    67          padding: 5px 20px;
    68          font-size: 0.8em;
    69          line-height: 1.2;
    70          @include themify($themes) {
    71              color: themed('text-1');
    72          }
    73          display: flex;
    74          flex-direction: column;
    75          justify-content: flex-start;
    76          flex-shrink: 0;
    77          flex-grow: 0;
    78  
    79          &__row {
    80              display: flex;
    81              max-width: $row-width;
    82              margin-bottom: 0.25em;
    83              flex-shrink: 1;
    84              div:first-child {
    85                  width: 80px;
    86                  margin-right: 10px;
    87                  text-align: right;
    88              }
    89              div:last-child {
    90                  font-weight: 500;
    91                  width: 100%;
    92                  white-space: nowrap;
    93                  overflow: hidden;
    94                  text-overflow: ellipsis;
    95                  text-align: left;
    96              }
    97  
    98              @include responsive-widths();
    99          }
   100  
   101          &:first-child {
   102              margin-top: 7px;
   103          }
   104  
   105          &:not(:first-child) {
   106              @include themify($themes) {
   107                  border-left: 1px solid themed('border');
   108              }
   109          }
   110  
   111          & {
   112              a.error {
   113                  color: $argo-failed-color-dark;
   114              }
   115          }
   116          & {
   117              a.warning {
   118                  color: $argo-status-warning-color;
   119              }
   120          }
   121          & {
   122              a.info {
   123                  color: $argo-success-color;
   124              }
   125          }
   126  
   127          label {
   128              display: block;
   129              @include themify($themes) {
   130                  color: themed('text-1');
   131              }
   132              font-size: 13px;
   133              margin-right: 10px;
   134          }
   135  
   136          max-width: 100%;
   137          width: auto;
   138      }
   139  
   140      &__item-value {
   141          display: flex;
   142          align-items: center;
   143          margin-bottom: 0.5em;
   144          font-weight: 500;
   145          padding: 2px 0px;
   146          .fa {
   147              font-size: 1em;
   148          }
   149  
   150          font-size: 2em;
   151          @include themify($themes) {
   152              color: themed('text-1');
   153          }
   154          &--highlight {
   155              color: $argo-color-teal-6;
   156          }
   157  
   158          &--Running a,
   159          &--Terminating a {
   160              color: $argo-running-color;
   161          }
   162  
   163          &--Error a,
   164          &--Failed a {
   165              color: $argo-failed-color;
   166          }
   167  
   168          &--Succeeded a {
   169              color: $argo-success-color;
   170          }
   171  
   172          i {
   173              font-size: 0.6em;
   174          }
   175  
   176          &__revision {
   177              font-size: 14px;
   178              @include themify($themes) {
   179                  color: themed('text-1');
   180              }
   181              font-weight: 500;
   182              padding-left: 8px;
   183              margin-bottom: 2px;
   184          }
   185  
   186          &__status-button {
   187              display: inline;
   188              border-radius: 5px;
   189              padding: 2px;
   190              border: 1px solid $argo-color-gray-5;
   191              &:hover {
   192                  background-color: $argo-color-gray-4;
   193              }
   194          }
   195  
   196      }
   197  
   198      &__hydrator-link {
   199          width: 134px;
   200      }
   201  
   202      &__item-name {
   203          margin: auto 0;
   204          max-width: $row-width;
   205          display: -webkit-box;
   206          -webkit-line-clamp: 2;
   207          -webkit-box-orient: vertical;
   208          i {
   209              position: relative;
   210              top: -2px;
   211          }
   212          @include responsive-widths();
   213      }
   214      &__item-name,
   215      &__item-value {
   216          overflow: hidden;
   217          text-overflow: ellipsis;
   218      }
   219  }