<commit_before>@import "variables";

input[type="submit"], input[type="button"], button, .button {
  cursor: pointer;
}

.text-center {
  text-align: center;
}

.text-right{
  text-align: right;
}

.underline {
  text-decoration: underline;
}

table .blank-action {
  display: inline-block;
  width: 29px;
}

text-angular .ta-editor {
  border: 1px solid $pale-blue;
  border-radius: 3px;
}

#header #logo {
  top: 10px;
}

#header h1 {
  left: 275px;
}

span.error, div.error:not(.flash) {
  color: $warning-red;
}

/* Fix conflict between Spree and elRTE's styles */
.el-rte .toolbar {
  float: none;
  margin-bottom: 0;
}

input.red, a.button.red, button.red {
	background-color: $warning-red;
  margin-right: 5px;
  color: #ffffff;
}

a.button.red {
  &:not(:hover) {
    color: #fff;
    background-color: $warning-red;
  }
}

input.orange {
	background-color: #FF9848;
  margin-right: 5px;
}

input.search {
  margin-bottom: 1em;
}
#new_enterprise_fee_set input.search {
  float: right;
}

a {
 cursor:pointer;
}

a.action--disabled {
  cursor: default;

  &:hover {
    color: #5498da;
  }
}

form.order_cycle {
  h2 {
    margin-top: 2em;
  }
  .date-field {
    float: left;
    margin-right: 3em;
  }
  ol {
    list-style-type: none;
    li {
      margin-bottom: 0.5em;
    }
  }
  .icon-question-sign {
    font-size: 18px;
  }
  table.exchanges {
    tr td.active {
      width: 20px;
    }

    .exchange-select-all-variants {
      clear: both;
      margin: 5px;
    }

    .exchange-products {
      display: -webkit-flex;
      display: flex;
      -webkit-flex-flow: row wrap;
      flex-flow: row wrap;
    }
    .exchange-product {
      overflow: auto;
      width: 18%;
      min-height: 7.5em;
      margin: 0 1% 1% 0;
      border: 1px solid #DAE7FF;
      padding: 5px;

      .exchange-product-details {
        clear: both;
        margin-bottom: 1em;
        min-height: 6em;

        .name {
          font-weight: bold;
        }
      }

      .exchange-product-variant {
        float: left;
        margin-right: 2em;
      }
    }
    .collection-details {
      input {
        width: 90%
      }
      span {
        font-size: 1rem
      }
    }
  }
  .coordinator-fees {
    margin-top: 1em;
  }

  .actions {
    margin-top: 3em;
  }

  /* This styling makes it easier to read the debug info at the same time as working with the
   * interface, but it breaks the tests. Enable when you need it.
  #order-cycles-debug {
    position: fixed;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 316px;
    overflow-y: scroll;
    background-color: #fff;
  }
  */
}

table#listing_order_cycles {
  tr.open td {
    background-color: #d9fccb;
  }

  tr.upcoming td {
    background-color: #fbfccb;
  }

  tr.closed td {
    background-color: #eee;
  }
}

table#listing_payment_methods {
  table-layout: fixed;

  td {
    padding: 15px 5px;
    word-wrap: break-word;
  }
}

table#listing_enterprise_groups {
  td.actions {
    text-align: left;
  }
}

.fullwidth_inputs {
  input[type=text], select {
    width: 100%;
  }
}

// TODO: remove this, use class below
#no_results {
  font-weight:bold;
  color: $warning-red;
}

.no-results {
  font-weight:bold;
  color: $warning-red;

  h1, h2, h3, h4, h5, h6 {
    color: $warning-red;
  }
}

#loading {
  text-align: center;
  img.spinner {
    width: 100px;
    height: 100px;
  }
  h1 {
    margin-top: 20px;
    color: gray;
  }
}

.field_with_errors > input {
    border-color: red;
}

// textAngular wysiwyg
text-angular {
  .ta-toolbar {
    border: 1px solid #cdd9e4;
    padding: 0.4em;
    margin-bottom: -1px;
    background-color: #f1f1f1;
    border-radius: 0.25em 0.25em 0 0;
  }
  .ta-scroll-window > .ta-bind {
    max-height: 400px;
    min-height: 100px;
    outline: none;
    p {
      margin-bottom: 1.5rem;
    }
  }
  .ta-scroll-window.form-control {
    min-height: 100px;
    box-shadow: none !important;
  }
  .btn-group {
    display: inline;
    margin-right: 8px;
    button {
      padding: 5px 10px;
      margin-right: 0.25em;
    }
    button.active:not(:hover) {
      box-shadow: 0 0 0.7em rgba(0,0,0,0.3) inset;
      background-color: #4583bf;
    }
  }
}

span.required {
  color: red;
  font-size: 110%;
}

table td.actions {
  .icon-trash, .icon-edit, icon-copy {
    &.disabled {
      border-color: #d0d0d0;
      color: #c0c0c0;
      background-color: #fafafa;
      &:hover {
        border-color: #a5a5a5;
        color: #a5a5a5;
        background-color: #fafafa;
      }
    }
  }
}
<commit_msg>Fix button padding after Spree 2 font changes increased the vertical height<commit_after>@import "variables";

input[type="submit"], input[type="button"], button, .button {
  cursor: pointer;
  padding: 6.5px 15px;
}

