<commit_before>/*
 * Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
 * Copyright [2016-2018] EMBL-European Bioinformatics Institute
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

form div, form > fieldset, form h2 {
  -webkit-margin-collapse: separate; /* chrome and safari fix for margins of form components */
}

form fieldset { border: none; padding: 0; margin: 0; }

form.std label, form.nonstd label { font-weight:bold; }

form.std fieldset { text-align: left; }
form.nonstd fieldset { padding: 0.5em; margin: 0; }

form.std              { margin: 0 0 8px 0; padding: 0;}
form.std table        { width:100% }
form.std fieldset     { padding: 0; }
form.std fieldset th,
form.std fieldset td  { padding:4px; width: 50%; }

form.labels_right label { text-align: right; margin: 4px 8px 0 0; }

form.narrow-labels fieldset table th { width: 30% }
form.narrow-labels fieldset table td { width: 65% }

form.std fieldset th.checkbox-long { width: 90% }
form.std fieldset td.checkbox-long { width: 5%; float: right }

form.std fieldset th.no-bold { font-weight:normal; }
form.std fieldset th.select_all { text-decoration: underline; }

form.std input.normal { width: 90% }
form.std input.short  { width: 10em }
form.std input.narrow { width: 20em }
form.std input.vshort { width: 4em }

form input.required { background-color: [[SEVERE_LIGHT]]; }
form input.invalid  { background-color: [[MODERATE_LIGHT]]; }
form input.valid    { background-color: [[OK_LIGHT]]; }
form input.disabled { background-color: [[MEDIUM_GREY]]; }

form label.invalid { color: [[SEVERE_DARK]]; font-weight: normal; font-style: italic; display: inline; white-space: nowrap; position: relative; top: 3px; left: 3px; vertical-align: top; }

.hi { border: solid 1px [[SEVERE_DARK]]; padding: 0 1px; font-weight: bold }

/* new stuff */

legend { /*intentionally made similar to panel h2 */
  border-bottom: 1px solid [[PALE_GREY]];
  display: block;
  width: 100%;
  font-weight:bold;
  margin: 5px -2px;
  padding: 2px;
  color: [[DARK_GREY]];
  font-size: 1.2em;
}
div.fnotes {
  margin-bottom: 16px;  /* TODO - remove this and wrap all the notes in <p>*/
}
div.form-field {
  overflow: hidden;
  margin-bottom: 8px;
  clear: both;
}
label.ff-label {
  font-weight: bold;
  float: left;
  width: 50%;
}
div.ff-right {
  padding-left: 50%;
}
div.form-field-scroll div.ff-right  {
  border: 1px solid [[PALE_GREY]];
  max-height: 400px;
  overflow: auto;
  padding: 8px;
}
div.ff-multi div.ff-right {
  padding-bottom: 8px;
}
div.ff-multi div.ff-right:last-child {
  padding-bottom: 0;
}
div.ff-right span.snote {
  vertical-align: top;
  position: relative;
  top: 3px;
}
div.fbutton-centre div.ff-right {
  padding-left: 0%;
  margin: 5px;
  text-align: center;
}
div.fbutton-left div.ff-right {
  padding-left: 0%;
  margin: 5px;
  text-align: left;
}
div.fbutton-right div.ff-right {
  padding-left: 0%;
  margin: 5px;
  text-align: right;
}
div.ff-notes {
  padding: 3px 0 3px 50%;
}
div.inline-label {
  float: left;
  margin-right: 10px;
  line-height: 20px;
}
.ftext, .ftextarea {
  border: [[PALE_GREY]] solid 1px;
  width: 206px;
  margin: 0 0 3px;
  padding-left: 4px;
  height: 20px;
  font-size: 12px;
}
.ffile {
  margin: 0 0 3px;
}
.ftextarea {
  height: 100px;
  width: auto;
}
input.fbutton {
  background-color:[[MAIN_DARK]];
  color:[[WHITE]];
  cursor: pointer;
  padding: 2px 8px 4px 8px;
  border-style: none;
  border-color: transparent;
  border-width: 0;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
}
input.fbutton:active, input.fbutton:hover {
  background-color:[[MAIN_V_DARK]];
}
input.fbutton.disabled, input.fbutton.disabled:active {
  background-color:[[MEDIUM_GREY]];
  cursor: default;
}
.fselect {
  width: 210px;
  margin-bottom: 3px;
  height: 24px;
}
.ff-inline .ftext, .ff-inline .ftextarea, .ff-inline .fselect, .ff-inline .fbutton, .ff-inline .ffile {
  width: auto;
  margin-right: 6px;
}<commit_msg>fix form select css<commit_after>/*
 * Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
 * Copyright [2016-2018] EMBL-European Bioinformatics Institute
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

form div, form > fieldset, form h2 {
  -webkit-margin-collapse: separate; /* chrome and safari fix for margins of form components */
}

