ikuseiGmbH/smart-village-app-cms

View on GitHub
app/assets/stylesheets/custom.css

Summary

Maintainability
Test Coverage
@import url('https://fonts.googleapis.com/css?family=Titillium+Web&display=swap');

body {
  font-family: 'Titillium Web', sans-serif !important;
}

body .bg-gradient-primary {
  background-color: #2d963c;
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(10%, #2d963c),
    to(#085036)
  );
  background-image: linear-gradient(180deg, #2d963c 10%, #085036 100%);
  background-size: cover;
}

body #wrapper #content-wrapper {
  background-color: #fff;
}

@media (max-width: 767px) {
  body .container,
  body .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  body .card-header {
    padding: 0.75rem;
  }

  body .card-body {
    padding: 0.5rem;
  }
}

body.app {
  color: #11223f;
}

@media (min-width: 768px) {
  body.app {
    margin-left: 104px; /* NOTE: necessary because of the sidebar */
  }
}

@media (max-width: 768px) {
  #sidebarToggleTop {
    margin-left: 104px; /* NOTE: necessary because of the sidebar */
  }

  #sidebarToggleTop.toggled {
    margin-left: 0; /* NOTE: necessary because of the sidebar */
  }
}

.row-gap {
  row-gap: 10px;
}

body .table {
  color: #11223f;
}

body .navbar-nav.sidebar {
  background-color: #11223f;
  left: 0;
  min-height: 100%;
  position: absolute;
  top: 0;
  z-index: 2;
}

body .btn-primary {
  background-color: #b1bfba;
  border-color: #b1bfba;
  color: #11223f;
}

body .btn-primary:not(:disabled):not(.disabled):active,
body .btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
  background-color: #aebfbc;
  border-color: #aebfbc;
  color: #11223f;
}

body .btn-primary:hover {
  background-color: #b1bfba;
  border-color: #b1bfba;
  color: #11223f;
  opacity: 0.7;
}

body .btn-danger:hover {
  opacity: 0.7;
}

body .btn-secondary {
  background-color: #11223f;
  border-color: #11223f;
  color: #fff;
}

body .page-item.active .page-link {
  background-color: #11223f;
  border-color: #11223f;
  color: #fff;
}

body .page-link {
  color: #11223f;
}

body .page-link:hover {
  background-color: #11223f;
  border-color: #11223f;
  color: #fff;
}

body .custom-control-input:checked ~ .custom-control-label::before {
  background-color: #b1bfba;
  border-color: #b1bfba;
}

body .scroll-to-top:hover {
  background: #11223f;
}

h1 {
  font-size: 30px;
  font-weight: bold;
  padding-bottom: 2em;
}

.btn.btn-primary.btn--big {
  font-size: 20px;
}

.hint {
  color: #999;
  font-size: 0.8em;
  padding: 3px 3px 5px;
}

.point_of_interest_attributes > span {
  margin-right: 1em;
  white-space: nowrap;
}

.button-banner {
  align-items: center;
  background-color: #f5f5f5;
  display: flex;
  justify-content: space-between;
  padding: 0.5rem;
}

.html-editor-text + .ck-editor .ck-editor__editable {
  min-height: 200px;
}

.card-header > h4 {
  margin-bottom: 0;
}

.leafletMap {
  height: 320px;
}

.modal-body img {
  width: 100%;
}

/* SVA-315 */
.ck.ck-splitbutton:hover > .ck-file-dialog-button + .ck-splitbutton__arrow::after {
  width: 0 !important;
}

/* Fileupload: SVA-226 */
.upload-progress {
  display: none;
}

.image-preview {
  display: block;
  max-height: 200px;
}

.matrix-checkbox {
  appearance: none;
  border: none;
  cursor: pointer;
  margin: 0;
  padding: 0;
  position: relative;
}

.matrix-checkbox::before {
  background-color: #fff;
  border-radius: 5px;
  border: 1px solid #11223f;
  content: '';
  display: block;
  float: left;
  height: 25px;
  margin-right: 5px;
  position: relative;
  width: 25px;
}

.matrix-checkbox:checked::before {
  background-color: #11223f;
  box-shadow: inset 0 0 2px 2px #fff;
  text-align: left;
}

.sticky-column {
  background-color: #eaecf4;
  z-index: 2;
}

.data_table_matrix .confirmation {
  background-color: #ffff00;
  position: absolute;
  z-index: 10;
  display: block;
  padding: 1px 5px;
  margin-top: -25px;
}