Skip to content
Snippets Groups Projects
qfq-bs.css.less 26.9 KiB
Newer Older
@spinner : url(data:image/gif;base64,R0lGODlhEAAQAKIAAP///9bW1szMzL29vXt7e3Nzc2ZmZv4BAiH/C05FVFNDQVBFMi4wAwEAAAAh+QQFBwAHACwAAAAAEAAQAAADPAi6QRQrymJMkcwFatuLXOFt1bWEYBmNq6awGDCicUhjIYzBwTBAmc9CQBSkLJGiYKZi+EgdV60ZCwIjCQAh+QQFBwAHACwAAAYABgAIAAADE3gz1/LCwaYYbYTQYkxpnEdlRwIAIfkEBQcABwAsAAACAAYACAAAAxN4OqMnUKgoVzuEuGJMUZznZE4CACH5BAUHAAcALAIAAAAIAAYAAAMUeKozqyKKQ8iRohhTTjsa91DWkwAAIfkEBQcABwAsBgAAAAgABgAAAxR4RNddxhR3oDxjtHWEF9QHUtmRAAAh+QQFBwAHACwKAAIABgAIAAADFHhE12WmOCjbaviMgYUXzQc225EAACH5BAUHAAcALAoABgAGAAgAAAMTeEqkV8YUBaVjagwnulDel21KAgAh+QQFBwAHACwGAAoACAAGAAADFHiqRKvFmHLGOHGKLU47XPdYz5EAADs=);

@alert_container_id : #qfqAlertContainer;
@spinner_class : spinner;
@CodeMirror_border_color: #ccc;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
    border-top: none;
    border-left: none;
    border-right: none;
bbaer's avatar
bbaer committed

Carsten  Rose's avatar
Carsten Rose committed
  .alert + .alert {
bbaer's avatar
bbaer committed
    margin-top: -2px;
  }
i.@{spinner_class} {
  display: inline-block;
  background: @spinner no-repeat;
  //height: image-height(@spinner);
  //width: image-width(@spinner);
  height: 16px;
  width: 16px;
.qfq-dot {
  display: inline-block;
bbaer's avatar
bbaer committed
  height: 9px;
  width: 9px;
  margin: 1px;
  margin-left: 5px;
  background-color: #f2b867;
  border-radius: 50%;
}

bbaer's avatar
bbaer committed
/* CUSTOM RADIOS */

/* Hide the browser's default radio */
.radio-inline>input[type=radio], .radio>input[type=radio] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
bbaer's avatar
bbaer committed
  -moz-appearance: none;
  /*Radios don't scale correctly on Firefox with zoom*/
}

/* Customize the label (the container) */
bbaer's avatar
bbaer committed
.radio-inline, .radio {
  display: inline-block;
  position: relative;
bbaer's avatar
bbaer committed
  padding-left: 25px;
  padding-top: 0 !important;
  margin-top: 7px !important;
  margin-right: 10px;
  cursor: pointer;
  font-size: 1em;
bbaer's avatar
bbaer committed
  line-height: 20px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

bbaer's avatar
bbaer committed
.radio {
  display: block;
}

/* Create a custom radio button */
bbaer's avatar
bbaer committed
.radio-inline .checkmark, .radio .checkmark {
  position: absolute;
  top: 0;
  left: 0;
bbaer's avatar
bbaer committed
  height: 20px;
  width: 20px;
  background-color: #fff;
  border-radius: 50%;
  border: 2px solid #ccc;
}

.qfq-image-border, .qfq-image-border-left, .qfq-image-border-right {
  border: 1px solid #333;
}

bbaer's avatar
bbaer committed
.radio-inline:hover input ~ .checkmark, .radio:hover input ~ .checkmark {
bbaer's avatar
bbaer committed
  border-color: #2196F3;
bbaer's avatar
bbaer committed
.radio-inline input[type=radio]:checked ~ .checkmark, .radio input[type=radio]:checked ~ .checkmark {
  background-color: #2196F3;
  border-color: #2196F3;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
bbaer's avatar
bbaer committed
.radio-inline input[type=radio]:checked ~ .checkmark:after, .radio input[type=radio]:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
bbaer's avatar
bbaer committed
.radio-inline .checkmark:after, .radio .checkmark:after {
bbaer's avatar
bbaer committed
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

bbaer's avatar
bbaer committed
/* CUSTOM CHECKBOXES */
/* Hide the browser's default radio */
bbaer's avatar
bbaer committed
.checkbox-inline>input[type=checkbox], .checkbox>input[type=checkbox] {
bbaer's avatar
bbaer committed
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
bbaer's avatar
bbaer committed
  -moz-appearance: none;
  /*Checkboxes don't scale correctly on Firefox with zoom*/
bbaer's avatar
bbaer committed
}

/* Customize the label (the container) */
.checkbox-inline, .checkbox {
  display: inline-block;
  position: relative;
bbaer's avatar
bbaer committed
  padding-left: 26px;
bbaer's avatar
bbaer committed
  padding-top: 0 !important;
  margin-top: 7px !important;
  margin-right: 10px;
  cursor: pointer;
  font-size: 1em;
bbaer's avatar
bbaer committed
  line-height: 20px;
bbaer's avatar
bbaer committed
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
bbaer's avatar
bbaer committed
.checkbox-inline input:read-only ~ .checkmark {
  cursor: not-allowed;
  pointer-events: none;
}

bbaer's avatar
bbaer committed
.checkbox {
  display: block;
}

bbaer's avatar
bbaer committed
.qfq-disabled {
  cursor: not-allowed !important;
  pointer-events: none !important;
  background: #eee !important;
bbaer's avatar
bbaer committed
/* Create a custom radio button */
.checkbox-inline .checkmark, .checkbox .checkmark {
  position: absolute;
  top: 0;
  left: 0;
bbaer's avatar
bbaer committed
  height: 20px;
  width: 20px;
bbaer's avatar
bbaer committed
  background-color: #fff;
bbaer's avatar
bbaer committed
  border-radius: 5px;
bbaer's avatar
bbaer committed
  border: 2px solid #ccc;
}

bbaer's avatar
bbaer committed
.checkbox-inline:hover input ~ .checkmark, .checkbox:hover input ~ .checkmark,
.checkbox-inline input:focus ~ .checkmark, .checkbox input:focus ~ .checkmark,
.checkbox-inline input:active ~ .checkmark, .checkbox input:active ~ .checkmark {
bbaer's avatar
bbaer committed
  border-color: #66afe9;
bbaer's avatar
bbaer committed
}

.checkbox-inline input:checked ~ .checkmark, .checkbox input:checked ~ .checkmark {
  background-color: #2196F3;
  border-color: #2196F3;
}

bbaer's avatar
bbaer committed
.checkbox-inline.qfq-disabled input ~ .checkmark, .checkbox.qfq-disabled input ~ .checkmark,
bbaer's avatar
bbaer committed
.checkbox-inline.qfq-disabled:hover input ~ .checkmark, .checkbox.qfq-disabled:hover input ~ .checkmark,
.radio-inline.qfq-disabled:hover input ~ .checkmark, .radio.qfq-disabled:hover input ~ .checkmark,
.radio-inline.qfq-disabled .checkmark, .radio.qfq-disabled .checkmark {
bbaer's avatar
bbaer committed
  background-color: #eee;
  border-color: #bbb;
}

bbaer's avatar
bbaer committed
.checkbox-inline.qfq-disabled input:checked ~ .checkmark, .checkbox.qfq-disabled input:checked ~ .checkmark,
.radio-inline.qfq-disabled input[type=radio]:checked ~ .checkmark, .radio.qfq-disabled input[type=radio]:checked ~ .checkmark {
bbaer's avatar
bbaer committed
  background-color: #ccc;
  border-color: #ccc;
}

bbaer's avatar
bbaer committed
/* Show the indicator (dot/circle) when checked */
.checkbox-inline input:checked ~ .checkmark:after, .checkbox input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.checkbox-inline .checkmark:after, .checkbox .checkmark:after {
  top: 1px;
bbaer's avatar
bbaer committed
  left: 5px;
bbaer's avatar
bbaer committed
  width: 6px;
bbaer's avatar
bbaer committed
  height: 12px;
bbaer's avatar
bbaer committed
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* ERROR HIGHLIGHTING */

bbaer's avatar
bbaer committed
/* Error Marking for Checkboxes */
.has-error .checkmark {
  background-color: #fcf8e3;
  border-color: #f2b867;
}
bbaer's avatar
bbaer committed
.has-error .radio-inline:hover input ~ .checkmark, .has-error .radio:hover input ~ .checkmark, .has-error .checkbox-inline:hover input ~ .checkmark, .has-error .checkbox:hover input ~ .checkmark {
  background-color: #f2b867;
bbaer's avatar
bbaer committed
}

.has-error .radio-inline, .has-error .radio, .has-error .checkbox, .has-error .checkbox-inline {
  color: #ca7a0a;
}
bbaer's avatar
bbaer committed
/* END CUSTOM CHECKBOX / RADIO */
bbaer's avatar
bbaer committed

bbaer's avatar
bbaer committed
.has-error .help-block {
  display: inline-block;
  padding: 6px 12px;
  padding-left: 25px;
  background-color: #f2b867;
  border-radius: 4px;
  color: #333;
}

.has-error .help-block:before {
  content: "\f0e7";  /* this is your text. You can also use UTF-8 character codes as I do here */
  font-family: FontAwesome;
  left:25px;
  position:absolute;
}

.qfq-only-active-error .with-errors.help-block {
  display: none;
  /* visibility: hidden;
  margin-bottom: 0;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1s linear, max-height 0.25s ease-out; */
/* all anchors in form-group divs can only be created by users using #!report in forms. These anchors without a target href (#) like some elements which use js functions (example datetimepicker) dont need to be marked as required.*/
.form-group.has-error .btn:not(a[href="#"]) {
bbaer's avatar
bbaer committed
  background-color: #f0ad4e;
  background-image: linear-gradient(to bottom,#f0ad4e 0,#eb9316 100%);
  background-repeat: repeat-x;
  border-color: #e38d13;
  font-weight: 200;
  color: #fff;
}

.input-group ~ .with-errors.help-block:not(.hidden), input:focus ~ .with-errors.help-block:not(.hidden), textarea:focus ~ .with-errors.help-block:not(.hidden) {
  display: inline-block;
  /* visibility: visible;
  max-height: 150px;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-top: 7px;
  opacity: 1;
  transition: opacity 1s linear, max-height 0.25s ease-out; */
}

.has-error .control-label {
  color: #333;
}

.help-block.with-errors ul {
  margin-bottom: 0px;
}
.has-error .form-control {
  background-color: #fcf8e3;
  border-width: medium;
  border-color: #f2b867;
}
.has-error .form-control:focus {
  background-color: #fcf8e3;
  border-color: #f2b867;
}

/* Color Variation Example Start */
bbaer's avatar
bbaer committed
.rebel-yell .has-error .form-control, .rebel-yell .has-error .form-control:focus {
  border-color: #d30b6f;
  background-color: #eb92be;
}

.rebel-yell .form-group.has-error .btn, .btn-rebel {
bbaer's avatar
bbaer committed
  background-color: #e72a89;
  background-image: linear-gradient(to bottom,#e72a89 0,#d30b6f 100%);
  background-repeat: repeat-x;
  border-color: #d30b6f;
  font-weight: 200;
bbaer's avatar
bbaer committed
  text-shadow: 0 1px 0 #e72a8;
  color: #333;
}

.rebel-yell .has-error .help-block {
  background-color: #e72a89;
bbaer's avatar
bbaer committed
}

bbaer's avatar
bbaer committed
.rebel-yell .qfq-dot {
  background-color: #e72a89;
}

bbaer's avatar
bbaer committed
.rebel-yell .checkbox-inline input:checked ~ .checkmark, .rebel-yell .checkbox input:checked ~ .checkmark,
.rebel-yell .radio-inline input[type=radio]:checked ~ .checkmark, .rebel-yell .radio input[type=radio]:checked ~ .checkmark {
bbaer's avatar
bbaer committed
  background-color: #e72a89;
  border-color: #e72a89;
}

/* Error Color Example End 
   Error Soft Example Start */

.qfq-notify .has-error .form-control {
  border-width: 1px;
}

.qfq-notify .has-error .help-block {
  padding-left: 12px;
  border: 0;
  padding: 0 12px;
  background-color: transparent;
bbaer's avatar
bbaer committed
  color: #ca7a0a;
bbaer's avatar
bbaer committed
.qfq-notify .has-error .help-block:before {
  content: "";  /* this is your text. You can also use UTF-8 character codes as I do here */
}

/* ERROR END */

.qfq-tinymce-readonly .mce-panel {
  background-color: #eee;
}

bbaer's avatar
bbaer committed
.mono-space {
  font-family: "Roboto Mono", "Menlo", "Segoe UI", monospace;
}
/* inline elements in horizontal mode are too much left */
  /* reduce unwished padding-top offset */
  .checkbox {
bbaer's avatar
bbaer committed
    padding-right: 12px;
bbaer's avatar
bbaer committed
  .checkbox-inline+.checkbox-inline, .radio-inline+.radio-inline {
    margin-left: 0;
  }

// select:invalid: Dropdown with 'emptyItemAtStart' and required are grey on form load.
select.qfq-locked:invalid {
.lower-canvas {
  background-color: #fff;
}

//.form-group.required.control-label:before{
bbaer's avatar
bbaer committed
//  color: red;/home/a/bbaer/PhpstormProjects/uzh_cd_template
//  content: "*";
//  position: absolute;
//  margin-left: -10px;
//}

  color: #d00;
  content: "*";
.required-left:before {
  color: #d00;
  content: "*";
  //position: absolute;
  margin-right: 3px;
  //top: 10px;
}

.qfq-table-50 {
  min-width: 50%;
  width: auto;
}

.qfq-table-80 {
  min-width: 80%;
  width: auto;
}

bbaer's avatar
bbaer committed

bbaer's avatar
bbaer committed
  /*
bbaer's avatar
bbaer committed
  border-top-left-radius: 4px; */
  border: 1px solid #ccc;
  border-top: none;
bbaer's avatar
bbaer committed

.qfq-form-body {
  padding-top: 5px;
  padding-bottom: 5px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
bbaer's avatar
bbaer committed
  border: 1px solid #ccc;
  border-top: none;
.qfq-form-no-title {
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  border: 1px solid #ccc;
}

/* adjust BS padding of input elements: center */
.form-group {
  padding-top: 5px;
  margin-bottom: 0;
}

/* adjust BS padding: Filename (=Text) of the uploaded file should be on the same base line as the label text left of it. */
.uploaded-file {
  padding-top: 4px;
}

bbaer's avatar
bbaer committed
.qfq-subrecord-table {
bbaer's avatar
bbaer committed
  border: 1px solid #ccc;
  border-top: none;
bbaer's avatar
bbaer committed
  width: ~"calc(100% - 10px)";
  margin: 0 5px;
  border-radius: 0 0 4px 4px;
bbaer's avatar
bbaer committed
}

.qfq-subrecord-title {
bbaer's avatar
bbaer committed
  padding: 8px 10px;
bbaer's avatar
bbaer committed
  font-weight: bold;
bbaer's avatar
bbaer committed
  color: #333;
bbaer's avatar
bbaer committed
  min-height: 20px;
  border-radius: 4px 4px 0 0;
  border: 1px solid #ccc;
  background-color: #ededed;
bbaer's avatar
bbaer committed
  /* background-color: #fefefe; */
}

bbaer's avatar
bbaer committed
.qfq-subrecord-table thead {
bbaer's avatar
bbaer committed
  background-color: #e1e1e1;
bbaer's avatar
bbaer committed
.qfq-subrecord-table > thead > tr > th {
  border-bottom: 1px solid #ccc;
}
.qfq-subrecord-table caption {
bbaer's avatar
bbaer committed
  background-color: unset !important;
bbaer's avatar
bbaer committed
.qfq-subrecord-table thead > tr > th, .qfq-subrecord-table tbody > tr > td {
  padding: 4px 8px;
}

bbaer's avatar
bbaer committed
.qfq-subrecord-table .btn, .btn-small {
bbaer's avatar
bbaer committed
  padding: 5px 6px !important;
  font-size: 11px !important;
  height: unset !important;
  min-width: unset !important;
bbaer's avatar
bbaer committed
}

.btn-tiny {
bbaer's avatar
bbaer committed
  padding: 2px 3px !important;
  font-size: 9px !important;
  height: unset !important;
  min-width: unset !important;
bbaer's avatar
bbaer committed
}

bbaer's avatar
bbaer committed
  border: 1px solid #ccc;
  border-radius: 4px 4px 0 0;
bbaer's avatar
bbaer committed
  background-image: linear-gradient(to bottom, #fefefe 0, #dedede 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
bbaer's avatar
bbaer committed
  min-height: 30px;
bbaer's avatar
bbaer committed
  font-size: 1.2em;
  padding: 13px 15px;
bbaer's avatar
bbaer committed
  font-weight: bold;
}

bbaer's avatar
bbaer committed
.qfq-table-button-width {
  width: 44px;
}

bbaer's avatar
bbaer committed
.qfq-comment-marker {
  position: absolute;
  right: 22px;
  z-index: 2;
}

bbaer's avatar
bbaer committed
.nav-pills>li>a {
  border-radius: 0;
}

.qfq-color-white {
  background-color: #ffffff;
}

.qfq-color-grey-1 {
  background-color: #dedede;
}

.qfq-color-grey-2 {
  background-color: #ededed;
}

.qfq-color-blue-1 {
  background-color: #d2dded;
}

.qfq-color-blue-2 {
bbaer's avatar
bbaer committed
  background-color: #e2eeff;
}

.qfq-form-right .qfq-label {
  text-align: right;
  padding-right: 0;
}
.qfq-child-margin-top + .qfq-child-margin-top {
  margin-top: 15px;
}
.control-label .small, .control-label small {
  font-weight: normal;
}

bbaer's avatar
bbaer committed
// Fabric Plugin classes
bbaer's avatar
bbaer committed
.qfq-fabric-fullscreen {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100vw;
  height: 100vh;
}

.qfq-fabric-bar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  width: 100%;
  min-height: 41px;
  z-index: 100;
  border: 1px solid #ccc;
  background-color: #ededed;
  padding: 5px;
}

.qfq-fabric-bar .btn {
  padding: 3px 8px;
}

bbaer's avatar
bbaer committed
.fabric-text {
  width: 100%;
  height: 80px;
}

#text-bg-submit {
  background-color: #ccc;
  height: 24px;
  border: none;
}

.text-bg-toggle {
  width: 24px;
  height: 24px;
  background-size: contain;
  border: none;
}

.color-picker {
  margin-top: 2px;
Carsten  Rose's avatar
Carsten Rose committed
.color-picker > button {
  margin-right: 2px;
}

.qfq-fabric-image {
  display: none;
}

// Emoji

.emoji {
  display: inline-block;
  border: none;
bbaer's avatar
bbaer committed
  /*background-color: #fff;*/
  width: 32px;
  height: 32px;
  margin: 5px;
}

bbaer's avatar
bbaer committed

// typeAhead Input: Default Bootstrap column width
.twitter-typeahead {
  display: block !important;
}

.qfq-cc-style {
  font-size: 0.8em;
  //position: relative;
  //top: -24px;
  //right: 10px;
  //text-align: right;
  //display: block;
.qfq-vertical {
  vertical-align: bottom; 
  text-align: center;
}

.qfq-vertical span, .qfq-vertical .qfq-vertical-text {
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

.tt-menu {
  background-color: #fff;
  border-left: 1px solid #66afe9;
  border-right: 1px solid #66afe9;
  border-bottom: 1px solid #66afe9;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
  width: 100%;
}

Marc Egger's avatar
Marc Egger committed
// typeAhead tags
span.qfq-typeahead-tag {
  margin-right: 5px;
}

@media (min-width: 768px) {
  .form-horizontal .control-label {
    text-align: unset;
  }
}

.qfq-image-left, .qfq-image-border-left {
  float: left;
}

.qfq-image-right, .qfq-image-border-right {
  float: right;
}

.tt-suggestion {
  cursor: pointer;
  cursor: hand;
  padding-left: 12px;
  padding-right: 12px;
  padding-bottom: 6px;
  padding-top: 12px;
  padding-top: 6px;
}

.tt-suggestion:hover {
  background-color: rgba(102, 175, 233, .6);
// Workaround as long as rendering of notes can't be specific.
.qfq-note-no-padding {
  margin-top: -7px;
}
// Mit BB anschauen wie man die NOTE Felder formatiert
//
//.text-input {
//  padding-top: 7px;
//}
//
//.text-note {
//  padding-top: 7px;
//}

.CodeMirror {
  border: 1px solid @CodeMirror_border_color;
  border-radius: 4px;
Carsten  Rose's avatar
Carsten Rose committed
}

//}
bbaer's avatar
bbaer committed
/* classes for toggleable note mockup, bb */
.qfq-icon-inside {
  position: relative;
  top: -22px;
  left: calc(100% - 26px);
}

.qfq-margin-top {
  margin-top: 10px;
}

/* spinning icons */

.text-large-with-margin {
  font-size: 92px;
  line-height: normal;
bbaer's avatar
bbaer committed
  margin: 0.4em;
}

.qfq-icon-gear {
  height: 190px;
  width: 190px;
  margin: 1em;
}

bbaer's avatar
bbaer committed
.glyphicon-spin {
  -webkit-animation: spin 2350ms infinite linear;
  animation: spin 2350ms infinite linear;
Carsten  Rose's avatar
Carsten Rose committed

bbaer's avatar
bbaer committed
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
Carsten  Rose's avatar
Carsten Rose committed

bbaer's avatar
bbaer committed
@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
bbaer's avatar
bbaer committed
}

.alert-interactive {
  position: fixed;
bbaer's avatar
bbaer committed
  display: box;
  left: 50%;
  transform: translate(-50%,0);
  top: 200px;
  max-height: 60%;
bbaer's avatar
bbaer committed
  padding: 20px;
  color: #d0d0d0;
  min-width: 24%;
  max-width: 90%;
bbaer's avatar
bbaer committed
  border-left: 5px solid;
  background-color: #333;
  overflow-y: auto;
  overflow-x: hidden;
bbaer's avatar
bbaer committed
}

.alert-interactive tr td {
  color: #d0d0d0;
}

.alert-interactive tr:hover td {
  color: #0E2231;
}

bbaer's avatar
bbaer committed
.alert-side > p.body {
  margin: 0px;
  overflow: hidden;
  white-space: nowrap;
}

.alert-side {
  position: fixed;
  display: box;
  right: 0px;
  top: 20px;
  padding: 20px;
  color: #d0d0d0;
  border-left: 5px solid;
  background-color: #333;
  z-index: 10000; /* Always on top */
bbaer's avatar
bbaer committed
}

bbaer's avatar
bbaer committed
.border-success {
  border-color: #5cb85c;
}

.border-error {
  border-color: #fb4f4f;
bbaer's avatar
bbaer committed
}

.border-warning {
  border-color: #fbb64f;
}

.border-info {
  border-color: #25adf1;
}

bbaer's avatar
bbaer committed
.blockscreenQfq {
  position: fixed;
  left: 0px;
  right: 0px;
  top: 0px;
  z-index: 998;
  filter: blur(23px);
  background: rgba(255, 255, 255, 0.5);
}

.blur {
  filter: blur(2px);
}

bbaer's avatar
bbaer committed
.alert-interactive p.title {
  font-size: 1.5em;
  margin-bottom: 0px;
}

.alert-interactive p.buttons {
  margin-top: 20px;
  text-align: center;
bbaer's avatar
bbaer committed
}

.alert-interactive .table-hover>tbody>tr:hover {
  color: #333;
  background-image: linear-gradient(to bottom,#b9def0 0,#9acfea 100%)
}

bbaer's avatar
bbaer committed
// Code Correction

.codeCorrectionWrap {
  border: 1px solid #ccc;
bbaer's avatar
bbaer committed
  border-top: unset;
bbaer's avatar
bbaer committed
  margin-bottom: 10px;
bbaer's avatar
bbaer committed
.qfqCodeCorrectionTitle {
  border: 1px solid #ccc;
  border-radius: 10px 10px 0 0;
  background-image: linear-gradient(to bottom, #fff 0, #e0e0e0 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075);
  height: 40px;
};

bbaer's avatar
bbaer committed
.qfqLineCount {
  user-select: none;
bbaer's avatar
bbaer committed
  width: 50px;
bbaer's avatar
bbaer committed
  text-align: right;
  border-right: 1px solid #ccc;
  padding-right: 10px;
  line-height: 23px;
  background-color: #efefef;
}

.qfqCode  {
  width: ~"calc(100% - 50px)";
  min-height: 23px;
  padding-left: 15px;
bbaer's avatar
bbaer committed
  padding-right: 15px;
  text-align: left;
  font-size: 1.2em;
  font-family: monospace;
bbaer's avatar
bbaer committed
  word-break: break-word;
}

.qfqCodeLine {
  background-color: #fff;
}

.qfqCodeLine:hover {
  background-color: #efefef;
}

.qfqCodeLine:hover .qfqLineCount {
  background-color: #b9def0;
  border-color: #9acfea;
  color: #31708f;
}

.qfqCommentContainer {
  color: #333;
  height: 100%;
bbaer's avatar
bbaer committed
  padding-bottom: 20px;
bbaer's avatar
bbaer committed
}

bbaer's avatar
bbaer committed
.qfqComment {
  display: grid;
  position: relative;
  grid-template-columns: 110px auto;
bbaer's avatar
bbaer committed
  grid-template-rows: 30px auto;