github.com/freiheit-com/kuberpult@v1.24.2-0.20240328135542-315d5630abe6/services/frontend-service/src/ui/components/ReleaseDialog/ReleaseDialog.scss (about)

     1  /*This file is part of kuberpult.
     2  
     3  Kuberpult is free software: you can redistribute it and/or modify
     4  it under the terms of the Expat(MIT) License as published by
     5  the Free Software Foundation.
     6  
     7  Kuberpult is distributed in the hope that it will be useful,
     8  but WITHOUT ANY WARRANTY; without even the implied warranty of
     9  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    10  MIT License for more details.
    11  
    12  You should have received a copy of the MIT License
    13  along with kuberpult. If not, see <https://directory.fsf.org/wiki/License:Expat>.
    14  
    15  Copyright 2023 freiheit.com*/
    16  .release-dialog {
    17      min-width: 960px;
    18  
    19      a {
    20          color: white;
    21      }
    22  
    23      div.MuiPaper-root {
    24          background-color: transparent;
    25          border-radius: $release-dialog-outer-border-radius;
    26          overflow-y: inherit;
    27      }
    28      .content-area {
    29          display: flex;
    30      }
    31      .content-right {
    32          max-width: 40%;
    33          margin-left: auto;
    34          display: flex;
    35      }
    36      .content-left {
    37          max-width: 60%;
    38      }
    39  
    40      .release-dialog-app-bar {
    41          border-radius: $release-dialog-top-border-radius;
    42          background: var(--mdc-theme-primary);
    43          color: var(--mdc-theme-on-primary);
    44          display: flex;
    45          flex-direction: row;
    46          justify-content: space-between;
    47  
    48          .release-dialog-app-bar-data {
    49              margin: 24px 10px 24px 47px;
    50              display: flex;
    51              flex-direction: column;
    52              justify-content: space-between;
    53  
    54              .release-dialog-message {
    55                  .release-dialog-commitMessage {
    56                      text-overflow: wrap;
    57                      @extend .sub-headline1;
    58                  }
    59              }
    60          }
    61  
    62          .source {
    63              justify-content: space-between;
    64              display: flex;
    65          }
    66  
    67          button.release-dialog-close {
    68              display: flex;
    69              margin: 20px 10px auto;
    70          }
    71      }
    72  
    73      .release-env-group-list {
    74          overflow-y: scroll;
    75          background-color: var(--mdc-theme-surface);
    76          display: flex;
    77          flex-direction: column;
    78          gap: 12px;
    79          margin: 0px;
    80          padding-bottom: 20px;
    81          align-items: center;
    82          border-radius: $release-dialog-bottom-border-radius;
    83  
    84          .release-env-list {
    85              padding-left: 0;
    86              margin-bottom: 0;
    87          }
    88  
    89          button {
    90              padding: 8px 19px;
    91          }
    92  
    93          .env-card {
    94              background-color: var(--mdc-theme-background);
    95              display: flex;
    96              flex-direction: column;
    97              width: 900px;
    98              padding: 0 0 10px;
    99              margin: 10px 20px 0;
   100              border-radius: $release-dialog-inner-border-radius;
   101              gap: 0;
   102  
   103              .env-card-header {
   104                  display: flex;
   105                  flex-direction: row;
   106                  justify-content: space-between;
   107                  .release-environment {
   108                      border-radius: $border-radius-large;
   109                      top: $release-dialog-label-displacement;
   110                      left: $release-dialog-label-displacement;
   111                      height: 42px;
   112  
   113                      .tooltip-container button {
   114                          width: 16px;
   115                          height: 16px;
   116                      }
   117  
   118                      .env-card-label {
   119                          display: flex;
   120  
   121                          svg.env-card-env-lock-icon {
   122                              width: $release-dialog-lock-icon-size;
   123                              height: $release-dialog-lock-icon-size;
   124                              margin: unset;
   125                          }
   126  
   127                          .env-card-env-locks:first-child {
   128                              margin-left: 55px;
   129                              display: flex;
   130                              flex-direction: row;
   131                          }
   132                      }
   133                  }
   134  
   135                  .env-card-app-locks {
   136                      display: flex;
   137                      position: relative;
   138                      right: 36px;
   139                      flex-direction: row;
   140                      align-items: center;
   141                      gap: 0;
   142  
   143                      svg {
   144                          min-width: 16px;
   145                      }
   146                  }
   147              }
   148  
   149              .env-card-data {
   150                  display: flex;
   151                  flex-direction: row;
   152                  padding-left: 27px;
   153                  @extend .text-medium;
   154              }
   155  
   156              .env-card-buttons {
   157                  margin-left: auto;
   158                  margin-right: 18px;
   159                  margin-bottom: 17px;
   160                  display: flex;
   161                  flex-direction: row;
   162                  gap: 20px;
   163                  min-width: 300px;
   164  
   165                  .env-card-add-lock-btn {
   166                      border: 1px solid var(--mdc-theme-primary);
   167                      border-radius: $release-dialog-inner-border-radius;
   168                      white-space: nowrap;
   169                      @extend .text-bold;
   170                      .icon {
   171                          margin-right: 9px;
   172                      }
   173                  }
   174              }
   175          }
   176      }
   177  }
   178  
   179  button.button-lock {
   180      min-width: unset;
   181      padding: unset;
   182      height: auto;
   183      width: 20px;
   184  }
   185  
   186  button.mdc-button.env-card-deploy-btn {
   187      border-radius: $release-dialog-inner-border-radius;
   188      color: white;
   189      @extend .text-bold;
   190  }