Sha256: efcfc808cb812fb59afe5abb1ed07b8f42db1ad32ff14f588ec7849d7ca48a07

Contents?: true

Size: 1.92 KB

Versions: 1

Compression:

Stored size: 1.92 KB

Contents

$block: "votation_banner";
.#{$block} {
  padding: 1rem;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 999;
  background: white;
  right: 0;
  left: 0;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column-reverse;
  gap: 0.5rem;
  -webkit-box-shadow: 0px -2px 6px 0px rgba(94, 111, 101, 0.6);
  -moz-box-shadow: 0px -2px 6px 0px rgba(94, 111, 101,0.6);
  box-shadow: 0px -2px 6px 0px rgba(94, 111, 101,0.6);

  @include breakpoint(medium) {
    flex-direction: row;
    gap: 0;
    padding-left: 3rem;
    padding-right: 3rem;
  }

}
.#{$block}--checked_out {
  border-top-color: transparent;
  border-top-width: 0;
  background: rgb(222, 247, 232);
}
.#{$block}__header {
  flex: 2;
  display: flex;
  align-items: center;
}
.#{$block}__title {
  text-transform: none;
  font-size: 100%;
  width: 100%;
  margin-bottom: 0;
  text-align: center;
  @include breakpoint(medium) {
    text-align: left;
  }
}

.#{$block}__buttons {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}
.#{$block}__actions {
  margin-top: 1rem;
  .#{$block}__actions-container {
    display: flex;
    flex: 1;
    align-items: center;
  }
  @include breakpoint(large) {
    margin-top: 0;
    display: block;
    position: absolute;
    right: 3rem;
    top: 12px;
    .#{$block}__actions-container {
      flex: 0;
      display: block;
      width: 200%;
      display: flex;
      gap: 0.5rem;
    }
  }
  justify-content: center;
  gap: 1rem;
  button {
    margin: 0;
  }
  button.primary, button.primary.small,
  button.primary[disabled], button.primary.small[disabled] {
    &:focus, &, &:hover {
      color: white;
      background: var(--primary);
    }
    font-weight: 600;
  }
  button.primary[disabled], button.primary.small[disabled] {
    &, &:focus, &:hover{
      opacity: 0.25;
    }
  }
}
.#{$block}__helptext {
  display: block;
  padding-left: 0.5rem;
  text-align:center;
  opacity: 1;
  color: var(--primary);
  font-weight: bold;
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
decidim-lausanne-budgets-0.1.0 app/packs/stylesheets/decidim/lausanne/budgets/budget/_votation-progress.scss