Ctrl K
ComunidadGuías…

extensions/web-base/www/app.css

Rama master · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
html {
  width: 100%;
  height: 100%;
  font-size: 62.5%;
}
body {
  margin: 0;
  height: 100%;
  width: 100%;
  display: block;
  overflow: hidden;
  font-family: sans-serif;
}
section.page {
  position: absolute;
  margin: 0;
  height: 100%;
  width: 100%;
  transition: all 0.25s ease;
}
body, section.page {
  background-color: white;
  color: black;
}
body.theme_black, .theme_black section.page {
  background-color: #1E1E1E;
  color: white;
}
section.page.hideLeft {
  transform: translateX(-100%);
}
section.page.hideRight {
  transform: translateX(100%);
}
section.page.hideTop {
  transform: translateY(-100%);
}
section.page.hideBottom {
  transform: translateY(100%);
}
section.page.hide {
  opacity: 0;
  z-index: -1000;
}
section.menu {
  position: absolute;
  margin: 0;
  height: 100%;
  width: 30rem;
  transition: all 0.25s ease;
  z-index: 100;
}
section.dialog {
  z-index: 200;
}
section.settings {
  z-index: 200;
}
div.toaster {
  position: fixed;
  transition: opacity 0.25s ease;
  bottom: 4rem;
  width: 60rem;
  left: calc(50% - 30rem);
  box-sizing: border-box;
  height: 4rem;
  line-height: 3rem;
  padding: 10px 20px;
  text-align: center;
  z-index: 900;
  font-size: 2rem;
  color: #fff;
  border-radius: 5px;
  background: rgba(77, 77, 77, 0.7);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
div.toaster.hide {
  /*display: none;*/
  opacity: 0;
  z-index: -900;
}
.theme_boot > div.pages,
.theme_boot > #toaster {
  display: none;
}
div.splash {
  position: absolute;
  margin: 0;
  height: 100%;
  width: 100%;
  font-size: 1.8rem;
  vertical-align: middle;
  text-align: center;
  z-index: 1000;
  background-color: inherit;
}
span.required {
  color: red;
  font-weight: bold;
}
.hover-container:hover .hover-visible {
  visibility: unset;
}
.hover-container .hover-visible {
  visibility: hidden;
}
.hover-container:hover .hover-show {
  display: unset;
}
.hover-container .hover-show {
  display: none;
}
.theme_boot > div.toaster,
:not(.theme_boot) > div.splash {
  display: none;
}
.theme_ms section.menu,
.theme_ms section.menu > header,
.theme_ms section.menu > header button {
  color: #fff;
  background-color: #004174;
}
.theme_light section.menu,
.theme_light section.menu > header,
.theme_light section.menu > header button {
  color: black;
  background-color: #d9e6f2;
}
.theme_black section.menu,
.theme_black section.menu > header,
.theme_black section.menu > header button {
  color: lightgrey;
  background-color: #2E2E2E;
}
section.menu.hideLeft {
  transform: translateX(-30rem);
}
section.hidden {
  display: none;
}
section > div.showMenu {
  position: absolute;
  right: 0;
  top: 0;
  height: 3rem;
  width: 4rem;
}
section > div.showMenu button {
  border: none;
  background: none;
  overflow: hidden;
  padding: 0 1rem;
}
section > header {
  display: flex;
  justify-content: space-between;
  height: 5rem;
  width: 100%;
  overflow: hidden;
}
section.hideMenu > header {
  display: none;
  height: 0;
  opacity: 0;
  visibility: collapse;
}
section > header > div {
  overflow: hidden;
}
.theme_ms section > header,
.theme_ms section > header button {
  color: #fff;
  background-color: #0078D7;
}
.theme_light section > header,
.theme_light section > header button {
  color: black;
  background-color: #ecf2f9;
}
.theme_black section > header,
.theme_black section > header button {
  color: white;
  background-color: darkslategrey;
}
section > header button {
  line-height: 5rem;
  height: 5rem;
  min-width: 4rem;
  vertical-align: middle;
}
section > article {
  transition: height 1s ease;
  height: calc(100% - 5rem);
  overflow-y: auto;
  width: 100%;
}
section.hideMenu > article {
  height: 100%;
}
section > article a,
section > article p,
section > article dl {
  font-size: 1.5rem;
  font-weight: normal;
  line-height: 2.0rem;
  padding: 0.3rem;
}
section > article > section > select,
section > article > section > input {
  padding: 0.1rem;
  margin: 0 2rem;
  line-height: 5rem;
  font-size: 1.8rem;
  font-weight: normal;
  height: 5rem;
}
section > article > section > a,
section > article > section > p {
  font-size: 1.9rem;
  font-weight: normal;
  line-height: 2.5rem;
  padding: 0.5rem;
}
section > article > section > select,
section > article > section > input[type="text"],
section > article > section > input[type="password"] {
  width: calc(100% - 4rem);
}
section > article > section > button {
  width: calc(100% - 4rem);
  padding: 0.1rem;
  margin: 0.5rem 2rem;
  line-height: 5rem;
  font-size: 1.8rem;
  font-weight: normal;
  height: 5rem;
  color: #000;
  vertical-align: middle;
}
section.page > article > section > h1 {
  color: #000;
}
section > article > section > h1 {
  line-height: 5rem;
  font-size: 2.2rem;
  font-weight: normal;
  line-height: 5rem;
  height: 5rem;
  vertical-align: left;
}
.theme_black section > article button,
.theme_black section > article input {
  background-color: darkgrey;
}
header button {
  border: none;
  background: none;
  position: relative;
  overflow: hidden;
  padding: 0 1rem;
  margin: 0;
}
header h1, footer h1 {
  font-size: 2rem;
  white-space: nowrap;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
  height: 100%;
  line-height: 5rem;
  text-align: center;
  font-weight: lighter;
  font-style: italic;
}
ul {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
  margin: 0;
  padding-left: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 1.9rem;
  font-weight: normal;
  line-height: 2.5rem;
}
article > ul > li {
  height: 4rem;
}
section > article > section > ul li button,
section > article > section > ul li select,
section > article > section > ul li textarea,
section > article > section > ul li input[type="text"],
section > article > section > ul li input[type="number"],
section > article > section > ul li input[type="checkbox"],
section > article > section > ul li input[type="password"] {
  width: calc(100% - 4rem);
  font-size: 1.9rem;
  font-weight: normal;
  line-height: 2.5rem;
  padding-bottom: 0.5rem;
}