form fieldset { border: none; padding: 0; margin: 0; }

form.std label, form.nonstd label { font-weight:bold; }

form.std fieldset { text-align: left; }
form.nonstd fieldset { padding: 0.5em; margin: 0; }

form.std              { margin: 0 0 8px 0; padding: 0;}
form.std table        { width:100% }
form.std fieldset     { padding: 0; }
form.std fieldset th,
form.std fieldset td  { padding:4px; width: 50%; }

form.labels_right label { text-align: right; margin: 4px 8px 0 0; }

form.narrow-labels fieldset table th { width: 30% }
form.narrow-labels fieldset table td { width: 65% }

form.std fieldset th.checkbox-long { width: 90% }
form.std fieldset td.checkbox-long { width: 5%; float: right }

form.std fieldset th.no-bold { font-weight:normal; }
form.std fieldset th.select_all { text-decoration: underline; }

form.std input.normal { width: 90% }
form.std input.short  { width: 10em }
form.std input.narrow { width: 20em }
form.std input.vshort { width: 4em }

form input.required { background-color: [[SEVERE_LIGHT]]; }
form input.invalid  { background-color: [[MODERATE_LIGHT]]; }
form input.valid    { background-color: [[OK_LIGHT]]; }
form input.disabled { background-color: [[MEDIUM_GREY]]; }

form label.invalid { color: [[SEVERE_DARK]]; font-weight: normal; font-style: italic; display: inline; white-space: nowrap; position: relative; top: 3px; left: 3px; vertical-align: top; }

.hi { border: solid 1px [[SEVERE_DARK]]; padding: 0 1px; font-weight: bold }

/* new stuff */

legend { /*intentionally made similar to panel h2 */
  border-bottom: 1px solid [[PALE_GREY]];
  display: block;
  width: 100%;
  font-weight:bold;
  margin: 5px -2px;
  padding: 2px;
  color: [[DARK_GREY]];
  font-size: 1.2em;
}
div.fnotes {
  margin-bottom: 16px;  /* TODO - remove this and wrap all the notes in <p>*/
}
div.form-field {
  overflow: hidden;
  margin-bottom: 8px;
  clear: both;
}
label.ff-label {
  font-weight: bold;
  float: left;
  width: 50%;
}
div.ff-right {
  padding-left: 50%;
}
div.form-field-scroll div.ff-right  {
  border: 1px solid [[PALE_GREY]];
  max-height: 400px;
  overflow: auto;
  padding: 8px;
}
div.ff-multi div.ff-right {
  padding-bottom: 8px;
}
div.ff-multi div.ff-right:last-child {
  padding-bottom: 0;
}
div.ff-right span.snote {
  vertical-align: top;
  position: relative;
  top: 3px;
}
div.fbutton-centre div.ff-right {
  padding-left: 0%;
  margin: 5px;
  text-align: center;
}
div.fbutton-left div.ff-right {
  padding-left: 0%;
  margin: 5px;
  text-align: left;
}
div.fbutton-right div.ff-right {
  padding-left: 0%;
  margin: 5px;
  text-align: right;
}
div.ff-notes {
  padding: 3px 0 3px 50%;
}
div.inline-label {
  float: left;
  margin-right: 10px;
  line-height: 20px;
}
.ftext, .ftextarea {
  border: [[PALE_GREY]] solid 1px;
  width: 206px;
  margin: 0 0 3px;
  padding-left: 4px;
  height: 20px;
  font-size: 12px;
}
.ffile {
  margin: 0 0 3px;
}
.ftextarea {
  height: 100px;
  width: auto;
}
input.fbutton {
  background-color:[[MAIN_DARK]];
  color:[[WHITE]];
  cursor: pointer;
  padding: 2px 8px 4px 8px;
  border-style: none;
  border-color: transparent;
  border-width: 0;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
}
input.fbutton:active, input.fbutton:hover {
  background-color:[[MAIN_V_DARK]];
}
input.fbutton.disabled, input.fbutton.disabled:active {
  background-color:[[MEDIUM_GREY]];
  cursor: default;
}
.fselect {
  width: 210px;
  margin-bottom: 3px;
  min-height: 24px;
  max-height: 100px;
  overflow: auto;
}
.ff-inline .ftext, .ff-inline .ftextarea, .ff-inline .fselect, .ff-inline .fbutton, .ff-inline .ffile {
  width: auto;
  margin-right: 6px;
}
{'fraction_non_alphanumeric': 0.137680361273268, 'fraction_numerical': 0.0298491023240445, 'mean_word_length': 3.651639344262295, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '495743', 'n_tokens_mistral': 3538, 'n_tokens_neox': 3225, 'n_words': 935}