BigW Consortium Gitlab

markdown_area.scss 1.55 KB
Newer Older
1 2 3 4 5 6 7 8
.div-dropzone-wrapper {
  .div-dropzone {
    position: relative;

    .div-dropzone-hover {
      position: absolute;
      top: 50%;
      left: 50%;
9 10
      margin-top: -11.5px;
      margin-left: -15px;
11
      opacity: 0;
12
      font-size: 30px;
13
      transition: opacity 200ms ease-in-out;
14
      pointer-events: none;
15 16 17 18
    }

    .div-dropzone-spinner {
      position: absolute;
19 20
      bottom: 10px;
      right: 5px;
21
      opacity: 0;
22
      font-size: 20px;
23 24 25 26 27 28 29 30 31
      transition: opacity 200ms ease-in-out;
    }

    .div-dropzone-icon {
      display: block;
      text-align: center;
      font-size: inherit;
    }

32 33 34 35 36 37 38 39 40
    .div-dropzone-progress {
      position: absolute;
      top: 7px;
      left: -40px;
      width: 35px;
      font-size: 13px;
      text-align: right;
    }

41 42 43 44 45 46 47 48 49 50 51
    .dz-preview {
      display: none;
    }
  }
}

.div-dropzone-alert {
  margin-top: 5px;
  margin-bottom: 0;
  transition: opacity 200ms ease-in-out;
}
52

53 54 55 56
.md-area {
  position: relative;
}

57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
.md-header {
  .nav-links {
    .active {
      a {
        border-bottom-color: #000;
      }
    }

    a {
      padding-top: 0;
      line-height: 1;
    }
  }
}

72
.referenced-users {
73 74
  color: #4c4e54;
  padding-top: 10px;
75 76
}

77
.md-preview-holder {
78 79
  min-height: 167px;
  padding: 10px 0;
80
  overflow-x: auto;
81 82
}

83
.markdown-area {
84
  @include border-radius(0);
85
  background: #fff;
86
  border: 1px solid #ddd;
87
  min-height: 140px;
88
  max-height: 500px;
89 90 91 92
  padding: 5px;
  box-shadow: none;
  width: 100%;
}
93 94 95 96 97 98 99 100 101

.md {
  &.md-preview-holder {
    code {
      white-space: pre-wrap;
      word-break: break-all;
    }
  }
}