Skip to content
Snippets Groups Projects
watna.css 6.79 KiB
Newer Older
Michal Malý's avatar
Michal Malý committed
/* vim: set sw=2 ts=2 sts=2 expandtab: */

/* Title */
title {
  font-size: 60px;
}

/* Table */
table, th, td {border: 1px solid var(--w3-grey); border-collapse: collapse;}
th, td {padding: 5px;}

th {
  text-align: right;
  white-space: nowrap;
}
th.leftaln {
  text-align: left;
  white-space: nowrap;
}

td.clickable {
  text-align: right;
  outline: 0.1em solid transparent;
  outline-offset: -0.3em;
  transition: outline 222ms;
  white-space: nowrap;
}

td.clickable:hover {
  outline: 0.1em solid #aaa;
}
td.nonclickable {
  text-align: right;
  white-space: nowrap;
}

td.disabled {
  background-color: #d5d5d5;
  color:var(--w3-grey);
  text-align: right;
  font-style: italic;
  white-space: nowrap;
}

Michal Malý's avatar
Michal Malý committed
@media screen and (min-width: 100em) {
  #atlas-layout-first {
Michal Malý's avatar
Michal Malý committed
    width: min-content;
    overflow: scroll;
    position: relative;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
}

@media screen and (max-width: 100em) {
  #atlas-layout-first {
Michal Malý's avatar
Michal Malý committed
    flex: 1;
    min-height: 6em;
    overflow: scroll;
    position: relative;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
}

#atlas-layout-first::-webkit-scrollbar {
Michal Malý's avatar
Michal Malý committed
    display: none;
}

Michal Malý's avatar
Michal Malý committed
@media screen and (min-width: 100em) {
  #atlas-layout-second {
Michal Malý's avatar
Michal Malý committed
    display: flex;
    flex: 1;
  }
}

@media screen and (max-width: 100em) {
  #atlas-layout-second {
Michal Malý's avatar
Michal Malý committed
    display: flex;
    flex: 3;
  }
}

#atlas-ntc-select {
Michal Malý's avatar
Michal Malý committed
  flex: 1;
}

#atlas-seq-select {
Michal Malý's avatar
Michal Malý committed
  flex: 1;
}

Michal Malý's avatar
Michal Malý committed
@media screen and (min-width: 80em) {
Michal Malý's avatar
Michal Malý committed
  #home-layout-first {
    overflow: scroll;
    position: relative;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    width: min-content;
  }
}

@media screen and (max-width: 80em) {
  #home-layout-first {
    flex: 1;
    min-height: 6em;
    overflow: scroll;
    position: relative;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
}

#home-layout-first::-webkit-scrollbar {
  display: none;
}

Michal Malý's avatar
Michal Malý committed
@media screen and (min-width: 80em) {
Michal Malý's avatar
Michal Malý committed
  #home-layout-second {
    display: flex;
    flex: 1;
  }
}

@media screen and (max-width: 80em) {
  #home-layout-second {
    display: flex;
    flex: 3;
  }
}

#howtocite-layout-first {
  overflow: scroll;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
#howtocite-layout-first::-webkit-scrollbar {
    display: none;
}

Michal Malý's avatar
Michal Malý committed
@media screen and (min-width: 80em) {
Michal Malý's avatar
Michal Malý committed
  #predictions-layout-first {
    width: min-content;
    overflow: scroll;
    position: relative;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
}

@media screen and (max-width: 80em) {
  #predictions-layout-first {
    flex: 1;
    min-height: 6em;
    overflow: scroll;
    position: relative;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
}

#predictions-layout-first::-webkit-scrollbar {
    display: none;
}

@media screen and (min-width: 80em) {
  #predictions-layout-second {
    display: flex;
    flex: 1;
  }
}

@media screen and (max-width: 80em) {
  #predictions-layout-second {
    display: flex;
    flex: 3;
    max-height: 75%;
  }
}

/* Show button in browser */
#submitquery {
  flex: 1;
}

#wva-app-home {
  flex: 1;
}

