<commit_before>// Table of Contents
//
// 01. Dashboard global
// 02. Actions
// 03. Resources
// 04. Goals
// 05. Sidebar
// 06. Community
// 07. Graph
// 08. Polls
// 09. Email preview
// 10. Poster preview
// 11. Poster PDF
//

// 01. Dashboard global
// --------------------

.proposal-dashboard {
  @include admin-layout;
}

.proposal-title {
  display: inline-block;

  .label {
    display: inline-block;
    margin-left: $line-height / 2;
    vertical-align: top;
  }
}

.dashboard-proposals-stats {
  border: 2px solid $highlight;
  border-radius: rem-calc(6);
  margin-bottom: $line-height;
  padding: $line-height / 2;
  text-align: center;

  @include breakpoint(medium only) {
    .change-behaviour {
      float: left;
      margin-top: $line-height / 2;
      padding: $line-height;
      width: 100%;
    }
  }

  .counter-divider {
    @include breakpoint(medium) {
      border-left: 2px solid $highlight;
    }

    @include breakpoint(large) {
      border-right: 2px solid $highlight;
    }
  }

  .counter-value {
    font-size: rem-calc(20);
    font-weight: bold;
  }

  .counter-label {
    color: $text-medium;
    font-weight: bold;
  }

  .progress {
    background: #f0efea;
    border-radius: rem-calc(6);
    height: $line-height / 2;
  }

  .progress-meter {
    background: #ffad33;
    border-bottom-right-radius: rem-calc(3);
    border-top-right-radius: rem-calc(3);
  }

  .next-goal-progress {
    font-size: $small-font-size;
    font-weight: bold;
    text-align: right;
  }
}

.title {
  border-bottom: 1px solid $border;
  margin: $line-height 0;
}

.dashboard-related-content {

  .related-content {
    border-top: 0;

    .margin-bottom {
      margin-bottom: 0;
    }
  }
}

// 02. Actions
// -----------

.action {
  margin-top: $line-height;

  .action-content {
    display: inline-block;
    margin-left: $line-height / 4;
    max-width: 90%;
    word-break: break-all;

    h4 {
      display: inline-block;
    }

    .label {
      margin-left: $line-height / 2;
    }

    a {
      display: block;
    }

    h4,
    p {
      margin-bottom: 0;
    }

    p {
      font-size: $small-font-size;
    }

    button {
      @include link;
    }
  }

  .icon-check {
    display: inline-block;
    font-size: rem-calc(24);
    vertical-align: top;
  }

  .unchecked-link {
    display: inline-block;
    vertical-align: top;
  }

  .unchecked {
    border: 1px solid $border;
    border-radius: rem-calc(4);
    display: inline-block;
    height: rem-calc(20);
    margin-top: $line-height / 6;
    width: rem-calc(20);
  }
}

.proposed-actions {
  button {
    @include link;
  }
}

// 03. Resources
// -------------

.resource-card {
  background: #d1f5eb;
  border-radius: rem-calc(4);
  margin-bottom: $line-height;
  min-height: $line-height * 9;
  padding: $line-height * 2 $line-height $line-height;
  position: relative;
  text-align: center;

  &.alert {
    background: #feeaeb;

    &::before {
      border: 2px solid #fb9497;
      color: #fb9497;
      content: "\74";
    }
  }

  &::before {
    border: 2px solid #00cb96;
    border-radius: rem-calc(40);
    color: #00cb96;
    content: "\6c";
    font-family: "icons";
    font-size: rem-calc(20);
    height: rem-calc(36);
    position: absolute;
    right: 12px;
    top: 12px;
    width: rem-calc(36);
  }

  .label {
    position: absolute;
    top: 20px;
    left: 0;
  }

  h4 {
    margin-top: $line-height;
  }

  .resource-description {
    min-height: $line-height * 4;
  }

  .button {
    background: #00cb96;
    color: #000;
    font-weight: bold;
  }
}

// 04. Goals
// ---------

.next-goal {
  border-left: 2px solid $border;
  margin-left: $line-height;
  margin-top: rem-calc(-24);
  padding-left: $line-height;
  padding-top: $line-height;
  position: relative;

  &::before {
    background: #fff;
    border: 1px solid $border;
    border-radius: rem-calc(36);
    color: #000;
    content: "\77";
    font-family: "icons";
    font-size: rem-calc(24);
    height: rem-calc(36);
    left: -18px;
    padding: 0 rem-calc(6) rem-calc(6);
    position: absolute;
    top: 18px;
    width: rem-calc(36);
  }

  .help-text {
    color: $text-medium;
    display: block;
    padding-top: $line-height / 4;
  }
}

