Skip to content
Snippets Groups Projects
prices.scss 2.37 KiB
Newer Older
  • Learn to ignore specific revisions
  • @import '../../styles/config/typography.scss';
    @import '../../styles/config/layout.scss';
    @import '../../styles/config/breakpoints';
    @import '../../styles/config/colors';
    
    .prices {
      margin-top: $navigator-height;
      padding: 1rem;
      .title {
        margin: 1rem 0;
      }
      .capital {
        text-transform: capitalize;
      }
      h2 {
        margin-bottom: 1rem;
        color: $gold;
      }
      .price-separator {
        margin: 1rem 0;
        background: white;
      }
      .flex-bloc {
        display: flex;
        align-items: center;
        .price-select {
          position: relative;
        }
        .euro {
          display: block;
          margin-left: 0.5rem;
          font-weight: bold;
        }
        .startDate {
          margin-left: 1rem;
          .date {
            margin-left: 0.5rem;
            color: $gold;
            font-weight: bold;
          }
        }
      }
      section {
        margin-top: 1rem;
        margin-bottom: 2rem;
        .history {
          button {
            @include baseButton();
            background: $grey-dark;
            border: solid 1px $gold;
            display: flex;
            align-items: center;
            &:hover {
              background: $dark-background;
              opacity: 0.8;
            }
            &.active {
              border-radius: 5px 5px 0 0;
            }
            img {
              width: 20px;
              margin-left: 0.5rem;
            }
            span {
              color: $gold;
            }
          }
          ul {
            transition: all 300ms ease;
            background: $grey-dark;
            border: solid 1px $gold;
            padding: 1rem;
            .price-hidden {
              display: none;
            }
            li {
              transition: all 300ms ease;
              margin: 0.5rem 0;
              padding: 0.5rem;
              .prix {
                transition: all 300ms ease;
                font-weight: bold;
                min-width: 120px;
              }
              p,
              p span {
                transition: all 300ms ease;
                margin-left: 1rem;
              }
              img {
                cursor: pointer;
                width: 22px;
                margin-left: auto;
                transition: all 300ms ease;
              }
            }
            .price-selected {
              background: $gold;
              .prix,
              p,
              p span {
                color: black;
              }
            }
            hr {
              margin: 0;
              background: white;
            }
            .showButton {
              text-align: center;
              color: $gold;
            }
          }
          .icon-active {
            transform: rotate(180deg);
          }
        }
      }
    }