#wva-app-atlas {
Michal Malý's avatar
Michal Malý committed
  flex: 1;
}

#wva-app-predictions {
  flex: 1;
}

.body-watna {
  display: flex;
  flex-direction: column;
}

.collapsible-table-header {
  display: grid;
  grid-template-columns: 1fr auto;
  width: 100%;
}

.content-container-watna {
  overflow-y: hidden;
}

.dont-wrap {
  white-space: nowrap;
}

.error {
    color: red;
}

.ntc-caption-floating {
  background-color: white;
  color: navy;
  font-style: oblique;
  font-size: var(--w3-small);
  padding: 0.15em;
}

.ntc-description {
  border: 0.15em solid #aaa;
  box-shadow: 0 0 3px #aaa;
  background: #ccc;
  margin: 0;
  opacity: 0;
  padding: 0.25em;
  position: absolute;
  transition: opacity 222ms;
}
.ntc-description:hover {
  opacity: 1;
}

.ntc-description-header {
  display: grid;
  grid-column-gap: 1em;
  grid-template-columns: auto 1fr;
}

@media screen and (min-width: 80em) {
  .ntc-seq-table {
    width: 100%;
    margin-bottom: 1em;
  }

  .ntc-seq-table-container {
    width: max-content;
  }
}

@media screen and (max-width: 80em) {
  .ntc-seq-table {
    width: max-content;
  }

  .ntc-seq-table-container {
    display: grid;
    grid-column-gap: 1em;
    grid-template-columns: auto 1fr;
    width: 100%;
  }
}

.ntc-seq-title-text {
  max-width: 25em;
}

.p-caption {
  font-size: 14pt;
  font-weight: bold;
}

.p-caption-article {
  font-size: 14pt;
  font-weight: bold;
  text-transform: uppercase;
}

.proportional-layout {
  display: flex;
  flex: 1;
  gap: 1em;
  margin: 0;
  overflow: clip;
  padding: 0;
}

@media screen and (min-width: 80em) {
  .proportional-layout-responsive-flow {
    flex-direction: row;
  }
}

@media screen and (max-width: 80em) {
  .proportional-layout-responsive-flow {
    flex-direction: column;
  }
}

@media screen and (min-width: 100em) {
  .proportional-layout-responsive-flow-wide {
    flex-direction: row;
  }
}

@media screen and (max-width: 100em) {
  .proportional-layout-responsive-flow-wide {
    flex-direction: column;
  }
}

.pushbutton {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;

  align-items: center;
  border: 0.15em solid #ccc;
  display: flex;
  justify-content: center;
  padding: 0em 0.5em;
  transition: background-color 222ms;
}
.pushbutton:hover {
    background-color: #ccc;
}

.pushbutton-text {
    font-weight: bold;
    font-family: sans-serif;
}

.readable-text-container {
  max-width: 80em;
  margin-left: auto;
  margin-right: auto;
  overflow: scroll;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.readable-text-container::-webkit-scrollbar {
  display: none;
}

/* Tab content */
.tabcontent {
  display: none;
  flex: 1;
  -webkit-animation: fadeEffect 2s;
  animation: fadeEffect 3s;
}

select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: 0;
  padding: 0.15em;
  width: 100%;
}

.select-wrapper {
    border: 0.15em solid var(--w3-grey);
    border-radius: 0;
    margin: 0;
    padding: 0;
    position: relative;
}

.select-wrapper:after {
    content: "▿";
    position: absolute;
    right: 0.15em;
    top: 0;
}

.shadowed-block {
  box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
  margin: 2em;
  padding: 1em;
}

.tab-caption {
  text-transform: uppercase;
}
.tbl-caption {
  font-weight: bold;
}

.viewer-error-msg {
  background-color: white;
  border: 0.1em solid black;
  color: red;
  left: 2em;;
  max-width: 75%;
  padding: 0.15em;
  position: relative;
  top: 2em;
  transition: opacity 1s;
}
.viewer-error-msg-fading {
  opacity: 0%;
}

.warning {
  color: #ff6600;
}