github.com/replicatedhq/ship@v0.55.0/web/init/src/scss/components/kustomize/KustomizeOverlay.scss (about)

     1  .marker-highlight {
     2    background-color: #FFFBDD;
     3    position: absolute;
     4  }
     5  
     6  .marker-highlight-null {
     7    background-color: #FBECEA;
     8    position: absolute;
     9  }
    10  
    11  .overlay-toggle {
    12    position: absolute;
    13    padding: 6px;
    14    background-color: #f8f8f8;
    15    border-radius: 2px;
    16    z-index: 2;
    17    right: 12px;
    18    top: 12px;
    19  }
    20  
    21  .overlays-editor-wrapper {
    22    visibility: hidden;
    23    position: absolute;
    24    background-color: #F5F8FC;
    25    padding-left: 15px;
    26    box-shadow: inset 2px 0 4px -2px rgba(0, 0, 0, 0.1);
    27  
    28    &.visible {
    29      visibility: visible;
    30      position: relative;
    31    }
    32  }
    33  .base-editor-wrapper {
    34    display: none;
    35    &.visible {
    36      display: flex;
    37    }
    38  }
    39  
    40  .icon.u-closeOverlayIcon {
    41    position: absolute;
    42    z-index: 2;
    43    left: -50px;
    44    top: 50%;
    45    margin-top: -14px;
    46    filter: drop-shadow(0 0 2px rgba(0,0,0,0.15));
    47    transition: all .2s;
    48  
    49    &:hover {
    50      filter: drop-shadow(0 0 2px rgba(0,0,0,0.35));
    51    }
    52  }
    53  
    54  .empty-file-wrapper {
    55    margin: 20px;
    56    padding: 10px;
    57    border-radius: 4px;
    58    border: 1px dashed #DFDFDF;
    59    background-color: #f8f8f8;
    60  }
    61  
    62  .EmmptyState--wrapper {
    63    .feature-blocks-wrapper {
    64      margin-top: 50px;
    65    }
    66    .feature-block-outer {
    67      width: 100%;
    68      display: inline-block;
    69      vertical-align: top;
    70    }
    71    .feature-block-wrapper {
    72      width: 100%;
    73      padding: 0 0 20px;
    74      box-sizing: border-box;
    75    }
    76    .feature-block {
    77      padding: 5px;
    78      border-radius: 4px;
    79      position: relative;
    80      text-align: center;
    81  
    82      p {
    83        font-size: 14px;
    84        color: #9B9B9B;
    85        line-height: 22px;
    86        font-weight: 500;
    87  
    88        &.title {
    89          font-size: 16px;
    90          font-weight: 600;
    91          line-height: 24px;
    92          color: #323232;
    93          margin-bottom: 12px;
    94          margin-top: 20px;
    95        }
    96      }
    97    }
    98  
    99    .skip-wrapper {
   100      position: relative;
   101      margin-top: 25px;
   102      padding-top: 25px;
   103  
   104      &::before {
   105        content: "";
   106        display: block;
   107        width: 75%;
   108        height: 1px;
   109        background-color: #DFDFDF;
   110        position: absolute;
   111        top: 0;
   112        left: 50%;
   113        margin-left: -37%;
   114      }
   115    }
   116  }
   117  
   118  .diff-viewer-wrapper {
   119    padding: 20px;
   120    background-color: #f8f8f8;
   121    position: relative;
   122  
   123    .diff-toggle {
   124      border-radius: 30px;
   125      padding: 4px 20px 3px;
   126      background-color: #ffffff;
   127      border: 1px solid #337AB7;
   128      color: #337AB7;
   129      transition: all .2s;
   130      font-size: 12px;
   131      font-weight: 500;
   132      line-height: 12px;
   133      position: absolute;
   134      left: 50%;
   135      margin-left: -47px;
   136      top: -9px;
   137  
   138      &:hover {
   139        cursor: pointer;
   140        border-color: #193B5B;
   141        color: #193B5B;
   142      }
   143    }
   144  
   145    .diff-type-toggle {  
   146      span {
   147        font-size: 12px;
   148        font-weight: 500;
   149        line-height: 12px;
   150        padding: 5px 12px 4px;
   151        border: solid 1px #C4C8CA;
   152        cursor: pointer;
   153        text-align: center;
   154      }
   155    
   156      span:first-of-type {
   157        border-top-left-radius: 3px;
   158        border-bottom-left-radius: 3px;
   159      }
   160      span:last-of-type {
   161        border-top-right-radius: 3px;
   162        border-bottom-right-radius: 3px;
   163      }
   164    
   165      .is-active {
   166        background: #337AB7;
   167        color: #ffffff;
   168        border-color: #337AB7
   169      }
   170      .not-active {
   171        background: #ffffff;
   172        color: #C4C8CA;
   173      }
   174    }
   175  }
   176  
   177  .add-new-resource {
   178    top: -10px;
   179    padding-top: 10px;
   180    .Input {
   181      margin: 0 0 0 30px;
   182      height: 20px;
   183      font-size: 12px;
   184      line-height: 2em;
   185      background: #193B5B;
   186      border: 0;
   187      color: #fff;
   188      width: 100%;
   189      border: solid 1px;
   190      border-radius: 2px;
   191      border-color: rgba(255, 255, 255, 0.2);
   192      &::placeholder {
   193        color: rgba(255, 255, 255, 0.7);
   194      }
   195    }
   196  }
   197  
   198  .add-resource-link {
   199    padding-left: 20px;
   200    color: white;
   201    &.hidden {
   202      visibility: hidden;
   203    }
   204  }
   205  
   206  
   207  /* ≥ 768px */
   208  @media screen and (min-width: 48em) {
   209    .EmmptyState--wrapper {
   210      .feature-block-outer {
   211        width: 33%;
   212      }
   213      .feature-block-wrapper {
   214        padding-right: 15px;
   215      }
   216      .feature-block-outer:nth-child(3n) .feature-block-wrapper {
   217        padding-right: 0;
   218      }
   219    }
   220  }