section > article > section > ul li textarea {
  resize: vertical;
}

textarea.full {
  height:  calc(100% - 1.5rem);
  width:  calc(100% - 1rem);
  border: none;
  margin: 0px;
  padding: 0.5rem;
  resize: none;
}
textarea.full:focus {
  outline: none;
}

iframe.full {
  height:  calc(100% - 1.5rem);
  width:  calc(100% - 1rem);
  border: none;
  margin: 0px;
  padding: 0.5rem;
}

.scrollable {
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
}
.content-flex {
  display: flex;
  justify-content: space-around;
  flex-flow: row wrap;
  align-items: stretch;
}
article.tiles, .tile-container {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  padding: 1rem;
  width: calc(100% - 2rem);
}
.unit {
  font-size: 0.8em;
}
.tile-row {
  width: 100%;
}
.tile, .tile-free {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  box-shadow: 0 0 1px 1px rgba(0,0,0,0.1);
  box-sizing: border-box;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem;
  overflow: hidden;
  cursor: pointer;
}
.tile {
  height: 18rem;
  width: 18rem;
}
.tile:hover {
  background-color: rgba(0,0,0,0.01);
}
.theme_black .tile {
  border-color: slategrey;
}
.tile-width {
  width: 36.5rem;
}
.tile > span, .tile > p {
  font-size: 1.9rem;
  font-weight: normal;
  line-height: 2.5rem;
  padding: 0.5rem;
}
.tile span, .tile p {
  font-size: 1.6rem;
  font-weight: normal;
  line-height: 2rem;
  padding: 0.4rem;
}
.tile p.tile-value {
  font-size: 5rem;
  line-height: 6rem;
  padding: 1rem;
  margin: 0;
}
.tile > .tile-content {
  height: 12rem;
}
.tile-content i {
  font-size: 3rem;
  padding: 1.5rem;
}
.tile > .tile-content:last-child {
  height: 14rem;
}
.tile-content:last-child i {
  font-size: 5rem;
  padding: 2rem;
}