.text-center {
  text-align: center;
}

.text-right{
  text-align: right;
}

.underline {
  text-decoration: underline;
}

table .blank-action {
  display: inline-block;
  width: 29px;
}

text-angular .ta-editor {
  border: 1px solid $pale-blue;
  border-radius: 3px;
}

#header #logo {
  top: 10px;
}

#header h1 {
  left: 275px;
}

span.error, div.error:not(.flash) {
  color: $warning-red;
}

/* Fix conflict between Spree and elRTE's styles */
.el-rte .toolbar {
  float: none;
  margin-bottom: 0;
}

input.red, a.button.red, button.red {
	background-color: $warning-red;
  margin-right: 5px;
  color: #ffffff;
}

a.button.red {
  &:not(:hover) {
    color: #fff;
    background-color: $warning-red;
  }
}

input.orange {
	background-color: #FF9848;
  margin-right: 5px;
}

input.search {
  margin-bottom: 1em;
}
#new_enterprise_fee_set input.search {
  float: right;
}

a {
 cursor:pointer;
}

a.action--disabled {
  cursor: default;

  &:hover {
    color: #5498da;
  }
}

form.order_cycle {
  h2 {
    margin-top: 2em;
  }
  .date-field {
    float: left;
    margin-right: 3em;
  }
  ol {
    list-style-type: none;
    li {
      margin-bottom: 0.5em;
    }
  }
  .icon-question-sign {
    font-size: 18px;
  }
  table.exchanges {
    tr td.active {
      width: 20px;
    }

    .exchange-select-all-variants {
      clear: both;
      margin: 5px;
    }

    .exchange-products {
      display: -webkit-flex;
      display: flex;
      -webkit-flex-flow: row wrap;
      flex-flow: row wrap;
    }
    .exchange-product {
      overflow: auto;
      width: 18%;
      min-height: 7.5em;
      margin: 0 1% 1% 0;
      border: 1px solid #DAE7FF;
      padding: 5px;

      .exchange-product-details {
        clear: both;
        margin-bottom: 1em;
        min-height: 6em;

        .name {
          font-weight: bold;
        }
      }

      .exchange-product-variant {
        float: left;
        margin-right: 2em;
      }
    }
    .collection-details {
      input {
        width: 90%
      }
      span {
        font-size: 1rem
      }
    }
  }
  .coordinator-fees {
    margin-top: 1em;
  }

  .actions {
    margin-top: 3em;
  }

  /* This styling makes it easier to read the debug info at the same time as working with the
   * interface, but it breaks the tests. Enable when you need it.
  #order-cycles-debug {
    position: fixed;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 316px;
    overflow-y: scroll;
    background-color: #fff;
  }
  */
}

table#listing_order_cycles {
  tr.open td {
    background-color: #d9fccb;
  }

  tr.upcoming td {
    background-color: #fbfccb;
  }

  tr.closed td {
    background-color: #eee;
  }
}

table#listing_payment_methods {
  table-layout: fixed;

  td {
    padding: 15px 5px;
    word-wrap: break-word;
  }
}

table#listing_enterprise_groups {
  td.actions {
    text-align: left;
  }
}

.fullwidth_inputs {
  input[type=text], select {
    width: 100%;
  }
}

// TODO: remove this, use class below
#no_results {
  font-weight:bold;
  color: $warning-red;
}

.no-results {
  font-weight:bold;
  color: $warning-red;

  h1, h2, h3, h4, h5, h6 {
    color: $warning-red;
  }
}

#loading {
  text-align: center;
  img.spinner {
    width: 100px;
    height: 100px;
  }
  h1 {
    margin-top: 20px;
    color: gray;
  }
}

.field_with_errors > input {
    border-color: red;
}

// textAngular wysiwyg
text-angular {
  .ta-toolbar {
    border: 1px solid #cdd9e4;
    padding: 0.4em;
    margin-bottom: -1px;
    background-color: #f1f1f1;
    border-radius: 0.25em 0.25em 0 0;
  }
  .ta-scroll-window > .ta-bind {
    max-height: 400px;
    min-height: 100px;
    outline: none;
    p {
      margin-bottom: 1.5rem;
    }
  }
  .ta-scroll-window.form-control {
    min-height: 100px;
    box-shadow: none !important;
  }
  .btn-group {
    display: inline;
    margin-right: 8px;
    button {
      padding: 5px 10px;
      margin-right: 0.25em;
    }
    button.active:not(:hover) {
      box-shadow: 0 0 0.7em rgba(0,0,0,0.3) inset;
      background-color: #4583bf;
    }
  }
}

span.required {
  color: red;
  font-size: 110%;
}

table td.actions {
  .icon-trash, .icon-edit, icon-copy {
    &.disabled {
      border-color: #d0d0d0;
      color: #c0c0c0;
      background-color: #fafafa;
      &:hover {
        border-color: #a5a5a5;
        color: #a5a5a5;
        background-color: #fafafa;
      }
    }
  }
}

{'fraction_non_alphanumeric': 0.13976614577641788, 'fraction_numerical': 0.03201835864932794, 'mean_word_length': 2.1493461803165865, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2976077', 'n_tokens_mistral': 3822, 'n_tokens_neox': 3559, 'n_words': 754}