BigW Consortium Gitlab

snippets.scss 869 Bytes
Newer Older
1 2 3
.snippet-form-holder .file-holder .file-title {
  padding: 2px;
}
4

5
.snippet-holder {
6
  margin-bottom: -$gl-padding;
7

8 9
  .file-holder {
    border-top: 0;
10
  }
11 12 13 14 15 16

  .file-actions {
    .btn-clipboard {
      @extend .btn;
    }
  }
17 18
}

19 20 21 22 23 24 25
.markdown-snippet-copy {
  position: fixed;
  top: -10px;
  left: -10px;
  max-height: 0;
  max-width: 0;
}
Phil Hughes committed
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56

.file-holder.snippet-file-content {
  padding-bottom: $gl-padding;
  border-bottom: 1px solid $border-color;

  .file-title {
    padding-top: $gl-padding;
    padding-bottom: $gl-padding;
  }

  .file-actions {
    top: 12px;
  }

  .file-content {
    border-left: 1px solid $border-color;
    border-right: 1px solid $border-color;
    border-bottom: 1px solid $border-color;
  }
}

.snippet-title {
  font-size: 24px;
  font-weight: normal;
}

.snippet-actions {
  @media (min-width: $screen-sm-min) {
    float: right;
  }
}