.bar {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.bar p {
  display: inline;
}

article.cards, .card-container {
  padding: 1rem;
  height: calc(100% - 7rem);
  width: calc(100% - 2rem);
}
section > article > section, .card {
  width: calc(100% - 4rem);
  max-width: 60rem;
  margin: 0 auto;
  background: transparent;
}
.card {
  height: 12rem;
  border: 1px solid transparent;
  box-shadow: 0 0 1px 1px rgba(0,0,0,0.1);
  box-sizing: border-box;
  margin: 0 auto 0.5rem;
  padding: 0.5rem;
  overflow: hidden;
  /*cursor: pointer;*/
}
.card:hover {
  background-color: rgba(0,0,0,0.01);
}
.theme_black .card {
  border-color: slategrey;
}
.card > .bar {
  height: 3rem;
}
.card > span, .card > p, .card > .bar > p {
  font-size: 1.5rem;
  font-weight: normal;
  line-height: 2rem;
}
.card > span, .card > p {
  padding: 0.5rem;
}

article > section > table {
  font-size: 1.5rem;
  line-height: 2rem;
}
article > section > table > thead {
  font-weight: bold;
}
article > section > table > tbody {
  font-weight: normal;
}

.switch {
  position: relative;
  display: inline-block;
  width: 3rem;
  height: 1.5rem;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 1.5rem;
}
.slider:before {
  position: absolute;
  content: "";
  height: 1rem;
  width: 1rem;
  left: 0.5rem;
  bottom: 0.3rem;
  background-color: white;
  border-radius: 50%;
}
.slider, .slider:before {
  -webkit-transition: .5s;
  transition: .5s;
}

.theme_ms .slider {
  background-color: #c8c8c7;
}
.theme_ms input:checked + .slider {
  background-color: #0078D7;
}
.theme_ms input:focus + .slider {
  box-shadow: 0 0 1px #000000;
}
.theme_light .slider {
  background-color: #c5c7c4;
}
.theme_light input:checked + .slider {
  background-color: #8c969d;
}
.theme_light input:focus + .slider {
  box-shadow: 0 0 1px #000000;
}
.theme_black .slider {
  background-color: black;
}
.theme_black input:checked + .slider {
  background-color: gray;
}
.theme_black input:focus + .slider {
  box-shadow: 0 0 1px lightgray;
}

input:checked + .slider:before {
  -webkit-transform: translateX(1rem);
  -ms-transform: translateX(1rem);
  transform: translateX(1rem);
}

.big.switch {
  width: 3.6rem;
  height: 1.8rem;
}
.big .slider {
  border-radius: 1.8rem;
}
.big .slider:before {
  height: 1.2rem;
  width: 1.2rem;
  left: 0.6rem;
  bottom: 0.4rem;
}
.big input:checked + .slider:before {
  -webkit-transform: translateX(1.2rem);
  -ms-transform: translateX(1.2rem);
  transform: translateX(1.2rem);
}

@media all and (min-width: 1280px) {
  section > article > section {
    max-width: 120rem;
  }
  .card {
    max-width: 90rem;
  }
  .tile {
    margin-right: 1rem;
    margin-bottom: 1rem;
  }
}
@media all and (min-width: 800px) and (max-width: 1279px) {
  section > article > section {
    max-width: 90rem;
  }
  .show-xl {
    display: none;
    width: 0;
    height: 0;
    opacity: 0;
    visibility: collapse;
  }
}
@media all and (min-width: 360px) and (max-width: 799px) {
  html {
    font-size: 60%;
  }
  .tile {
    height: 16rem;
    width: 16rem;
  }
  .tile p.tile-value {
    font-size: 4rem;
    line-height: 5rem;
  }
  section > article > section {
    max-width: 60rem;
  }
  .show-l, .show-xl {
    display: none;
    width: 0;
    height: 0;
    opacity: 0;
    visibility: collapse;
  }
}

@media all and (max-width: 359px) {
  html {
    font-size: 45%;
  }
  .tile {
    height: 12rem;
    width: 12rem;
  }
  .tile p.tile-value {
    font-size: 3rem;
    line-height: 4rem;
  }
  section > article > section {
    max-width: 50rem;
  }
  .show-m, .show-l, .show-xl {
    display: none;
    width: 0;
    height: 0;
    opacity: 0;
    visibility: collapse;
  }
}