.goal-supports,
.goal-resource,
.goal-days {
  margin-bottom: $line-height;
  padding-left: $line-height * 1.5;
  position: relative;

  &::before {
    color: #000;
    font-family: "icons";
    font-size: rem-calc(24);
    left: 6px;
    position: absolute;
    top: -6px;
  }
}

.goal-supports {

  &::before {
    content: "\77";
  }
}

.goal-resource {

  &::before {
    content: "\74";
  }
}

.goal-days {

  &::before {
    content: "\67";
  }
}

.goals-section {
  button {
    @include link;
  }
}

// 05. Sidebar
// -----------

.dashboard-sidebar {
  background: #fbfbfb;
  border-right: 1px solid $border;

  [class^="icon-"] {
    color: $text;
    display: inline-block;
    font-size: rem-calc(24);
    line-height: $line-height;
    padding: $line-height / 2 $line-height / 4;
    padding-left: 0;
    vertical-align: middle;
  }

  ul {

    li {
      line-height: $line-height * 2;
      padding-left: $line-height;
    }

    &.resources {
      border-left: 1px solid $border;
      margin-left: $line-height / 2;
    }
  }

  a {
    color: $text;
  }

  .is-active {
    @include brand-text;
    position: relative;

    &::before {
      background: linear-gradient(to right, rgba(231, 236, 240, 1) 0%, rgba(251, 251, 251, 1) 90%);
      border-left: 4px solid $brand;
      content: "";
      height: rem-calc(48);
      left: 0;
      padding-left: rem-calc(20);
      position: absolute;
      width: rem-calc(24);
    }

    a {
      @include brand-text;

      ~ a {
        color: $text;
      }
    }

    [class^="icon-"] {
      @include brand-text;
    }
  }

  .has-tip {<commit_msg>Remove unused CSS selector<commit_after>// Table of Contents
//
// 01. Dashboard global
// 02. Actions
// 03. Resources
// 04. Goals
// 05. Sidebar
// 06. Community
// 07. Graph
// 08. Polls
// 09. Email preview
// 10. Poster preview
// 11. Poster PDF
//

// 01. Dashboard global
// --------------------

.proposal-dashboard {
  @include admin-layout;
}

.proposal-title {
  display: inline-block;

  .label {
    display: inline-block;
    margin-left: $line-height / 2;
    vertical-align: top;
  }
}

.dashboard-proposals-stats {
  border: 2px solid $highlight;
  border-radius: rem-calc(6);
  margin-bottom: $line-height;
  padding: $line-height / 2;
  text-align: center;

  @include breakpoint(medium only) {
    .change-behaviour {
      float: left;
      margin-top: $line-height / 2;
      padding: $line-height;
      width: 100%;
    }
  }

  .counter-divider {
    @include breakpoint(medium) {
      border-left: 2px solid $highlight;
    }

    @include breakpoint(large) {
      border-right: 2px solid $highlight;
    }
  }

  .counter-value {
    font-size: rem-calc(20);
    font-weight: bold;
  }

  .counter-label {
    color: $text-medium;
    font-weight: bold;
  }

  .progress {
    background: #f0efea;
    border-radius: rem-calc(6);
    height: $line-height / 2;
  }

  .progress-meter {
    background: #ffad33;
    border-bottom-right-radius: rem-calc(3);
    border-top-right-radius: rem-calc(3);
  }

  .next-goal-progress {
    font-size: $small-font-size;
    font-weight: bold;
    text-align: right;
  }
}

.title {
  border-bottom: 1px solid $border;
  margin: $line-height 0;
}

.dashboard-related-content {

  .related-content {
    border-top: 0;

    .margin-bottom {
      margin-bottom: 0;
    }
  }
}

// 02. Actions
// -----------

.action {
  margin-top: $line-height;

  .action-content {
    display: inline-block;
    margin-left: $line-height / 4;
    max-width: 90%;
    word-break: break-all;

    h4 {
      display: inline-block;
    }

    .label {
      margin-left: $line-height / 2;
    }

    a {
      display: block;
    }

    h4,
    p {
      margin-bottom: 0;
    }

    p {
      font-size: $small-font-size;
    }

    button {
      @include link;
    }
  }

  .icon-check {
    display: inline-block;
    font-size: rem-calc(24);
    vertical-align: top;
  }

  .unchecked-link {
    display: inline-block;
    vertical-align: top;
  }

  .unchecked {
    border: 1px solid $border;
    border-radius: rem-calc(4);
    display: inline-block;
    height: rem-calc(20);
    margin-top: $line-height / 6;
    width: rem-calc(20);
  }
}

.proposed-actions {
  button {
    @include link;
  }
}

// 03. Resources
// -------------

.resource-card {
  background: #d1f5eb;
  border-radius: rem-calc(4);
  margin-bottom: $line-height;
  min-height: $line-height * 9;
  padding: $line-height * 2 $line-height $line-height;
  position: relative;
  text-align: center;

  &.alert {
    background: #feeaeb;

    &::before {
      border: 2px solid #fb9497;
      color: #fb9497;
      content: "\74";
    }
  }

  &::before {
    border: 2px solid #00cb96;
    border-radius: rem-calc(40);
    color: #00cb96;
    content: "\6c";
    font-family: "icons";
    font-size: rem-calc(20);
    height: rem-calc(36);
    position: absolute;
    right: 12px;
    top: 12px;
    width: rem-calc(36);
  }

  .label {
    position: absolute;
    top: 20px;
    left: 0;
  }

  h4 {
    margin-top: $line-height;
  }

  .resource-description {
    min-height: $line-height * 4;
  }

  .button {
    background: #00cb96;
    color: #000;
    font-weight: bold;
  }
}

// 04. Goals
// ---------

.next-goal {
  border-left: 2px solid $border;
  margin-left: $line-height;
  margin-top: rem-calc(-24);
  padding-left: $line-height;
  padding-top: $line-height;
  position: relative;

  &::before {
    background: #fff;
    border: 1px solid $border;
    border-radius: rem-calc(36);
    color: #000;
    content: "\77";
    font-family: "icons";
    font-size: rem-calc(24);
    height: rem-calc(36);
    left: -18px;
    padding: 0 rem-calc(6) rem-calc(6);
    position: absolute;
    top: 18px;
    width: rem-calc(36);
  }

  .help-text {
    color: $text-medium;
    display: block;
    padding-top: $line-height / 4;
  }
}

.goal-supports,
.goal-resource,
.goal-days {
  margin-bottom: $line-height;
  padding-left: $line-height * 1.5;
  position: relative;

  &::before {
    color: #000;
    font-family: "icons";
    font-size: rem-calc(24);
    left: 6px;
    position: absolute;
    top: -6px;
  }
}

.goal-supports {

  &::before {
    content: "\77";
  }
}

.goal-resource {

  &::before {
    content: "\74";
  }
}

.goal-days {

  &::before {
    content: "\67";
  }
}

.goals-section {
  button {
    @include link;
  }
}

// 05. Sidebar
// -----------

.dashboard-sidebar {
  background: #fbfbfb;
  border-right: 1px solid $border;

  [class^="icon-"] {
    color: $text;
    display: inline-block;
    font-size: rem-calc(24);
    line-height: $line-height;
    padding: $line-height / 2 $line-height / 4;
    padding-left: 0;
    vertical-align: middle;
  }

  ul {

    li {
      line-height: $line-height * 2;
      padding-left: $line-height;
    }

    &.resources {
      border-left: 1px solid $border;
      margin-left: $line-height / 2;
    }
  }

  a {
    color: $text;
  }

  .is-active {
    @include brand-text;
    position: relative;

    &::before {
      background: linear-gradient(to right, rgba(231, 236, 240, 1) 0%, rgba(251, 251, 251, 1) 90%);
      border-left: 4px solid $brand;
      content: "";
      height: rem-calc(48);
      left: 0;
      padding-left: rem-calc(20);
      position: absolute;
      width: rem-calc(24);
    }

    a {
      @include brand-text;
    }

    [class^="icon-"] {
      @include brand-text;
    }
  }

  .has-tip {
{'fraction_non_alphanumeric': 0.17065254526819268, 'fraction_numerical': 0.03433549709600273, 'mean_word_length': 2.0357791029297383, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '958396', 'n_tokens_mistral': 4768, 'n_tokens_neox': 4354, 'n_words': 928}