Skip to content
Snippets Groups Projects
connection.scss 3.48 KiB
Newer Older
  • Learn to ignore specific revisions
  • @import 'src/styles/base/color';
    @import 'src/styles/base/breakpoint';
    
    .konnector-form {
    
      width: 100%;
    
      margin: 0;
      @media only screen and (min-width : #{$width-large-phone}) {
        padding-top: 1rem;
        margin: 1rem 1.5rem 2rem 1.5rem;
        padding-bottom: 1rem;
      }
    }
    
    
    .connection-form {
      text-align: center;
      span {
        color: $gold-shadow;
        font-weight: bold;
      }
      .connection-form-title {
    
        &.enedissgegrandlyon {
          color: $elec-color;
        }
        &.grdfgrandlyon {
          color: $gas-color;
        }
        &.eglgrandlyon {
          color: $water-color;
        }
      }
      .connection-form-subtitle {
    
    .connection-form-button {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
      button {
        height: 2.5rem;
        max-width: 22.5rem;
        margin: 0;
      }
    }
    .connection-form-connect-button {
      button {
        height: auto;
      }
      &.grdf {
        margin-top: 2rem;
      }
      .connection-form-connect-button-content {
    
        justify-content: center;
    
        align-items: center;
    
        width: 100%;
        @media #{$large-phone} {
          justify-content: left;
    
        .connection-form-connect-button-content-icon {
          margin: 0 0.5rem 0 0;
    
        .connection-form-connect-button-text {
    
          flex-direction: column;
          align-items: flex-start;
          text-align: left;
          max-width: 19.5rem;
    
    
    // SGE & GRDF
    .connectView {
      display: flex;
      flex: 1;
      flex-direction: column;
      justify-content: space-between;
      .stepContainer {
        padding: 1rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    
        .stepDetails {
          display: flex;
          flex-direction: column;
          gap: 1rem;
    
          color: $grey-bright;
    
    
          h2 {
            color: $grey-bright;
            margin: 0;
          }
    
          label.inline {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 10px;
            &.inline {
              flex-direction: row;
              align-items: center;
              gap: 0.5rem;
            }
            cursor: pointer;
    
    
            span.gold {
    
              color: $gold-shadow;
            }
          }
          #zipCode {
            max-width: 115px;
          }
    
          .MuiInputBase-root {
            max-width: 300px;
          }
    
          /* Chrome, Safari, Edge, Opera */
          input::-webkit-outer-spin-button,
          input::-webkit-inner-spin-button {
            -webkit-appearance: none;
          }
          /* Firefox */
          input[type='number'] {
            appearance: textfield;
            -moz-appearance: textfield;
          }
    
          .btnText {
            max-width: 280px;
          }
          ul {
            margin: 0;
            padding: 0 1rem 1rem;
            line-height: 130%;
            border-bottom: 1px solid $grey-dark;
            li {
              margin: 0.5rem 0;
            }
          }
        }
      }
    }
    
    .hintModal {
      display: flex;
      flex-direction: column;
      text-align: left;
    
      h1 {
        text-align: center;
        color: $gold-shadow;
        margin: 1rem 0;
      }
    
      .content {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        p {
          text-align: center;
          color: $grey-bright;
          margin: 0;
          text-wrap: pretty;
        }
    
        .grdfText {
          color: $grey-bright;
          span {
            color: $gold-shadow;
            font-weight: 700;
          }
        }
    
        .bill {
          display: flex;
          align-items: center;
          gap: 0.5rem;
    
          &.grdf {
            justify-content: center;
          }
          p {
            color: $gold-shadow;
          }
        }
    
        svg.prm {
          width: 100%;
          height: 180px;
        }
      }
    }