View file public/assets/css/main.css

File size: 5.26Kb
.section {
  background: #fff;
  padding: 15px;
  overflow: hidden;
}

.section-body {
  padding: 0.25rem 0;
  margin: 0.25rem 0;
  overflow: hidden;
}

.section-header {
  padding-bottom: 0.5rem;
}

.section-content {

}

.section-message {
  overflow-wrap: break-word;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 600;
  z-index: 2;
}

.section-form {
  background: #fff;
  padding: 15px;
}

.section-media {
  padding: .6rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  border: 1px solid #eee;
  border-left: .25rem solid #d9534f;
}

.avatar-default {
  height: 64px;
  width: 64px;
  text-align: center;
  font-size: 42px;
  display: inline-block;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
}

.avatar-mini > .avatar-default {
  height: 32px;
  width: 32px;
  font-size: 21px;
}

.user-avatar {
  width: 64px;
  height: 64px;
  float: left;
  margin-right: 14px;
}

.user-status {
  width: 18px;
  height: 18px;
  position: relative;
  border-radius: 50%;
  z-index: 1;
  border: 2px solid #fff;
  left: 44px;
  bottom: 18px;
}

@media (max-width: 768px) {
  .section, .section-form {
    padding: 10px;
  }

  .user-avatar {
    width: 48px;
    height: 48px;
    margin-right: 10px;
  }

  .user-status {
    width: 14px;
    height: 14px;
    left: 32px;
    bottom: 14px;
  }

  .avatar-default {
    height: 48px;
    width: 48px;
    font-size: 32px;
  }

  .section-user {
    min-height: 48px;
  }
}

.cursor-pointer {
  cursor: pointer;
}

textarea.form-control {
  resize: vertical;
}

.media-file {
  max-width: 600px;
  margin-bottom: 1rem;
}

.blockquote:before {
  content: "\f10d";
  line-height: 1.0em;
  font-size: 130%;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  float: left;
  margin-right: 10px;
  color: #c73401;
}

.blockquote {
  padding: 8px 15px;
  font-size: 95%;
  background:#f7f7f9;
  border-left: 5px solid #ddd;
  font-style:italic;
}

.blockquote-footer {
  margin: 0;
}

.is-invalid .form-control,
.is-invalid .form-select {
  border-color: #dc3545;
}

.is-invalid .form-control:focus,
.is-invalid .form-select:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.is-invalid .invalid-feedback {
  display: block;
}

.is-valid .form-control,
.is-valid .form-select {
  border-color: #28a745;
}

.is-valid .form-control:focus,
.is-valid .form-select:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.spoiler {
  margin-bottom: 5px;
}

.spoiler:before {
  content: "\f0da";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 17px;
  color: #bbb;
  margin: 0 5px 0 2px;
}

.spoiler.spoiler-open:before {
  content: "\f0d7";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 17px;
  color: #bbb;
  margin: 0 5px 0 2px;
}

.spoiler-title {
  border-bottom: 1px dashed;
  color: #6da3bd;
  cursor: pointer;
  font-weight: normal;
}

.spoiler-text {
  padding: 10px 15px;
  margin: 5px 0;
  background-color: #f7f7f9;
}

.hidden-text {
  padding: 10px 15px;
  margin: 5px 0;
  background-color: #f7f7f9;
}

.post-rating-up.active {
  color: #fff;
  background-color: #78c062;
  padding: 0 3px;
  display: inline-block;
  border-radius: 3px;
}

.post-rating-down.active {
  color: #fff;
  background-color: #f75c48;
  padding: 0 3px;
  display: inline-block;
  border-radius: 3px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: none;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 25px;
  height: 35px;
  width: 35px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control-next-icon:after {
  content: "\f138";
}

.carousel-control-prev-icon:after {
  content: "\f137";
}

.scrollup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  cursor: pointer;
  opacity: .2;
}

.scrollup:before {
  content: "\f139";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 30px;
}

.scrollup:hover {
  opacity: .5;
}

.message-block {
  overflow: hidden;
  cursor: pointer;
}

.message-block:hover,
.message-block:focus {
  background-color: #eee;
}

.pagination {
  overflow-y: hidden;
}

@media (max-width: 768px) {
  .pagination .page-item:first-child .page-link {
    border-top-left-radius: 0.2rem;
    border-bottom-left-radius: 0.2rem;
  }
  .pagination .page-link {
    padding: 0.25rem 0.5rem;
    font-size: 0.7875rem;
    line-height: 1.5;
  }
}

.performance {
  cursor: pointer;
  background-color: #f8f9fa;
  border: 1px solid #e1e1e8;
  margin: 10px 0;
  padding: 10px;
}

.performance .list-inline {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .performance {
    font-size: 0.75rem;
  }
}

.stretched-link[aria-expanded=true] .treeview-indicator {
  transform: rotate(180deg);
}

.progress {
  position: relative;
  max-width: 500px;
  height: 15px;
  margin-bottom: 10px;
}

.pre-scrollable {
  max-height: 340px;
}

.form-required .form-label:after {
    content:"*";
    color:red;
}

/* Fix close button bootbox 5.5.2 */
.bootbox-close-button {
    margin: -0.8rem -0.5rem -0.5rem auto;
    border: 0;
    opacity: 0.5;
    float: right;
    font-size: 30px;
    background-color: transparent;
}

/* Fix input width in form-group */
.form-control-color {
    max-width: 3rem;
}